@fgv/ts-extras-argon2 5.1.0-54 → 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.
- package/CAPABILITIES.md +31 -0
- package/package.json +15 -14
package/CAPABILITIES.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# `@fgv/ts-extras-argon2` — Node Argon2id provider
|
|
2
|
+
|
|
3
|
+
> **This file is authoritative for what ``@fgv/ts-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-extras-argon2](https://github.com/ErikFortune/fgv/tree/release/libraries/ts-extras-argon2)
|
|
12
|
+
|
|
13
|
+
`NodeArgon2Provider` — Node.js implementation of `IArgon2idProvider` backed by the `argon2` (kelektiv) native binding. Use `NodeArgon2Provider.create()` and pass the instance to `KeyStore.addSecretFromPasswordArgon2id` / `verifySecretFromPasswordArgon2id`. Also re-exports `CryptoUtils` from `@fgv/ts-extras` for consumer convenience. **Node-only; for browser use `@fgv/ts-web-extras-argon2` instead.**
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Decision shortcuts
|
|
18
|
+
|
|
19
|
+
- **Need an Argon2id provider (Node)?** → `NodeArgon2Provider.create()` from `@fgv/ts-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-extras-argon2",
|
|
3
|
-
"version": "5.1.0-
|
|
3
|
+
"version": "5.1.0-56",
|
|
4
4
|
"description": "Argon2id key derivation for Node.js (wraps argon2/kelektiv)",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "dist/ts-extras-argon2.d.ts",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"dist",
|
|
20
20
|
"CHANGELOG.json",
|
|
21
21
|
"README.md",
|
|
22
|
+
"CAPABILITIES.md",
|
|
22
23
|
"LICENSE",
|
|
23
24
|
"!lib/test",
|
|
24
25
|
"!dist/test",
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@microsoft/api-extractor": "^7.55.2",
|
|
47
|
-
"@types/jest": "^
|
|
48
|
+
"@types/jest": "^30.0.0",
|
|
48
49
|
"@types/node": "^20.14.9",
|
|
49
50
|
"@typescript-eslint/eslint-plugin": "^8.52.0",
|
|
50
51
|
"@typescript-eslint/parser": "^8.52.0",
|
|
@@ -54,31 +55,31 @@
|
|
|
54
55
|
"eslint-plugin-node": "^11.1.0",
|
|
55
56
|
"eslint-plugin-prettier": "^5.5.4",
|
|
56
57
|
"eslint-plugin-promise": "^7.2.1",
|
|
57
|
-
"jest": "^
|
|
58
|
+
"jest": "^30.5.2",
|
|
58
59
|
"prettier": "^3.7.4",
|
|
59
60
|
"rimraf": "^6.1.2",
|
|
60
|
-
"ts-jest": "^29.4.
|
|
61
|
+
"ts-jest": "^29.4.12",
|
|
61
62
|
"ts-node": "^10.9.2",
|
|
62
63
|
"typescript": "5.9.3",
|
|
63
64
|
"eslint-plugin-n": "^17.23.1",
|
|
64
65
|
"@rushstack/eslint-config": "4.6.4",
|
|
65
|
-
"@rushstack/heft": "1.
|
|
66
|
-
"@rushstack/heft-jest-plugin": "
|
|
67
|
-
"@rushstack/heft-node-rig": "2.11.
|
|
66
|
+
"@rushstack/heft": "1.3.0",
|
|
67
|
+
"@rushstack/heft-jest-plugin": "2.0.17",
|
|
68
|
+
"@rushstack/heft-node-rig": "2.11.50",
|
|
68
69
|
"@types/heft-jest": "1.0.6",
|
|
69
70
|
"eslint-plugin-tsdoc": "~0.5.2",
|
|
70
|
-
"@fgv/heft-dual-rig": "5.1.0-
|
|
71
|
-
"@fgv/ts-
|
|
72
|
-
"@fgv/ts-
|
|
73
|
-
"@fgv/ts-
|
|
74
|
-
"@fgv/ts-
|
|
71
|
+
"@fgv/heft-dual-rig": "5.1.0-56",
|
|
72
|
+
"@fgv/ts-utils": "5.1.0-56",
|
|
73
|
+
"@fgv/ts-extras": "5.1.0-56",
|
|
74
|
+
"@fgv/ts-utils-jest": "5.1.0-56",
|
|
75
|
+
"@fgv/ts-web-extras-argon2": "5.1.0-56"
|
|
75
76
|
},
|
|
76
77
|
"dependencies": {
|
|
77
78
|
"argon2": "^0.45.0"
|
|
78
79
|
},
|
|
79
80
|
"peerDependencies": {
|
|
80
|
-
"@fgv/ts-extras": "5.1.0-
|
|
81
|
-
"@fgv/ts-utils": "5.1.0-
|
|
81
|
+
"@fgv/ts-extras": "5.1.0-56",
|
|
82
|
+
"@fgv/ts-utils": "5.1.0-56"
|
|
82
83
|
},
|
|
83
84
|
"scripts": {
|
|
84
85
|
"build": "heft build --clean",
|