@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 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
@@ -1 +1 @@
1
- require('../../convert/src/neutral.cjs');
1
+ require('../../type-checks/src/index.cjs');
@@ -1,3 +1,3 @@
1
- import "../../convert/src/neutral.mjs";
1
+ import "../../type-checks/src/index.mjs";
2
2
 
3
3
  export { };
@@ -0,0 +1 @@
1
+ require('./neutral.cjs');
@@ -0,0 +1,3 @@
1
+ import "./neutral.mjs";
2
+
3
+ export { };
@@ -1,4 +1,5 @@
1
1
  require('./digest.cjs');
2
+ require('./hash-content.cjs');
2
3
  const require_murmurhash = require('./murmurhash.cjs');
3
4
  require('./hash-files.cjs');
4
5
  require('./xx-hash.cjs');
@@ -1,4 +1,5 @@
1
1
  import "./digest.mjs";
2
+ import "./hash-content.mjs";
2
3
  import { murmurhash } from "./murmurhash.mjs";
3
4
  import "./hash-files.mjs";
4
5
  import "./xx-hash.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/unique-id",
3
- "version": "0.3.56",
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": "7755bd92180cadaa0ef8168e4e123deaacc4ccb8"
35
+ "gitHead": "b8125bf046febc1991df62777827d0481c2c89c0"
36
36
  }
@@ -1,3 +0,0 @@
1
- require('./parse-type-definition.cjs');
2
- require('./string-to-utf8-array.cjs');
3
- require('./utf8-array-to-string.cjs');
@@ -1,5 +0,0 @@
1
- import "./parse-type-definition.mjs";
2
- import "./string-to-utf8-array.mjs";
3
- import "./utf8-array-to-string.mjs";
4
-
5
- export { };
@@ -1 +0,0 @@
1
- require('../../type-checks/src/index.cjs');
@@ -1,3 +0,0 @@
1
- import "../../type-checks/src/index.mjs";
2
-
3
- export { };
@@ -1,5 +0,0 @@
1
-
2
- //#region ../convert/src/string-to-utf8-array.ts
3
- const encoder = new TextEncoder();
4
-
5
- //#endregion
@@ -1,6 +0,0 @@
1
- //#region ../convert/src/string-to-utf8-array.ts
2
- const encoder = new TextEncoder();
3
-
4
- //#endregion
5
- export { };
6
- //# sourceMappingURL=string-to-utf8-array.mjs.map
@@ -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,5 +0,0 @@
1
-
2
- //#region ../convert/src/utf8-array-to-string.ts
3
- const decoder = new TextDecoder();
4
-
5
- //#endregion
@@ -1,6 +0,0 @@
1
- //#region ../convert/src/utf8-array-to-string.ts
2
- const decoder = new TextDecoder();
3
-
4
- //#endregion
5
- export { };
6
- //# sourceMappingURL=utf8-array-to-string.mjs.map
@@ -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"}