Ver código fonte

Version Packages

github-actions[bot] 1 ano atrás
pai
commit
174049fa48
4 arquivos alterados com 17 adições e 17 exclusões
  1. 0 11
      .changeset/light-bats-repair.md
  2. 0 5
      .changeset/tidy-glasses-switch.md
  3. 16 0
      CHANGELOG.md
  4. 1 1
      package.json

+ 0 - 11
.changeset/light-bats-repair.md

@@ -1,11 +0,0 @@
----
-"@sv443-network/userutils": minor
----
-
-Refactored code and documentation and added new functions:
-- mapRange() to map a number from one range to the same spot in another range
-- randRange() to generate a random number between a min and max boundary
-- randomItem() to return a random item from an array
-- randomItemIndex() to return a tuple of a random item and its index from an array
-- takeRandomItem() to return a random item from an array and mutate it to remove the item
-- randomizeArray() to return a copy of the array with its items in a random order

+ 0 - 5
.changeset/tidy-glasses-switch.md

@@ -1,5 +0,0 @@
----
-"@sv443-network/userutils": patch
----
-
-decrease npm bundle size

+ 16 - 0
CHANGELOG.md

@@ -1,5 +1,21 @@
 # @sv443-network/userutils
 
+## 0.4.0
+
+### Minor Changes
+
+- 231a79c: Refactored code and documentation and added new functions:
+  - mapRange() to map a number from one range to the same spot in another range
+  - randRange() to generate a random number between a min and max boundary
+  - randomItem() to return a random item from an array
+  - randomItemIndex() to return a tuple of a random item and its index from an array
+  - takeRandomItem() to return a random item from an array and mutate it to remove the item
+  - randomizeArray() to return a copy of the array with its items in a random order
+
+### Patch Changes
+
+- 7edf837: decrease npm bundle size
+
 ## 0.3.0
 
 ### Minor Changes

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@sv443-network/userutils",
-  "version": "0.3.0",
+  "version": "0.4.0",
   "description": "Library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, modify the DOM more easily and more ",
   "main": "dist/index.js",
   "module": "dist/index.mjs",