@thi.ng/ksuid 2.1.27 → 2.1.29

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-11-30T22:27:38Z
3
+ - **Last updated**: 2022-12-20T16:33:11Z
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.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![ksuid](https://media.thi.ng/umbrella/banners-20220914/thing-ksuid.svg?2a899961)
3
+ # ![@thi.ng/ksuid](https://media.thi.ng/umbrella/banners-20220914/thing-ksuid.svg?2a899961)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/ksuid.svg)](https://www.npmjs.com/package/@thi.ng/ksuid)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/ksuid.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -21,7 +21,7 @@ This project is part of the
21
21
 
22
22
  ## About
23
23
 
24
- Configurable K-sortable unique IDs, ULIDs, binary & base-N encoded, 32/48/64bit time resolutions.
24
+ Configurable K-sortable unique IDs, ULIDs, binary & base-N encoded, 32/48/64bit time resolutions
25
25
 
26
26
  Idea based on [segmentio/ksuid](https://github.com/segmentio/ksuid), though the
27
27
  added flexibility in terms of configuration & implementation also enables the
@@ -80,11 +80,8 @@ ES module import:
80
80
 
81
81
  For Node.js REPL:
82
82
 
83
- ```text
84
- # with flag only for < v16
85
- node --experimental-repl-await
86
-
87
- > const ksuid = await import("@thi.ng/ksuid");
83
+ ```js
84
+ const ksuid = await import("@thi.ng/ksuid");
88
85
  ```
89
86
 
90
87
  Package sizes (brotli'd, pre-treeshake): ESM: 754 bytes
@@ -179,7 +176,7 @@ benchmarking: b62, 32bit, n=10000
179
176
 
180
177
  ## Authors
181
178
 
182
- Karsten Schmidt
179
+ - [Karsten Schmidt](https://thi.ng)
183
180
 
184
181
  If this project contributes to an academic publication, please cite it as:
185
182
 
@@ -194,4 +191,4 @@ If this project contributes to an academic publication, please cite it as:
194
191
 
195
192
  ## License
196
193
 
197
- &copy; 2020 - 2022 Karsten Schmidt // Apache Software License 2.0
194
+ &copy; 2020 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -54,8 +54,8 @@ export interface IKSUID {
54
54
  }
55
55
  export interface KSUIDOpts {
56
56
  /**
57
- * {@link @this.ng/base-n#BaseN} instance for string encoding the generated
58
- * binary IDs.
57
+ * [`BaseN`](https://docs.thi.ng/umbrella/base-n/classes/BaseN.html)
58
+ * instance for string encoding the generated binary IDs.
59
59
  *
60
60
  * @defaultValue BASE62
61
61
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/ksuid",
3
- "version": "2.1.27",
3
+ "version": "2.1.29",
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",
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/thi-ng/umbrella.git"
12
12
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/ksuid#readme",
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/ksuid#readme",
14
14
  "funding": [
15
15
  {
16
16
  "type": "github",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "bench": "tools:node-esm bench/index.ts",
@@ -35,18 +35,18 @@
35
35
  "test": "testament test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/base-n": "^2.3.9",
39
- "@thi.ng/errors": "^2.2.5",
40
- "@thi.ng/random": "^3.3.17",
41
- "@thi.ng/strings": "^3.3.19"
38
+ "@thi.ng/base-n": "^2.3.10",
39
+ "@thi.ng/errors": "^2.2.6",
40
+ "@thi.ng/random": "^3.3.19",
41
+ "@thi.ng/strings": "^3.3.21"
42
42
  },
43
43
  "devDependencies": {
44
- "@microsoft/api-extractor": "^7.33.5",
45
- "@thi.ng/testament": "^0.3.6",
44
+ "@microsoft/api-extractor": "^7.33.7",
45
+ "@thi.ng/testament": "^0.3.7",
46
46
  "rimraf": "^3.0.2",
47
47
  "tools": "^0.0.1",
48
- "typedoc": "^0.23.20",
49
- "typescript": "^4.8.4"
48
+ "typedoc": "^0.23.22",
49
+ "typescript": "^4.9.4"
50
50
  },
51
51
  "keywords": [
52
52
  "32bit",
@@ -109,5 +109,5 @@
109
109
  "status": "stable",
110
110
  "year": 2020
111
111
  },
112
- "gitHead": "1fe40da507070653f420156d91e6b27cf682004f\n"
112
+ "gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
113
113
  }