This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
⬆️ Bump ajv from 6.12.6 to 7.0.3 in /tests #3462
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bors r+ |
bors bot
added a commit
that referenced
this pull request
Jan 3, 2021
3462: ⬆️ Bump ajv from 6.12.6 to 7.0.3 in /tests r=mergify[bot] a=dependabot[bot] Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.6 to 7.0.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.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">@G-Rath</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">@aladdin-add</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> <ul> <li>support of JSON Schema draft-2019-09 features: <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#unevaluatedproperties"><code>unevaluatedProperties</code></a> and <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#unevaluateditems"><code>unevaluatedItems</code></a>, <a href="https://github.com/ajv-validator/ajv/blob/master/docs/validation.md#extending-recursive-schemas">dynamic recursive references</a> and other <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#json-schema-draft-2019-09">additional keywords</a>.</li> <li>comprehensive support for <a href="https://github.com/ajv-validator/ajv/blob/master/docs/standalone.md">standalone validation code</a> - compiling one or multiple schemas to standalone modules with one or multiple exports.</li> <li>to reduce the mistakes in JSON schemas and unexpected validation results, <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md">strict mode</a> is added - it prohibits ignored or ambiguous JSON Schema elements. See <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md">Strict mode</a> and <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/api.md">Options</a> for more details</li> <li>to make code injection from untrusted schemas impossible, <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/codegen.md">code generation</a> is fully re-written to be type-level safe against code injection.</li> <li>to simplify Ajv extensions, the new keyword API that is used by pre-defined keywords is available to user-defined keywords - it is much easier to define any keywords now, especially with subschemas.</li> <li>schemas are compiled to ES6 code (ES5 code generation is supported with an option).</li> <li>to improve reliability and maintainability the code is migrated to TypeScript.</li> <li>separate Ajv classes from draft-07 and draft-2019-09 support with different default imports (see <a href="https://github.com/ajv-validator/ajv#usage">Getting started</a> or <a href="https://github.com/ajv-validator/ajv/releases/tag/v7.0.0-beta.5">v7.0.0-beta.5</a> for the details).</li> </ul> <p><strong>Please note</strong>:</p> <ul> <li>the support for JSON-Schema draft-04 is removed - if you have schemas using "id" attributes you have to replace them with "$id" (or continue using version 6 that will be supported until 02/28/2021).</li> <li>all formats are separated to <a href="https://github.com/ajv-validator/ajv-formats">ajv-formats</a> package - they have to be explicitly added if you use them.</li> <li>Ajv instance can only be created with <code>new</code> keyword, as Ajv is now ES6 class.</li> <li>browser bundles are automatically published to ajv-dist package (but still available on cdnjs.com).</li> <li>order of schema keyword validation changed - keywords that apply to all types (allOf etc.) are now validated first, before the keywords that apply to specific data types. You can still define custom keywords that apply to all types AND are validated after type-specific keywords using option <code>post: true</code> in keyword definition.</li> </ul> <h2>Better TypeScript support:</h2> <ul> <li>Methods <code>compile</code> and <code>compileAsync</code> now return type-guards - see <a href="https://github.com/ajv-validator/ajv/tree/v7-beta#usage">Getting started</a>.</li> <li>Method <code>validate</code> is a type-guard.</li> <li>Better separation of asynchronous schemas on type level.</li> <li>Type utility JSONSchemaType<!-- raw HTML omitted --> that generates the type for JSON Schema for type interface in the type parameter - it simplifies writing schemas (no unions support at the moment).</li> </ul> <h2>API changes:</h2> <ul> <li>addVocabulary - NEW method that allows to add an array of keyword definitions.</li> <li>addKeyword - keyword name should be passed as property in definition object, not as the first parameter (old API works with "deprecated" warning). Also "inline" keywords support is removed, code generation keywords can now be defined with "code" keyword - the same definition format that is used by all pre-defined keywords</li> <li>Ajv no longer allows to create the instance without <code>new</code> keyword (it is ES6 class).</li> </ul> <h3>Added options (and defaults):</h3> <ul> <li>strict: true - strict mode</li> <li>strictTypes: "log" - prevent mistakes related to type keywords and keyword applicability (see <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md#strict-types">Strict Types</a>)</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/ca2ae61c489f45fa2ec3ff2ee78b10136cb1ed3c"><code>ca2ae61</code></a> 7.0.3</li> <li><a href="https://github.com/ajv-validator/ajv/commit/78cc974351034e1b39e7864fcf0f844f0e3cb309"><code>78cc974</code></a> Merge branch 'hello-weiran-issue1364'</li> <li><a href="https://github.com/ajv-validator/ajv/commit/c44597e3e19f711c1892eea04807ca0c67b11d95"><code>c44597e</code></a> docs: move "using in ES5 env" to readme</li> <li><a href="https://github.com/ajv-validator/ajv/commit/d0b1368559d634339c6f1fe87be471c322b84f74"><code>d0b1368</code></a> Merge branch 'issue1364' of <a href="https://github.com/hello-weiran/ajv">https://github.com/hello-weiran/ajv</a> into hello-we...</li> <li><a href="https://github.com/ajv-validator/ajv/commit/9200e928c8927bf6c626d5f9488b6e9ca7e6171d"><code>9200e92</code></a> docs: add option to the example using json-schema-secure schema (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1373">#1373</a>)</li> <li><a href="https://github.com/ajv-validator/ajv/commit/4de9bfb53397d2d2c3d8e3fc38b6237dcac40c2b"><code>4de9bfb</code></a> remove duplicate import (rollup/plugins#745)</li> <li><a href="https://github.com/ajv-validator/ajv/commit/97bfa50862cfcaf8fe998507c45dcb8bf4adcb88"><code>97bfa50</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1370">#1370</a> from caub/patch-1</li> <li><a href="https://github.com/ajv-validator/ajv/commit/71ef1e09d3d5065d1da2e03a06f1bc18dff6f652"><code>71ef1e0</code></a> fix range example typos</li> <li><a href="https://github.com/ajv-validator/ajv/commit/342b84dbe6b4d02eceea22592294238ff1e56fe9"><code>342b84d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1368">#1368</a> from G-Rath/patch-2</li> <li><a href="https://github.com/ajv-validator/ajv/commit/9121a870ebfa3bb6b1d072cc91b4cd2c22b817ef"><code>9121a87</code></a> fix: add <code>| null</code> to <code>OneOfError</code> param property</li> <li>Additional commits viewable in <a href="https://github.com/ajv-validator/ajv/compare/v6.12.6...v7.0.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.0.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> 3463: ⬆️ Bump @types/node from 14.14.17 to 14.14.19 in /tests r=mergify[bot] a=dependabot[bot] Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.17 to 14.14.19. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=14.14.17&new-version=14.14.19)](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>
Build failed (retrying...): |
bors bot
added a commit
that referenced
this pull request
Jan 3, 2021
3462: ⬆️ Bump ajv from 6.12.6 to 7.0.3 in /tests r=mergify[bot] a=dependabot[bot] Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.6 to 7.0.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.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">@G-Rath</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">@aladdin-add</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> <ul> <li>support of JSON Schema draft-2019-09 features: <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#unevaluatedproperties"><code>unevaluatedProperties</code></a> and <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#unevaluateditems"><code>unevaluatedItems</code></a>, <a href="https://github.com/ajv-validator/ajv/blob/master/docs/validation.md#extending-recursive-schemas">dynamic recursive references</a> and other <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#json-schema-draft-2019-09">additional keywords</a>.</li> <li>comprehensive support for <a href="https://github.com/ajv-validator/ajv/blob/master/docs/standalone.md">standalone validation code</a> - compiling one or multiple schemas to standalone modules with one or multiple exports.</li> <li>to reduce the mistakes in JSON schemas and unexpected validation results, <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md">strict mode</a> is added - it prohibits ignored or ambiguous JSON Schema elements. See <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md">Strict mode</a> and <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/api.md">Options</a> for more details</li> <li>to make code injection from untrusted schemas impossible, <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/codegen.md">code generation</a> is fully re-written to be type-level safe against code injection.</li> <li>to simplify Ajv extensions, the new keyword API that is used by pre-defined keywords is available to user-defined keywords - it is much easier to define any keywords now, especially with subschemas.</li> <li>schemas are compiled to ES6 code (ES5 code generation is supported with an option).</li> <li>to improve reliability and maintainability the code is migrated to TypeScript.</li> <li>separate Ajv classes from draft-07 and draft-2019-09 support with different default imports (see <a href="https://github.com/ajv-validator/ajv#usage">Getting started</a> or <a href="https://github.com/ajv-validator/ajv/releases/tag/v7.0.0-beta.5">v7.0.0-beta.5</a> for the details).</li> </ul> <p><strong>Please note</strong>:</p> <ul> <li>the support for JSON-Schema draft-04 is removed - if you have schemas using "id" attributes you have to replace them with "$id" (or continue using version 6 that will be supported until 02/28/2021).</li> <li>all formats are separated to <a href="https://github.com/ajv-validator/ajv-formats">ajv-formats</a> package - they have to be explicitly added if you use them.</li> <li>Ajv instance can only be created with <code>new</code> keyword, as Ajv is now ES6 class.</li> <li>browser bundles are automatically published to ajv-dist package (but still available on cdnjs.com).</li> <li>order of schema keyword validation changed - keywords that apply to all types (allOf etc.) are now validated first, before the keywords that apply to specific data types. You can still define custom keywords that apply to all types AND are validated after type-specific keywords using option <code>post: true</code> in keyword definition.</li> </ul> <h2>Better TypeScript support:</h2> <ul> <li>Methods <code>compile</code> and <code>compileAsync</code> now return type-guards - see <a href="https://github.com/ajv-validator/ajv/tree/v7-beta#usage">Getting started</a>.</li> <li>Method <code>validate</code> is a type-guard.</li> <li>Better separation of asynchronous schemas on type level.</li> <li>Type utility JSONSchemaType<!-- raw HTML omitted --> that generates the type for JSON Schema for type interface in the type parameter - it simplifies writing schemas (no unions support at the moment).</li> </ul> <h2>API changes:</h2> <ul> <li>addVocabulary - NEW method that allows to add an array of keyword definitions.</li> <li>addKeyword - keyword name should be passed as property in definition object, not as the first parameter (old API works with "deprecated" warning). Also "inline" keywords support is removed, code generation keywords can now be defined with "code" keyword - the same definition format that is used by all pre-defined keywords</li> <li>Ajv no longer allows to create the instance without <code>new</code> keyword (it is ES6 class).</li> </ul> <h3>Added options (and defaults):</h3> <ul> <li>strict: true - strict mode</li> <li>strictTypes: "log" - prevent mistakes related to type keywords and keyword applicability (see <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md#strict-types">Strict Types</a>)</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/ca2ae61c489f45fa2ec3ff2ee78b10136cb1ed3c"><code>ca2ae61</code></a> 7.0.3</li> <li><a href="https://github.com/ajv-validator/ajv/commit/78cc974351034e1b39e7864fcf0f844f0e3cb309"><code>78cc974</code></a> Merge branch 'hello-weiran-issue1364'</li> <li><a href="https://github.com/ajv-validator/ajv/commit/c44597e3e19f711c1892eea04807ca0c67b11d95"><code>c44597e</code></a> docs: move "using in ES5 env" to readme</li> <li><a href="https://github.com/ajv-validator/ajv/commit/d0b1368559d634339c6f1fe87be471c322b84f74"><code>d0b1368</code></a> Merge branch 'issue1364' of <a href="https://github.com/hello-weiran/ajv">https://github.com/hello-weiran/ajv</a> into hello-we...</li> <li><a href="https://github.com/ajv-validator/ajv/commit/9200e928c8927bf6c626d5f9488b6e9ca7e6171d"><code>9200e92</code></a> docs: add option to the example using json-schema-secure schema (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1373">#1373</a>)</li> <li><a href="https://github.com/ajv-validator/ajv/commit/4de9bfb53397d2d2c3d8e3fc38b6237dcac40c2b"><code>4de9bfb</code></a> remove duplicate import (rollup/plugins#745)</li> <li><a href="https://github.com/ajv-validator/ajv/commit/97bfa50862cfcaf8fe998507c45dcb8bf4adcb88"><code>97bfa50</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1370">#1370</a> from caub/patch-1</li> <li><a href="https://github.com/ajv-validator/ajv/commit/71ef1e09d3d5065d1da2e03a06f1bc18dff6f652"><code>71ef1e0</code></a> fix range example typos</li> <li><a href="https://github.com/ajv-validator/ajv/commit/342b84dbe6b4d02eceea22592294238ff1e56fe9"><code>342b84d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1368">#1368</a> from G-Rath/patch-2</li> <li><a href="https://github.com/ajv-validator/ajv/commit/9121a870ebfa3bb6b1d072cc91b4cd2c22b817ef"><code>9121a87</code></a> fix: add <code>| null</code> to <code>OneOfError</code> param property</li> <li>Additional commits viewable in <a href="https://github.com/ajv-validator/ajv/compare/v6.12.6...v7.0.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.0.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>
Build failed: |
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.6 to 7.0.3. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](ajv-validator/ajv@v6.12.6...v7.0.3) Signed-off-by: dependabot[bot] <[email protected]>
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/tests/ajv-7.0.3
branch
from
January 7, 2021 15:18
146d103
to
a6b00ca
Compare
bors r+ |
bors bot
added a commit
that referenced
this pull request
Jan 7, 2021
3462: ⬆️ Bump ajv from 6.12.6 to 7.0.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.0.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.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">@G-Rath</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">@aladdin-add</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> <ul> <li>support of JSON Schema draft-2019-09 features: <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#unevaluatedproperties"><code>unevaluatedProperties</code></a> and <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#unevaluateditems"><code>unevaluatedItems</code></a>, <a href="https://github.com/ajv-validator/ajv/blob/master/docs/validation.md#extending-recursive-schemas">dynamic recursive references</a> and other <a href="https://github.com/ajv-validator/ajv/blob/master/docs/json-schema.md#json-schema-draft-2019-09">additional keywords</a>.</li> <li>comprehensive support for <a href="https://github.com/ajv-validator/ajv/blob/master/docs/standalone.md">standalone validation code</a> - compiling one or multiple schemas to standalone modules with one or multiple exports.</li> <li>to reduce the mistakes in JSON schemas and unexpected validation results, <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md">strict mode</a> is added - it prohibits ignored or ambiguous JSON Schema elements. See <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md">Strict mode</a> and <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/api.md">Options</a> for more details</li> <li>to make code injection from untrusted schemas impossible, <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/codegen.md">code generation</a> is fully re-written to be type-level safe against code injection.</li> <li>to simplify Ajv extensions, the new keyword API that is used by pre-defined keywords is available to user-defined keywords - it is much easier to define any keywords now, especially with subschemas.</li> <li>schemas are compiled to ES6 code (ES5 code generation is supported with an option).</li> <li>to improve reliability and maintainability the code is migrated to TypeScript.</li> <li>separate Ajv classes from draft-07 and draft-2019-09 support with different default imports (see <a href="https://github.com/ajv-validator/ajv#usage">Getting started</a> or <a href="https://github.com/ajv-validator/ajv/releases/tag/v7.0.0-beta.5">v7.0.0-beta.5</a> for the details).</li> </ul> <p><strong>Please note</strong>:</p> <ul> <li>the support for JSON-Schema draft-04 is removed - if you have schemas using "id" attributes you have to replace them with "$id" (or continue using version 6 that will be supported until 02/28/2021).</li> <li>all formats are separated to <a href="https://github.com/ajv-validator/ajv-formats">ajv-formats</a> package - they have to be explicitly added if you use them.</li> <li>Ajv instance can only be created with <code>new</code> keyword, as Ajv is now ES6 class.</li> <li>browser bundles are automatically published to ajv-dist package (but still available on cdnjs.com).</li> <li>order of schema keyword validation changed - keywords that apply to all types (allOf etc.) are now validated first, before the keywords that apply to specific data types. You can still define custom keywords that apply to all types AND are validated after type-specific keywords using option <code>post: true</code> in keyword definition.</li> </ul> <h2>Better TypeScript support:</h2> <ul> <li>Methods <code>compile</code> and <code>compileAsync</code> now return type-guards - see <a href="https://github.com/ajv-validator/ajv/tree/v7-beta#usage">Getting started</a>.</li> <li>Method <code>validate</code> is a type-guard.</li> <li>Better separation of asynchronous schemas on type level.</li> <li>Type utility JSONSchemaType<!-- raw HTML omitted --> that generates the type for JSON Schema for type interface in the type parameter - it simplifies writing schemas (no unions support at the moment).</li> </ul> <h2>API changes:</h2> <ul> <li>addVocabulary - NEW method that allows to add an array of keyword definitions.</li> <li>addKeyword - keyword name should be passed as property in definition object, not as the first parameter (old API works with "deprecated" warning). Also "inline" keywords support is removed, code generation keywords can now be defined with "code" keyword - the same definition format that is used by all pre-defined keywords</li> <li>Ajv no longer allows to create the instance without <code>new</code> keyword (it is ES6 class).</li> </ul> <h3>Added options (and defaults):</h3> <ul> <li>strict: true - strict mode</li> <li>strictTypes: "log" - prevent mistakes related to type keywords and keyword applicability (see <a href="https://github.com/ajv-validator/ajv/blob/v7-beta/docs/strict-mode.md#strict-types">Strict Types</a>)</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/ca2ae61c489f45fa2ec3ff2ee78b10136cb1ed3c"><code>ca2ae61</code></a> 7.0.3</li> <li><a href="https://github.com/ajv-validator/ajv/commit/78cc974351034e1b39e7864fcf0f844f0e3cb309"><code>78cc974</code></a> Merge branch 'hello-weiran-issue1364'</li> <li><a href="https://github.com/ajv-validator/ajv/commit/c44597e3e19f711c1892eea04807ca0c67b11d95"><code>c44597e</code></a> docs: move "using in ES5 env" to readme</li> <li><a href="https://github.com/ajv-validator/ajv/commit/d0b1368559d634339c6f1fe87be471c322b84f74"><code>d0b1368</code></a> Merge branch 'issue1364' of <a href="https://github.com/hello-weiran/ajv">https://github.com/hello-weiran/ajv</a> into hello-we...</li> <li><a href="https://github.com/ajv-validator/ajv/commit/9200e928c8927bf6c626d5f9488b6e9ca7e6171d"><code>9200e92</code></a> docs: add option to the example using json-schema-secure schema (<a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1373">#1373</a>)</li> <li><a href="https://github.com/ajv-validator/ajv/commit/4de9bfb53397d2d2c3d8e3fc38b6237dcac40c2b"><code>4de9bfb</code></a> remove duplicate import (rollup/plugins#745)</li> <li><a href="https://github.com/ajv-validator/ajv/commit/97bfa50862cfcaf8fe998507c45dcb8bf4adcb88"><code>97bfa50</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1370">#1370</a> from caub/patch-1</li> <li><a href="https://github.com/ajv-validator/ajv/commit/71ef1e09d3d5065d1da2e03a06f1bc18dff6f652"><code>71ef1e0</code></a> fix range example typos</li> <li><a href="https://github.com/ajv-validator/ajv/commit/342b84dbe6b4d02eceea22592294238ff1e56fe9"><code>342b84d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ajv-validator/ajv/issues/1368">#1368</a> from G-Rath/patch-2</li> <li><a href="https://github.com/ajv-validator/ajv/commit/9121a870ebfa3bb6b1d072cc91b4cd2c22b817ef"><code>9121a87</code></a> fix: add <code>| null</code> to <code>OneOfError</code> param property</li> <li>Additional commits viewable in <a href="https://github.com/ajv-validator/ajv/compare/v6.12.6...v7.0.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.0.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>
Build failed: |
github-actions
bot
added
the
3-days-old
This PR has been open for more than 3 weekdays
label
Jan 11, 2021
Superseded by #3493. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
3-days-old
This PR has been open for more than 3 weekdays
dependencies
Pull requests that update a dependency file
0 participants
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.
Bumps ajv from 6.12.6 to 7.0.3.
Release notes
Sourced from ajv's releases.
... (truncated)
Commits
ca2ae61
7.0.378cc974
Merge branch 'hello-weiran-issue1364'c44597e
docs: move "using in ES5 env" to readmed0b1368
Merge branch 'issue1364' of https://github.com/hello-weiran/ajv into hello-we...9200e92
docs: add option to the example using json-schema-secure schema (#1373)4de9bfb
remove duplicate import (Integration with AJV not working. rollup/plugins#745)97bfa50
Merge pull request #1370 from caub/patch-171ef1e0
fix range example typos342b84d
Merge pull request #1368 from G-Rath/patch-29121a87
fix: add| null
toOneOfError
param propertyDependabot 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