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.3 in /tests #3546

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

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps ajv from 6.12.6 to 7.2.3.

Release notes

Sourced from ajv's releases.

v7.2.3

Remove docs from npm package

v7.2.2

Docs correction Simplified JSONSchemaType (@​erikbrinkman Fix #1493 - incorrect reporting of missing required property with option ownProperties: true Fix #1501 - JTD not working correctly with many properties in the schema

v7.2.1

Add tests and fix parsers compiled with ajv.compileParser from JTD schemas:

  • fail on invalid JSON:
    • trailing comma in arrays/objects
    • invalid JSON numbers
    • control characters in strings
  • fix parsing of u-escaped characters
  • do not fail on duplicate object keys (consistent with JSON.parse)

Compiled parsers are now:

  • consistent with JSON.parse in case of invalid JSON
  • only parse data that is valid for JTD schema

It is a breaking change for compiled parsers compared with 7.2.0 that was released earlier pn the same day.

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

Please note: there are fixes to compiled parsers in 7.2.1

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:

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

mergify bot commented Mar 21, 2021

bors r+

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

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.6 to 7.2.3.
<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.3</h2>
<p>Remove docs from npm package</p>
<h2>v7.2.2</h2>
<p>Docs correction
Simplified JSONSchemaType (<a href="https://github.com/erikbrinkman"><code>@​erikbrinkman</code></a>
Fix <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1493">#1493</a> - incorrect reporting of missing required property with option <code>ownProperties: true</code>
Fix <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1501">#1501</a> - JTD not working correctly with many properties in the schema</p>
<h2>v7.2.1</h2>
<p>Add <a href="https://github.com/nst/JSONTestSuite">tests</a> and fix parsers compiled with <code>ajv.compileParser</code> from JTD schemas:</p>
<ul>
<li>fail on invalid JSON:
<ul>
<li>trailing comma in arrays/objects</li>
<li>invalid JSON numbers</li>
<li>control characters in strings</li>
</ul>
</li>
<li>fix parsing of u-escaped characters</li>
<li>do not fail on duplicate object keys (consistent with JSON.parse)</li>
</ul>
<p>Compiled parsers are now:</p>
<ul>
<li>consistent with JSON.parse in case of invalid JSON</li>
<li>only parse data that is valid for JTD schema</li>
</ul>
<p>It is a breaking change for compiled parsers compared with 7.2.0 that was released earlier pn the same day.</p>
<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>Please note: there are fixes to compiled parsers in <a href="https://github.com/ajv-validator/ajv/releases/tag/v7.2.1">7.2.1</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://ajv.js.org/json-type-definition.html">informal document</a> on Ajv site</li>
<li><a href="https://datatracker.ietf.org/doc/rfc8927/">RFC8927</a></li>
<li><a href="https://ajv.js.org/guide/schema-language.html">choosing schema language</a> - comparison with JSON Schema</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ajv-validator/ajv/commit/1b07663f3954b48892c7210196f7c6ba08000091"><code>1b07663</code></a> 7.2.3</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/43f448cd82cf2d979e4b7b19afd8c025277cf3c0"><code>43f448c</code></a> remove docs from npm package</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/678f243d7b54e224f4aa9c61305ddc1a59cc64fd"><code>678f243</code></a> 7.2.2</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/4f83021071744bafa79faa2c9f551b07f97af4de"><code>4f83021</code></a> fix incorrect missing property reporting with ownProperties option, closes <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1493">#1493</a></li>
<li><a href="https://github.com/ajv-validator/ajv/commit/3ae14a3bd4098470deee95e4f90a7cf9f99aaf3a"><code>3ae14a3</code></a> fix incorrect code for additional properties when there are &quot;many&quot; properties...</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/2ada8d68131325f0f3dc5d1b247ac4cde6033236"><code>2ada8d6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1499">#1499</a> from ajv-validator/format-vue</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/5ca462954ef211ed9e4272d0db5c1675f4575a28"><code>5ca4629</code></a> chore: format older vue components</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/991651412ee250d22b7ade3108c9e1b771c89d68"><code>9916514</code></a> Merge branch 'cbrwflo-patch-1'</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/f95a6d00ce50a576bd4d9cfe29953a419318aa4d"><code>f95a6d0</code></a> fix link</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/119569d9d70ada0a807b61232125499db4239c17"><code>119569d</code></a> Merge branch 'patch-1' of <a href="https://github.com/cbrwflo/ajv">https://github.com/cbrwflo/ajv</a> into cbrwflo-patch-1</li>
<li>Additional commits viewable in <a href="https://github.com/ajv-validator/ajv/compare/v6.12.6...v7.2.3">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.3)](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 21, 2021

Build failed:

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/tests/ajv-7.2.3 branch from 14d3f54 to d16a36b Compare March 21, 2021 15:02
@mergify
Copy link
Contributor

mergify bot commented Mar 21, 2021

bors r+

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

[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

If you make any changes to it yourself then they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.6 to 7.2.3.
<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.3</h2>
<p>Remove docs from npm package</p>
<h2>v7.2.2</h2>
<p>Docs correction
Simplified JSONSchemaType (<a href="https://github.com/erikbrinkman"><code>@​erikbrinkman</code></a>
Fix <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1493">#1493</a> - incorrect reporting of missing required property with option <code>ownProperties: true</code>
Fix <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1501">#1501</a> - JTD not working correctly with many properties in the schema</p>
<h2>v7.2.1</h2>
<p>Add <a href="https://github.com/nst/JSONTestSuite">tests</a> and fix parsers compiled with <code>ajv.compileParser</code> from JTD schemas:</p>
<ul>
<li>fail on invalid JSON:
<ul>
<li>trailing comma in arrays/objects</li>
<li>invalid JSON numbers</li>
<li>control characters in strings</li>
</ul>
</li>
<li>fix parsing of u-escaped characters</li>
<li>do not fail on duplicate object keys (consistent with JSON.parse)</li>
</ul>
<p>Compiled parsers are now:</p>
<ul>
<li>consistent with JSON.parse in case of invalid JSON</li>
<li>only parse data that is valid for JTD schema</li>
</ul>
<p>It is a breaking change for compiled parsers compared with 7.2.0 that was released earlier pn the same day.</p>
<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>Please note: there are fixes to compiled parsers in <a href="https://github.com/ajv-validator/ajv/releases/tag/v7.2.1">7.2.1</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://ajv.js.org/json-type-definition.html">informal document</a> on Ajv site</li>
<li><a href="https://datatracker.ietf.org/doc/rfc8927/">RFC8927</a></li>
<li><a href="https://ajv.js.org/guide/schema-language.html">choosing schema language</a> - comparison with JSON Schema</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ajv-validator/ajv/commit/1b07663f3954b48892c7210196f7c6ba08000091"><code>1b07663</code></a> 7.2.3</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/43f448cd82cf2d979e4b7b19afd8c025277cf3c0"><code>43f448c</code></a> remove docs from npm package</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/678f243d7b54e224f4aa9c61305ddc1a59cc64fd"><code>678f243</code></a> 7.2.2</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/4f83021071744bafa79faa2c9f551b07f97af4de"><code>4f83021</code></a> fix incorrect missing property reporting with ownProperties option, closes <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1493">#1493</a></li>
<li><a href="https://github.com/ajv-validator/ajv/commit/3ae14a3bd4098470deee95e4f90a7cf9f99aaf3a"><code>3ae14a3</code></a> fix incorrect code for additional properties when there are &quot;many&quot; properties...</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/2ada8d68131325f0f3dc5d1b247ac4cde6033236"><code>2ada8d6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1499">#1499</a> from ajv-validator/format-vue</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/5ca462954ef211ed9e4272d0db5c1675f4575a28"><code>5ca4629</code></a> chore: format older vue components</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/991651412ee250d22b7ade3108c9e1b771c89d68"><code>9916514</code></a> Merge branch 'cbrwflo-patch-1'</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/f95a6d00ce50a576bd4d9cfe29953a419318aa4d"><code>f95a6d0</code></a> fix link</li>
<li><a href="https://github.com/ajv-validator/ajv/commit/119569d9d70ada0a807b61232125499db4239c17"><code>119569d</code></a> Merge branch 'patch-1' of <a href="https://github.com/cbrwflo/ajv">https://github.com/cbrwflo/ajv</a> into cbrwflo-patch-1</li>
<li>Additional commits viewable in <a href="https://github.com/ajv-validator/ajv/compare/v6.12.6...v7.2.3">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.3)](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 21, 2021

Build failed:

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