Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Bump ajv from 7.1.1 to 8.0.1 #350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Mar 29, 2021

Bumps ajv from 7.1.1 to 8.0.1.

Release notes

Sourced from ajv's releases.

v8.0.1

Typescript: export function getData (for ajv-errors)

v8.0.0

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).

v8.0.0-beta.4

Revert the change for strict mode options in v8.0.0-beta.1 to allow overrides to disable some options, not only to enable.

These strict mode options are available: strictSchema - new, equivalent to strict: true in v7, default true strictNumbers - reinstated from v6, but with default true strictTypes - same as in v7, default "log" strictTuples - same as in v7, default "log" strictTuples - same as in v7, default false

Option strict sets all options above to the same value.

v8.0.0-beta.3

JSON Schema draft2012-12 support - prefixItems, new semantics of items, dynamicRef and dynamicAnchor

Fixes:

  • #815 - incorrect resolution of $ref: "#" with $id in subschema
  • #1493 - incorrect error message for missing property with ownProperties: true option

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 29, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #352.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/ajv-8.0.1 branch March 29, 2021 14:00
@JeyM1 JeyM1 restored the dependabot/npm_and_yarn/ajv-8.0.1 branch March 30, 2021 10:42
@JeyM1 JeyM1 reopened this Mar 30, 2021
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/ajv-8.0.1 branch 2 times, most recently from c283727 to be5211b Compare April 3, 2021 20:11
Bumps [ajv](https://github.com/ajv-validator/ajv) from 7.1.1 to 8.0.1.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v7.1.1...v8.0.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented Apr 3, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant