@fgv/ts-web-extras-argon2 5.1.0-55 → 5.1.0-56

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 (2) hide show
  1. package/CAPABILITIES.md +31 -0
  2. package/package.json +14 -13
@@ -0,0 +1,31 @@
1
+ # `@fgv/ts-web-extras-argon2` — Browser/WASM Argon2id provider
2
+
3
+ > **This file is authoritative for what ``@fgv/ts-web-extras-argon2`` provides and what not to hand-roll.**
4
+ > `README.md`, where present, is getting-started material. The always-loaded index at
5
+ > [`.ai/instructions/LIBRARY_CAPABILITIES.md`](../../.ai/instructions/LIBRARY_CAPABILITIES.md)
6
+ > routes here; it never duplicates this content.
7
+
8
+
9
+ ---
10
+
11
+ [libraries/ts-web-extras-argon2](https://github.com/ErikFortune/fgv/tree/release/libraries/ts-web-extras-argon2)
12
+
13
+ `BrowserArgon2Provider` — pure-WASM implementation of `IArgon2idProvider` backed by `hash-wasm`. No Web Crypto dependency; runs identically in browsers and Node.js. The WASM engine does not spawn threads — `parallelism` affects the hash value but execution is always sequential; recommend `parallelism: 1` for browser use unless you need server/client key-derivation agreement with a server that uses a different parallelism. **Output is byte-identical to `NodeArgon2Provider` for the same inputs and parameters**, verified by the cross-runtime test suite in `ts-extras-argon2`.
14
+
15
+ ---
16
+
17
+ ## Decision shortcuts
18
+
19
+ - **Need an Argon2id provider (browser / WASM)?** → `BrowserArgon2Provider.create()` from `@fgv/ts-web-extras-argon2`.
20
+
21
+ ---
22
+
23
+ ## Recent additions
24
+
25
+ *Newest first. **Generated** — see the repo index; do not hand-edit inside the markers.*
26
+
27
+ <!-- BEGIN GENERATED: recent-additions -->
28
+
29
+ - **2026-05** — Both implement `CryptoUtils.IArgon2idProvider` from `@fgv/ts-extras`. Output is byte-identical for the same inputs, verified by RFC 9106 §B.3 parameter set test vector and a 7-case parameter sweep. ([#344](https://github.com/ErikFortune/fgv/pull/344))
30
+
31
+ <!-- END GENERATED: recent-additions -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fgv/ts-web-extras-argon2",
3
- "version": "5.1.0-55",
3
+ "version": "5.1.0-56",
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",
@@ -16,6 +16,7 @@
16
16
  "dist",
17
17
  "CHANGELOG.json",
18
18
  "README.md",
19
+ "CAPABILITIES.md",
19
20
  "LICENSE",
20
21
  "!lib/test",
21
22
  "!dist/test",
@@ -43,7 +44,7 @@
43
44
  },
44
45
  "devDependencies": {
45
46
  "@microsoft/api-extractor": "^7.55.2",
46
- "@types/jest": "^29.5.14",
47
+ "@types/jest": "^30.0.0",
47
48
  "@types/node": "^20.14.9",
48
49
  "@typescript-eslint/eslint-plugin": "^8.52.0",
49
50
  "@typescript-eslint/parser": "^8.52.0",
@@ -53,30 +54,30 @@
53
54
  "eslint-plugin-node": "^11.1.0",
54
55
  "eslint-plugin-prettier": "^5.5.4",
55
56
  "eslint-plugin-promise": "^7.2.1",
56
- "jest": "^29.7.0",
57
+ "jest": "^30.5.2",
57
58
  "prettier": "^3.7.4",
58
59
  "rimraf": "^6.1.2",
59
- "ts-jest": "^29.4.6",
60
+ "ts-jest": "^29.4.12",
60
61
  "ts-node": "^10.9.2",
61
62
  "typescript": "5.9.3",
62
63
  "eslint-plugin-n": "^17.23.1",
63
64
  "@rushstack/eslint-config": "4.6.4",
64
- "@rushstack/heft": "1.2.7",
65
- "@rushstack/heft-jest-plugin": "1.2.6",
66
- "@rushstack/heft-node-rig": "2.11.27",
65
+ "@rushstack/heft": "1.3.0",
66
+ "@rushstack/heft-jest-plugin": "2.0.17",
67
+ "@rushstack/heft-node-rig": "2.11.50",
67
68
  "@types/heft-jest": "1.0.6",
68
69
  "eslint-plugin-tsdoc": "~0.5.2",
69
- "@fgv/heft-dual-rig": "5.1.0-55",
70
- "@fgv/ts-extras": "5.1.0-55",
71
- "@fgv/ts-utils-jest": "5.1.0-55",
72
- "@fgv/ts-utils": "5.1.0-55"
70
+ "@fgv/heft-dual-rig": "5.1.0-56",
71
+ "@fgv/ts-utils": "5.1.0-56",
72
+ "@fgv/ts-extras": "5.1.0-56",
73
+ "@fgv/ts-utils-jest": "5.1.0-56"
73
74
  },
74
75
  "dependencies": {
75
76
  "hash-wasm": "~4.12.0"
76
77
  },
77
78
  "peerDependencies": {
78
- "@fgv/ts-extras": "5.1.0-55",
79
- "@fgv/ts-utils": "5.1.0-55"
79
+ "@fgv/ts-extras": "5.1.0-56",
80
+ "@fgv/ts-utils": "5.1.0-56"
80
81
  },
81
82
  "scripts": {
82
83
  "build": "heft build --clean",