chore(deps-dev): bump ajv from 6.12.6 to 7.2.4
Bumps ajv from 6.12.6 to 7.2.4.
Release notes
Sourced from ajv's releases.
v7.2.4
Fix #1515: correctly initialize evaluated properties.
v7.2.3
Remove docs from npm package
v7.2.2
Docs correction Simplified JSONSchemaType (
@erikbrinkman) Fix #1493 - incorrect reporting of missing required property with optionownProperties: trueFix #1501 - JTD not working correctly with many properties in the schemav7.2.1
Add tests and fix parsers compiled with
ajv.compileParserfrom JTD schemas:
- fail on invalid JSON:
- trailing comma in arrays/objects
- invalid JSON numbers
- control characters in strings
- fix parsing of u-escaped characters
- do not fail on duplicate object keys (consistent with JSON.parse)
Compiled parsers are now:
- consistent with JSON.parse in case of invalid JSON
- only parse data that is valid for JTD schema
It is a breaking change for compiled parsers compared with 7.2.0 that was released earlier on the same day.
v7.2.0
strictRequired option (off by default) - to log or fail if properties used in JSON Schema "required" are not defined in "properties" (
@PBug90, #1403)Compiled parsers (as fast as JSON.parse on valid JSON, but replace validation and fail much faster on invalid JSON) and serializers (10x+ faster than JSON.stringify) from JSON Type Definition schemas (#1454) - see examples in javascript and typescript
Please note: there are fixes to compiled parsers in 7.2.1
The website migrated to VuePress and documentation is restructured to make navigating Ajv documentation and learning easier - this is still work in progress, but already some improvement on the information structure. Any feedback/corrections would be very much appreciated!
Improved TypeScript support for JSONSchemaType:
- JTDSchemaType utility type to convert your data type into the type of JTD schema, to simplify its writing and to make sure it is consistent with your data type, with type inference support for ajv methods (
@erikbrinkman, #1446, #1456, #1457, #1475) - see example here- Alternatively, you can use JTDDataType utility type to convert your JTD schema type into the type of data (
@erikbrinkman, #1458) - see this exampleOther improvements by
@Fdawgs(#1466),@t7yang(#1472, #1473),@koba04(#1460)v7.1.1
Support readonly arrays with JSONSchemaType (
@LinusU, #1447)v7.1.0
Support for JSON Type Definition RFC 8927 - a simple schema language provided as an alternative to JSON Schema.
See these docs:
- an informal document on Ajv site
... (truncated)
Commits
d6585487.2.46014412fix: correctly initialize evaluated properties with nested anyOf (etc.), clos...46d91d7Merge pull request #1511 from radekmie/patch-1c0b2476Updated options docs link.1b076637.2.343f448cremove docs from npm package678f2437.2.24f83021fix incorrect missing property reporting with ownProperties option, closes #14933ae14a3fix incorrect code for additional properties when there are "many" properties...2ada8d6Merge pull request #1499 from ajv-validator/format-vue- Additional commits viewable in compare view
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
|---|---|
| ajv | [>= 8.a, < 9] |
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Labels
The following labels could not be found: javascript. Please create it before Dependabot can add it to a pull request.
Please fix the above issues or remove invalid values from dependabot.yml.