@sv443-network/userutils 8.3.2 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +322 -84
- package/dist/index.cjs +1548 -0
- package/dist/index.global.js +54 -27
- package/dist/index.js +48 -24
- package/dist/lib/DataStore.d.ts +0 -1
- package/dist/lib/math.d.ts +5 -0
- package/dist/lib/misc.d.ts +22 -1
- package/dist/lib/translation.d.ts +41 -8
- package/dist/lib/types.d.ts +3 -1
- package/package.json +35 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @sv443-network/userutils
|
|
2
2
|
|
|
3
|
+
## 8.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e10d629: Added function `digitCount()` to calculate the amount of digits in the passed number
|
|
8
|
+
- 949877a: Added support for nested objects in translations (e.g. `tr("foo.bar.baz")`)
|
|
9
|
+
- 52d392a: Added `ValueGen` and `StringGen` types with accompanying `consumeGen()` and `consumeStringGen()` functions to allow for super flexible typing and declaration of values
|
|
10
|
+
- bbce0e1: Added overload to `clamp()` without `min` parameter
|
|
11
|
+
|
|
12
|
+
## 8.3.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- ca8b62e: Made CJS bundle available on NPM too
|
|
17
|
+
|
|
3
18
|
## 8.3.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|