@stryke/unique-id 0.3.56 → 0.3.58
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 +12 -0
- package/dist/hash/src/digest.cjs +1 -1
- package/dist/hash/src/digest.mjs +1 -1
- package/dist/hash/src/hash-content.cjs +1 -0
- package/dist/hash/src/hash-content.mjs +3 -0
- package/dist/hash/src/neutral.cjs +1 -0
- package/dist/hash/src/neutral.mjs +1 -0
- package/package.json +2 -2
- package/dist/convert/src/neutral.cjs +0 -3
- package/dist/convert/src/neutral.mjs +0 -5
- package/dist/convert/src/parse-type-definition.cjs +0 -1
- package/dist/convert/src/parse-type-definition.mjs +0 -3
- package/dist/convert/src/string-to-utf8-array.cjs +0 -5
- package/dist/convert/src/string-to-utf8-array.mjs +0 -6
- package/dist/convert/src/string-to-utf8-array.mjs.map +0 -1
- package/dist/convert/src/utf8-array-to-string.cjs +0 -5
- package/dist/convert/src/utf8-array-to-string.mjs +0 -6
- package/dist/convert/src/utf8-array-to-string.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Stryke - Unique ID
|
|
4
4
|
|
|
5
|
+
## [0.3.57](https://github.com/storm-software/stryke/releases/tag/unique-id%400.3.57) (03/02/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **hash** to **v0.12.52**
|
|
10
|
+
|
|
11
|
+
## [0.3.56](https://github.com/storm-software/stryke/releases/tag/unique-id%400.3.56) (03/02/2026)
|
|
12
|
+
|
|
13
|
+
### Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated **hash** to **v0.12.51**
|
|
16
|
+
|
|
5
17
|
## [0.3.55](https://github.com/storm-software/stryke/releases/tag/unique-id%400.3.55) (03/02/2026)
|
|
6
18
|
|
|
7
19
|
### Updated Dependencies
|
package/dist/hash/src/digest.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require('../../
|
|
1
|
+
require('../../type-checks/src/index.cjs');
|
package/dist/hash/src/digest.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./neutral.cjs');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stryke/unique-id",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.58",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing various helper functions to generate unique identifier strings",
|
|
6
6
|
"repository": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"types": "./dist/index.d.cts",
|
|
33
33
|
"devDependencies": { "tsdown": "^0.17.2" },
|
|
34
34
|
"publishConfig": { "access": "public" },
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "b8125bf046febc1991df62777827d0481c2c89c0"
|
|
36
36
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../../type-checks/src/index.cjs');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string-to-utf8-array.mjs","names":[],"sources":["../../../../convert/src/string-to-utf8-array.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nconst encoder = new TextEncoder();\n\n/**\n * Convert a string to a utf-8 array\n *\n * @param input - The string to convert\n * @returns The converted utf-8 array\n */\nexport function stringToUtf8Array(input: string): Uint8Array {\n return encoder.encode(input);\n}\n"],"mappings":";AAkBA,MAAM,UAAU,IAAI,aAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utf8-array-to-string.mjs","names":[],"sources":["../../../../convert/src/utf8-array-to-string.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nconst decoder = new TextDecoder();\n\n/**\n * Convert a utf-8 array to string\n *\n * @param input - Utf-8 Array\n * @returns The converted string\n */\nexport function utf8ArrayToString(\n input: NodeJS.ArrayBufferView | ArrayBuffer\n): string {\n return decoder.decode(input);\n}\n"],"mappings":";AAkBA,MAAM,UAAU,IAAI,aAAa"}
|