ata-validator 1.47.0 → 1.49.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/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "ata-validator",
3
- "version": "1.47.0",
3
+ "version": "1.49.0",
4
4
  "description": "JSON Schema validator that compiles to plain JavaScript, still runs where code generation is blocked, and can be compiled away at build time. Passes the full official test suite.",
5
+ "type": "commonjs",
5
6
  "main": "index.js",
6
7
  "module": "index.mjs",
7
8
  "types": "index.d.ts",
@@ -48,6 +49,11 @@
48
49
  "import": "./compiled-verdict.mjs",
49
50
  "require": "./compiled-verdict.js"
50
51
  },
52
+ "./lite": {
53
+ "types": "./lite.d.ts",
54
+ "import": "./lite.mjs",
55
+ "require": "./lite.js"
56
+ },
51
57
  "./package.json": "./package.json"
52
58
  },
53
59
  "sideEffects": false,
@@ -66,7 +72,7 @@
66
72
  "rebuild": "cmake-js rebuild --target ata",
67
73
  "test": "node tests/run.js",
68
74
  "bench:size": "node benchmark/bench_aot_size.mjs",
69
- "test:suite": "node tests/run_suite.js && node tests/run_suite.js draft7 && node tests/run_suite.js v1",
75
+ "test:suite": "node tests/run_suite.js && node tests/run_suite.js draft7 && node tests/run_suite.js v1 && node tests/run_suite.js draft6 && node tests/run_suite.js draft2019-09",
70
76
  "test:compat": "node tests/test_compat.js",
71
77
  "test:standard-schema": "node tests/test_standard_schema.js",
72
78
  "test:browser": "node tests/test_browser.js",
@@ -138,18 +144,21 @@
138
144
  "compiled-verdict.js",
139
145
  "compiled-verdict.mjs",
140
146
  "compiled-verdict.d.ts",
147
+ "lite.js",
148
+ "lite.mjs",
149
+ "lite.d.ts",
141
150
  "bin/",
142
151
  "README.md",
143
152
  "LICENSE"
144
153
  ],
145
154
  "optionalDependencies": {
146
- "@ata-validator/native-darwin-arm64": "1.47.0",
147
- "@ata-validator/native-darwin-x64": "1.47.0",
148
- "@ata-validator/native-linux-arm64-gnu": "1.47.0",
149
- "@ata-validator/native-linux-arm64-musl": "1.47.0",
150
- "@ata-validator/native-linux-x64-gnu": "1.47.0",
151
- "@ata-validator/native-linux-x64-musl": "1.47.0",
152
- "@ata-validator/native-win32-x64": "1.47.0"
155
+ "@ata-validator/native-darwin-arm64": "1.49.0",
156
+ "@ata-validator/native-darwin-x64": "1.49.0",
157
+ "@ata-validator/native-linux-arm64-gnu": "1.49.0",
158
+ "@ata-validator/native-linux-arm64-musl": "1.49.0",
159
+ "@ata-validator/native-linux-x64-gnu": "1.49.0",
160
+ "@ata-validator/native-linux-x64-musl": "1.49.0",
161
+ "@ata-validator/native-win32-x64": "1.49.0"
153
162
  },
154
163
  "peerDependencies": {
155
164
  "yaml": "^2.0.0"