@amritk/generate-parsers 0.22.0 → 0.23.0

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/README.md +4 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -331,7 +331,7 @@ each schema in the official
331
331
  (the required Draft 2020-12 tests — 1281 cases), links the emitted files in
332
332
  memory, and runs the suite's instances through the real generated code:
333
333
 
334
- **1240 / 1281 cases pass (96.8%).**
334
+ **1242 / 1281 cases pass (97.0%).**
335
335
 
336
336
  A case passes only if the parser throws exactly when the spec says invalid *and*
337
337
  returns an accepted document unchanged — strict mode does not coerce, so a parser
@@ -343,14 +343,14 @@ no I/O to answer the retrieval step. Everything else — applying the base URIs,
343
343
  walking anchors across documents, emitting a parser per definition and an import
344
344
  graph that links — the generator still has to do.
345
345
 
346
- Of the 41 that do not, **18** follow from the third departure above — the
346
+ Of the 39 that do not, **18** follow from the third departure above — the
347
347
  `ignores a non-object` cases plus three `ref.json` cases where a recursive `$ref`
348
348
  lands on a root that declares `properties` — and **12** are a keyword strict mode will not
349
349
  approximate (a cyclic `$ref` with siblings, a cyclic `unevaluatedProperties`) —
350
350
  those cost a build error naming the cause, never a wrong verdict. The rest: **8**
351
351
  `$dynamicRef`s whose binding depends on the evaluation path (a generator emits one
352
- function per definition, shared by every path that reaches it), **2** embedded
353
- resources whose definitions reduce to one filename, and one `$vocabulary` case.
352
+ function per definition, shared by every path that reaches it), and one
353
+ `$vocabulary` case.
354
354
 
355
355
  Every one is listed in
356
356
  `src/generators/json-schema-conformance-expected-failures.test-utils.ts` with the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amritk/generate-parsers",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "Generate TypeScript parsers and type definitions from JSON Schemas.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -60,10 +60,10 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "json-schema-typed": "^8.0.1",
63
- "@amritk/helpers": "^0.20.0"
63
+ "@amritk/helpers": "^0.21.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@amritk/generate-markdown": "^0.6.0",
66
+ "@amritk/generate-markdown": "^0.7.0",
67
67
  "@sinclair/typebox": "^0.34.49",
68
68
  "ajv": "^8.17.1",
69
69
  "benny": "^3.7.1",