Update dependency ajv to v8.20.0 #11

Open
renovate wants to merge 1 commit from renovate/ajv-8.x-lockfile into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
ajv (source) 8.6.2 → 8.20.0 age confidence

Release Notes

ajv-validator/ajv (ajv)

v8.20.0

Compare Source

What's Changed

Full Changelog: https://github.com/ajv-validator/ajv/compare/v8.19.0...v8.20.0

v8.18.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/ajv-validator/ajv/compare/v8.17.1...v8.18.0

v8.17.1

Compare Source

What's Changed

Full Changelog: https://github.com/ajv-validator/ajv/compare/v8.17.0...v8.17.1

Plus everything in 8.17.0 which failed to release

The only functional change is to switch from uri-js (which is no longer supported), to fast-uri. This is the second attempt and the team on fast-uri have been really helpful addressing the issues we found last time.

Revert "Revert fast-uri change (#​2444)" by @​gurgunday in #​2448
fix: ignore new eslint error for @​typescript-eslint/no-extraneous-class by @​jasoniangreen in #​2455
docs: clarify behaviour of addVocabulary by @​jasoniangreen in #​2454
docs: refactor to improve legibility by @​blottn in #​2432
Fix grammatical typo in managing-schemas.md by @​wetneb in #​2305
docs: Fix broken strict-mode link by @​alexanderjsx in #​2459
feat: add test for encoded refs and bump fast-uri by @​jasoniangreen in #​2449
fix: changes for @​typescript-eslint/array-type rule by @​jasoniangreen in #​2467
fixes #​2217 - clarify custom keyword naming by @​jasoniangreen in #​2457

v8.16.0

Compare Source

What's Changed

Full Changelog: https://github.com/ajv-validator/ajv/compare/v8.15.0...v8.16.0

v8.15.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/ajv-validator/ajv/compare/v8.14.0...v8.15.0

v8.14.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/ajv-validator/ajv/compare/v8.13.0...v8.14.0

v8.13.0

Compare Source

  • add named exports
  • update dependencies
  • update node.js

v8.12.0

Compare Source

v8.11.2

Compare Source

Update dependencies

Export ValidationError and MissingRefError (#​1840, @​dannyb648)

v8.11.1

Compare Source

Update dependencies

Export ValidationError and MissingRefError (#​1840, @​dannyb648)

v8.11.0

Compare Source

Use root schemaEnv when resolving references in oneOf (#​1901, @​asprouse)

Only use equal function in generated code when it is used (#​1922, @​bhvngt)

v8.10.0

Compare Source

uriResolver option (@​zekth, #​1862)

v8.9.0

Compare Source

Option code.esm to generate ESM exports for standalone validation functions (@​rehanvdm, #​1861)
Support discriminator keyword with $ref in oneOf subschemas (@​dfeufel, #​1815)

v8.8.2

Compare Source

Use full RegExp string (with flags) as cache key, related to ajv-validator/ajv-keywords#220

v8.8.1

Compare Source

Fix minContains: 0 (#​1819)

v8.8.0

Compare Source

Fix browser bundles in cdnjs
regExp option allowing to specify alternative RegExp engine, e.g. re2 (@​efebarlas)

v8.7.1

Compare Source

Publish Ajv bundle for JSON Schema 2020-12 to cdnjs.com

v8.7.0

Compare Source

Update JSON Schema Test Suite.
Change minContains: 0 now correctly allows empty array.

v8.6.3

Compare Source

Fix $ref resolution for schemas without $id (@​rbuckton, #​1725)
Support standalone module import from ESM modules without using .default property (@​bhvngt, #​1757)
Update code for breaking TS change - error in catch has type unknown (#​1760)


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 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 Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [ajv](https://ajv.js.org) ([source](https://github.com/ajv-validator/ajv)) | [`8.6.2` → `8.20.0`](https://renovatebot.com/diffs/npm/ajv/8.6.2/8.20.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/ajv/8.20.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ajv/8.6.2/8.20.0?slim=true) | --- ### Release Notes <details> <summary>ajv-validator/ajv (ajv)</summary> ### [`v8.20.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.20.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.18.0...v8.20.0) #### What's Changed - fix: add support for node 22/24, drop node 16/21 by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2580](https://github.com/ajv-validator/ajv/pull/2580) - fix: add ES2022.RegExp for RegExpIndicesArray by [@&#8203;SignpostMarv](https://github.com/SignpostMarv) in [#&#8203;2604](https://github.com/ajv-validator/ajv/pull/2604) **Full Changelog**: <https://github.com/ajv-validator/ajv/compare/v8.19.0...v8.20.0> ### [`v8.18.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.18.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.17.1...v8.18.0) #### What's Changed - feat: allow tree-shaking by adding `"sideEffects": false` to `package.json` by [@&#8203;josdejong](https://github.com/josdejong) in [#&#8203;2480](https://github.com/ajv-validator/ajv/pull/2480) - fix: [#&#8203;2482](https://github.com/ajv-validator/ajv/issues/2482) Infinity and NaN serialise to null by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2487](https://github.com/ajv-validator/ajv/pull/2487) - fix: small grammatical error in managing-schemas.md by [@&#8203;monteiro-renato](https://github.com/monteiro-renato) in [#&#8203;2508](https://github.com/ajv-validator/ajv/pull/2508) - fix: typos in schema-language.md by [@&#8203;monteiro-renato](https://github.com/monteiro-renato) in [#&#8203;2507](https://github.com/ajv-validator/ajv/pull/2507) - fix(pattern): use configured RegExp engine with $data keyword to mitigate ReDoS attacks (CVE-2025-69873) by [@&#8203;epoberezkin](https://github.com/epoberezkin) in [#&#8203;2586](https://github.com/ajv-validator/ajv/pull/2586) #### New Contributors - [@&#8203;josdejong](https://github.com/josdejong) made their first contribution in [#&#8203;2480](https://github.com/ajv-validator/ajv/pull/2480) - [@&#8203;monteiro-renato](https://github.com/monteiro-renato) made their first contribution in [#&#8203;2508](https://github.com/ajv-validator/ajv/pull/2508) **Full Changelog**: <https://github.com/ajv-validator/ajv/compare/v8.17.1...v8.18.0> ### [`v8.17.1`](https://github.com/ajv-validator/ajv/releases/tag/v8.17.1) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.16.0...v8.17.1) #### What's Changed - bump version to 8.17.1 by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2472](https://github.com/ajv-validator/ajv/pull/2472) **Full Changelog**: <https://github.com/ajv-validator/ajv/compare/v8.17.0...v8.17.1> #### Plus everything in 8.17.0 which failed to release The only functional change is to switch from uri-js (which is no longer supported), to fast-uri. This is the second attempt and the team on fast-uri have been really helpful addressing the issues we found last time. Revert "Revert fast-uri change ([#&#8203;2444](https://github.com/ajv-validator/ajv/pull/2444))" by [@&#8203;gurgunday](https://github.com/gurgunday) in [#&#8203;2448](https://github.com/ajv-validator/ajv/pull/2448) fix: ignore new eslint error for [@&#8203;typescript-eslint/no-extraneous-class](https://github.com/typescript-eslint/no-extraneous-class) by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2455](https://github.com/ajv-validator/ajv/pull/2455) docs: clarify behaviour of addVocabulary by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2454](https://github.com/ajv-validator/ajv/pull/2454) docs: refactor to improve legibility by [@&#8203;blottn](https://github.com/blottn) in [#&#8203;2432](https://github.com/ajv-validator/ajv/pull/2432) Fix grammatical typo in managing-schemas.md by [@&#8203;wetneb](https://github.com/wetneb) in [#&#8203;2305](https://github.com/ajv-validator/ajv/pull/2305) docs: Fix broken strict-mode link by [@&#8203;alexanderjsx](https://github.com/alexanderjsx) in [#&#8203;2459](https://github.com/ajv-validator/ajv/pull/2459) feat: add test for encoded refs and bump fast-uri by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2449](https://github.com/ajv-validator/ajv/pull/2449) fix: changes for [@&#8203;typescript-eslint/array-type](https://github.com/typescript-eslint/array-type) rule by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2467](https://github.com/ajv-validator/ajv/pull/2467) fixes [#&#8203;2217](https://github.com/ajv-validator/ajv/issues/2217) - clarify custom keyword naming by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2457](https://github.com/ajv-validator/ajv/pull/2457) ### [`v8.16.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.16.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.15.0...v8.16.0) #### What's Changed - Revert fast-uri change by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2444](https://github.com/ajv-validator/ajv/pull/2444) **Full Changelog**: <https://github.com/ajv-validator/ajv/compare/v8.15.0...v8.16.0> ### [`v8.15.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.15.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.14.0...v8.15.0) #### What's Changed - Replace `uri-js` with `fast-uri` by [@&#8203;vixalien](https://github.com/vixalien) in [#&#8203;2415](https://github.com/ajv-validator/ajv/pull/2415) - Bump to 8.15.0 by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2442](https://github.com/ajv-validator/ajv/pull/2442) #### New Contributors - [@&#8203;vixalien](https://github.com/vixalien) made their first contribution in [#&#8203;2415](https://github.com/ajv-validator/ajv/pull/2415) **Full Changelog**: <https://github.com/ajv-validator/ajv/compare/v8.14.0...v8.15.0> ### [`v8.14.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.14.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.13.0...v8.14.0) #### What's Changed - readme: build badge by [@&#8203;epoberezkin](https://github.com/epoberezkin) in [#&#8203;2424](https://github.com/ajv-validator/ajv/pull/2424) - Update workflows by [@&#8203;rotu](https://github.com/rotu) in [#&#8203;2410](https://github.com/ajv-validator/ajv/pull/2410) - docs: add warning to maxLength / minLength by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2428](https://github.com/ajv-validator/ajv/pull/2428) - fix: broken link in docs warning by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2431](https://github.com/ajv-validator/ajv/pull/2431) - compileAsync a schema with discriminator and $ref, fixes [#&#8203;2427](https://github.com/ajv-validator/ajv/issues/2427) by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2433](https://github.com/ajv-validator/ajv/pull/2433) - bump version to 8.14.0 for publishing by [@&#8203;jasoniangreen](https://github.com/jasoniangreen) in [#&#8203;2440](https://github.com/ajv-validator/ajv/pull/2440) #### New Contributors - [@&#8203;rotu](https://github.com/rotu) made their first contribution in [#&#8203;2410](https://github.com/ajv-validator/ajv/pull/2410) **Full Changelog**: <https://github.com/ajv-validator/ajv/compare/v8.13.0...v8.14.0> ### [`v8.13.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.13.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.12.0...v8.13.0) - add named exports - update dependencies - update node.js ### [`v8.12.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.12.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.11.2...v8.12.0) - fix JTD serialisation (remove leading comma in objects with only optional properties) ([#&#8203;2190](https://github.com/ajv-validator/ajv/issues/2190), [@&#8203;piliugin-anton](https://github.com/piliugin-anton)) - empty JTD "values" schema ([#&#8203;2191](https://github.com/ajv-validator/ajv/issues/2191)) - empty object to work with JTD utility type ([#&#8203;2158](https://github.com/ajv-validator/ajv/issues/2158), [@&#8203;erikbrinkman](https://github.com/erikbrinkman)) - fix JTD "discriminator" schema for objects with more than 8 properties ([#&#8203;2194](https://github.com/ajv-validator/ajv/issues/2194)) - correctly narrow "number" type to "integer" ([#&#8203;2192](https://github.com/ajv-validator/ajv/issues/2192), [@&#8203;JacobLey](https://github.com/JacobLey)) - update Node.js versions in CI to 14, 16, 18 and 19 ### [`v8.11.2`](https://github.com/ajv-validator/ajv/releases/tag/v8.11.2) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.11.1...v8.11.2) Update dependencies Export ValidationError and MissingRefError ([#&#8203;1840](https://github.com/ajv-validator/ajv/pull/1840), [@&#8203;dannyb648](https://github.com/dannyb648)) ### [`v8.11.1`](https://github.com/ajv-validator/ajv/releases/tag/v8.11.1) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.11.0...v8.11.1) Update dependencies Export ValidationError and MissingRefError ([#&#8203;1840](https://github.com/ajv-validator/ajv/issues/1840), [@&#8203;dannyb648](https://github.com/dannyb648)) ### [`v8.11.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.11.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.10.0...v8.11.0) Use root schemaEnv when resolving references in oneOf ([#&#8203;1901](https://github.com/ajv-validator/ajv/issues/1901), [@&#8203;asprouse](https://github.com/asprouse)) Only use equal function in generated code when it is used ([#&#8203;1922](https://github.com/ajv-validator/ajv/issues/1922), [@&#8203;bhvngt](https://github.com/bhvngt)) ### [`v8.10.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.10.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.9.0...v8.10.0) `uriResolver` option ([@&#8203;zekth](https://github.com/zekth), [#&#8203;1862](https://github.com/ajv-validator/ajv/issues/1862)) ### [`v8.9.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.9.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.8.2...v8.9.0) Option `code.esm` to generate ESM exports for standalone validation functions ([@&#8203;rehanvdm](https://github.com/rehanvdm), [#&#8203;1861](https://github.com/ajv-validator/ajv/issues/1861)) Support discriminator keyword with $ref in oneOf subschemas ([@&#8203;dfeufel](https://github.com/dfeufel), [#&#8203;1815](https://github.com/ajv-validator/ajv/issues/1815)) ### [`v8.8.2`](https://github.com/ajv-validator/ajv/releases/tag/v8.8.2) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.8.1...v8.8.2) Use full RegExp string (with flags) as cache key, related to [ajv-validator/ajv-keywords#220](https://github.com/ajv-validator/ajv-keywords/issues/220) ### [`v8.8.1`](https://github.com/ajv-validator/ajv/releases/tag/v8.8.1) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.8.0...v8.8.1) Fix `minContains: 0` ([#&#8203;1819](https://github.com/ajv-validator/ajv/issues/1819)) ### [`v8.8.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.8.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.7.1...v8.8.0) Fix browser bundles in cdnjs `regExp` option allowing to specify alternative RegExp engine, e.g. re2 ([@&#8203;efebarlas](https://github.com/efebarlas)) ### [`v8.7.1`](https://github.com/ajv-validator/ajv/releases/tag/v8.7.1) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.7.0...v8.7.1) Publish Ajv bundle for JSON Schema 2020-12 to cdnjs.com ### [`v8.7.0`](https://github.com/ajv-validator/ajv/releases/tag/v8.7.0) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.6.3...v8.7.0) Update JSON Schema Test Suite. Change `minContains: 0` now correctly allows empty array. ### [`v8.6.3`](https://github.com/ajv-validator/ajv/releases/tag/v8.6.3) [Compare Source](https://github.com/ajv-validator/ajv/compare/v8.6.2...v8.6.3) Fix $ref resolution for schemas without $id ([@&#8203;rbuckton](https://github.com/rbuckton), [#&#8203;1725](https://github.com/ajv-validator/ajv/issues/1725)) Support standalone module import from ESM modules without using `.default` property ([@&#8203;bhvngt](https://github.com/bhvngt), [#&#8203;1757](https://github.com/ajv-validator/ajv/issues/1757)) Update code for breaking TS change - error in `catch` has type `unknown` ([#&#8203;1760](https://github.com/ajv-validator/ajv/issues/1760)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update dependency ajv to v8.20.0
Some checks failed
OpenSpec Validation / validate (pull_request) Has been cancelled
3ef53779fd
Some checks failed
OpenSpec Validation / validate (pull_request) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin "renovate/ajv-8.x-lockfile:renovate/ajv-8.x-lockfile"
git switch "renovate/ajv-8.x-lockfile"

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch "main"
git merge --no-ff "renovate/ajv-8.x-lockfile"
git switch "renovate/ajv-8.x-lockfile"
git rebase "main"
git switch "main"
git merge --ff-only "renovate/ajv-8.x-lockfile"
git switch "renovate/ajv-8.x-lockfile"
git rebase "main"
git switch "main"
git merge --no-ff "renovate/ajv-8.x-lockfile"
git switch "main"
git merge --squash "renovate/ajv-8.x-lockfile"
git switch "main"
git merge --ff-only "renovate/ajv-8.x-lockfile"
git switch "main"
git merge "renovate/ajv-8.x-lockfile"
git push origin "main"
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
andylockran/apigw-model-validator!11
No description provided.