better-ajv-errors
Advanced tools
Changelog
1.2.0
Changelog
1.1.0
ade58e0: :package: Swap json-to-ast
with momoa
| | 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: :package: Restrict leven
version to < 4
leven@4
only ships esm
module which is not compatible with this library.
Changelog
1.0.0
146a859: :package: better-ajv-errors v1
Dropped support for Node.js < 12.13.0
Default import in CommonJS format no longer supported
:no_entry_sign: Wrong
const betterAjvErrors = require('better-ajv-errors');
:white_check_mark: Correct
const betterAjvErrors = require('better-ajv-errors').default;
// Or
const { default: betterAjvErrors } = require('better-ajv-errors');
babel
to esbuild
(99% faster build: from 2170ms
to 20ms
)
dependencies
& devDependencies
ad60e6b: :nail_care: Improve typings and add test