llm-output-guard 1.11.3 → 1.11.4
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 +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -276,7 +276,7 @@ because only one of those is evidence.
|
|
|
276
276
|
|
|
277
277
|
- **Zero runtime dependencies**, enforced in CI. Node ≥ 18; works on edge, browser, Deno, Bun.
|
|
278
278
|
- **The size claim is a budget, not a memory.** `npm run size` bundles each entry, minifies and gzips it, and fails over budget — enforced in CI beside the zero-dependency check, because a number in prose is the cheapest thing in a repo to go stale.
|
|
279
|
-
- **Types resolve on old and new TypeScript alike
|
|
279
|
+
- **Types resolve on old and new TypeScript alike**, and it is checked rather than assumed. `npm run check:resolution` packs the tarball and typechecks every entry point under `node`, `node16`, `nodenext` and `bundler` on TypeScript 5 and 7 — enforced in CI. `moduleResolution: "node"` ignores the `exports` map, which is why `typesVersions` is there too.
|
|
280
280
|
- **Pure and synchronous.** No network, no clock, no randomness — safe on a hot path, trivial to test.
|
|
281
281
|
- **Scores, not booleans.** Detectors report 0–1 and leave the threshold decision to you.
|
|
282
282
|
- **Abstains rather than guesses.** Samples too short to judge score 0.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "llm-output-guard",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.4",
|
|
4
4
|
"funding": {
|
|
5
5
|
"type": "github",
|
|
6
6
|
"url": "https://github.com/sponsors/edwinsatya"
|
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
"measure:agent": "tsx scripts/measure-agent.ts",
|
|
124
124
|
"pin:agent": "tsx scripts/pin-agent-fixtures.ts",
|
|
125
125
|
"check:peers": "node scripts/check-peers.mjs",
|
|
126
|
+
"check:resolution": "node scripts/check-resolution.mjs",
|
|
126
127
|
"seed": "node scripts/seed-fixtures.mjs",
|
|
127
128
|
"provoke": "npm run build --silent && node scripts/generate-fixtures.mjs",
|
|
128
129
|
"playground": "npm run build --silent && node scripts/build-playground.mjs",
|