@thi.ng/ksuid 3.2.26 → 3.2.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**: 2024-01-23T15:58:27Z
3
+ - **Last updated**: 2024-01-29T21:04:46Z
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
@@ -7,9 +7,13 @@
7
7
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/ksuid.svg)
8
8
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
9
9
 
10
- This is a standalone project, maintained as part of the
11
- [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo and
12
- anti-framework.
10
+ > [!NOTE]
11
+ > This is one of 189 standalone projects, maintained as part
12
+ > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
13
+ > and anti-framework.
14
+ >
15
+ > 🚀 Help me to work full-time on these projects by [sponsoring me on
16
+ > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
13
17
 
14
18
  - [About](#about)
15
19
  - [CLI usage](#cli-usage)
@@ -89,7 +93,7 @@ implementations already used milliseconds.
89
93
 
90
94
  ## Related packages
91
95
 
92
- - [@thi.ng/base-n](https://github.com/thi-ng/umbrella/tree/develop/packages/base-n) - Arbitrary base-n conversions w/ presets for base8/16/32/36/58/62/64/85, support for bigints and encoding/decoding of byte arrays
96
+ - [@thi.ng/base-n](https://github.com/thi-ng/umbrella/tree/develop/packages/base-n) - Arbitrary base-n conversions w/ presets for base8/16/32/36/58/62/64/83/85, support for bigints and encoding/decoding of byte arrays
93
97
  - [@thi.ng/idgen](https://github.com/thi-ng/umbrella/tree/develop/packages/idgen) - Generator of opaque numeric identifiers with optional support for ID versioning and efficient re-use
94
98
  - [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random) - Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
95
99
 
package/aksuid.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { BaseN } from "@thi.ng/base-n";
2
2
  import type { IRandom } from "@thi.ng/random";
3
3
  import type { IKSUID, KSUIDOpts } from "./api.js";
4
4
  /**
5
- * Abstract base class for both 32 & 64bit implementations. See {@link KSUID}
5
+ * Abstract base class for both 32 & 64bit implementations. See {@link KSUID32}
6
6
  * and {@link KSUID64}.
7
7
  */
8
8
  export declare abstract class AKSUID implements IKSUID {
package/api.d.ts CHANGED
@@ -29,7 +29,7 @@ export interface IKSUID {
29
29
  */
30
30
  timeOnly(epoch?: number): string;
31
31
  /**
32
- * Binary version of {@link KSUI.timeOnly}, but returns byte array. The
32
+ * Binary version of {@link IKSUID.timeOnly}, but returns byte array. The
33
33
  * first `epochSize` bytes will contain the timestamp. If `buf` is given,
34
34
  * writes result in there, else creates new byte array.
35
35
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/ksuid",
3
- "version": "3.2.26",
3
+ "version": "3.2.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",
@@ -37,10 +37,10 @@
37
37
  "test": "bun test"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/base-n": "^2.5.25",
41
- "@thi.ng/errors": "^2.4.11",
42
- "@thi.ng/random": "^3.6.24",
43
- "@thi.ng/strings": "^3.7.8"
40
+ "@thi.ng/base-n": "^2.6.2",
41
+ "@thi.ng/errors": "^2.4.13",
42
+ "@thi.ng/random": "^3.6.27",
43
+ "@thi.ng/strings": "^3.7.11"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-extractor": "^7.39.0",
@@ -114,5 +114,5 @@
114
114
  "status": "stable",
115
115
  "year": 2020
116
116
  },
117
- "gitHead": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
117
+ "gitHead": "3fa30b2dc2de762f24fd64b881b68d4da33d4c38\n"
118
118
  }