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

Bump ajv from 6.12.6 to 7.2.0 in /tests #3520

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 7, 2021

Bumps ajv from 6.12.6 to 7.2.0.

Release notes

Sourced from ajv's releases.

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

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 example

Other 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:

Allow ":" in keyword names (#1421, @​teq0)

v7.0.4

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

Fixes:

Docs:

v7.0.2

Remove duplicate functions from standalone validation code (#1361)

v7.0.1

Update error message for maxLength/minLength keywords

v7.0.0

Please note: this document covers the changes from v6.12.6.

The main changes

... (truncated)

Commits
  • 9823d1d 7.2.0
  • db553ad fix type inference for JTDSchemaType in compileParser/Serializer
  • 23293be docs: add code block header
  • 848d3f2 docs: JSONDataType
  • 0aa047b fix indentation in code samples, turn off prettier for md files
  • 22aa683 Merge pull request #1458 from erikbrinkman/jtd-data
  • d5b4aa7 Merge branch 'master' into jtd-data
  • 937643e Merge pull request #1475 from erikbrinkman/infer
  • bbf7a51 Merge branch 'master' into infer
  • 80d09b3 Merge pull request #1456 from erikbrinkman/null
  • Additional commits viewable in compare view

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 dependabot bot added the dependencies Pull requests that update a dependency file label Mar 7, 2021
@mergify
Copy link
Contributor

mergify bot commented Mar 7, 2021

bors r+

bors bot added a commit that referenced this pull request Mar 7, 2021
3520: Bump ajv from 6.12.6 to 7.2.0 in /tests r=mergify[bot] a=dependabot[bot]

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.6 to 7.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ajv-validator/ajv/releases">ajv's releases</a>.</em></p>
<blockquote>
<h2>v7.2.0</h2>
<p>strictRequired option (off by default) - to log or fail if properties used in JSON Schema &quot;required&quot; are not defined in &quot;properties&quot; (<a href="https://github.com/PBug90"><code>@​PBug90</code></a>, <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1403">#1403</a>)</p>
<p>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 (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1454">#1454</a>) - see examples in <a href="https://ajv.js.org/guide/getting-started.html#parsing-and-serializing-json">javascript</a> and <a href="https://ajv.js.org/guide/typescript.html#type-safe-parsers-and-serializers">typescript</a></p>
<p>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!</p>
<p>Improved TypeScript support for JSONSchemaType:</p>
<ul>
<li>JTDSchemaType<!-- raw HTML omitted --> 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 (<a href="https://github.com/erikbrinkman"><code>@​erikbrinkman</code></a>, <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1446">#1446</a>, <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1456">#1456</a>, <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1457">#1457</a>, <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1475">#1475</a>) - see <a href="https://ajv.js.org/guide/typescript.html#utility-types-for-schemas">example here</a></li>
<li>Alternatively, you can use JTDDataType<!-- raw HTML omitted --> utility type to convert your JTD schema type into the type of data (<a href="https://github.com/erikbrinkman"><code>@​erikbrinkman</code></a>, <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1458">#1458</a>) - see <a href="https://ajv.js.org/guide/typescript.html#utility-type-for-jtd-data-type">this example</a></li>
</ul>
<p>Other improvements by <a href="https://github.com/Fdawgs"><code>@​Fdawgs</code></a> (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1466">#1466</a>), <a href="https://github.com/t7yang"><code>@​t7yang</code></a> (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1472">#1472</a>, <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1473">#1473</a>), <a href="https://github.com/koba04"><code>@​koba04</code></a> (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1460">#1460</a>),</p>
<h2>v7.1.1</h2>
<p>Support readonly arrays with JSONSchemaType (<a href="https://github.com/LinusU"><code>@​LinusU</code></a>, <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1447">#1447</a>)</p>
<h2>v7.1.0</h2>
<p>Support for JSON Type Definition RFC 8927 - a simple schema language provided as an alternative to JSON Schema.</p>
<p>See these docs:</p>
<ul>
<li>an <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-type-definition.md">informal document</a> in Ajv repo</li>
<li><a href="https://datatracker.ietf.org/doc/rfc8927/">RFC8927</a></li>
<li><a href="https://github.com/ajv-validator/ajv#choosing-schema-language">choosing schema language</a> - comparison with JSON Schema</li>
</ul>
<p>Allow &quot;:&quot; in keyword names (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1421">#1421</a>, <a href="https://github.com/teq0"><code>@​teq0</code></a>)</p>
<h2>v7.0.4</h2>
<p>Fix: duplicate functions in standalone validation code with mutually recursive schemas (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1361">#1361</a>)
Fix: reference resolution when base URI change was not applied (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1414">#1414</a>)</p>
<h2>v7.0.3</h2>
<p>Fixes:</p>
<ul>
<li>oneOf error type (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1368">#1368</a>, <a href="https://github.com/G-Rath"><code>@​G-Rath</code></a>)</li>
<li>remove multiple imports (rollup/plugins#745)</li>
</ul>
<p>Docs:</p>
<ul>
<li>Using in ES5 (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1364">#1364</a>, <a href="https://github.com/aladdin-add"><code>@​aladdin-add</code></a>)</li>
<li>Option strictTypes: false has to be used with json-schema-secure schema (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1373">#1373</a>)</li>
</ul>
<h2>v7.0.2</h2>
<p>Remove duplicate functions from standalone validation code (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1361">#1361</a>)</p>
<h2>v7.0.1</h2>
<p>Update error message for <code>maxLength</code>/<code>minLength</code> keywords</p>
<h2>v7.0.0</h2>
<p>Please note: this document covers the changes from v6.12.6.</p>
<h1>The main changes</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ajv-validator/ajv/commit/9823d1d588762e10a05d5260c83a057eb11be3d8"><code>9823d1d</code></a> 7.2.0</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/db553ad00d8046ffc75b821c12a3e3ab5cea38d0"><code>db553ad</code></a> fix type inference for JTDSchemaType in compileParser/Serializer</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/23293bea73df2eb5add6cf384cc06785e69cae2d"><code>23293be</code></a> docs: add code block header</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/848d3f236a4792feee440733ab5948094acb3b7d"><code>848d3f2</code></a> docs: JSONDataType</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/0aa047bad652129ff39df2a403387988cf60e636"><code>0aa047b</code></a> fix indentation in code samples, turn off prettier for md files</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/22aa6833a09277df85966aa7e4c176546521d18d"><code>22aa683</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1458">#1458</a> from erikbrinkman/jtd-data</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/d5b4aa7d62334385cb3105f90494c449cb623a59"><code>d5b4aa7</code></a> Merge branch 'master' into jtd-data</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/937643ea98362c1d03e95e28b81f1098388e3c1f"><code>937643e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1475">#1475</a> from erikbrinkman/infer</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/bbf7a51c8712478ec7afd38b10734b561b541d79"><code>bbf7a51</code></a> Merge branch 'master' into infer</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/80d09b3431ed34e44691e3018d14d0e8a4fdf5d5"><code>80d09b3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1456">#1456</a> from erikbrinkman/null</li>
<li>Additional commits viewable in <a href="https://github.com/ajv-validator/ajv/compare/v6.12.6...v7.2.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ajv&package-manager=npm_and_yarn&previous-version=6.12.6&new-version=7.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Mar 7, 2021

Build failed:

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 8, 2021

Superseded by #3521.

@dependabot dependabot bot closed this Mar 8, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tests/ajv-7.2.0 branch March 8, 2021 14:05
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.

0 participants