Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency ajv to v8 #1248

Merged
merged 2 commits into from
Apr 24, 2021
Merged

fix(deps): update dependency ajv to v8 #1248

merged 2 commits into from
Apr 24, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 27, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ajv (source) ^7.0.0 -> ^8.0.0 age adoption passing confidence

Release Notes

ajv-validator/ajv

v8.1.0

Compare Source

unicodeRegExp option to not use RegExp unicode flag that may be incompatible with some environments (@​asaid-0, #​1530)
Fix JSONSchemaType (@​erikbrinkman, #​1541)
Extended error message for invalid keyword values (@​pcwiek, #​1542)

v8.0.5

Compare Source

Fix: add source code back to npm package, 8.0.4 is breaking ajv-cli (and possibly other things)

v8.0.4

Compare Source

Reduce npm bundle size

v8.0.3

Compare Source

Improve JSONSchemaType errors (@​erikbrinkman, #​1525)

v8.0.2

Compare Source

Support RegExp formats in standalone code (#​1470)
Add schema path to strictTuple error message (@​asaid-0, #​1519)

v8.0.1

Compare Source

Typescript: export function getData (for ajv-errors)

v8.0.0

Compare Source

This document describes changes from v7.2.4 to v8.0.0.

If you are migrating from v6 you can use this document.

New features

Support JSON Schema draft-2020-12: prefixItems keyword and changed semantics of items keyword, dynamic recursive references.
OpenAPI discriminator keyword.
Improved JSON Type Definition support:

  • errors consistent with JTD specification.
  • error objects with additional properties to simplify error handling (see Error objects)
  • internationalized error messages with ajv-i18n
    TypeScript: support type unions in JSONSchemaType

Other changes / improvements

Node.js require works without .default property - see examples in Getting started
Reduce runtime dependency for standalone validation code
Fix resolution of $ref: "#" when $id is present (#​815)

Breaking changes

Option strict controls all strict mode restrictions
JSON Schema validation errors changes:

  • dataPath property replaced with instancePath
  • "should" replaced with "must" in the messages
  • property name is removed from "propertyName" keyword error message (it is still available in error.params.propertyName).

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added [status] needs review PRs that are ready to be reviewed. [type] chore labels Mar 27, 2021
@renovate renovate bot force-pushed the renovate/ajv-8.x branch from af7c974 to 6450677 Compare March 30, 2021 11:10
@renovate renovate bot force-pushed the renovate/ajv-8.x branch from 6450677 to 0da6f16 Compare April 22, 2021 14:26
@renovate renovate bot force-pushed the renovate/ajv-8.x branch from 60f5c06 to 7af43a7 Compare April 24, 2021 07:29
@sr258 sr258 merged commit 90fcabd into master Apr 24, 2021
@renovate renovate bot deleted the renovate/ajv-8.x branch April 24, 2021 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[status] needs review PRs that are ready to be reviewed. [type] chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants