@autofleet/node-common 4.3.0 → 4.3.2

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.
@@ -1,3 +1,5 @@
1
+ import { UUID } from "node:crypto";
2
+
1
3
  //#region src/uuid-utils/string-to-uuid.d.ts
2
4
  interface Args {
3
5
  /** The input string to convert to UUID */
@@ -8,7 +10,7 @@ interface Args {
8
10
  shouldNormalize?: boolean;
9
11
  }
10
12
  /** Convert a string to a consistent UUIDv5 using a namespace */
11
- declare function stringToConsistentUuid(params: Args): string;
13
+ declare function stringToConsistentUuid(params: Args): UUID;
12
14
  //#endregion
13
15
  //#region src/uuid-utils/uuidv5.d.ts
14
16
  declare const NAMESPACE: {
@@ -18,9 +20,9 @@ declare const NAMESPACE: {
18
20
  readonly X500: "6ba7b814-9dad-11d1-80b4-00c04fd430c8";
19
21
  };
20
22
  /** One-off generator: name + namespace (both strings) -> UUID v5 string */
21
- declare function v5(name: string, namespace: string | keyof typeof NAMESPACE): string;
23
+ declare function v5(name: string, namespace: string | keyof typeof NAMESPACE): UUID;
22
24
  /** Hot path: bind namespace once; returns (name: string) => uuid string */
23
- declare function createV5(namespace: string): (name: string) => string;
25
+ declare function createV5(namespace: string): (name: string) => UUID;
24
26
  //#endregion
25
27
  export { stringToConsistentUuid as i, createV5 as n, v5 as r, NAMESPACE as t };
26
- //# sourceMappingURL=index-Kw5jk3PY.d.ts.map
28
+ //# sourceMappingURL=index-CHs08PE8.d.cts.map
@@ -1,3 +1,5 @@
1
+ import { UUID } from "node:crypto";
2
+
1
3
  //#region src/uuid-utils/string-to-uuid.d.ts
2
4
  interface Args {
3
5
  /** The input string to convert to UUID */
@@ -8,7 +10,7 @@ interface Args {
8
10
  shouldNormalize?: boolean;
9
11
  }
10
12
  /** Convert a string to a consistent UUIDv5 using a namespace */
11
- declare function stringToConsistentUuid(params: Args): string;
13
+ declare function stringToConsistentUuid(params: Args): UUID;
12
14
  //#endregion
13
15
  //#region src/uuid-utils/uuidv5.d.ts
14
16
  declare const NAMESPACE: {
@@ -18,9 +20,9 @@ declare const NAMESPACE: {
18
20
  readonly X500: "6ba7b814-9dad-11d1-80b4-00c04fd430c8";
19
21
  };
20
22
  /** One-off generator: name + namespace (both strings) -> UUID v5 string */
21
- declare function v5(name: string, namespace: string | keyof typeof NAMESPACE): string;
23
+ declare function v5(name: string, namespace: string | keyof typeof NAMESPACE): UUID;
22
24
  /** Hot path: bind namespace once; returns (name: string) => uuid string */
23
- declare function createV5(namespace: string): (name: string) => string;
25
+ declare function createV5(namespace: string): (name: string) => UUID;
24
26
  //#endregion
25
27
  export { stringToConsistentUuid as i, createV5 as n, v5 as r, NAMESPACE as t };
26
- //# sourceMappingURL=index-HHW_DgYK.d.cts.map
28
+ //# sourceMappingURL=index-DcubIN6S.d.ts.map
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { promiseMap } from "./promise-utils/index.cjs";
2
- import { i as stringToConsistentUuid, n as createV5, r as v5, t as NAMESPACE } from "./index-HHW_DgYK.cjs";
2
+ import { i as stringToConsistentUuid, n as createV5, r as v5, t as NAMESPACE } from "./index-CHs08PE8.cjs";
3
3
  import { Router as Router$1, RouterOptions } from "express";
4
4
  import { LoggerInstanceManager } from "@autofleet/logger";
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { promiseMap } from "./promise-utils/index.js";
2
- import { i as stringToConsistentUuid, n as createV5, r as v5, t as NAMESPACE } from "./index-Kw5jk3PY.js";
2
+ import { i as stringToConsistentUuid, n as createV5, r as v5, t as NAMESPACE } from "./index-DcubIN6S.js";
3
3
  import { Router as Router$1, RouterOptions } from "express";
4
4
  import { LoggerInstanceManager } from "@autofleet/logger";
5
5
 
@@ -1,2 +1,2 @@
1
- import { i as stringToConsistentUuid, n as createV5, r as v5, t as NAMESPACE } from "../index-HHW_DgYK.cjs";
1
+ import { i as stringToConsistentUuid, n as createV5, r as v5, t as NAMESPACE } from "../index-CHs08PE8.cjs";
2
2
  export { NAMESPACE, createV5, stringToConsistentUuid, v5 };
@@ -1,2 +1,2 @@
1
- import { i as stringToConsistentUuid, n as createV5, r as v5, t as NAMESPACE } from "../index-Kw5jk3PY.js";
1
+ import { i as stringToConsistentUuid, n as createV5, r as v5, t as NAMESPACE } from "../index-DcubIN6S.js";
2
2
  export { NAMESPACE, createV5, stringToConsistentUuid, v5 };
@@ -1 +1 @@
1
- {"version":3,"file":"uuid-utils-DaVfcYml.cjs","names":["NAMESPACE: {\n readonly DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\n readonly URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\n readonly OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8';\n readonly X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8';\n}","maxSize: number","uuidv5"],"sources":["../src/uuid-utils/uuidv5.ts","../../../libs/lru-cache/src/index.ts","../src/uuid-utils/string-to-uuid.ts"],"sourcesContent":["import { createHash } from 'node:crypto';\n\n// RFC 4122 well-known namespaces (as strings)\nexport const NAMESPACE: {\n readonly DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\n readonly URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\n readonly OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8';\n readonly X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8';\n} = Object.freeze({\n DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8',\n URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8',\n OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8',\n X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8',\n});\n\nfunction parseNs(nsStr: unknown): Buffer {\n if (typeof nsStr !== 'string') throw new TypeError('namespace must be a UUID string');\n\n // Check proper UUID format first (8-4-4-4-12 with hyphens)\n if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(nsStr)) {\n throw new TypeError('invalid namespace UUID');\n }\n\n const s = nsStr.replace(/-/g, '').toLowerCase();\n const out = Buffer.allocUnsafe(16);\n for (let i = 0; i < 16; i++) out[i] = parseInt(s.slice(i * 2, i * 2 + 2), 16);\n return out; // 16 bytes\n}\n\nfunction formatHexToUuid(hex32: string): string {\n // hex32 is 32 hex chars\n return `${hex32.slice(0, 8)}-${hex32.slice(8, 12)}-${hex32.slice(12, 16)}-${hex32.slice(16, 20)}-${hex32.slice(20)}`;\n}\n\nfunction v5WithParsed(name: string, nsBytes: Buffer): string {\n if (typeof name !== 'string') throw new TypeError('name must be a string');\n // sha1(namespace || name)\n const d = createHash('sha1').update(nsBytes).update(name, 'utf8').digest(); // 20 bytes\n // set version & variant on first 16 bytes (no extra allocs)\n d[6] = (d[6] & 0x0f) | 0x50; // version 5\n d[8] = (d[8] & 0x3f) | 0x80; // RFC 4122 variant\n const hex = d.subarray(0, 16).toString('hex');\n return formatHexToUuid(hex);\n}\n\n/** One-off generator: name + namespace (both strings) -> UUID v5 string */\nexport function v5(name: string, namespace: string | keyof typeof NAMESPACE): string {\n const nsStr = (namespace in NAMESPACE) ? NAMESPACE[namespace as keyof typeof NAMESPACE] : namespace;\n return v5WithParsed(name, parseNs(nsStr));\n}\n\n/** Hot path: bind namespace once; returns (name: string) => uuid string */\nexport function createV5(namespace: string): (name: string) => string {\n const nsStr = (namespace in NAMESPACE) ? NAMESPACE[namespace as keyof typeof NAMESPACE] : namespace;\n const nsBytes = parseNs(nsStr);\n return (name: string): string => v5WithParsed(name, nsBytes);\n}\n","export class LruCache<K, V> {\n private readonly cache: Map<K, V> = new Map<K, V>();\n\n constructor(private readonly maxSize: number) {\n if (maxSize <= 0) {\n throw new Error('maxSize must be greater than 0');\n }\n }\n\n public get(key: K): V | undefined {\n if (!this.cache.has(key)) {\n return undefined;\n }\n\n const value = this.cache.get(key)!;\n // Refresh key\n this.cache.delete(key);\n this.cache.set(key, value);\n return value;\n }\n\n public set(key: K, value: V): void {\n if (this.cache.has(key)) {\n this.cache.delete(key);\n } else if (this.cache.size >= this.maxSize) {\n // Delete least recently used item\n const [oldestKey] = this.cache.keys();\n this.cache.delete(oldestKey);\n }\n this.cache.set(key, value);\n }\n\n public has(key: K): boolean {\n return this.cache.has(key);\n }\n\n public delete(key: K): boolean {\n return this.cache.delete(key);\n }\n\n public clear(): void {\n this.cache.clear();\n }\n\n public size(): number {\n return this.cache.size;\n }\n\n public keys(): MapIterator<K> {\n return this.cache.keys();\n }\n\n public values(): MapIterator<V> {\n return this.cache.values();\n }\n}\n","import { v5 as uuidv5, NAMESPACE, createV5 } from './uuidv5';\nimport { LruCache } from '@autofleet/lru-cache';\n\nconst namespaceGenerators = new LruCache<string, (name: string) => string>(5);\n\nfunction normalize(input: string): string {\n return input.trim().toLowerCase().normalize('NFC');\n}\n\ninterface Args {\n /** The input string to convert to UUID */\n input: string;\n /** The namespace for UUIDv5 generation. Can be arbitrary string. */\n namespace: string;\n /** Whether to normalize the input string. @default true */\n shouldNormalize?: boolean;\n}\n\n/** Convert a string to a consistent UUIDv5 using a namespace */\nexport function stringToConsistentUuid(params: Args): string {\n const { input, namespace, shouldNormalize = true } = params;\n let generator = namespaceGenerators.get(namespace);\n\n if (!generator) {\n const namespaceUUID = uuidv5(namespace, NAMESPACE.DNS); // Convert arbitrary string namespace to UUIDv5 using DNS namespace\n generator = createV5(namespaceUUID);\n namespaceGenerators.set(namespace, generator);\n }\n\n return generator(shouldNormalize ? normalize(input) : input);\n}\n"],"mappings":"6BAGA,MAAaA,EAKT,OAAO,OAAO,CAChB,IAAK,uCACL,IAAK,uCACL,IAAK,uCACL,KAAM,uCACP,CAAC,CAEF,SAAS,EAAQ,EAAwB,CACvC,GAAI,OAAO,GAAU,SAAU,MAAU,UAAU,kCAAkC,CAGrF,GAAI,CAAC,kEAAkE,KAAK,EAAM,CAChF,MAAU,UAAU,yBAAyB,CAG/C,IAAM,EAAI,EAAM,QAAQ,KAAM,GAAG,CAAC,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K,EAAM,CACnB,EAGT,IAAW,EAAQ,EAAgB,CACjC,GAAI,KAAK,MAAM,IAAI,EAAI,CACrB,KAAK,MAAM,OAAO,EAAI,SACb,KAAK,MAAM,MAAQ,KAAK,QAAS,CAE1C,GAAM,CAAC,GAAa,KAAK,MAAM,MAAM,CACrC,KAAK,MAAM,OAAO,EAAU,CAE9B,KAAK,MAAM,IAAI,EAAK,EAAM,CAG5B,IAAW,EAAiB,CAC1B,OAAO,KAAK,MAAM,IAAI,EAAI,CAG5B,OAAc,EAAiB,CAC7B,OAAO,KAAK,MAAM,OAAO,EAAI,CAG/B,OAAqB,CACnB,KAAK,MAAM,OAAO,CAGpB,MAAsB,CACpB,OAAO,KAAK,MAAM,KAGpB,MAA8B,CAC5B,OAAO,KAAK,MAAM,MAAM,CAG1B,QAAgC,CAC9B,OAAO,KAAK,MAAM,QAAQ,GClD9B,MAAM,EAAsB,IAAI,EAA2C,EAAE,CAE7E,SAAS,EAAU,EAAuB,CACxC,OAAO,EAAM,MAAM,CAAC,aAAa,CAAC,UAAU,MAAM,CAapD,SAAgB,EAAuB,EAAsB,CAC3D,GAAM,CAAE,QAAO,YAAW,kBAAkB,IAAS,EACjD,EAAY,EAAoB,IAAI,EAAU,CAQlD,OANK,IAEH,EAAY,EADUE,EAAO,EAAW,EAAU,IAAI,CACnB,CACnC,EAAoB,IAAI,EAAW,EAAU,EAGxC,EAAU,EAAkB,EAAU,EAAM,CAAG,EAAM"}
1
+ {"version":3,"file":"uuid-utils-DaVfcYml.cjs","names":["NAMESPACE: {\n readonly DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\n readonly URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\n readonly OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8';\n readonly X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8';\n}","maxSize: number","uuidv5"],"sources":["../src/uuid-utils/uuidv5.ts","../../../libs/lru-cache/src/index.ts","../src/uuid-utils/string-to-uuid.ts"],"sourcesContent":["import { createHash, UUID } from 'node:crypto';\n\n// RFC 4122 well-known namespaces (as strings)\nexport const NAMESPACE: {\n readonly DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\n readonly URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\n readonly OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8';\n readonly X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8';\n} = Object.freeze({\n DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8',\n URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8',\n OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8',\n X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8',\n});\n\nfunction parseNs(nsStr: unknown): Buffer {\n if (typeof nsStr !== 'string') throw new TypeError('namespace must be a UUID string');\n\n // Check proper UUID format first (8-4-4-4-12 with hyphens)\n if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(nsStr)) {\n throw new TypeError('invalid namespace UUID');\n }\n\n const s = nsStr.replace(/-/g, '').toLowerCase();\n const out = Buffer.allocUnsafe(16);\n for (let i = 0; i < 16; i++) out[i] = parseInt(s.slice(i * 2, i * 2 + 2), 16);\n return out; // 16 bytes\n}\n\nfunction formatHexToUuid(hex32: string): UUID {\n // hex32 is 32 hex chars\n return `${hex32.slice(0, 8)}-${hex32.slice(8, 12)}-${hex32.slice(12, 16)}-${hex32.slice(16, 20)}-${hex32.slice(20)}`;\n}\n\nfunction v5WithParsed(name: string, nsBytes: Buffer): UUID {\n if (typeof name !== 'string') throw new TypeError('name must be a string');\n // sha1(namespace || name)\n const d = createHash('sha1').update(nsBytes).update(name, 'utf8').digest(); // 20 bytes\n // set version & variant on first 16 bytes (no extra allocs)\n d[6] = (d[6] & 0x0f) | 0x50; // version 5\n d[8] = (d[8] & 0x3f) | 0x80; // RFC 4122 variant\n const hex = d.subarray(0, 16).toString('hex');\n return formatHexToUuid(hex);\n}\n\n/** One-off generator: name + namespace (both strings) -> UUID v5 string */\nexport function v5(name: string, namespace: string | keyof typeof NAMESPACE): UUID {\n const nsStr = (namespace in NAMESPACE) ? NAMESPACE[namespace as keyof typeof NAMESPACE] : namespace;\n return v5WithParsed(name, parseNs(nsStr));\n}\n\n/** Hot path: bind namespace once; returns (name: string) => uuid string */\nexport function createV5(namespace: string): (name: string) => UUID {\n const nsStr = (namespace in NAMESPACE) ? NAMESPACE[namespace as keyof typeof NAMESPACE] : namespace;\n const nsBytes = parseNs(nsStr);\n return (name: string): UUID => v5WithParsed(name, nsBytes);\n}\n","export class LruCache<K, V> {\n private readonly cache: Map<K, V> = new Map<K, V>();\n\n constructor(private readonly maxSize: number) {\n if (maxSize <= 0) {\n throw new Error('maxSize must be greater than 0');\n }\n }\n\n public get(key: K): V | undefined {\n if (!this.cache.has(key)) {\n return undefined;\n }\n\n const value = this.cache.get(key)!;\n // Refresh key\n this.cache.delete(key);\n this.cache.set(key, value);\n return value;\n }\n\n public set(key: K, value: V): void {\n if (this.cache.has(key)) {\n this.cache.delete(key);\n } else if (this.cache.size >= this.maxSize) {\n // Delete least recently used item\n const [oldestKey] = this.cache.keys();\n this.cache.delete(oldestKey);\n }\n this.cache.set(key, value);\n }\n\n public has(key: K): boolean {\n return this.cache.has(key);\n }\n\n public delete(key: K): boolean {\n return this.cache.delete(key);\n }\n\n public clear(): void {\n this.cache.clear();\n }\n\n public size(): number {\n return this.cache.size;\n }\n\n public keys(): MapIterator<K> {\n return this.cache.keys();\n }\n\n public values(): MapIterator<V> {\n return this.cache.values();\n }\n}\n","import type { UUID } from 'node:crypto';\nimport { v5 as uuidv5, NAMESPACE, createV5 } from './uuidv5';\nimport { LruCache } from '@autofleet/lru-cache';\n\nconst namespaceGenerators = new LruCache<string, (name: string) => UUID>(5);\n\nfunction normalize(input: string): string {\n return input.trim().toLowerCase().normalize('NFC');\n}\n\ninterface Args {\n /** The input string to convert to UUID */\n input: string;\n /** The namespace for UUIDv5 generation. Can be arbitrary string. */\n namespace: string;\n /** Whether to normalize the input string. @default true */\n shouldNormalize?: boolean;\n}\n\n/** Convert a string to a consistent UUIDv5 using a namespace */\nexport function stringToConsistentUuid(params: Args): UUID {\n const { input, namespace, shouldNormalize = true } = params;\n let generator = namespaceGenerators.get(namespace);\n\n if (!generator) {\n const namespaceUUID = uuidv5(namespace, NAMESPACE.DNS); // Convert arbitrary string namespace to UUIDv5 using DNS namespace\n generator = createV5(namespaceUUID);\n namespaceGenerators.set(namespace, generator);\n }\n\n return generator(shouldNormalize ? normalize(input) : input);\n}\n"],"mappings":"6BAGA,MAAaA,EAKT,OAAO,OAAO,CAChB,IAAK,uCACL,IAAK,uCACL,IAAK,uCACL,KAAM,uCACP,CAAC,CAEF,SAAS,EAAQ,EAAwB,CACvC,GAAI,OAAO,GAAU,SAAU,MAAU,UAAU,kCAAkC,CAGrF,GAAI,CAAC,kEAAkE,KAAK,EAAM,CAChF,MAAU,UAAU,yBAAyB,CAG/C,IAAM,EAAI,EAAM,QAAQ,KAAM,GAAG,CAAC,aAAa,CACzC,EAAM,OAAO,YAAY,GAAG,CAClC,IAAK,IAAI,EAAI,EAAG,EAAI,GAAI,IAAK,EAAI,GAAK,SAAS,EAAE,MAAM,EAAI,EAAG,EAAI,EAAI,EAAE,CAAE,GAAG,CAC7E,OAAO,EAGT,SAAS,EAAgB,EAAqB,CAE5C,MAAO,GAAG,EAAM,MAAM,EAAG,EAAE,CAAC,GAAG,EAAM,MAAM,EAAG,GAAG,CAAC,GAAG,EAAM,MAAM,GAAI,GAAG,CAAC,GAAG,EAAM,MAAM,GAAI,GAAG,CAAC,GAAG,EAAM,MAAM,GAAG,GAGpH,SAAS,EAAa,EAAc,EAAuB,CACzD,GAAI,OAAO,GAAS,SAAU,MAAU,UAAU,wBAAwB,CAE1E,IAAM,GAAA,EAAA,EAAA,YAAe,OAAO,CAAC,OAAO,EAAQ,CAAC,OAAO,EAAM,OAAO,CAAC,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AsB,IAAI,EAAyC,EAAE,CAE3E,SAAS,EAAU,EAAuB,CACxC,OAAO,EAAM,MAAM,CAAC,aAAa,CAAC,UAAU,MAAM,CAapD,SAAgB,EAAuB,EAAoB,CACzD,GAAM,CAAE,QAAO,YAAW,kBAAkB,IAAS,EACjD,EAAY,EAAoB,IAAI,EAAU,CAQlD,OANK,IAEH,EAAY,EADUE,EAAO,EAAW,EAAU,IAAI,CACnB,CACnC,EAAoB,IAAI,EAAW,EAAU,EAGxC,EAAU,EAAkB,EAAU,EAAM,CAAG,EAAM"}
@@ -1 +1 @@
1
- {"version":3,"file":"uuid-utils-XgVlI8eH.js","names":["NAMESPACE: {\n readonly DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\n readonly URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\n readonly OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8';\n readonly X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8';\n}","maxSize: number","uuidv5"],"sources":["../src/uuid-utils/uuidv5.ts","../../../libs/lru-cache/src/index.ts","../src/uuid-utils/string-to-uuid.ts"],"sourcesContent":["import { createHash } from 'node:crypto';\n\n// RFC 4122 well-known namespaces (as strings)\nexport const NAMESPACE: {\n readonly DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\n readonly URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\n readonly OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8';\n readonly X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8';\n} = Object.freeze({\n DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8',\n URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8',\n OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8',\n X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8',\n});\n\nfunction parseNs(nsStr: unknown): Buffer {\n if (typeof nsStr !== 'string') throw new TypeError('namespace must be a UUID string');\n\n // Check proper UUID format first (8-4-4-4-12 with hyphens)\n if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(nsStr)) {\n throw new TypeError('invalid namespace UUID');\n }\n\n const s = nsStr.replace(/-/g, '').toLowerCase();\n const out = Buffer.allocUnsafe(16);\n for (let i = 0; i < 16; i++) out[i] = parseInt(s.slice(i * 2, i * 2 + 2), 16);\n return out; // 16 bytes\n}\n\nfunction formatHexToUuid(hex32: string): string {\n // hex32 is 32 hex chars\n return `${hex32.slice(0, 8)}-${hex32.slice(8, 12)}-${hex32.slice(12, 16)}-${hex32.slice(16, 20)}-${hex32.slice(20)}`;\n}\n\nfunction v5WithParsed(name: string, nsBytes: Buffer): string {\n if (typeof name !== 'string') throw new TypeError('name must be a string');\n // sha1(namespace || name)\n const d = createHash('sha1').update(nsBytes).update(name, 'utf8').digest(); // 20 bytes\n // set version & variant on first 16 bytes (no extra allocs)\n d[6] = (d[6] & 0x0f) | 0x50; // version 5\n d[8] = (d[8] & 0x3f) | 0x80; // RFC 4122 variant\n const hex = d.subarray(0, 16).toString('hex');\n return formatHexToUuid(hex);\n}\n\n/** One-off generator: name + namespace (both strings) -> UUID v5 string */\nexport function v5(name: string, namespace: string | keyof typeof NAMESPACE): string {\n const nsStr = (namespace in NAMESPACE) ? NAMESPACE[namespace as keyof typeof NAMESPACE] : namespace;\n return v5WithParsed(name, parseNs(nsStr));\n}\n\n/** Hot path: bind namespace once; returns (name: string) => uuid string */\nexport function createV5(namespace: string): (name: string) => string {\n const nsStr = (namespace in NAMESPACE) ? NAMESPACE[namespace as keyof typeof NAMESPACE] : namespace;\n const nsBytes = parseNs(nsStr);\n return (name: string): string => v5WithParsed(name, nsBytes);\n}\n","export class LruCache<K, V> {\n private readonly cache: Map<K, V> = new Map<K, V>();\n\n constructor(private readonly maxSize: number) {\n if (maxSize <= 0) {\n throw new Error('maxSize must be greater than 0');\n }\n }\n\n public get(key: K): V | undefined {\n if (!this.cache.has(key)) {\n return undefined;\n }\n\n const value = this.cache.get(key)!;\n // Refresh key\n this.cache.delete(key);\n this.cache.set(key, value);\n return value;\n }\n\n public set(key: K, value: V): void {\n if (this.cache.has(key)) {\n this.cache.delete(key);\n } else if (this.cache.size >= this.maxSize) {\n // Delete least recently used item\n const [oldestKey] = this.cache.keys();\n this.cache.delete(oldestKey);\n }\n this.cache.set(key, value);\n }\n\n public has(key: K): boolean {\n return this.cache.has(key);\n }\n\n public delete(key: K): boolean {\n return this.cache.delete(key);\n }\n\n public clear(): void {\n this.cache.clear();\n }\n\n public size(): number {\n return this.cache.size;\n }\n\n public keys(): MapIterator<K> {\n return this.cache.keys();\n }\n\n public values(): MapIterator<V> {\n return this.cache.values();\n }\n}\n","import { v5 as uuidv5, NAMESPACE, createV5 } from './uuidv5';\nimport { LruCache } from '@autofleet/lru-cache';\n\nconst namespaceGenerators = new LruCache<string, (name: string) => string>(5);\n\nfunction normalize(input: string): string {\n return input.trim().toLowerCase().normalize('NFC');\n}\n\ninterface Args {\n /** The input string to convert to UUID */\n input: string;\n /** The namespace for UUIDv5 generation. Can be arbitrary string. */\n namespace: string;\n /** Whether to normalize the input string. @default true */\n shouldNormalize?: boolean;\n}\n\n/** Convert a string to a consistent UUIDv5 using a namespace */\nexport function stringToConsistentUuid(params: Args): string {\n const { input, namespace, shouldNormalize = true } = params;\n let generator = namespaceGenerators.get(namespace);\n\n if (!generator) {\n const namespaceUUID = uuidv5(namespace, NAMESPACE.DNS); // Convert arbitrary string namespace to UUIDv5 using DNS namespace\n generator = createV5(namespaceUUID);\n namespaceGenerators.set(namespace, generator);\n }\n\n return generator(shouldNormalize ? normalize(input) : input);\n}\n"],"mappings":"yCAGA,MAAaA,EAKT,OAAO,OAAO,CAChB,IAAK,uCACL,IAAK,uCACL,IAAK,uCACL,KAAM,uCACP,CAAC,CAEF,SAAS,EAAQ,EAAwB,CACvC,GAAI,OAAO,GAAU,SAAU,MAAU,UAAU,kCAAkC,CAGrF,GAAI,CAAC,kEAAkE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AK,MAAM,IAAI,EAAI,CAIjC,OAFA,KAAK,MAAM,OAAO,EAAI,CACtB,KAAK,MAAM,IAAI,EAAK,EAAM,CACnB,EAGT,IAAW,EAAQ,EAAgB,CACjC,GAAI,KAAK,MAAM,IAAI,EAAI,CACrB,KAAK,MAAM,OAAO,EAAI,SACb,KAAK,MAAM,MAAQ,KAAK,QAAS,CAE1C,GAAM,CAAC,GAAa,KAAK,MAAM,MAAM,CACrC,KAAK,MAAM,OAAO,EAAU,CAE9B,KAAK,MAAM,IAAI,EAAK,EAAM,CAG5B,IAAW,EAAiB,CAC1B,OAAO,KAAK,MAAM,IAAI,EAAI,CAG5B,OAAc,EAAiB,CAC7B,OAAO,KAAK,MAAM,OAAO,EAAI,CAG/B,OAAqB,CACnB,KAAK,MAAM,OAAO,CAGpB,MAAsB,CACpB,OAAO,KAAK,MAAM,KAGpB,MAA8B,CAC5B,OAAO,KAAK,MAAM,MAAM,CAG1B,QAAgC,CAC9B,OAAO,KAAK,MAAM,QAAQ,GClD6C,EAAE,CAE7E,SAAS,EAAU,EAAuB,CACxC,OAAO,EAAM,MAAM,CAAC,aAAa,CAAC,UAAU,MAAM,CAapD,SAAgB,EAAuB,EAAsB,CAC3D,GAAM,CAAE,QAAO,YAAW,kBAAkB,IAAS,EACjD,EAAY,EAAoB,IAAI,EAAU,CAQlD,OANK,IAEH,EAAY,EADUE,EAAO,EAAW,EAAU,IAAI,CACnB,CACnC,EAAoB,IAAI,EAAW,EAAU,EAGxC,EAAU,EAAkB,EAAU,EAAM,CAAG,EAAM"}
1
+ {"version":3,"file":"uuid-utils-XgVlI8eH.js","names":["NAMESPACE: {\n readonly DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\n readonly URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\n readonly OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8';\n readonly X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8';\n}","maxSize: number","uuidv5"],"sources":["../src/uuid-utils/uuidv5.ts","../../../libs/lru-cache/src/index.ts","../src/uuid-utils/string-to-uuid.ts"],"sourcesContent":["import { createHash, UUID } from 'node:crypto';\n\n// RFC 4122 well-known namespaces (as strings)\nexport const NAMESPACE: {\n readonly DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\n readonly URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\n readonly OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8';\n readonly X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8';\n} = Object.freeze({\n DNS: '6ba7b810-9dad-11d1-80b4-00c04fd430c8',\n URL: '6ba7b811-9dad-11d1-80b4-00c04fd430c8',\n OID: '6ba7b812-9dad-11d1-80b4-00c04fd430c8',\n X500: '6ba7b814-9dad-11d1-80b4-00c04fd430c8',\n});\n\nfunction parseNs(nsStr: unknown): Buffer {\n if (typeof nsStr !== 'string') throw new TypeError('namespace must be a UUID string');\n\n // Check proper UUID format first (8-4-4-4-12 with hyphens)\n if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(nsStr)) {\n throw new TypeError('invalid namespace UUID');\n }\n\n const s = nsStr.replace(/-/g, '').toLowerCase();\n const out = Buffer.allocUnsafe(16);\n for (let i = 0; i < 16; i++) out[i] = parseInt(s.slice(i * 2, i * 2 + 2), 16);\n return out; // 16 bytes\n}\n\nfunction formatHexToUuid(hex32: string): UUID {\n // hex32 is 32 hex chars\n return `${hex32.slice(0, 8)}-${hex32.slice(8, 12)}-${hex32.slice(12, 16)}-${hex32.slice(16, 20)}-${hex32.slice(20)}`;\n}\n\nfunction v5WithParsed(name: string, nsBytes: Buffer): UUID {\n if (typeof name !== 'string') throw new TypeError('name must be a string');\n // sha1(namespace || name)\n const d = createHash('sha1').update(nsBytes).update(name, 'utf8').digest(); // 20 bytes\n // set version & variant on first 16 bytes (no extra allocs)\n d[6] = (d[6] & 0x0f) | 0x50; // version 5\n d[8] = (d[8] & 0x3f) | 0x80; // RFC 4122 variant\n const hex = d.subarray(0, 16).toString('hex');\n return formatHexToUuid(hex);\n}\n\n/** One-off generator: name + namespace (both strings) -> UUID v5 string */\nexport function v5(name: string, namespace: string | keyof typeof NAMESPACE): UUID {\n const nsStr = (namespace in NAMESPACE) ? NAMESPACE[namespace as keyof typeof NAMESPACE] : namespace;\n return v5WithParsed(name, parseNs(nsStr));\n}\n\n/** Hot path: bind namespace once; returns (name: string) => uuid string */\nexport function createV5(namespace: string): (name: string) => UUID {\n const nsStr = (namespace in NAMESPACE) ? NAMESPACE[namespace as keyof typeof NAMESPACE] : namespace;\n const nsBytes = parseNs(nsStr);\n return (name: string): UUID => v5WithParsed(name, nsBytes);\n}\n","export class LruCache<K, V> {\n private readonly cache: Map<K, V> = new Map<K, V>();\n\n constructor(private readonly maxSize: number) {\n if (maxSize <= 0) {\n throw new Error('maxSize must be greater than 0');\n }\n }\n\n public get(key: K): V | undefined {\n if (!this.cache.has(key)) {\n return undefined;\n }\n\n const value = this.cache.get(key)!;\n // Refresh key\n this.cache.delete(key);\n this.cache.set(key, value);\n return value;\n }\n\n public set(key: K, value: V): void {\n if (this.cache.has(key)) {\n this.cache.delete(key);\n } else if (this.cache.size >= this.maxSize) {\n // Delete least recently used item\n const [oldestKey] = this.cache.keys();\n this.cache.delete(oldestKey);\n }\n this.cache.set(key, value);\n }\n\n public has(key: K): boolean {\n return this.cache.has(key);\n }\n\n public delete(key: K): boolean {\n return this.cache.delete(key);\n }\n\n public clear(): void {\n this.cache.clear();\n }\n\n public size(): number {\n return this.cache.size;\n }\n\n public keys(): MapIterator<K> {\n return this.cache.keys();\n }\n\n public values(): MapIterator<V> {\n return this.cache.values();\n }\n}\n","import type { UUID } from 'node:crypto';\nimport { v5 as uuidv5, NAMESPACE, createV5 } from './uuidv5';\nimport { LruCache } from '@autofleet/lru-cache';\n\nconst namespaceGenerators = new LruCache<string, (name: string) => UUID>(5);\n\nfunction normalize(input: string): string {\n return input.trim().toLowerCase().normalize('NFC');\n}\n\ninterface Args {\n /** The input string to convert to UUID */\n input: string;\n /** The namespace for UUIDv5 generation. Can be arbitrary string. */\n namespace: string;\n /** Whether to normalize the input string. @default true */\n shouldNormalize?: boolean;\n}\n\n/** Convert a string to a consistent UUIDv5 using a namespace */\nexport function stringToConsistentUuid(params: Args): UUID {\n const { input, namespace, shouldNormalize = true } = params;\n let generator = namespaceGenerators.get(namespace);\n\n if (!generator) {\n const namespaceUUID = uuidv5(namespace, NAMESPACE.DNS); // Convert arbitrary string namespace to UUIDv5 using DNS namespace\n generator = createV5(namespaceUUID);\n namespaceGenerators.set(namespace, generator);\n }\n\n return generator(shouldNormalize ? normalize(input) : input);\n}\n"],"mappings":"yCAGA,MAAaA,EAKT,OAAO,OAAO,CAChB,IAAK,uCACL,IAAK,uCACL,IAAK,uCACL,KAAM,uCACP,CAAC,CAEF,SAAS,EAAQ,EAAwB,CACvC,GAAI,OAAO,GAAU,SAAU,MAAU,UAAU,kCAAkC,CAGrF,GAAI,CAAC,kEAAkE,KAAK,EAAM,CAChF,MAAU,UAAU,yBAAyB,CAG/C,IAAM,EAAI,EAAM,QAAQ,KAAM,GAAG,CAAC,aAAa,CACzC,EAAM,OAAO,YAAY,GAAG,CAClC,IAAK,IAAI,EAAI,EAAG,EAAI,GAAI,IAAK,EAAI,GAAK,SAAS,EAAE,MAAM,EAAI,EAAG,EAAI,EAAI,EAAE,CAAE,GAAG,CAC7E,OAAO,EAGT,SAAS,EAAgB,EAAqB,CAE5C,MAAO,GAAG,EAAM,MAAM,EAAG,EAAE,CAAC,GAAG,EAAM,MAAM,EAAG,GAAG,CAAC,GAAG,EAAM,MAAM,GAAI,GAAG,CAAC,GAAG,EAAM,MAAM,GAAI,GAAG,CAAC,GAAG,EAAM,MAAM,GAAG,GAGpH,SAAS,EAAa,EAAc,EAAuB,CACzD,GAAI,OAAO,GAAS,SAAU,MAAU,UAAU,wBAAwB,CAE1E,IAAM,EAAI,EAAW,OAAO,CA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QAAgC,CAC9B,OAAO,KAAK,MAAM,QAAQ,GCjD2C,EAAE,CAE3E,SAAS,EAAU,EAAuB,CACxC,OAAO,EAAM,MAAM,CAAC,aAAa,CAAC,UAAU,MAAM,CAapD,SAAgB,EAAuB,EAAoB,CACzD,GAAM,CAAE,QAAO,YAAW,kBAAkB,IAAS,EACjD,EAAY,EAAoB,IAAI,EAAU,CAQlD,OANK,IAEH,EAAY,EADUE,EAAO,EAAW,EAAU,IAAI,CACnB,CACnC,EAAoB,IAAI,EAAW,EAAU,EAGxC,EAAU,EAAkB,EAAU,EAAM,CAAG,EAAM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/node-common",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -56,7 +56,7 @@
56
56
  "homepage": "https://github.com/Autofleet/autorepo/tree/master/packages/node-common#readme",
57
57
  "devDependencies": {
58
58
  "@types/express": "^4.17.21",
59
- "@autofleet/logger": "^4.2.45"
59
+ "@autofleet/logger": "^4.2.46"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@autofleet/logger": ">=4.2.1",