ata-validator 0.4.15 → 0.5.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.
- package/README.md +86 -21
- package/index.d.ts +4 -0
- package/index.js +147 -31
- package/lib/draft7.js +82 -0
- package/lib/js-compiler.js +563 -62
- package/package.json +8 -4
- package/prebuilds/darwin-arm64/ata-validator.node +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ata-validator",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Ultra-fast JSON Schema validator
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Ultra-fast JSON Schema validator with full ajv feature parity. 5.9x faster validation on complex schemas, 2,184x faster compilation. Cross-schema $ref, Draft 7 support, patternProperties/dependentSchemas/propertyNames codegen. V8-optimized JS codegen, simdjson, RE2, multi-core. Standard Schema V1 compatible.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"test:suite": "node tests/run_suite.js",
|
|
14
14
|
"test:compat": "node tests/test_compat.js",
|
|
15
15
|
"test:standard-schema": "node tests/test_standard_schema.js",
|
|
16
|
-
"bench": "node benchmark/bench_large.js"
|
|
16
|
+
"bench": "node benchmark/bench_large.js",
|
|
17
|
+
"fuzz": "node tests/fuzz_differential.js",
|
|
18
|
+
"fuzz:long": "FUZZ_ITERATIONS=100000 node tests/fuzz_differential.js"
|
|
17
19
|
},
|
|
18
20
|
"keywords": [
|
|
19
21
|
"json",
|
|
@@ -67,7 +69,9 @@
|
|
|
67
69
|
"mitata": "^1.0.34",
|
|
68
70
|
"node-gyp": "^11.0.0",
|
|
69
71
|
"prebuildify": "^6.0.1",
|
|
70
|
-
"typebox": "^1.1.7"
|
|
72
|
+
"typebox": "^1.1.7",
|
|
73
|
+
"valibot": "^1.3.1",
|
|
74
|
+
"zod": "^4.3.6"
|
|
71
75
|
},
|
|
72
76
|
"gypfile": true
|
|
73
77
|
}
|
|
Binary file
|