Update dependency ajv to v7 - autoclosed #2
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.12.6
->^7.0.0
Release Notes
ajv-validator/ajv
v7.1.0
Compare Source
Support for JSON Type Definition RFC 8927 - a simple schema language provided as an alternative to JSON Schema.
See these docs:
Allow ":" in keyword names (#1421, @teq0)
v7.0.4
Compare Source
Fix: duplicate functions in standalone validation code with mutually recursive schemas (#1361)
Fix: reference resolution when base URI change was not applied (#1414)
v7.0.3
Compare Source
Fixes:
Docs:
v7.0.2
Compare Source
Remove duplicate functions from standalone validation code (#1361)
v7.0.1
Compare Source
Update error message for
maxLength
/minLength
keywordsv7.0.0
Compare Source
Please note: this document covers the changes from v6.12.6.
The main changes
unevaluatedProperties
andunevaluatedItems
, dynamic recursive references and other additional keywords.Please note:
new
keyword, as Ajv is now ES6 class.post: true
in keyword definition.Better TypeScript support:
compile
andcompileAsync
now return type-guards - see Getting started.validate
is a type-guard.API changes:
new
keyword (it is ES6 class).Added options (and defaults):
loopRequired
Changed options:
keywords
- now expects the array of keyword definitions (old API works with "deprecated" warning)Removed options:
validateFormats: false
can be used instead, old format mode can be chosen via ajv-formats package.nullable
keyword is supported by default.jsPropertySyntax: true
(deprecated) can be used if old format is needed.ignoreKeywordsWithRef
(deprecated) can be used instead to ignore $ref siblings.code: {process: (code, schemaEnv: object) => string}
.code: {source: true}
.strict
.ajv.addFormat
orformats
option.Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.