@fgv/ts-web-extras-argon2 5.1.0-42 → 5.1.0-43

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.
Files changed (26) hide show
  1. package/.rush/temp/{e971eba57f7af04a8af88668d747780c604c13e7.tar.log → 04f95c9de7fb2a8e0af2fe9c377ad005a838dc9e.tar.log} +2 -2
  2. package/.rush/temp/chunked-rush-logs/ts-web-extras-argon2.build.chunks.jsonl +2 -2
  3. package/.rush/temp/operation/build/all.log +2 -2
  4. package/.rush/temp/operation/build/log-chunks.jsonl +2 -2
  5. package/.rush/temp/operation/build/state.json +1 -1
  6. package/dist/packlets/argon2/browserArgon2Provider.js +17 -10
  7. package/dist/packlets/argon2/browserArgon2Provider.js.map +1 -1
  8. package/dist/test/unit/argon2/browserArgon2Provider.test.js +23 -0
  9. package/dist/test/unit/argon2/browserArgon2Provider.test.js.map +1 -1
  10. package/dist/ts-web-extras-argon2.d.ts +11 -1
  11. package/etc/ts-web-extras-argon2.api.md +1 -1
  12. package/lib/packlets/argon2/browserArgon2Provider.d.ts +11 -1
  13. package/lib/packlets/argon2/browserArgon2Provider.d.ts.map +1 -1
  14. package/lib/packlets/argon2/browserArgon2Provider.js +17 -10
  15. package/lib/packlets/argon2/browserArgon2Provider.js.map +1 -1
  16. package/lib/test/unit/argon2/browserArgon2Provider.test.js +23 -0
  17. package/lib/test/unit/argon2/browserArgon2Provider.test.js.map +1 -1
  18. package/package.json +7 -7
  19. package/rush-logs/ts-web-extras-argon2.build.cache.log +1 -1
  20. package/rush-logs/ts-web-extras-argon2.build.log +2 -2
  21. package/src/packlets/argon2/browserArgon2Provider.ts +23 -2
  22. package/src/test/unit/argon2/browserArgon2Provider.test.ts +36 -0
  23. package/temp/build/lint/_eslint-5eVG3S6w.json +2 -2
  24. package/temp/build/typescript/ts_8nwakTlr.json +1 -1
  25. package/temp/ts-web-extras-argon2.api.json +20 -3
  26. package/temp/ts-web-extras-argon2.api.md +1 -1
@@ -1,5 +1,5 @@
1
- Start time: Thu Jul 16 2026 03:35:37 GMT+0000 (Coordinated Universal Time)
2
- Invoking "/usr/bin/tar -c -f /home/runner/work/fgv/fgv/common/temp/build-cache/e971eba57f7af04a8af88668d747780c604c13e7-ba61c6c51866a717.temp -z --files-from=-"
1
+ Start time: Mon Jul 20 2026 00:40:38 GMT+0000 (Coordinated Universal Time)
2
+ Invoking "/usr/bin/tar -c -f /home/runner/work/fgv/fgv/common/temp/build-cache/04f95c9de7fb2a8e0af2fe9c377ad005a838dc9e-77155c91d0492925.temp -z --files-from=-"
3
3
 
4
4
  ======= BEGIN PROCESS INPUT ======
5
5
  .rush/temp/operation/build/all.log
@@ -5,5 +5,5 @@
5
5
  {"kind":"O","text":"[build:lint] Using ESLint version 9.39.5\n"}
6
6
  {"kind":"O","text":"[build:api-extractor] Using API Extractor version 7.58.9\n"}
7
7
  {"kind":"O","text":"[build:api-extractor] Analysis will use the bundled TypeScript version 5.9.3\n"}
8
- {"kind":"O","text":" ---- build finished (16.031s) ---- \n"}
9
- {"kind":"O","text":"-------------------- Finished (16.041s) --------------------\n"}
8
+ {"kind":"O","text":" ---- build finished (15.050s) ---- \n"}
9
+ {"kind":"O","text":"-------------------- Finished (15.055s) --------------------\n"}
@@ -5,5 +5,5 @@ Invoking: heft build --clean
5
5
  [build:lint] Using ESLint version 9.39.5
6
6
  [build:api-extractor] Using API Extractor version 7.58.9
7
7
  [build:api-extractor] Analysis will use the bundled TypeScript version 5.9.3
8
- ---- build finished (16.031s) ----
9
- -------------------- Finished (16.041s) --------------------
8
+ ---- build finished (15.050s) ----
9
+ -------------------- Finished (15.055s) --------------------
@@ -5,5 +5,5 @@
5
5
  {"kind":"O","text":"[build:lint] Using ESLint version 9.39.5\n"}
6
6
  {"kind":"O","text":"[build:api-extractor] Using API Extractor version 7.58.9\n"}
7
7
  {"kind":"O","text":"[build:api-extractor] Analysis will use the bundled TypeScript version 5.9.3\n"}
8
- {"kind":"O","text":" ---- build finished (16.031s) ---- \n"}
9
- {"kind":"O","text":"-------------------- Finished (16.041s) --------------------\n"}
8
+ {"kind":"O","text":" ---- build finished (15.050s) ---- \n"}
9
+ {"kind":"O","text":"-------------------- Finished (15.055s) --------------------\n"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "nonCachedDurationMs": 16913.621046
2
+ "nonCachedDurationMs": 15726.366295999993
3
3
  }
@@ -45,27 +45,34 @@ export class BrowserArgon2Provider {
45
45
  * For interoperability with server-side Node derivations, ensure both sides use the same
46
46
  * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).
47
47
  *
48
+ * The optional secret K (RFC 9106 keyed hashing) is wired through to `hash-wasm`
49
+ * and produces output byte-identical to the Node backend. Associated data X, by
50
+ * contrast, is **not supported** by `hash-wasm` (its `argon2id` options have no
51
+ * associated-data field), so a call that supplies non-empty `associatedData`
52
+ * fails loudly rather than silently dropping it and producing wrong bytes —
53
+ * associated data is a Node-only feature. An empty/omitted `associatedData` is a
54
+ * no-op and is accepted.
55
+ *
48
56
  * @param password - The password or passphrase (string or raw bytes).
49
57
  * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).
50
58
  * @param params - Argon2id parameters. All values are validated before derivation.
59
+ * @param options - Optional {@link @fgv/ts-extras#CryptoUtils.IArgon2idKeyingOptions | keyed-hashing inputs}.
60
+ * `secret` is honored; non-empty `associatedData` fails (Node-only).
51
61
  * @returns Success with the derived key bytes, or Failure with a descriptive message.
52
62
  * @public
53
63
  */
54
- async argon2id(password, salt, params) {
64
+ async argon2id(password, salt, params, options) {
55
65
  const error = BrowserArgon2Provider._validateParams(params);
56
66
  if (error !== undefined) {
57
67
  return fail(error);
58
68
  }
69
+ if ((options === null || options === void 0 ? void 0 : options.associatedData) && options.associatedData.length > 0) {
70
+ return fail('argon2id: associatedData is not supported by the hash-wasm (browser) backend — ' +
71
+ 'associated data is Node-only (@fgv/ts-extras-argon2 NodeArgon2Provider)');
72
+ }
59
73
  return captureAsyncResult(async () => {
60
- const result = await argon2id({
61
- password,
62
- salt,
63
- iterations: params.iterations,
64
- parallelism: params.parallelism,
65
- memorySize: params.memoryKiB,
66
- hashLength: params.outputBytes,
67
- outputType: 'binary'
68
- });
74
+ const result = await argon2id(Object.assign({ password,
75
+ salt, iterations: params.iterations, parallelism: params.parallelism, memorySize: params.memoryKiB, hashLength: params.outputBytes, outputType: 'binary' }, ((options === null || options === void 0 ? void 0 : options.secret) && options.secret.length > 0 ? { secret: options.secret } : {})));
69
76
  return result;
70
77
  });
71
78
  }
@@ -1 +1 @@
1
- {"version":3,"file":"browserArgon2Provider.js","sourceRoot":"","sources":["../../../src/packlets/argon2/browserArgon2Provider.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE;AACxE,2DAA2D;AAC3D,EAAE;AACF,iFAAiF;AACjF,kDAAkD;AAClD,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,YAAY;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAU,kBAAkB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG1E;;;;;GAKG;AACH,MAAM,OAAO,qBAAqB;IAChC,gBAAuB,CAAC;IAExB;;;;OAIG;IACI,MAAM,CAAC,MAAM;QAClB,OAAO,OAAO,CAAC,IAAI,qBAAqB,EAAE,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACI,KAAK,CAAC,QAAQ,CACnB,QAA6B,EAC7B,IAAgB,EAChB,MAAmC;QAEnC,MAAM,KAAK,GAAG,qBAAqB,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;QAED,OAAO,kBAAkB,CAAC,KAAK,IAAI,EAAE;YACnC,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC;gBAC5B,QAAQ;gBACR,IAAI;gBACJ,UAAU,EAAE,MAAM,CAAC,UAAU;gBAC7B,WAAW,EAAE,MAAM,CAAC,WAAW;gBAC/B,UAAU,EAAE,MAAM,CAAC,SAAS;gBAC5B,UAAU,EAAE,MAAM,CAAC,WAAW;gBAC9B,UAAU,EAAE,QAAQ;aACrB,CAAC,CAAC;YACH,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,MAAM,CAAC,eAAe,CAAC,MAAmC;QAChE,IAAI,MAAM,CAAC,SAAS,GAAG,CAAC,EAAE,CAAC;YACzB,OAAO,yCAAyC,MAAM,CAAC,SAAS,EAAE,CAAC;QACrE,CAAC;QACD,IAAI,MAAM,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC;YAC1B,OAAO,0CAA0C,MAAM,CAAC,UAAU,EAAE,CAAC;QACvE,CAAC;QACD,IAAI,MAAM,CAAC,WAAW,GAAG,CAAC,IAAI,MAAM,CAAC,WAAW,GAAG,GAAG,EAAE,CAAC;YACvD,OAAO,6CAA6C,MAAM,CAAC,WAAW,EAAE,CAAC;QAC3E,CAAC;QACD,IAAI,MAAM,CAAC,WAAW,GAAG,CAAC,EAAE,CAAC;YAC3B,OAAO,2CAA2C,MAAM,CAAC,WAAW,EAAE,CAAC;QACzE,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF","sourcesContent":["// Copyright (c) 2026 Erik Fortune\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport { argon2id } from 'hash-wasm';\nimport { Result, captureAsyncResult, fail, succeed } from '@fgv/ts-utils';\nimport { CryptoUtils } from '@fgv/ts-extras';\n\n/**\n * Browser (and Node) implementation of {@link @fgv/ts-extras#IArgon2idProvider} backed by\n * `hash-wasm` (pure WASM — no Web Crypto dependency). Runs identically in both Node and\n * browser environments, enabling cross-runtime test equivalence.\n * @public\n */\nexport class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvider {\n private constructor() {}\n\n /**\n * Creates a new {@link BrowserArgon2Provider} instance.\n * @returns Success with a new provider instance.\n * @public\n */\n public static create(): Result<BrowserArgon2Provider> {\n return succeed(new BrowserArgon2Provider());\n }\n\n /**\n * Derives a key using Argon2id via the hash-wasm WASM implementation.\n *\n * @remarks\n * `hash-wasm` computes Argon2id sequentially regardless of the `parallelism` value —\n * the WASM engine does not spawn worker threads. The `parallelism` value IS still wired\n * into the hash computation; output bytes differ for different parallelism values.\n * For interoperability with server-side Node derivations, ensure both sides use the same\n * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).\n *\n * @param password - The password or passphrase (string or raw bytes).\n * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).\n * @param params - Argon2id parameters. All values are validated before derivation.\n * @returns Success with the derived key bytes, or Failure with a descriptive message.\n * @public\n */\n public async argon2id(\n password: Uint8Array | string,\n salt: Uint8Array,\n params: CryptoUtils.IArgon2idParams\n ): Promise<Result<Uint8Array>> {\n const error = BrowserArgon2Provider._validateParams(params);\n if (error !== undefined) {\n return fail(error);\n }\n\n return captureAsyncResult(async () => {\n const result = await argon2id({\n password,\n salt,\n iterations: params.iterations,\n parallelism: params.parallelism,\n memorySize: params.memoryKiB,\n hashLength: params.outputBytes,\n outputType: 'binary'\n });\n return result;\n });\n }\n\n private static _validateParams(params: CryptoUtils.IArgon2idParams): string | undefined {\n if (params.memoryKiB < 8) {\n return `argon2id: memoryKiB must be >= 8, got ${params.memoryKiB}`;\n }\n if (params.iterations < 1) {\n return `argon2id: iterations must be >= 1, got ${params.iterations}`;\n }\n if (params.parallelism < 1 || params.parallelism > 255) {\n return `argon2id: parallelism must be 1..255, got ${params.parallelism}`;\n }\n if (params.outputBytes < 4) {\n return `argon2id: outputBytes must be >= 4, got ${params.outputBytes}`;\n }\n return undefined;\n }\n}\n"]}
1
+ {"version":3,"file":"browserArgon2Provider.js","sourceRoot":"","sources":["../../../src/packlets/argon2/browserArgon2Provider.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE;AACxE,2DAA2D;AAC3D,EAAE;AACF,iFAAiF;AACjF,kDAAkD;AAClD,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,YAAY;AAEZ,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAU,kBAAkB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG1E;;;;;GAKG;AACH,MAAM,OAAO,qBAAqB;IAChC,gBAAuB,CAAC;IAExB;;;;OAIG;IACI,MAAM,CAAC,MAAM;QAClB,OAAO,OAAO,CAAC,IAAI,qBAAq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MAAM,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC;YAC1B,OAAO,0CAA0C,MAAM,CAAC,UAAU,EAAE,CAAC;QACvE,CAAC;QACD,IAAI,MAAM,CAAC,WAAW,GAAG,CAAC,IAAI,MAAM,CAAC,WAAW,GAAG,GAAG,EAAE,CAAC;YACvD,OAAO,6CAA6C,MAAM,CAAC,WAAW,EAAE,CAAC;QAC3E,CAAC;QACD,IAAI,MAAM,CAAC,WAAW,GAAG,CAAC,EAAE,CAAC;YAC3B,OAAO,2CAA2C,MAAM,CAAC,WAAW,EAAE,CAAC;QACzE,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF","sourcesContent":["// Copyright (c) 2026 Erik Fortune\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport { argon2id } from 'hash-wasm';\nimport { Result, captureAsyncResult, fail, succeed } from '@fgv/ts-utils';\nimport { CryptoUtils } from '@fgv/ts-extras';\n\n/**\n * Browser (and Node) implementation of {@link @fgv/ts-extras#IArgon2idProvider} backed by\n * `hash-wasm` (pure WASM — no Web Crypto dependency). Runs identically in both Node and\n * browser environments, enabling cross-runtime test equivalence.\n * @public\n */\nexport class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvider {\n private constructor() {}\n\n /**\n * Creates a new {@link BrowserArgon2Provider} instance.\n * @returns Success with a new provider instance.\n * @public\n */\n public static create(): Result<BrowserArgon2Provider> {\n return succeed(new BrowserArgon2Provider());\n }\n\n /**\n * Derives a key using Argon2id via the hash-wasm WASM implementation.\n *\n * @remarks\n * `hash-wasm` computes Argon2id sequentially regardless of the `parallelism` value —\n * the WASM engine does not spawn worker threads. The `parallelism` value IS still wired\n * into the hash computation; output bytes differ for different parallelism values.\n * For interoperability with server-side Node derivations, ensure both sides use the same\n * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).\n *\n * The optional secret K (RFC 9106 keyed hashing) is wired through to `hash-wasm`\n * and produces output byte-identical to the Node backend. Associated data X, by\n * contrast, is **not supported** by `hash-wasm` (its `argon2id` options have no\n * associated-data field), so a call that supplies non-empty `associatedData`\n * fails loudly rather than silently dropping it and producing wrong bytes —\n * associated data is a Node-only feature. An empty/omitted `associatedData` is a\n * no-op and is accepted.\n *\n * @param password - The password or passphrase (string or raw bytes).\n * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).\n * @param params - Argon2id parameters. All values are validated before derivation.\n * @param options - Optional {@link @fgv/ts-extras#CryptoUtils.IArgon2idKeyingOptions | keyed-hashing inputs}.\n * `secret` is honored; non-empty `associatedData` fails (Node-only).\n * @returns Success with the derived key bytes, or Failure with a descriptive message.\n * @public\n */\n public async argon2id(\n password: Uint8Array | string,\n salt: Uint8Array,\n params: CryptoUtils.IArgon2idParams,\n options?: CryptoUtils.IArgon2idKeyingOptions\n ): Promise<Result<Uint8Array>> {\n const error = BrowserArgon2Provider._validateParams(params);\n if (error !== undefined) {\n return fail(error);\n }\n\n if (options?.associatedData && options.associatedData.length > 0) {\n return fail(\n 'argon2id: associatedData is not supported by the hash-wasm (browser) backend — ' +\n 'associated data is Node-only (@fgv/ts-extras-argon2 NodeArgon2Provider)'\n );\n }\n\n return captureAsyncResult(async () => {\n const result = await argon2id({\n password,\n salt,\n iterations: params.iterations,\n parallelism: params.parallelism,\n memorySize: params.memoryKiB,\n hashLength: params.outputBytes,\n outputType: 'binary',\n // Only pass secret when present and non-empty so empty options and prior\n // callers produce byte-identical output.\n ...(options?.secret && options.secret.length > 0 ? { secret: options.secret } : {})\n });\n return result;\n });\n }\n\n private static _validateParams(params: CryptoUtils.IArgon2idParams): string | undefined {\n if (params.memoryKiB < 8) {\n return `argon2id: memoryKiB must be >= 8, got ${params.memoryKiB}`;\n }\n if (params.iterations < 1) {\n return `argon2id: iterations must be >= 1, got ${params.iterations}`;\n }\n if (params.parallelism < 1 || params.parallelism > 255) {\n return `argon2id: parallelism must be 1..255, got ${params.parallelism}`;\n }\n if (params.outputBytes < 4) {\n return `argon2id: outputBytes must be >= 4, got ${params.outputBytes}`;\n }\n return undefined;\n }\n}\n"]}
@@ -75,6 +75,29 @@ describe('BrowserArgon2Provider', () => {
75
75
  });
76
76
  });
77
77
  });
78
+ describe('keyed hashing (secret / associatedData)', () => {
79
+ const SECRET = new Uint8Array(8).fill(0x03);
80
+ const AD = new Uint8Array(12).fill(0x04);
81
+ test('honors a secret — output differs from the no-secret derivation', async () => {
82
+ const withoutSecret = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
83
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: SECRET })).toSucceedAndSatisfy((withSecret) => {
84
+ expect(withSecret).not.toEqual(withoutSecret);
85
+ });
86
+ });
87
+ test('empty secret is a no-op (byte-identical to omitting options)', async () => {
88
+ const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
89
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: new Uint8Array(0) })).toSucceedWith(baseline);
90
+ });
91
+ test('rejects non-empty associatedData as a Node-only feature', async () => {
92
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { associatedData: AD })).toFailWith(/associatedData is not supported.*node-only/i);
93
+ });
94
+ test('empty associatedData is accepted (no-op, byte-identical to omitting options)', async () => {
95
+ const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
96
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, {
97
+ associatedData: new Uint8Array(0)
98
+ })).toSucceedWith(baseline);
99
+ });
100
+ });
78
101
  describe('parameter validation', () => {
79
102
  test('fails when memoryKiB < 8', async () => {
80
103
  expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, Object.assign(Object.assign({}, RFC_PARAMS), { memoryKiB: 7 }))).toFailWith(/memoryKiB must be >= 8/i);
@@ -1 +1 @@
1
- {"version":3,"file":"browserArgon2Provider.test.js","sourceRoot":"","sources":["../../../../src/test/unit/argon2/browserArgon2Provider.test.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE;AACxE,2DAA2D;AAC3D,EAAE;AACF,iFAAiF;AACjF,kDAAkD;AAClD,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,YAAY;AAEZ,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGjE,2FAA2F;AAC3F,4EAA4E;AAC5E,MAAM,UAAU,GAAgC;IAC9C,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,WAAW,EAAE,EAAE;CAChB,CAAC;AACF,MAAM,YAAY,GAAG,IAAI,UAAU,CAAC,EAAE,C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,kCAAO,UAAU,KAAE,UAAU,EAAE,CAAC,IAAG,CAAC,CAAC,UAAU,CAClG,0BAA0B,CAC3B,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,4BAA4B,EAAE,KAAK,IAAI,EAAE;YAC5C,MAAM,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,kCAAO,UAAU,KAAE,WAAW,EAAE,CAAC,IAAG,CAAC,CAAC,UAAU,CACnG,+BAA+B,CAChC,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;YAC9C,MAAM,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,kCAAO,UAAU,KAAE,WAAW,EAAE,GAAG,IAAG,CAAC,CAAC,UAAU,CACrG,+BAA+B,CAChC,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,4BAA4B,EAAE,KAAK,IAAI,EAAE;YAC5C,MAAM,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,kCAAO,UAAU,KAAE,WAAW,EAAE,CAAC,IAAG,CAAC,CAAC,UAAU,CACnG,2BAA2B,CAC5B,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["// Copyright (c) 2026 Erik Fortune\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport '@fgv/ts-utils-jest';\nimport { BrowserArgon2Provider } from '../../../packlets/argon2';\nimport { CryptoUtils } from '@fgv/ts-extras';\n\n// RFC 9106 §B.3 parameter set (no secret/AD — our interface does not expose those fields).\n// t=3, m=32, p=4, tag=32. Used for determinism and cross-runtime agreement.\nconst RFC_PARAMS: CryptoUtils.IArgon2idParams = {\n memoryKiB: 32,\n iterations: 3,\n parallelism: 4,\n outputBytes: 32\n};\nconst RFC_PASSWORD = new Uint8Array(32).fill(0x01);\nconst RFC_SALT = new Uint8Array(16).fill(0x02);\n\ndescribe('BrowserArgon2Provider', () => {\n let provider: BrowserArgon2Provider;\n\n beforeEach(() => {\n provider = BrowserArgon2Provider.create().orThrow();\n });\n\n describe('create()', () => {\n test('returns a provider instance', () => {\n expect(BrowserArgon2Provider.create()).toSucceedAndSatisfy((p) => {\n expect(p).toBeInstanceOf(BrowserArgon2Provider);\n });\n });\n });\n\n describe('argon2id()', () => {\n test('derives a key with Uint8Array password', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).toSucceedAndSatisfy((bytes) => {\n expect(bytes).toBeInstanceOf(Uint8Array);\n expect(bytes.length).toBe(RFC_PARAMS.outputBytes);\n });\n });\n\n test('derives a key with string password', async () => {\n expect(await provider.argon2id('password', RFC_SALT, RFC_PARAMS)).toSucceedAndSatisfy((bytes) => {\n expect(bytes).toBeInstanceOf(Uint8Array);\n expect(bytes.length).toBe(RFC_PARAMS.outputBytes);\n });\n });\n\n test('is deterministic — same inputs produce identical bytes', async () => {\n const r1 = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n const r2 = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(r1).toEqual(r2);\n });\n\n test('different passwords produce different bytes', async () => {\n const a = (await provider.argon2id(new Uint8Array(32).fill(0x01), RFC_SALT, RFC_PARAMS)).orThrow();\n const b = (await provider.argon2id(new Uint8Array(32).fill(0x02), RFC_SALT, RFC_PARAMS)).orThrow();\n expect(a).not.toEqual(b);\n });\n\n test('different salts produce different bytes', async () => {\n const a = (await provider.argon2id(RFC_PASSWORD, new Uint8Array(16).fill(0x02), RFC_PARAMS)).orThrow();\n const b = (await provider.argon2id(RFC_PASSWORD, new Uint8Array(16).fill(0x03), RFC_PARAMS)).orThrow();\n expect(a).not.toEqual(b);\n });\n\n test('respects outputBytes', async () => {\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, outputBytes: 64 })\n ).toSucceedAndSatisfy((bytes) => {\n expect(bytes.length).toBe(64);\n });\n });\n });\n\n describe('parameter validation', () => {\n test('fails when memoryKiB < 8', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, memoryKiB: 7 })).toFailWith(\n /memoryKiB must be >= 8/i\n );\n });\n\n test('fails when iterations < 1', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, iterations: 0 })).toFailWith(\n /iterations must be >= 1/i\n );\n });\n\n test('fails when parallelism < 1', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, parallelism: 0 })).toFailWith(\n /parallelism must be 1\\.\\.255/i\n );\n });\n\n test('fails when parallelism > 255', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, parallelism: 256 })).toFailWith(\n /parallelism must be 1\\.\\.255/i\n );\n });\n\n test('fails when outputBytes < 4', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, outputBytes: 3 })).toFailWith(\n /outputBytes must be >= 4/i\n );\n });\n });\n});\n"]}
1
+ {"version":3,"file":"browserArgon2Provider.test.js","sourceRoot":"","sources":["../../../../src/test/unit/argon2/browserArgon2Provider.test.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE;AACxE,2DAA2D;AAC3D,EAAE;AACF,iFAAiF;AACjF,kDAAkD;AAClD,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,YAAY;AAEZ,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGjE,2FAA2F;AAC3F,4EAA4E;AAC5E,MAAM,UAAU,GAAgC;IAC9C,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,WAAW,EAAE,EAAE;CAChB,CAAC;AACF,MAAM,YAAY,GAAG,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACnD,MAAM,QAAQ,GAAG,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAE/C,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,IAAI,QAA+B,CAAC;IAEpC,UAAU,CAAC,GAAG,EAAE;QACd,QAAQ,GAAG,qBAAqB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;QACxB,IAAI,CAAC,6BAA6B,EAAE,GAAG,EAAE;YACvC,MAA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;QAEH,IAAI,CAAC,2BAA2B,EAAE,KAAK,IAAI,EAAE;YAC3C,MAAM,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,kCAAO,UAAU,KAAE,UAAU,EAAE,CAAC,IAAG,CAAC,CAAC,UAAU,CAClG,0BAA0B,CAC3B,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,4BAA4B,EAAE,KAAK,IAAI,EAAE;YAC5C,MAAM,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,kCAAO,UAAU,KAAE,WAAW,EAAE,CAAC,IAAG,CAAC,CAAC,UAAU,CACnG,+BAA+B,CAChC,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;YAC9C,MAAM,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,kCAAO,UAAU,KAAE,WAAW,EAAE,GAAG,IAAG,CAAC,CAAC,UAAU,CACrG,+BAA+B,CAChC,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,4BAA4B,EAAE,KAAK,IAAI,EAAE;YAC5C,MAAM,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,kCAAO,UAAU,KAAE,WAAW,EAAE,CAAC,IAAG,CAAC,CAAC,UAAU,CACnG,2BAA2B,CAC5B,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["// Copyright (c) 2026 Erik Fortune\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport '@fgv/ts-utils-jest';\nimport { BrowserArgon2Provider } from '../../../packlets/argon2';\nimport { CryptoUtils } from '@fgv/ts-extras';\n\n// RFC 9106 §B.3 parameter set (no secret/AD — our interface does not expose those fields).\n// t=3, m=32, p=4, tag=32. Used for determinism and cross-runtime agreement.\nconst RFC_PARAMS: CryptoUtils.IArgon2idParams = {\n memoryKiB: 32,\n iterations: 3,\n parallelism: 4,\n outputBytes: 32\n};\nconst RFC_PASSWORD = new Uint8Array(32).fill(0x01);\nconst RFC_SALT = new Uint8Array(16).fill(0x02);\n\ndescribe('BrowserArgon2Provider', () => {\n let provider: BrowserArgon2Provider;\n\n beforeEach(() => {\n provider = BrowserArgon2Provider.create().orThrow();\n });\n\n describe('create()', () => {\n test('returns a provider instance', () => {\n expect(BrowserArgon2Provider.create()).toSucceedAndSatisfy((p) => {\n expect(p).toBeInstanceOf(BrowserArgon2Provider);\n });\n });\n });\n\n describe('argon2id()', () => {\n test('derives a key with Uint8Array password', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).toSucceedAndSatisfy((bytes) => {\n expect(bytes).toBeInstanceOf(Uint8Array);\n expect(bytes.length).toBe(RFC_PARAMS.outputBytes);\n });\n });\n\n test('derives a key with string password', async () => {\n expect(await provider.argon2id('password', RFC_SALT, RFC_PARAMS)).toSucceedAndSatisfy((bytes) => {\n expect(bytes).toBeInstanceOf(Uint8Array);\n expect(bytes.length).toBe(RFC_PARAMS.outputBytes);\n });\n });\n\n test('is deterministic — same inputs produce identical bytes', async () => {\n const r1 = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n const r2 = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(r1).toEqual(r2);\n });\n\n test('different passwords produce different bytes', async () => {\n const a = (await provider.argon2id(new Uint8Array(32).fill(0x01), RFC_SALT, RFC_PARAMS)).orThrow();\n const b = (await provider.argon2id(new Uint8Array(32).fill(0x02), RFC_SALT, RFC_PARAMS)).orThrow();\n expect(a).not.toEqual(b);\n });\n\n test('different salts produce different bytes', async () => {\n const a = (await provider.argon2id(RFC_PASSWORD, new Uint8Array(16).fill(0x02), RFC_PARAMS)).orThrow();\n const b = (await provider.argon2id(RFC_PASSWORD, new Uint8Array(16).fill(0x03), RFC_PARAMS)).orThrow();\n expect(a).not.toEqual(b);\n });\n\n test('respects outputBytes', async () => {\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, outputBytes: 64 })\n ).toSucceedAndSatisfy((bytes) => {\n expect(bytes.length).toBe(64);\n });\n });\n });\n\n describe('keyed hashing (secret / associatedData)', () => {\n const SECRET = new Uint8Array(8).fill(0x03);\n const AD = new Uint8Array(12).fill(0x04);\n\n test('honors a secret — output differs from the no-secret derivation', async () => {\n const withoutSecret = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: SECRET })\n ).toSucceedAndSatisfy((withSecret) => {\n expect(withSecret).not.toEqual(withoutSecret);\n });\n });\n\n test('empty secret is a no-op (byte-identical to omitting options)', async () => {\n const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: new Uint8Array(0) })\n ).toSucceedWith(baseline);\n });\n\n test('rejects non-empty associatedData as a Node-only feature', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { associatedData: AD })).toFailWith(\n /associatedData is not supported.*node-only/i\n );\n });\n\n test('empty associatedData is accepted (no-op, byte-identical to omitting options)', async () => {\n const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, {\n associatedData: new Uint8Array(0)\n })\n ).toSucceedWith(baseline);\n });\n });\n\n describe('parameter validation', () => {\n test('fails when memoryKiB < 8', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, memoryKiB: 7 })).toFailWith(\n /memoryKiB must be >= 8/i\n );\n });\n\n test('fails when iterations < 1', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, iterations: 0 })).toFailWith(\n /iterations must be >= 1/i\n );\n });\n\n test('fails when parallelism < 1', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, parallelism: 0 })).toFailWith(\n /parallelism must be 1\\.\\.255/i\n );\n });\n\n test('fails when parallelism > 255', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, parallelism: 256 })).toFailWith(\n /parallelism must be 1\\.\\.255/i\n );\n });\n\n test('fails when outputBytes < 4', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, outputBytes: 3 })).toFailWith(\n /outputBytes must be >= 4/i\n );\n });\n });\n});\n"]}
@@ -25,13 +25,23 @@ export declare class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvi
25
25
  * For interoperability with server-side Node derivations, ensure both sides use the same
26
26
  * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).
27
27
  *
28
+ * The optional secret K (RFC 9106 keyed hashing) is wired through to `hash-wasm`
29
+ * and produces output byte-identical to the Node backend. Associated data X, by
30
+ * contrast, is **not supported** by `hash-wasm` (its `argon2id` options have no
31
+ * associated-data field), so a call that supplies non-empty `associatedData`
32
+ * fails loudly rather than silently dropping it and producing wrong bytes —
33
+ * associated data is a Node-only feature. An empty/omitted `associatedData` is a
34
+ * no-op and is accepted.
35
+ *
28
36
  * @param password - The password or passphrase (string or raw bytes).
29
37
  * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).
30
38
  * @param params - Argon2id parameters. All values are validated before derivation.
39
+ * @param options - Optional {@link @fgv/ts-extras#CryptoUtils.IArgon2idKeyingOptions | keyed-hashing inputs}.
40
+ * `secret` is honored; non-empty `associatedData` fails (Node-only).
31
41
  * @returns Success with the derived key bytes, or Failure with a descriptive message.
32
42
  * @public
33
43
  */
34
- argon2id(password: Uint8Array | string, salt: Uint8Array, params: CryptoUtils.IArgon2idParams): Promise<Result<Uint8Array>>;
44
+ argon2id(password: Uint8Array | string, salt: Uint8Array, params: CryptoUtils.IArgon2idParams, options?: CryptoUtils.IArgon2idKeyingOptions): Promise<Result<Uint8Array>>;
35
45
  private static _validateParams;
36
46
  }
37
47
 
@@ -9,7 +9,7 @@ import { Result } from '@fgv/ts-utils';
9
9
 
10
10
  // @public
11
11
  export class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvider {
12
- argon2id(password: Uint8Array | string, salt: Uint8Array, params: CryptoUtils.IArgon2idParams): Promise<Result<Uint8Array>>;
12
+ argon2id(password: Uint8Array | string, salt: Uint8Array, params: CryptoUtils.IArgon2idParams, options?: CryptoUtils.IArgon2idKeyingOptions): Promise<Result<Uint8Array>>;
13
13
  static create(): Result<BrowserArgon2Provider>;
14
14
  }
15
15
 
@@ -24,13 +24,23 @@ export declare class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvi
24
24
  * For interoperability with server-side Node derivations, ensure both sides use the same
25
25
  * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).
26
26
  *
27
+ * The optional secret K (RFC 9106 keyed hashing) is wired through to `hash-wasm`
28
+ * and produces output byte-identical to the Node backend. Associated data X, by
29
+ * contrast, is **not supported** by `hash-wasm` (its `argon2id` options have no
30
+ * associated-data field), so a call that supplies non-empty `associatedData`
31
+ * fails loudly rather than silently dropping it and producing wrong bytes —
32
+ * associated data is a Node-only feature. An empty/omitted `associatedData` is a
33
+ * no-op and is accepted.
34
+ *
27
35
  * @param password - The password or passphrase (string or raw bytes).
28
36
  * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).
29
37
  * @param params - Argon2id parameters. All values are validated before derivation.
38
+ * @param options - Optional {@link @fgv/ts-extras#CryptoUtils.IArgon2idKeyingOptions | keyed-hashing inputs}.
39
+ * `secret` is honored; non-empty `associatedData` fails (Node-only).
30
40
  * @returns Success with the derived key bytes, or Failure with a descriptive message.
31
41
  * @public
32
42
  */
33
- argon2id(password: Uint8Array | string, salt: Uint8Array, params: CryptoUtils.IArgon2idParams): Promise<Result<Uint8Array>>;
43
+ argon2id(password: Uint8Array | string, salt: Uint8Array, params: CryptoUtils.IArgon2idParams, options?: CryptoUtils.IArgon2idKeyingOptions): Promise<Result<Uint8Array>>;
34
44
  private static _validateParams;
35
45
  }
36
46
  //# sourceMappingURL=browserArgon2Provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"browserArgon2Provider.d.ts","sourceRoot":"","sources":["../../../src/packlets/argon2/browserArgon2Provider.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,MAAM,EAAqC,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,qBAAa,qBAAsB,YAAW,WAAW,CAAC,iBAAiB;IACzE,OAAO;IAEP;;;;OAIG;WACW,MAAM,IAAI,MAAM,CAAC,qBAAqB,CAAC;IAIrD;;;;;;;;;;;;;;;OAeG;IACU,QAAQ,CACnB,QAAQ,EAAE,UAAU,GAAG,MAAM,EAC7B,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,WAAW,CAAC,eAAe,GAClC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAoB9B,OAAO,CAAC,MAAM,CAAC,eAAe;CAe/B"}
1
+ {"version":3,"file":"browserArgon2Provider.d.ts","sourceRoot":"","sources":["../../../src/packlets/argon2/browserArgon2Provider.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,MAAM,EAAqC,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,qBAAa,qBAAsB,YAAW,WAAW,CAAC,iBAAiB;IACzE,OAAO;IAEP;;;;OAIG;WACW,MAAM,IAAI,MAAM,CAAC,qBAAqB,CAAC;IAIrD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACU,QAAQ,CACnB,QAAQ,EAAE,UAAU,GAAG,MAAM,EAC7B,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,WAAW,CAAC,eAAe,EACnC,OAAO,CAAC,EAAE,WAAW,CAAC,sBAAsB,GAC3C,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IA8B9B,OAAO,CAAC,MAAM,CAAC,eAAe;CAe/B"}
@@ -48,27 +48,34 @@ class BrowserArgon2Provider {
48
48
  * For interoperability with server-side Node derivations, ensure both sides use the same
49
49
  * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).
50
50
  *
51
+ * The optional secret K (RFC 9106 keyed hashing) is wired through to `hash-wasm`
52
+ * and produces output byte-identical to the Node backend. Associated data X, by
53
+ * contrast, is **not supported** by `hash-wasm` (its `argon2id` options have no
54
+ * associated-data field), so a call that supplies non-empty `associatedData`
55
+ * fails loudly rather than silently dropping it and producing wrong bytes —
56
+ * associated data is a Node-only feature. An empty/omitted `associatedData` is a
57
+ * no-op and is accepted.
58
+ *
51
59
  * @param password - The password or passphrase (string or raw bytes).
52
60
  * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).
53
61
  * @param params - Argon2id parameters. All values are validated before derivation.
62
+ * @param options - Optional {@link @fgv/ts-extras#CryptoUtils.IArgon2idKeyingOptions | keyed-hashing inputs}.
63
+ * `secret` is honored; non-empty `associatedData` fails (Node-only).
54
64
  * @returns Success with the derived key bytes, or Failure with a descriptive message.
55
65
  * @public
56
66
  */
57
- async argon2id(password, salt, params) {
67
+ async argon2id(password, salt, params, options) {
58
68
  const error = BrowserArgon2Provider._validateParams(params);
59
69
  if (error !== undefined) {
60
70
  return (0, ts_utils_1.fail)(error);
61
71
  }
72
+ if ((options === null || options === void 0 ? void 0 : options.associatedData) && options.associatedData.length > 0) {
73
+ return (0, ts_utils_1.fail)('argon2id: associatedData is not supported by the hash-wasm (browser) backend — ' +
74
+ 'associated data is Node-only (@fgv/ts-extras-argon2 NodeArgon2Provider)');
75
+ }
62
76
  return (0, ts_utils_1.captureAsyncResult)(async () => {
63
- const result = await (0, hash_wasm_1.argon2id)({
64
- password,
65
- salt,
66
- iterations: params.iterations,
67
- parallelism: params.parallelism,
68
- memorySize: params.memoryKiB,
69
- hashLength: params.outputBytes,
70
- outputType: 'binary'
71
- });
77
+ const result = await (0, hash_wasm_1.argon2id)(Object.assign({ password,
78
+ salt, iterations: params.iterations, parallelism: params.parallelism, memorySize: params.memoryKiB, hashLength: params.outputBytes, outputType: 'binary' }, ((options === null || options === void 0 ? void 0 : options.secret) && options.secret.length > 0 ? { secret: options.secret } : {})));
72
79
  return result;
73
80
  });
74
81
  }
@@ -1 +1 @@
1
- {"version":3,"file":"browserArgon2Provider.js","sourceRoot":"","sources":["../../../src/packlets/argon2/browserArgon2Provider.ts"],"names":[],"mappings":";AAAA,kCAAkC;AAClC,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE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YAC1B,OAAO,0CAA0C,MAAM,CAAC,UAAU,EAAE,CAAC;QACvE,CAAC;QACD,IAAI,MAAM,CAAC,WAAW,GAAG,CAAC,IAAI,MAAM,CAAC,WAAW,GAAG,GAAG,EAAE,CAAC;YACvD,OAAO,6CAA6C,MAAM,CAAC,WAAW,EAAE,CAAC;QAC3E,CAAC;QACD,IAAI,MAAM,CAAC,WAAW,GAAG,CAAC,EAAE,CAAC;YAC3B,OAAO,2CAA2C,MAAM,CAAC,WAAW,EAAE,CAAC;QACzE,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAnED,sDAmEC","sourcesContent":["// Copyright (c) 2026 Erik Fortune\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport { argon2id } from 'hash-wasm';\nimport { Result, captureAsyncResult, fail, succeed } from '@fgv/ts-utils';\nimport { CryptoUtils } from '@fgv/ts-extras';\n\n/**\n * Browser (and Node) implementation of {@link @fgv/ts-extras#IArgon2idProvider} backed by\n * `hash-wasm` (pure WASM — no Web Crypto dependency). Runs identically in both Node and\n * browser environments, enabling cross-runtime test equivalence.\n * @public\n */\nexport class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvider {\n private constructor() {}\n\n /**\n * Creates a new {@link BrowserArgon2Provider} instance.\n * @returns Success with a new provider instance.\n * @public\n */\n public static create(): Result<BrowserArgon2Provider> {\n return succeed(new BrowserArgon2Provider());\n }\n\n /**\n * Derives a key using Argon2id via the hash-wasm WASM implementation.\n *\n * @remarks\n * `hash-wasm` computes Argon2id sequentially regardless of the `parallelism` value —\n * the WASM engine does not spawn worker threads. The `parallelism` value IS still wired\n * into the hash computation; output bytes differ for different parallelism values.\n * For interoperability with server-side Node derivations, ensure both sides use the same\n * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).\n *\n * @param password - The password or passphrase (string or raw bytes).\n * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).\n * @param params - Argon2id parameters. All values are validated before derivation.\n * @returns Success with the derived key bytes, or Failure with a descriptive message.\n * @public\n */\n public async argon2id(\n password: Uint8Array | string,\n salt: Uint8Array,\n params: CryptoUtils.IArgon2idParams\n ): Promise<Result<Uint8Array>> {\n const error = BrowserArgon2Provider._validateParams(params);\n if (error !== undefined) {\n return fail(error);\n }\n\n return captureAsyncResult(async () => {\n const result = await argon2id({\n password,\n salt,\n iterations: params.iterations,\n parallelism: params.parallelism,\n memorySize: params.memoryKiB,\n hashLength: params.outputBytes,\n outputType: 'binary'\n });\n return result;\n });\n }\n\n private static _validateParams(params: CryptoUtils.IArgon2idParams): string | undefined {\n if (params.memoryKiB < 8) {\n return `argon2id: memoryKiB must be >= 8, got ${params.memoryKiB}`;\n }\n if (params.iterations < 1) {\n return `argon2id: iterations must be >= 1, got ${params.iterations}`;\n }\n if (params.parallelism < 1 || params.parallelism > 255) {\n return `argon2id: parallelism must be 1..255, got ${params.parallelism}`;\n }\n if (params.outputBytes < 4) {\n return `argon2id: outputBytes must be >= 4, got ${params.outputBytes}`;\n }\n return undefined;\n }\n}\n"]}
1
+ {"version":3,"file":"browserArgon2Provider.js","sourceRoot":"","sources":["../../../src/packlets/argon2/browserArgon2Provider.ts"],"names":[],"mappings":";AAAA,kCAAkC;AAClC,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE;AACxE,2DAA2D;AAC3D,EAAE;AACF,iFAAiF;AACjF,kDAAkD;AAClD,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,YAAY;;;AAEZ,yCAAqC;AACrC,4CAA0E;AAG1E;;;;;GAKG;AACH,MAAa,qBAAqB;IAChC,gBAAuB,CAAC;IAExB;;;;OAIG;IACI,MAAM,CAAC,MAAM;QAClB,OAAO,IAAA,kBAAO,EAAC,IAAI,qBAAqB,EAAE,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACI,KAAK,CAAC,QAAQ,CACnB,QAA6B,EAC7B,IAAgB,EAChB,MAAmC,EACnC,OAA4C;QAE5C,MAAM,KAAK,GAAG,qBAAqB,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,IAAA,eAAI,EAAC,KAAK,CAAC,CAAC;QACrB,CAAC;QAED,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,KAAI,OAAO,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACjE,OAAO,IAAA,eAAI,EACT,iFAAiF;gBAC/E,yEAAyE,CAC5E,CAAC;QACJ,CAAC;QAED,OAAO,IAAA,6BAAkB,EAAC,KAAK,IAAI,EAAE;YACnC,MAAM,MAAM,GAAG,MAAM,IAAA,oBAAQ,kBAC3B,QAAQ;gBACR,IAAI,EACJ,UAAU,EAAE,MAAM,CAAC,UAAU,EAC7B,WAAW,EAAE,MAAM,CAAC,WAAW,EAC/B,UAAU,EAAE,MAAM,CAAC,SAAS,EAC5B,UAAU,EAAE,MAAM,CAAC,WAAW,EAC9B,UAAU,EAAE,QAAQ,IAGjB,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,KAAI,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACnF,CAAC;YACH,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,MAAM,CAAC,eAAe,CAAC,MAAmC;QAChE,IAAI,MAAM,CAAC,SAAS,GAAG,CAAC,EAAE,CAAC;YACzB,OAAO,yCAAyC,MAAM,CAAC,SAAS,EAAE,CAAC;QACrE,CAAC;QACD,IAAI,MAAM,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC;YAC1B,OAAO,0CAA0C,MAAM,CAAC,UAAU,EAAE,CAAC;QACvE,CAAC;QACD,IAAI,MAAM,CAAC,WAAW,GAAG,CAAC,IAAI,MAAM,CAAC,WAAW,GAAG,GAAG,EAAE,CAAC;YACvD,OAAO,6CAA6C,MAAM,CAAC,WAAW,EAAE,CAAC;QAC3E,CAAC;QACD,IAAI,MAAM,CAAC,WAAW,GAAG,CAAC,EAAE,CAAC;YAC3B,OAAO,2CAA2C,MAAM,CAAC,WAAW,EAAE,CAAC;QACzE,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAxFD,sDAwFC","sourcesContent":["// Copyright (c) 2026 Erik Fortune\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport { argon2id } from 'hash-wasm';\nimport { Result, captureAsyncResult, fail, succeed } from '@fgv/ts-utils';\nimport { CryptoUtils } from '@fgv/ts-extras';\n\n/**\n * Browser (and Node) implementation of {@link @fgv/ts-extras#IArgon2idProvider} backed by\n * `hash-wasm` (pure WASM — no Web Crypto dependency). Runs identically in both Node and\n * browser environments, enabling cross-runtime test equivalence.\n * @public\n */\nexport class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvider {\n private constructor() {}\n\n /**\n * Creates a new {@link BrowserArgon2Provider} instance.\n * @returns Success with a new provider instance.\n * @public\n */\n public static create(): Result<BrowserArgon2Provider> {\n return succeed(new BrowserArgon2Provider());\n }\n\n /**\n * Derives a key using Argon2id via the hash-wasm WASM implementation.\n *\n * @remarks\n * `hash-wasm` computes Argon2id sequentially regardless of the `parallelism` value —\n * the WASM engine does not spawn worker threads. The `parallelism` value IS still wired\n * into the hash computation; output bytes differ for different parallelism values.\n * For interoperability with server-side Node derivations, ensure both sides use the same\n * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).\n *\n * The optional secret K (RFC 9106 keyed hashing) is wired through to `hash-wasm`\n * and produces output byte-identical to the Node backend. Associated data X, by\n * contrast, is **not supported** by `hash-wasm` (its `argon2id` options have no\n * associated-data field), so a call that supplies non-empty `associatedData`\n * fails loudly rather than silently dropping it and producing wrong bytes —\n * associated data is a Node-only feature. An empty/omitted `associatedData` is a\n * no-op and is accepted.\n *\n * @param password - The password or passphrase (string or raw bytes).\n * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).\n * @param params - Argon2id parameters. All values are validated before derivation.\n * @param options - Optional {@link @fgv/ts-extras#CryptoUtils.IArgon2idKeyingOptions | keyed-hashing inputs}.\n * `secret` is honored; non-empty `associatedData` fails (Node-only).\n * @returns Success with the derived key bytes, or Failure with a descriptive message.\n * @public\n */\n public async argon2id(\n password: Uint8Array | string,\n salt: Uint8Array,\n params: CryptoUtils.IArgon2idParams,\n options?: CryptoUtils.IArgon2idKeyingOptions\n ): Promise<Result<Uint8Array>> {\n const error = BrowserArgon2Provider._validateParams(params);\n if (error !== undefined) {\n return fail(error);\n }\n\n if (options?.associatedData && options.associatedData.length > 0) {\n return fail(\n 'argon2id: associatedData is not supported by the hash-wasm (browser) backend — ' +\n 'associated data is Node-only (@fgv/ts-extras-argon2 NodeArgon2Provider)'\n );\n }\n\n return captureAsyncResult(async () => {\n const result = await argon2id({\n password,\n salt,\n iterations: params.iterations,\n parallelism: params.parallelism,\n memorySize: params.memoryKiB,\n hashLength: params.outputBytes,\n outputType: 'binary',\n // Only pass secret when present and non-empty so empty options and prior\n // callers produce byte-identical output.\n ...(options?.secret && options.secret.length > 0 ? { secret: options.secret } : {})\n });\n return result;\n });\n }\n\n private static _validateParams(params: CryptoUtils.IArgon2idParams): string | undefined {\n if (params.memoryKiB < 8) {\n return `argon2id: memoryKiB must be >= 8, got ${params.memoryKiB}`;\n }\n if (params.iterations < 1) {\n return `argon2id: iterations must be >= 1, got ${params.iterations}`;\n }\n if (params.parallelism < 1 || params.parallelism > 255) {\n return `argon2id: parallelism must be 1..255, got ${params.parallelism}`;\n }\n if (params.outputBytes < 4) {\n return `argon2id: outputBytes must be >= 4, got ${params.outputBytes}`;\n }\n return undefined;\n }\n}\n"]}
@@ -77,6 +77,29 @@ describe('BrowserArgon2Provider', () => {
77
77
  });
78
78
  });
79
79
  });
80
+ describe('keyed hashing (secret / associatedData)', () => {
81
+ const SECRET = new Uint8Array(8).fill(0x03);
82
+ const AD = new Uint8Array(12).fill(0x04);
83
+ test('honors a secret — output differs from the no-secret derivation', async () => {
84
+ const withoutSecret = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
85
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: SECRET })).toSucceedAndSatisfy((withSecret) => {
86
+ expect(withSecret).not.toEqual(withoutSecret);
87
+ });
88
+ });
89
+ test('empty secret is a no-op (byte-identical to omitting options)', async () => {
90
+ const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
91
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: new Uint8Array(0) })).toSucceedWith(baseline);
92
+ });
93
+ test('rejects non-empty associatedData as a Node-only feature', async () => {
94
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { associatedData: AD })).toFailWith(/associatedData is not supported.*node-only/i);
95
+ });
96
+ test('empty associatedData is accepted (no-op, byte-identical to omitting options)', async () => {
97
+ const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
98
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, {
99
+ associatedData: new Uint8Array(0)
100
+ })).toSucceedWith(baseline);
101
+ });
102
+ });
80
103
  describe('parameter validation', () => {
81
104
  test('fails when memoryKiB < 8', async () => {
82
105
  expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, Object.assign(Object.assign({}, RFC_PARAMS), { memoryKiB: 7 }))).toFailWith(/memoryKiB must be >= 8/i);
@@ -1 +1 @@
1
- {"version":3,"file":"browserArgon2Provider.test.js","sourceRoot":"","sources":["../../../../src/test/unit/argon2/browserAr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EAAE,QAAQ,kCAAO,UAAU,KAAE,WAAW,EAAE,CAAC,IAAG,CAAC,CAAC,UAAU,CACnG,2BAA2B,CAC5B,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["// Copyright (c) 2026 Erik Fortune\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport '@fgv/ts-utils-jest';\nimport { BrowserArgon2Provider } from '../../../packlets/argon2';\nimport { CryptoUtils } from '@fgv/ts-extras';\n\n// RFC 9106 §B.3 parameter set (no secret/AD — our interface does not expose those fields).\n// t=3, m=32, p=4, tag=32. Used for determinism and cross-runtime agreement.\nconst RFC_PARAMS: CryptoUtils.IArgon2idParams = {\n memoryKiB: 32,\n iterations: 3,\n parallelism: 4,\n outputBytes: 32\n};\nconst RFC_PASSWORD = new Uint8Array(32).fill(0x01);\nconst RFC_SALT = new Uint8Array(16).fill(0x02);\n\ndescribe('BrowserArgon2Provider', () => {\n let provider: BrowserArgon2Provider;\n\n beforeEach(() => {\n provider = BrowserArgon2Provider.create().orThrow();\n });\n\n describe('create()', () => {\n test('returns a provider instance', () => {\n expect(BrowserArgon2Provider.create()).toSucceedAndSatisfy((p) => {\n expect(p).toBeInstanceOf(BrowserArgon2Provider);\n });\n });\n });\n\n describe('argon2id()', () => {\n test('derives a key with Uint8Array password', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).toSucceedAndSatisfy((bytes) => {\n expect(bytes).toBeInstanceOf(Uint8Array);\n expect(bytes.length).toBe(RFC_PARAMS.outputBytes);\n });\n });\n\n test('derives a key with string password', async () => {\n expect(await provider.argon2id('password', RFC_SALT, RFC_PARAMS)).toSucceedAndSatisfy((bytes) => {\n expect(bytes).toBeInstanceOf(Uint8Array);\n expect(bytes.length).toBe(RFC_PARAMS.outputBytes);\n });\n });\n\n test('is deterministic — same inputs produce identical bytes', async () => {\n const r1 = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n const r2 = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(r1).toEqual(r2);\n });\n\n test('different passwords produce different bytes', async () => {\n const a = (await provider.argon2id(new Uint8Array(32).fill(0x01), RFC_SALT, RFC_PARAMS)).orThrow();\n const b = (await provider.argon2id(new Uint8Array(32).fill(0x02), RFC_SALT, RFC_PARAMS)).orThrow();\n expect(a).not.toEqual(b);\n });\n\n test('different salts produce different bytes', async () => {\n const a = (await provider.argon2id(RFC_PASSWORD, new Uint8Array(16).fill(0x02), RFC_PARAMS)).orThrow();\n const b = (await provider.argon2id(RFC_PASSWORD, new Uint8Array(16).fill(0x03), RFC_PARAMS)).orThrow();\n expect(a).not.toEqual(b);\n });\n\n test('respects outputBytes', async () => {\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, outputBytes: 64 })\n ).toSucceedAndSatisfy((bytes) => {\n expect(bytes.length).toBe(64);\n });\n });\n });\n\n describe('parameter validation', () => {\n test('fails when memoryKiB < 8', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, memoryKiB: 7 })).toFailWith(\n /memoryKiB must be >= 8/i\n );\n });\n\n test('fails when iterations < 1', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, iterations: 0 })).toFailWith(\n /iterations must be >= 1/i\n );\n });\n\n test('fails when parallelism < 1', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, parallelism: 0 })).toFailWith(\n /parallelism must be 1\\.\\.255/i\n );\n });\n\n test('fails when parallelism > 255', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, parallelism: 256 })).toFailWith(\n /parallelism must be 1\\.\\.255/i\n );\n });\n\n test('fails when outputBytes < 4', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, outputBytes: 3 })).toFailWith(\n /outputBytes must be >= 4/i\n );\n });\n });\n});\n"]}
1
+ {"version":3,"file":"browserArgon2Provider.test.js","sourceRoot":"","sources":["../../../../src/test/unit/argon2/browserArgon2Provider.test.ts"],"names":[],"mappings":";AAAA,kCAAkC;AAClC,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE;AACxE,2DAA2D;AAC3D,EAAE;AACF,iFAAiF;AACjF,kDAAkD;AAClD,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,YAAY;;AAEZ,8BAA4B;AAC5B,qDAAiE;AAGjE,2FAA2F;AAC3F,4EAA4E;AAC5E,MAAM,UAAU,GAAgC;IAC9C,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,WAAW,EAAE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K,IAAI,EAAE;YAC5C,MAAM,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,YAAY,EAAE,QAAQ,kCAAO,UAAU,KAAE,WAAW,EAAE,CAAC,IAAG,CAAC,CAAC,UAAU,CACnG,2BAA2B,CAC5B,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["// Copyright (c) 2026 Erik Fortune\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\nimport '@fgv/ts-utils-jest';\nimport { BrowserArgon2Provider } from '../../../packlets/argon2';\nimport { CryptoUtils } from '@fgv/ts-extras';\n\n// RFC 9106 §B.3 parameter set (no secret/AD — our interface does not expose those fields).\n// t=3, m=32, p=4, tag=32. Used for determinism and cross-runtime agreement.\nconst RFC_PARAMS: CryptoUtils.IArgon2idParams = {\n memoryKiB: 32,\n iterations: 3,\n parallelism: 4,\n outputBytes: 32\n};\nconst RFC_PASSWORD = new Uint8Array(32).fill(0x01);\nconst RFC_SALT = new Uint8Array(16).fill(0x02);\n\ndescribe('BrowserArgon2Provider', () => {\n let provider: BrowserArgon2Provider;\n\n beforeEach(() => {\n provider = BrowserArgon2Provider.create().orThrow();\n });\n\n describe('create()', () => {\n test('returns a provider instance', () => {\n expect(BrowserArgon2Provider.create()).toSucceedAndSatisfy((p) => {\n expect(p).toBeInstanceOf(BrowserArgon2Provider);\n });\n });\n });\n\n describe('argon2id()', () => {\n test('derives a key with Uint8Array password', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).toSucceedAndSatisfy((bytes) => {\n expect(bytes).toBeInstanceOf(Uint8Array);\n expect(bytes.length).toBe(RFC_PARAMS.outputBytes);\n });\n });\n\n test('derives a key with string password', async () => {\n expect(await provider.argon2id('password', RFC_SALT, RFC_PARAMS)).toSucceedAndSatisfy((bytes) => {\n expect(bytes).toBeInstanceOf(Uint8Array);\n expect(bytes.length).toBe(RFC_PARAMS.outputBytes);\n });\n });\n\n test('is deterministic — same inputs produce identical bytes', async () => {\n const r1 = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n const r2 = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(r1).toEqual(r2);\n });\n\n test('different passwords produce different bytes', async () => {\n const a = (await provider.argon2id(new Uint8Array(32).fill(0x01), RFC_SALT, RFC_PARAMS)).orThrow();\n const b = (await provider.argon2id(new Uint8Array(32).fill(0x02), RFC_SALT, RFC_PARAMS)).orThrow();\n expect(a).not.toEqual(b);\n });\n\n test('different salts produce different bytes', async () => {\n const a = (await provider.argon2id(RFC_PASSWORD, new Uint8Array(16).fill(0x02), RFC_PARAMS)).orThrow();\n const b = (await provider.argon2id(RFC_PASSWORD, new Uint8Array(16).fill(0x03), RFC_PARAMS)).orThrow();\n expect(a).not.toEqual(b);\n });\n\n test('respects outputBytes', async () => {\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, outputBytes: 64 })\n ).toSucceedAndSatisfy((bytes) => {\n expect(bytes.length).toBe(64);\n });\n });\n });\n\n describe('keyed hashing (secret / associatedData)', () => {\n const SECRET = new Uint8Array(8).fill(0x03);\n const AD = new Uint8Array(12).fill(0x04);\n\n test('honors a secret — output differs from the no-secret derivation', async () => {\n const withoutSecret = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: SECRET })\n ).toSucceedAndSatisfy((withSecret) => {\n expect(withSecret).not.toEqual(withoutSecret);\n });\n });\n\n test('empty secret is a no-op (byte-identical to omitting options)', async () => {\n const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: new Uint8Array(0) })\n ).toSucceedWith(baseline);\n });\n\n test('rejects non-empty associatedData as a Node-only feature', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { associatedData: AD })).toFailWith(\n /associatedData is not supported.*node-only/i\n );\n });\n\n test('empty associatedData is accepted (no-op, byte-identical to omitting options)', async () => {\n const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();\n expect(\n await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, {\n associatedData: new Uint8Array(0)\n })\n ).toSucceedWith(baseline);\n });\n });\n\n describe('parameter validation', () => {\n test('fails when memoryKiB < 8', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, memoryKiB: 7 })).toFailWith(\n /memoryKiB must be >= 8/i\n );\n });\n\n test('fails when iterations < 1', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, iterations: 0 })).toFailWith(\n /iterations must be >= 1/i\n );\n });\n\n test('fails when parallelism < 1', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, parallelism: 0 })).toFailWith(\n /parallelism must be 1\\.\\.255/i\n );\n });\n\n test('fails when parallelism > 255', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, parallelism: 256 })).toFailWith(\n /parallelism must be 1\\.\\.255/i\n );\n });\n\n test('fails when outputBytes < 4', async () => {\n expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, outputBytes: 3 })).toFailWith(\n /outputBytes must be >= 4/i\n );\n });\n });\n});\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fgv/ts-web-extras-argon2",
3
- "version": "5.1.0-42",
3
+ "version": "5.1.0-43",
4
4
  "description": "Argon2id key derivation via hash-wasm (Node + browser compatible)",
5
5
  "main": "lib/index.js",
6
6
  "types": "dist/ts-web-extras-argon2.d.ts",
@@ -56,17 +56,17 @@
56
56
  "@rushstack/heft-node-rig": "2.11.27",
57
57
  "@types/heft-jest": "1.0.6",
58
58
  "eslint-plugin-tsdoc": "~0.5.2",
59
- "@fgv/heft-dual-rig": "5.1.0-42",
60
- "@fgv/ts-utils": "5.1.0-42",
61
- "@fgv/ts-utils-jest": "5.1.0-42",
62
- "@fgv/ts-extras": "5.1.0-42"
59
+ "@fgv/ts-extras": "5.1.0-43",
60
+ "@fgv/ts-utils": "5.1.0-43",
61
+ "@fgv/ts-utils-jest": "5.1.0-43",
62
+ "@fgv/heft-dual-rig": "5.1.0-43"
63
63
  },
64
64
  "dependencies": {
65
65
  "hash-wasm": "~4.12.0"
66
66
  },
67
67
  "peerDependencies": {
68
- "@fgv/ts-extras": "5.1.0-42",
69
- "@fgv/ts-utils": "5.1.0-42"
68
+ "@fgv/ts-extras": "5.1.0-43",
69
+ "@fgv/ts-utils": "5.1.0-43"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "heft build --clean",
@@ -1,3 +1,3 @@
1
1
  Caching build output folders: dist, lib, temp, .rush/temp/operation/build
2
2
  Successfully set cache entry.
3
- Cache key: e971eba57f7af04a8af88668d747780c604c13e7
3
+ Cache key: 04f95c9de7fb2a8e0af2fe9c377ad005a838dc9e
@@ -5,5 +5,5 @@ Invoking: heft build --clean
5
5
  [build:lint] Using ESLint version 9.39.5
6
6
  [build:api-extractor] Using API Extractor version 7.58.9
7
7
  [build:api-extractor] Analysis will use the bundled TypeScript version 5.9.3
8
- ---- build finished (16.031s) ----
9
- -------------------- Finished (16.041s) --------------------
8
+ ---- build finished (15.050s) ----
9
+ -------------------- Finished (15.055s) --------------------
@@ -50,22 +50,40 @@ export class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvider {
50
50
  * For interoperability with server-side Node derivations, ensure both sides use the same
51
51
  * `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).
52
52
  *
53
+ * The optional secret K (RFC 9106 keyed hashing) is wired through to `hash-wasm`
54
+ * and produces output byte-identical to the Node backend. Associated data X, by
55
+ * contrast, is **not supported** by `hash-wasm` (its `argon2id` options have no
56
+ * associated-data field), so a call that supplies non-empty `associatedData`
57
+ * fails loudly rather than silently dropping it and producing wrong bytes —
58
+ * associated data is a Node-only feature. An empty/omitted `associatedData` is a
59
+ * no-op and is accepted.
60
+ *
53
61
  * @param password - The password or passphrase (string or raw bytes).
54
62
  * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).
55
63
  * @param params - Argon2id parameters. All values are validated before derivation.
64
+ * @param options - Optional {@link @fgv/ts-extras#CryptoUtils.IArgon2idKeyingOptions | keyed-hashing inputs}.
65
+ * `secret` is honored; non-empty `associatedData` fails (Node-only).
56
66
  * @returns Success with the derived key bytes, or Failure with a descriptive message.
57
67
  * @public
58
68
  */
59
69
  public async argon2id(
60
70
  password: Uint8Array | string,
61
71
  salt: Uint8Array,
62
- params: CryptoUtils.IArgon2idParams
72
+ params: CryptoUtils.IArgon2idParams,
73
+ options?: CryptoUtils.IArgon2idKeyingOptions
63
74
  ): Promise<Result<Uint8Array>> {
64
75
  const error = BrowserArgon2Provider._validateParams(params);
65
76
  if (error !== undefined) {
66
77
  return fail(error);
67
78
  }
68
79
 
80
+ if (options?.associatedData && options.associatedData.length > 0) {
81
+ return fail(
82
+ 'argon2id: associatedData is not supported by the hash-wasm (browser) backend — ' +
83
+ 'associated data is Node-only (@fgv/ts-extras-argon2 NodeArgon2Provider)'
84
+ );
85
+ }
86
+
69
87
  return captureAsyncResult(async () => {
70
88
  const result = await argon2id({
71
89
  password,
@@ -74,7 +92,10 @@ export class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvider {
74
92
  parallelism: params.parallelism,
75
93
  memorySize: params.memoryKiB,
76
94
  hashLength: params.outputBytes,
77
- outputType: 'binary'
95
+ outputType: 'binary',
96
+ // Only pass secret when present and non-empty so empty options and prior
97
+ // callers produce byte-identical output.
98
+ ...(options?.secret && options.secret.length > 0 ? { secret: options.secret } : {})
78
99
  });
79
100
  return result;
80
101
  });
@@ -90,6 +90,42 @@ describe('BrowserArgon2Provider', () => {
90
90
  });
91
91
  });
92
92
 
93
+ describe('keyed hashing (secret / associatedData)', () => {
94
+ const SECRET = new Uint8Array(8).fill(0x03);
95
+ const AD = new Uint8Array(12).fill(0x04);
96
+
97
+ test('honors a secret — output differs from the no-secret derivation', async () => {
98
+ const withoutSecret = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
99
+ expect(
100
+ await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: SECRET })
101
+ ).toSucceedAndSatisfy((withSecret) => {
102
+ expect(withSecret).not.toEqual(withoutSecret);
103
+ });
104
+ });
105
+
106
+ test('empty secret is a no-op (byte-identical to omitting options)', async () => {
107
+ const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
108
+ expect(
109
+ await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { secret: new Uint8Array(0) })
110
+ ).toSucceedWith(baseline);
111
+ });
112
+
113
+ test('rejects non-empty associatedData as a Node-only feature', async () => {
114
+ expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, { associatedData: AD })).toFailWith(
115
+ /associatedData is not supported.*node-only/i
116
+ );
117
+ });
118
+
119
+ test('empty associatedData is accepted (no-op, byte-identical to omitting options)', async () => {
120
+ const baseline = (await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS)).orThrow();
121
+ expect(
122
+ await provider.argon2id(RFC_PASSWORD, RFC_SALT, RFC_PARAMS, {
123
+ associatedData: new Uint8Array(0)
124
+ })
125
+ ).toSucceedWith(baseline);
126
+ });
127
+ });
128
+
93
129
  describe('parameter validation', () => {
94
130
  test('fails when memoryKiB < 8', async () => {
95
131
  expect(await provider.argon2id(RFC_PASSWORD, RFC_SALT, { ...RFC_PARAMS, memoryKiB: 7 })).toFailWith(
@@ -3,7 +3,7 @@
3
3
  "fileVersions": [
4
4
  [
5
5
  "packlets/argon2/browserArgon2Provider.ts",
6
- "544c0b0a2883a123febf72c82cf1a16153c9032a135320ff6fb9e9294f3d4d12_s4b9Mc9TG35XDfN9qoeQBYG+8Tg="
6
+ "bb6076529c7c57e3332391515cb339b88eb885b17945122d7438fa5e1604fb18_s4b9Mc9TG35XDfN9qoeQBYG+8Tg="
7
7
  ],
8
8
  [
9
9
  "packlets/argon2/index.ts",
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  [
17
17
  "test/unit/argon2/browserArgon2Provider.test.ts",
18
- "2704d2a143ffe8d68b4d2029c5eebc104e0ddb4c3ed2b92ce606db7f4df0f6e4_vs+bC7iGf1jzgNAtMpNdkc6Mkoc="
18
+ "b6f08495d90207bbdaa84176d39e9add59739d1ff8a8ee7fceeb0e918bc71bdb_vs+bC7iGf1jzgNAtMpNdkc6Mkoc="
19
19
  ]
20
20
  ],
21
21
  "filesHash": "XHODg2L7v-nHTPHjIy2r2g"
@@ -1 +1 @@
1
- {"fileNames":["../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/util.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/WASMInterface.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/adler32.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/argon2.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/blake2b.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/blake2s.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/blake3.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/crc32.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/crc64.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/md4.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/md5.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha1.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha3.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/keccak.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha224.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha256.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha384.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha512.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/xxhash32.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/xxhash64.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/xxhash3.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/xxhash128.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/ripemd160.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/hmac.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/pbkdf2.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/scrypt.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/bcrypt.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/whirlpool.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sm3.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/index.d.ts","../../../../ts-utils/dist/ts-utils.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/zone.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/settings.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/_util.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/misc.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/duration.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/interval.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/datetime.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/info.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/luxon.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/index.d.ts","../../../../ts-json-base/dist/ts-json-base.d.ts","../../../../ts-extras/dist/ts-extras.d.ts","../../../src/packlets/argon2/browserArgon2Provider.ts","../../../src/packlets/argon2/index.ts","../../../src/index.ts","../../../../ts-utils-jest/lib/types/index.d.ts","../../../../ts-utils-jest/lib/helpers/fsHelpers.d.ts","../../../../ts-utils-jest/lib/index.d.ts","../../../src/test/unit/argon2/browserArgon2Provider.test.ts","../../../../../common/temp/node_modules/.pnpm/@types+heft-jest@1.0.6/node_modules/@types/heft-jest/mocked.d.ts","../../../../../common/temp/node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@sinclair+typebox@0.27.10/node_modules/@sinclair/typebox/typebox.d.ts","../../../../../common/temp/node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+jest@29.5.14/node_modules/@types/jest/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+heft-jest@1.0.6/node_modules/@types/heft-jest/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/compatibility/disposable.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/compatibility/indexable.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/compatibility/iterators.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/compatibility/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/globals.typedarray.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/buffer.buffer.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/globals.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/web-globals/domexception.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/web-globals/events.d.ts","../../../../../common/temp/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/web-globals/fetch.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/assert.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/assert/strict.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/async_hooks.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/buffer.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/child_process.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/cluster.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/console.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/constants.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/crypto.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/dgram.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/diagnostics_channel.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/dns.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/dns/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/domain.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/events.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/fs.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/fs/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/http.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/http2.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/https.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/inspector.generated.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/module.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/net.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/os.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/path.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/perf_hooks.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/process.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/punycode.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/querystring.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/readline.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/readline/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/repl.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/sea.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/stream.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/stream/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/stream/consumers.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/stream/web.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/string_decoder.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/test.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/timers.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/timers/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/tls.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/trace_events.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/tty.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/url.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/util.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/v8.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/vm.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/wasi.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/worker_threads.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/zlib.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/index.d.ts"],"fileIdsList":[[113,160],[100,113,160],[97,106,113,160],[102,105,113,160],[86,113,160],[79,113,160],[78,80,82,83,87,113,160],[80,81,84,113,160],[78,81,84,113,160],[80,82,84,113,160],[78,79,81,82,83,84,85,113,160],[78,84,113,160],[80,113,160],[113,157,160],[113,159,160],[160],[113,160,165,193],[113,160,161,166,171,179,190,201],[113,160,161,162,171,179],[108,109,110,113,160],[113,160,163,202],[113,160,164,165,172,180],[113,160,165,190,198],[113,160,166,168,171,179],[113,159,160,167],[113,160,168,169],[113,160,170,171],[113,159,160,171],[113,160,171,172,173,190,201],[113,160,171,172,173,186,190,193],[113,160,168,171,174,179,190,201],[113,160,171,172,174,175,179,190,198,201],[113,160,174,176,190,198,201],[111,112,113,114,115,116,117,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207],[113,160,171,177],[113,160,178,201,206],[113,160,168,171,179,190],[113,160,180],[113,160,181],[113,159,160,182],[113,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207],[113,160,184],[113,160,185],[113,160,171,186,187],[113,160,186,188,202,204],[113,160,171,190,191,193],[113,160,192,193],[113,160,190,191],[113,160,193],[113,160,194],[113,157,160,190,195],[113,160,171,196,197],[113,160,196,197],[113,160,165,179,190,198],[113,160,199],[113,160,179,200],[113,160,174,185,201],[113,160,165,202],[113,160,190,203],[113,160,178,204],[113,160,205],[113,155,160],[113,155,160,171,173,182,190,193,201,204,206],[113,160,190,207],[98,104,113,160],[47,113,160],[47,48,113,160],[47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,113,160],[102,113,160],[99,103,113,160],[101,113,160],[113,127,131,160,201],[113,127,160,190,201],[113,122,160],[113,124,127,160,198,201],[113,160,179,198],[113,160,208],[113,122,160,208],[113,124,127,160,179,201],[113,119,120,123,126,160,171,190,201],[113,127,134,160],[113,119,125,160],[113,127,148,149,160],[113,123,127,160,193,201,208],[113,148,160,208],[113,121,122,160,208],[113,127,160],[113,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,149,150,151,152,153,154,160],[113,127,142,160],[113,127,134,135,160],[113,125,127,135,136,160],[113,126,160],[113,119,122,127,160],[113,127,131,135,136,160],[113,131,160],[113,125,127,130,160,201],[113,119,124,127,134,160],[113,160,190],[113,122,127,148,160,206,208],[77,87,88,113,160],[77,113,160],[113,160,172],[93,94,113,160],[91,113,160],[76,77,89,113,160],[89,90,113,160],[89,91,95,113,160]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a957a1395986cd6863bae5a42c58d66886df90f1931c911fbe406f8321335e6f","impliedFormat":1},{"version":"a2bc59da4f44ff533bd0b7ea20946f8c52eae8895531746dee71603e3b7d5578","impliedFormat":1},{"version":"9828342b073c3d2a51680d84be6e8693c15209142d4c3c49f9af9ad3e8a9dacc","impliedFormat":1},{"version":"7cabf9ff89f3a1de0524b3a50265ba1294a88e495e114dcae8da0cbc50fc92f2","impliedFormat":1},{"version":"9d7a70722e17134d5eab42d3dd710eacbe42fd1210d80287f6639c29ee2a7c10","impliedFormat":1},{"version":"165409ea4281fef67eea472050347967441004e84d22a8977a94e1976823d5be","impliedFormat":1},{"version":"505abecc03fe091b97b747dc320fff4679344de28c922564193151c0cefb3180","impliedFormat":1},{"version":"0f90009e6c417c9336b260496ea53729a9c70933895e2ce545fff272b9301bb2","impliedFormat":1},{"version":"c0a488e0b571aec7a957ecad80792af284c357b48ba6d2d8b4444aa2be6c5a2f","impliedFormat":1},{"version":"ff2ce6f20d8c9346ab61a3444f5bca603f327d26352eb0ab6f40cb1f48e84c84","impliedFormat":1},{"version":"7c9fc8fbe28c6fe364d78be412d8467619b87dc828f2cf5ef525db7d7837c9f7","impliedFormat":1},{"version":"c824d703f55424408de202f826ff50eced9ad4c07edf12ff99fef7a7ca820f5b","impliedFormat":1},{"version":"6efbf9b08c3e5a48b93858e7b96eb61f9ca6d5c5d27709dc16f806e0ba1067cc","impliedFormat":1},{"version":"1b6d8a8926e323af55c6777a6f6561191ea3da6beabe8e7d91c152df3c693bac","impliedFormat":1},{"version":"587173d12395c6996972afd696425044d322eb0174e76d7d5888caf35d88831d","impliedFormat":1},{"version":"de5ba33082f9ac12bd6a9e44c530a5dd708d145fff6cc2dd7cb30321a8882a6b","impliedFormat":1},{"version":"a50a03f03f65f3cc4e012c86464f310755462c7059f1581a9c666b5457d102e1","impliedFormat":1},{"version":"89b954bd9c00a77ce3d889e1cc78b034779e2593fe0adfa14b6e56baafeb5de2","impliedFormat":1},{"version":"9935b6341ac96a5027526efc1ec75114ccf2009b6ed602f65bc82e75ac2089b1","impliedFormat":1},{"version":"f8776dc3e57237b3de45b8ab5f224adc00dd90fe217f1a34ed6442606807c122","impliedFormat":1},{"version":"b0c8c7af35a444fd4054c12d971eabcd7ec4be2e840fc60f8897b5732cb3a20b","impliedFormat":1},{"version":"4f9bd8f00fe9f0ae8b5d2fffed8d47915b61b428e33b2ee9aa3ef159e98e305c","impliedFormat":1},{"version":"bbe6c08cefd08a23dc36eca9dae8aeb30895debf15387ab6904b591e3b6b3217","impliedFormat":1},{"version":"0c3880ad1eee5252b7f02c6ff10bd2666cb9a59ae698d552ec5b0a4a7b9611d8","impliedFormat":1},{"version":"d5d71ded265f144dec6604983fbfaf201844d7cd8614aadab8ad5227e99545d3","impliedFormat":1},{"version":"907d2ea3b3fed567fe2dff6747f7642f57aa8b3c288becf4843113ac98331ee3","impliedFormat":1},{"version":"33da6d63dbab160960cdd6e1dba0716bbc2f60af4aeb229ea9b318303c2015e1","impliedFormat":1},{"version":"6dc0148fe65a487db8bd552670f0fe87498c0a8e644c38092a185a05030282bf","impliedFormat":1},{"version":"6bd476fd8a150f5211488cc1d58d412dabec0da0977295ea1f06957b1d28ed13","impliedFormat":1},{"version":"5e134f083c46ea016764a484ac86f664564303f87bc3ca7cfd4b74ccbacad282","impliedFormat":1},"1a4144dcbef27308b9a3fbccbe2383034f57157af59263b1b8f20f47fbda02ac",{"version":"5339f84dfcb7b04aa1c2b4d7713d6128039381447f07abc2e48d36685e2eef44","impliedFormat":1},{"version":"fb35a61a39c933d31b5b2549d906b2c932a1486622958586f662dbd4b2fe72e6","impliedFormat":1},{"version":"24e2728268be1ad2407bab004549d2753a49b2acb0f117a04c4e28ffb3ecdd4f","impliedFormat":1},{"version":"aff159b14eba59afe98a88fe6f57881ba02895fb9763512dda9083497bdcd0e6","impliedFormat":1},{"version":"1f2bddea07543ccda708134cca0600b4d9ac9bd774ec1ede0a69935b04df1496","impliedFormat":1},{"version":"6e8997d08f6798d0a9416df24312cafd084e6184a205d9283eba95ef56f8ef8b","impliedFormat":1},{"version":"f6d1f573d0a2fb0b412a65f9041eb627298bd2fc74b5067b1e02f14df41a8952","impliedFormat":1},{"version":"26080058b725ac0b480241751255b4391f722263778e84e66a62068705aafd3c","impliedFormat":1},{"version":"46afbf46c3d62eac2afead3a2011d506637bf4f2c05e1fd64bbf7e2bb2947b7c","impliedFormat":1},{"version":"84d02daa32c7a8bff4946bbc7d878ffb7114c19879f7bfceeeb39bef48e93c42","impliedFormat":1},"efa383267c5cdf693c8d1ac82a21117bfffa99cb03530acd4efaf669c15451cf","9fc46bf29a28e9571b1bc71461dc80d08127edda1f945f427b4fa23e2bd86a07",{"version":"544c0b0a2883a123febf72c82cf1a16153c9032a135320ff6fb9e9294f3d4d12","signature":"29d993763213eefe99cfc1cfda6cef4226ab60265f0ab78f72db82ee57742ba7"},{"version":"d3e9fc3c55dd0b70eec97920685bb77d781b39ccbda99ab12cb08cb26d1d3cf7","signature":"e3bd0740bf1cb98c48dec7468c818da01e3f29df4545fdb3a9e58fd7c26ed3cf"},{"version":"c7c8c12148a794fcfd63e8d0b5eb0df0c15de9a17d30d23e7b861a81513235fc","signature":"c0a6128af4f9bd83b83bb5bcf5474e5ecf914bbc3c8d1eaa3cf2c817401fc0e6"},{"version":"ee5b2757ccf8db082239d89e4ccce947c116eccc13774bee571e054c3f21e07b","affectsGlobalScope":true},"7226b455cf19ac49ec1f7f8f16931094b58fdfe3b8cfb411c2d164d8187ab6c3","9bc445a24012b59c572f600f827de0113bcb8ff8d6bbfb650f30c504348858b0",{"version":"2704d2a143ffe8d68b4d2029c5eebc104e0ddb4c3ed2b92ce606db7f4df0f6e4","signature":"526a1bdc740d8cfd8b5a7f379070acaf25a9ef496e9de3d9e95d1b200faa3d7d"},{"version":"451d384cf4019e816adf1d72550d9d0d81e77061f394c8a2261b7044cfc1e793","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"e1028394c1cf96d5d057ecc647e31e457b919092f882ed0c7092152b077fed9d","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"f8db4fea512ab759b2223b90ecbbe7dae919c02f8ce95ec03f7fb1cf757cfbeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"4c9e8e05e528f96c9a463466b04940227303bf050600f4d80d6ecaad03d7b42f","affectsGlobalScope":true,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba481bca06f37d3f2c137ce343c7d5937029b2468f8e26111f3c9d9963d6568d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true,"impliedFormat":1},{"version":"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","impliedFormat":1},{"version":"3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true,"impliedFormat":1},{"version":"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true,"impliedFormat":1},{"version":"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","impliedFormat":1},{"version":"58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","impliedFormat":1},{"version":"641942a78f9063caa5d6b777c99304b7d1dc7328076038c6d94d8a0b81fc95c1","impliedFormat":1},{"version":"1123a83f35cf56c97de746f0a7250012153c61a167e4a61668bf50e558162d14","impliedFormat":1},{"version":"855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e20d899c28ca26a2a7afc98beaa69e63ff7fba0a8bc47b4e3bf3ede5e09e424","impliedFormat":1},{"version":"2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","impliedFormat":1},{"version":"a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d","impliedFormat":1},{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true,"impliedFormat":1},{"version":"372413016d17d804e1d139418aca0c68e47a83fb6669490857f4b318de8cccb3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"085f552d005479e2e6a7311cdbbe5d8c55c497b4d19274285df161ee9684cd9c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"007faacc9268357caa21d24169f3f3f2497af3e9241308df2d89f6e6d9bb3f2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"809821b8a065e3234a55b3a9d7846231ed18d66dd749f2494c66288d890daf7f","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true,"impliedFormat":1},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true,"impliedFormat":1},{"version":"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","impliedFormat":1},{"version":"1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","impliedFormat":1},{"version":"f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7c5e2ea4a9749097c347454805e933844ed207b6eefec6b7cfd418b5f5f7b28","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1}],"root":[[90,92],96],"options":{"allowUnreachableCode":false,"declaration":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"inlineSources":true,"jsx":2,"module":1,"noEmitOnError":false,"outDir":"../../../lib","rootDir":"../../../src","sourceMap":true,"strict":true,"target":4,"tsBuildInfoFile":"./ts_8nwakTlr.json","useUnknownInCatchVariables":false},"referencedMap":[[98,1],[101,2],[100,1],[107,3],[97,1],[106,4],[87,5],[80,6],[84,7],[82,8],[85,9],[83,10],[86,11],[81,1],[79,12],[78,13],[157,14],[158,14],[159,15],[113,16],[160,17],[161,18],[162,19],[108,1],[111,20],[109,1],[110,1],[163,21],[164,22],[165,23],[166,24],[167,25],[168,26],[169,26],[170,27],[171,28],[172,29],[173,30],[114,1],[112,1],[174,31],[175,32],[176,33],[208,34],[177,35],[178,36],[179,37],[180,38],[181,39],[182,40],[183,41],[184,42],[185,43],[186,44],[187,44],[188,45],[189,1],[190,46],[192,47],[191,48],[193,49],[194,50],[195,51],[196,52],[197,53],[198,54],[199,55],[200,56],[201,57],[202,58],[203,59],[204,60],[205,61],[115,1],[116,1],[117,1],[156,62],[206,63],[207,64],[118,1],[99,1],[105,65],[48,66],[49,67],[50,66],[73,66],[51,67],[52,67],[53,67],[54,67],[55,67],[70,67],[76,68],[60,67],[56,67],[57,67],[71,67],[69,67],[72,66],[58,67],[61,67],[62,67],[59,67],[63,67],[64,67],[75,67],[47,1],[74,67],[68,67],[67,67],[65,67],[66,67],[103,69],[104,70],[102,71],[45,1],[46,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[19,1],[20,1],[4,1],[21,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[1,1],[134,72],[144,73],[133,72],[154,74],[125,75],[124,76],[153,77],[147,78],[152,79],[127,80],[141,81],[126,82],[150,83],[122,84],[121,77],[151,85],[123,86],[128,87],[129,1],[132,87],[119,1],[155,88],[145,89],[136,90],[137,91],[139,92],[135,93],[138,94],[148,77],[130,95],[131,96],[140,97],[120,98],[143,89],[142,87],[146,1],[149,99],[89,100],[88,101],[94,102],[95,103],[93,101],[77,1],[92,104],[90,105],[91,106],[96,107]],"version":"5.9.3"}
1
+ {"fileNames":["../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/util.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/WASMInterface.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/adler32.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/argon2.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/blake2b.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/blake2s.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/blake3.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/crc32.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/crc64.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/md4.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/md5.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha1.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha3.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/keccak.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha224.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha256.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha384.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sha512.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/xxhash32.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/xxhash64.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/xxhash3.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/xxhash128.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/ripemd160.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/hmac.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/pbkdf2.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/scrypt.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/bcrypt.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/whirlpool.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/sm3.d.ts","../../../../../common/temp/node_modules/.pnpm/hash-wasm@4.12.0/node_modules/hash-wasm/dist/lib/index.d.ts","../../../../ts-utils/dist/ts-utils.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/zone.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/settings.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/_util.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/misc.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/duration.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/interval.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/datetime.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/info.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/src/luxon.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+luxon@3.7.2/node_modules/@types/luxon/index.d.ts","../../../../ts-json-base/dist/ts-json-base.d.ts","../../../../ts-extras/dist/ts-extras.d.ts","../../../src/packlets/argon2/browserArgon2Provider.ts","../../../src/packlets/argon2/index.ts","../../../src/index.ts","../../../../ts-utils-jest/lib/types/index.d.ts","../../../../ts-utils-jest/lib/helpers/fsHelpers.d.ts","../../../../ts-utils-jest/lib/index.d.ts","../../../src/test/unit/argon2/browserArgon2Provider.test.ts","../../../../../common/temp/node_modules/.pnpm/@types+heft-jest@1.0.6/node_modules/@types/heft-jest/mocked.d.ts","../../../../../common/temp/node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@sinclair+typebox@0.27.10/node_modules/@sinclair/typebox/typebox.d.ts","../../../../../common/temp/node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+jest@29.5.14/node_modules/@types/jest/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+heft-jest@1.0.6/node_modules/@types/heft-jest/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/compatibility/disposable.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/compatibility/indexable.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/compatibility/iterators.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/compatibility/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/globals.typedarray.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/buffer.buffer.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/globals.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/web-globals/domexception.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/web-globals/events.d.ts","../../../../../common/temp/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/web-globals/fetch.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/assert.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/assert/strict.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/async_hooks.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/buffer.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/child_process.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/cluster.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/console.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/constants.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/crypto.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/dgram.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/diagnostics_channel.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/dns.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/dns/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/domain.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/events.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/fs.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/fs/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/http.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/http2.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/https.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/inspector.generated.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/module.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/net.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/os.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/path.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/perf_hooks.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/process.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/punycode.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/querystring.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/readline.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/readline/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/repl.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/sea.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/stream.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/stream/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/stream/consumers.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/stream/web.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/string_decoder.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/test.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/timers.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/timers/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/tls.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/trace_events.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/tty.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/url.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/util.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/v8.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/vm.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/wasi.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/worker_threads.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/zlib.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.43/node_modules/@types/node/index.d.ts"],"fileIdsList":[[113,160],[100,113,160],[97,106,113,160],[102,105,113,160],[86,113,160],[79,113,160],[78,80,82,83,87,113,160],[80,81,84,113,160],[78,81,84,113,160],[80,82,84,113,160],[78,79,81,82,83,84,85,113,160],[78,84,113,160],[80,113,160],[113,157,160],[113,159,160],[160],[113,160,165,193],[113,160,161,166,171,179,190,201],[113,160,161,162,171,179],[108,109,110,113,160],[113,160,163,202],[113,160,164,165,172,180],[113,160,165,190,198],[113,160,166,168,171,179],[113,159,160,167],[113,160,168,169],[113,160,170,171],[113,159,160,171],[113,160,171,172,173,190,201],[113,160,171,172,173,186,190,193],[113,160,168,171,174,179,190,201],[113,160,171,172,174,175,179,190,198,201],[113,160,174,176,190,198,201],[111,112,113,114,115,116,117,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207],[113,160,171,177],[113,160,178,201,206],[113,160,168,171,179,190],[113,160,180],[113,160,181],[113,159,160,182],[113,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207],[113,160,184],[113,160,185],[113,160,171,186,187],[113,160,186,188,202,204],[113,160,171,190,191,193],[113,160,192,193],[113,160,190,191],[113,160,193],[113,160,194],[113,157,160,190,195],[113,160,171,196,197],[113,160,196,197],[113,160,165,179,190,198],[113,160,199],[113,160,179,200],[113,160,174,185,201],[113,160,165,202],[113,160,190,203],[113,160,178,204],[113,160,205],[113,155,160],[113,155,160,171,173,182,190,193,201,204,206],[113,160,190,207],[98,104,113,160],[47,113,160],[47,48,113,160],[47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,113,160],[102,113,160],[99,103,113,160],[101,113,160],[113,127,131,160,201],[113,127,160,190,201],[113,122,160],[113,124,127,160,198,201],[113,160,179,198],[113,160,208],[113,122,160,208],[113,124,127,160,179,201],[113,119,120,123,126,160,171,190,201],[113,127,134,160],[113,119,125,160],[113,127,148,149,160],[113,123,127,160,193,201,208],[113,148,160,208],[113,121,122,160,208],[113,127,160],[113,121,122,123,124,125,126,127,128,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,149,150,151,152,153,154,160],[113,127,142,160],[113,127,134,135,160],[113,125,127,135,136,160],[113,126,160],[113,119,122,127,160],[113,127,131,135,136,160],[113,131,160],[113,125,127,130,160,201],[113,119,124,127,134,160],[113,160,190],[113,122,127,148,160,206,208],[77,87,88,113,160],[77,113,160],[113,160,172],[93,94,113,160],[91,113,160],[76,77,89,113,160],[89,90,113,160],[89,91,95,113,160]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a957a1395986cd6863bae5a42c58d66886df90f1931c911fbe406f8321335e6f","impliedFormat":1},{"version":"a2bc59da4f44ff533bd0b7ea20946f8c52eae8895531746dee71603e3b7d5578","impliedFormat":1},{"version":"9828342b073c3d2a51680d84be6e8693c15209142d4c3c49f9af9ad3e8a9dacc","impliedFormat":1},{"version":"7cabf9ff89f3a1de0524b3a50265ba1294a88e495e114dcae8da0cbc50fc92f2","impliedFormat":1},{"version":"9d7a70722e17134d5eab42d3dd710eacbe42fd1210d80287f6639c29ee2a7c10","impliedFormat":1},{"version":"165409ea4281fef67eea472050347967441004e84d22a8977a94e1976823d5be","impliedFormat":1},{"version":"505abecc03fe091b97b747dc320fff4679344de28c922564193151c0cefb3180","impliedFormat":1},{"version":"0f90009e6c417c9336b260496ea53729a9c70933895e2ce545fff272b9301bb2","impliedFormat":1},{"version":"c0a488e0b571aec7a957ecad80792af284c357b48ba6d2d8b4444aa2be6c5a2f","impliedFormat":1},{"version":"ff2ce6f20d8c9346ab61a3444f5bca603f327d26352eb0ab6f40cb1f48e84c84","impliedFormat":1},{"version":"7c9fc8fbe28c6fe364d78be412d8467619b87dc828f2cf5ef525db7d7837c9f7","impliedFormat":1},{"version":"c824d703f55424408de202f826ff50eced9ad4c07edf12ff99fef7a7ca820f5b","impliedFormat":1},{"version":"6efbf9b08c3e5a48b93858e7b96eb61f9ca6d5c5d27709dc16f806e0ba1067cc","impliedFormat":1},{"version":"1b6d8a8926e323af55c6777a6f6561191ea3da6beabe8e7d91c152df3c693bac","impliedFormat":1},{"version":"587173d12395c6996972afd696425044d322eb0174e76d7d5888caf35d88831d","impliedFormat":1},{"version":"de5ba33082f9ac12bd6a9e44c530a5dd708d145fff6cc2dd7cb30321a8882a6b","impliedFormat":1},{"version":"a50a03f03f65f3cc4e012c86464f310755462c7059f1581a9c666b5457d102e1","impliedFormat":1},{"version":"89b954bd9c00a77ce3d889e1cc78b034779e2593fe0adfa14b6e56baafeb5de2","impliedFormat":1},{"version":"9935b6341ac96a5027526efc1ec75114ccf2009b6ed602f65bc82e75ac2089b1","impliedFormat":1},{"version":"f8776dc3e57237b3de45b8ab5f224adc00dd90fe217f1a34ed6442606807c122","impliedFormat":1},{"version":"b0c8c7af35a444fd4054c12d971eabcd7ec4be2e840fc60f8897b5732cb3a20b","impliedFormat":1},{"version":"4f9bd8f00fe9f0ae8b5d2fffed8d47915b61b428e33b2ee9aa3ef159e98e305c","impliedFormat":1},{"version":"bbe6c08cefd08a23dc36eca9dae8aeb30895debf15387ab6904b591e3b6b3217","impliedFormat":1},{"version":"0c3880ad1eee5252b7f02c6ff10bd2666cb9a59ae698d552ec5b0a4a7b9611d8","impliedFormat":1},{"version":"d5d71ded265f144dec6604983fbfaf201844d7cd8614aadab8ad5227e99545d3","impliedFormat":1},{"version":"907d2ea3b3fed567fe2dff6747f7642f57aa8b3c288becf4843113ac98331ee3","impliedFormat":1},{"version":"33da6d63dbab160960cdd6e1dba0716bbc2f60af4aeb229ea9b318303c2015e1","impliedFormat":1},{"version":"6dc0148fe65a487db8bd552670f0fe87498c0a8e644c38092a185a05030282bf","impliedFormat":1},{"version":"6bd476fd8a150f5211488cc1d58d412dabec0da0977295ea1f06957b1d28ed13","impliedFormat":1},{"version":"5e134f083c46ea016764a484ac86f664564303f87bc3ca7cfd4b74ccbacad282","impliedFormat":1},"1a4144dcbef27308b9a3fbccbe2383034f57157af59263b1b8f20f47fbda02ac",{"version":"5339f84dfcb7b04aa1c2b4d7713d6128039381447f07abc2e48d36685e2eef44","impliedFormat":1},{"version":"fb35a61a39c933d31b5b2549d906b2c932a1486622958586f662dbd4b2fe72e6","impliedFormat":1},{"version":"24e2728268be1ad2407bab004549d2753a49b2acb0f117a04c4e28ffb3ecdd4f","impliedFormat":1},{"version":"aff159b14eba59afe98a88fe6f57881ba02895fb9763512dda9083497bdcd0e6","impliedFormat":1},{"version":"1f2bddea07543ccda708134cca0600b4d9ac9bd774ec1ede0a69935b04df1496","impliedFormat":1},{"version":"6e8997d08f6798d0a9416df24312cafd084e6184a205d9283eba95ef56f8ef8b","impliedFormat":1},{"version":"f6d1f573d0a2fb0b412a65f9041eb627298bd2fc74b5067b1e02f14df41a8952","impliedFormat":1},{"version":"26080058b725ac0b480241751255b4391f722263778e84e66a62068705aafd3c","impliedFormat":1},{"version":"46afbf46c3d62eac2afead3a2011d506637bf4f2c05e1fd64bbf7e2bb2947b7c","impliedFormat":1},{"version":"84d02daa32c7a8bff4946bbc7d878ffb7114c19879f7bfceeeb39bef48e93c42","impliedFormat":1},"efa383267c5cdf693c8d1ac82a21117bfffa99cb03530acd4efaf669c15451cf","e5a83fe2aab64d7cae3fcd7d769f8dc24fa9a2a83ed56331c87ee1e4faebc2c7",{"version":"bb6076529c7c57e3332391515cb339b88eb885b17945122d7438fa5e1604fb18","signature":"14602c381ff0c691d9d42ab7d54652092c33b286102f6076f19e2288428bfc1f"},{"version":"d3e9fc3c55dd0b70eec97920685bb77d781b39ccbda99ab12cb08cb26d1d3cf7","signature":"e3bd0740bf1cb98c48dec7468c818da01e3f29df4545fdb3a9e58fd7c26ed3cf"},{"version":"c7c8c12148a794fcfd63e8d0b5eb0df0c15de9a17d30d23e7b861a81513235fc","signature":"c0a6128af4f9bd83b83bb5bcf5474e5ecf914bbc3c8d1eaa3cf2c817401fc0e6"},{"version":"ee5b2757ccf8db082239d89e4ccce947c116eccc13774bee571e054c3f21e07b","affectsGlobalScope":true},"7226b455cf19ac49ec1f7f8f16931094b58fdfe3b8cfb411c2d164d8187ab6c3","9bc445a24012b59c572f600f827de0113bcb8ff8d6bbfb650f30c504348858b0",{"version":"b6f08495d90207bbdaa84176d39e9add59739d1ff8a8ee7fceeb0e918bc71bdb","signature":"526a1bdc740d8cfd8b5a7f379070acaf25a9ef496e9de3d9e95d1b200faa3d7d"},{"version":"451d384cf4019e816adf1d72550d9d0d81e77061f394c8a2261b7044cfc1e793","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"e1028394c1cf96d5d057ecc647e31e457b919092f882ed0c7092152b077fed9d","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"f8db4fea512ab759b2223b90ecbbe7dae919c02f8ce95ec03f7fb1cf757cfbeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"4c9e8e05e528f96c9a463466b04940227303bf050600f4d80d6ecaad03d7b42f","affectsGlobalScope":true,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba481bca06f37d3f2c137ce343c7d5937029b2468f8e26111f3c9d9963d6568d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true,"impliedFormat":1},{"version":"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","impliedFormat":1},{"version":"3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true,"impliedFormat":1},{"version":"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true,"impliedFormat":1},{"version":"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","impliedFormat":1},{"version":"58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","impliedFormat":1},{"version":"641942a78f9063caa5d6b777c99304b7d1dc7328076038c6d94d8a0b81fc95c1","impliedFormat":1},{"version":"1123a83f35cf56c97de746f0a7250012153c61a167e4a61668bf50e558162d14","impliedFormat":1},{"version":"855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e20d899c28ca26a2a7afc98beaa69e63ff7fba0a8bc47b4e3bf3ede5e09e424","impliedFormat":1},{"version":"2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","impliedFormat":1},{"version":"a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d","impliedFormat":1},{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true,"impliedFormat":1},{"version":"372413016d17d804e1d139418aca0c68e47a83fb6669490857f4b318de8cccb3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"085f552d005479e2e6a7311cdbbe5d8c55c497b4d19274285df161ee9684cd9c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"007faacc9268357caa21d24169f3f3f2497af3e9241308df2d89f6e6d9bb3f2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"809821b8a065e3234a55b3a9d7846231ed18d66dd749f2494c66288d890daf7f","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true,"impliedFormat":1},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true,"impliedFormat":1},{"version":"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","impliedFormat":1},{"version":"1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","impliedFormat":1},{"version":"f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7c5e2ea4a9749097c347454805e933844ed207b6eefec6b7cfd418b5f5f7b28","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1}],"root":[[90,92],96],"options":{"allowUnreachableCode":false,"declaration":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"inlineSources":true,"jsx":2,"module":1,"noEmitOnError":false,"outDir":"../../../lib","rootDir":"../../../src","sourceMap":true,"strict":true,"target":4,"tsBuildInfoFile":"./ts_8nwakTlr.json","useUnknownInCatchVariables":false},"referencedMap":[[98,1],[101,2],[100,1],[107,3],[97,1],[106,4],[87,5],[80,6],[84,7],[82,8],[85,9],[83,10],[86,11],[81,1],[79,12],[78,13],[157,14],[158,14],[159,15],[113,16],[160,17],[161,18],[162,19],[108,1],[111,20],[109,1],[110,1],[163,21],[164,22],[165,23],[166,24],[167,25],[168,26],[169,26],[170,27],[171,28],[172,29],[173,30],[114,1],[112,1],[174,31],[175,32],[176,33],[208,34],[177,35],[178,36],[179,37],[180,38],[181,39],[182,40],[183,41],[184,42],[185,43],[186,44],[187,44],[188,45],[189,1],[190,46],[192,47],[191,48],[193,49],[194,50],[195,51],[196,52],[197,53],[198,54],[199,55],[200,56],[201,57],[202,58],[203,59],[204,60],[205,61],[115,1],[116,1],[117,1],[156,62],[206,63],[207,64],[118,1],[99,1],[105,65],[48,66],[49,67],[50,66],[73,66],[51,67],[52,67],[53,67],[54,67],[55,67],[70,67],[76,68],[60,67],[56,67],[57,67],[71,67],[69,67],[72,66],[58,67],[61,67],[62,67],[59,67],[63,67],[64,67],[75,67],[47,1],[74,67],[68,67],[67,67],[65,67],[66,67],[103,69],[104,70],[102,71],[45,1],[46,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[19,1],[20,1],[4,1],[21,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[1,1],[134,72],[144,73],[133,72],[154,74],[125,75],[124,76],[153,77],[147,78],[152,79],[127,80],[141,81],[126,82],[150,83],[122,84],[121,77],[151,85],[123,86],[128,87],[129,1],[132,87],[119,1],[155,88],[145,89],[136,90],[137,91],[139,92],[135,93],[138,94],[148,77],[130,95],[131,96],[140,97],[120,98],[143,89],[142,87],[146,1],[149,99],[89,100],[88,101],[94,102],[95,103],[93,101],[77,1],[92,104],[90,105],[91,106],[96,107]],"version":"5.9.3"}
@@ -216,7 +216,7 @@
216
216
  {
217
217
  "kind": "Method",
218
218
  "canonicalReference": "@fgv/ts-web-extras-argon2!BrowserArgon2Provider#argon2id:member(1)",
219
- "docComment": "/**\n * Derives a key using Argon2id via the hash-wasm WASM implementation.\n *\n * @remarks\n *\n * `hash-wasm` computes Argon2id sequentially regardless of the `parallelism` value — the WASM engine does not spawn worker threads. The `parallelism` value IS still wired into the hash computation; output bytes differ for different parallelism values. For interoperability with server-side Node derivations, ensure both sides use the same `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).\n *\n * @param password - The password or passphrase (string or raw bytes).\n *\n * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).\n *\n * @param params - Argon2id parameters. All values are validated before derivation.\n *\n * @returns Success with the derived key bytes, or Failure with a descriptive message.\n *\n * @public\n */\n",
219
+ "docComment": "/**\n * Derives a key using Argon2id via the hash-wasm WASM implementation.\n *\n * @remarks\n *\n * `hash-wasm` computes Argon2id sequentially regardless of the `parallelism` value — the WASM engine does not spawn worker threads. The `parallelism` value IS still wired into the hash computation; output bytes differ for different parallelism values. For interoperability with server-side Node derivations, ensure both sides use the same `parallelism` value (recommend `parallelism: 1` unless compatibility requires otherwise).\n *\n * The optional secret K (RFC 9106 keyed hashing) is wired through to `hash-wasm` and produces output byte-identical to the Node backend. Associated data X, by contrast, is **not supported** by `hash-wasm` (its `argon2id` options have no associated-data field), so a call that supplies non-empty `associatedData` fails loudly rather than silently dropping it and producing wrong bytes — associated data is a Node-only feature. An empty/omitted `associatedData` is a no-op and is accepted.\n *\n * @param password - The password or passphrase (string or raw bytes).\n *\n * @param salt - The salt (must be at least 8 bytes; 16+ bytes recommended).\n *\n * @param params - Argon2id parameters. All values are validated before derivation.\n *\n * @param options - Optional {@link @fgv/ts-extras#CryptoUtils.IArgon2idKeyingOptions | keyed-hashing inputs}. `secret` is honored; non-empty `associatedData` fails (Node-only).\n *\n * @returns Success with the derived key bytes, or Failure with a descriptive message.\n *\n * @public\n */\n",
220
220
  "excerptTokens": [
221
221
  {
222
222
  "kind": "Content",
@@ -249,6 +249,15 @@
249
249
  "text": "CryptoUtils.IArgon2idParams",
250
250
  "canonicalReference": "@fgv/ts-extras!IArgon2idParams:interface"
251
251
  },
252
+ {
253
+ "kind": "Content",
254
+ "text": ", options?: "
255
+ },
256
+ {
257
+ "kind": "Reference",
258
+ "text": "CryptoUtils.IArgon2idKeyingOptions",
259
+ "canonicalReference": "@fgv/ts-extras!IArgon2idKeyingOptions:interface"
260
+ },
252
261
  {
253
262
  "kind": "Content",
254
263
  "text": "): "
@@ -287,8 +296,8 @@
287
296
  ],
288
297
  "isStatic": false,
289
298
  "returnTypeTokenRange": {
290
- "startIndex": 8,
291
- "endIndex": 14
299
+ "startIndex": 10,
300
+ "endIndex": 16
292
301
  },
293
302
  "releaseTag": "Public",
294
303
  "isProtected": false,
@@ -317,6 +326,14 @@
317
326
  "endIndex": 7
318
327
  },
319
328
  "isOptional": false
329
+ },
330
+ {
331
+ "parameterName": "options",
332
+ "parameterTypeTokenRange": {
333
+ "startIndex": 8,
334
+ "endIndex": 9
335
+ },
336
+ "isOptional": true
320
337
  }
321
338
  ],
322
339
  "isOptional": false,
@@ -9,7 +9,7 @@ import { Result } from '@fgv/ts-utils';
9
9
 
10
10
  // @public
11
11
  export class BrowserArgon2Provider implements CryptoUtils.IArgon2idProvider {
12
- argon2id(password: Uint8Array | string, salt: Uint8Array, params: CryptoUtils.IArgon2idParams): Promise<Result<Uint8Array>>;
12
+ argon2id(password: Uint8Array | string, salt: Uint8Array, params: CryptoUtils.IArgon2idParams, options?: CryptoUtils.IArgon2idKeyingOptions): Promise<Result<Uint8Array>>;
13
13
  static create(): Result<BrowserArgon2Provider>;
14
14
  }
15
15