prefix-safe-json 0.4.0 → 0.4.1
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/README.md +10 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# prefix-safe-json
|
|
2
2
|
|
|
3
|
-
> **v0.4.
|
|
3
|
+
> **v0.4.1** — Core APIs are stable; raw provider adapters remain
|
|
4
4
|
> experimental. See [Current Status](#current-status) and
|
|
5
5
|
> [CHANGELOG.md](CHANGELOG.md).
|
|
6
6
|
|
|
@@ -20,7 +20,10 @@ pnpm add prefix-safe-json ai
|
|
|
20
20
|
# or: npm install prefix-safe-json ai
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
The package is ESM-only and
|
|
23
|
+
The published package is ESM-only and supports Node `>=18.0.0`. Repository
|
|
24
|
+
development and release jobs remain on Node 22/24 because the development
|
|
25
|
+
toolchain and the exact `ai@7.0.77` lifecycle proof require newer Node; those
|
|
26
|
+
requirements do not apply to the package's runtime dependency graph.
|
|
24
27
|
|
|
25
28
|
## Recommended AI SDK boundary
|
|
26
29
|
|
|
@@ -395,11 +398,12 @@ A schema mismatch also surfaces as a coordinator diagnostic (`E_SCHEMA_VALIDATIO
|
|
|
395
398
|
## Package requirements
|
|
396
399
|
|
|
397
400
|
ESM only — `import`, not `require`. There is currently no CommonJS build.
|
|
398
|
-
Node `>=
|
|
399
|
-
|
|
401
|
+
Node `>=18.0.0`. Node 18/20 are end-of-life and no longer receive security
|
|
402
|
+
patches; compatibility here describes the package runtime, not a recommendation
|
|
403
|
+
to operate an unpatched Node release. See
|
|
400
404
|
[`docs/COMPATIBILITY.md`](docs/COMPATIBILITY.md) for the full
|
|
401
|
-
|
|
402
|
-
compatibility matrix.
|
|
405
|
+
runtime-versus-toolchain distinction, exact AI SDK pin requirements, and the
|
|
406
|
+
per-provider compatibility matrix.
|
|
403
407
|
|
|
404
408
|
## Low-level API: Quick Start
|
|
405
409
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prefix-safe-json",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Fail-closed execution integrity for streamed LLM tool calls — reject truncated or unconfirmed arguments before side effects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"json",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"README.md"
|
|
42
42
|
],
|
|
43
43
|
"engines": {
|
|
44
|
-
"node": ">=
|
|
44
|
+
"node": ">=18.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"ajv": "^8.20.0"
|