@thi.ng/ksuid 3.2.13 → 3.2.16
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 +7 -1
- package/README.md +1 -1
- package/aksuid.js +8 -0
- package/package.json +11 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-
|
|
3
|
+
- **Last updated**: 2023-11-09T10:28:19Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [3.2.15](https://github.com/thi-ng/umbrella/tree/@thi.ng/ksuid@3.2.15) (2023-11-09)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
17
|
+
|
|
12
18
|
## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/ksuid@3.2.0) (2023-08-12)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/README.md
CHANGED
package/aksuid.js
CHANGED
|
@@ -7,6 +7,14 @@ import { padLeft } from "@thi.ng/strings/pad-left";
|
|
|
7
7
|
* and {@link KSUID64}.
|
|
8
8
|
*/
|
|
9
9
|
export class AKSUID {
|
|
10
|
+
epochSize;
|
|
11
|
+
size;
|
|
12
|
+
encodedSize;
|
|
13
|
+
base;
|
|
14
|
+
epoch;
|
|
15
|
+
tmp;
|
|
16
|
+
rnd;
|
|
17
|
+
pad;
|
|
10
18
|
constructor(epochSize, opts) {
|
|
11
19
|
this.epochSize = epochSize;
|
|
12
20
|
this.base = opts.base || BASE62;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/ksuid",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.16",
|
|
4
4
|
"description": "Configurable K-sortable unique IDs, ULIDs, binary & base-N encoded, 32/48/64bit time resolutions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -30,23 +30,22 @@
|
|
|
30
30
|
"clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
|
|
31
31
|
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
32
32
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
33
|
-
"doc:readme": "
|
|
34
|
-
"doc:stats": "tools:module-stats",
|
|
33
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
35
34
|
"pub": "yarn npm publish --access public",
|
|
36
|
-
"test": "
|
|
35
|
+
"test": "bun test"
|
|
37
36
|
},
|
|
38
37
|
"dependencies": {
|
|
39
|
-
"@thi.ng/base-n": "^2.5.
|
|
40
|
-
"@thi.ng/errors": "^2.4.
|
|
41
|
-
"@thi.ng/random": "^3.6.
|
|
42
|
-
"@thi.ng/strings": "^3.6.
|
|
38
|
+
"@thi.ng/base-n": "^2.5.16",
|
|
39
|
+
"@thi.ng/errors": "^2.4.2",
|
|
40
|
+
"@thi.ng/random": "^3.6.14",
|
|
41
|
+
"@thi.ng/strings": "^3.6.6"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "^7.38.
|
|
46
|
-
"@thi.ng/testament": "^0.
|
|
44
|
+
"@microsoft/api-extractor": "^7.38.2",
|
|
45
|
+
"@thi.ng/testament": "^0.4.1",
|
|
47
46
|
"rimraf": "^5.0.5",
|
|
48
47
|
"tools": "^0.0.1",
|
|
49
|
-
"typedoc": "^0.25.
|
|
48
|
+
"typedoc": "^0.25.3",
|
|
50
49
|
"typescript": "^5.2.2"
|
|
51
50
|
},
|
|
52
51
|
"keywords": [
|
|
@@ -114,5 +113,5 @@
|
|
|
114
113
|
"status": "stable",
|
|
115
114
|
"year": 2020
|
|
116
115
|
},
|
|
117
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
|
|
118
117
|
}
|