- 3918d58: Add integration with ajv-errors
- 6120105: Remove for...in loop to prevent possible enumeration errors
- a1cafc8: π§ Fix esm build
- 7c83bf6: π Fix cli return type
-
ade58e0: π¦ Swap
json-to-ast
withmomoa
json-to-ast
momoa
Small JSON 23B
254,556 ops/sec 329,012 ops/sec Medium JSON 55KB
226 ops/sec 246 ops/sec Large JSON 25MB
0.19 ops/sec 0.29 ops/sec
-
abee681: π¦ Restrict
leven
version to < 4leven@4
only shipsesm
module which is not compatible with this library.
-
146a859: π¦ better-ajv-errors v1
-
Dropped support for Node.js
< 12.13.0
-
Default import in CommonJS format no longer supported
π« Wrong
const betterAjvErrors = require('better-ajv-errors');
β Correct
const betterAjvErrors = require('better-ajv-errors').default; // Or const { default: betterAjvErrors } = require('better-ajv-errors');
- Added ESM support
- Moved from
babel
toesbuild
(99% faster build: from2170ms
to20ms
) - Bumped all
dependencies
&devDependencies
-
-
ad60e6b: π Improve typings and add test
- New TypeScript types are not fully backward compatible
- 768ce0f: Bump ws from 5.2.2 to 5.2.3
- dc45eb7: Bump tar from 4.4.10 to 4.4.19
- 5ef7b1e: Bump path-parse from 1.0.6 to 1.0.7
- 3ef2bbc: Bump tmpl from 1.0.4 to 1.0.5
- 46b57d3: Bump color-string from 1.5.3 to 1.6.0
- d568784: Bump lodash from 4.17.10 to 4.17.21
- e71f114: Bump browserslist from 4.7.0 to 4.17.6
- 2513443: π Bump
jsonpointer
- CVE-2021-23807
- 25cf308: π Bump
jsonpointer
- CVE-2021-23807
- 8846dda: ajv 8 support
- 4e6e4c7: Support json option to get accurate line/column listings
- 234c01d: Handle primitive values in EnumValidationError
- 84517c3: Fix a bug where enum error shows duplicate allowed values
- f2e0424: Fix a bug where nested errors were ignored when top level had enum errors