Bump ajv and ajv-cli
Bumps ajv to 8.12.0 and updates ancestor dependency ajv-cli. These dependencies need to be updated together.
Updates ajv from 5.5.2 to 8.12.0
Release notes
Sourced from ajv's releases.
v8.12.0
- fix JTD serialisation (remove leading comma in objects with only optional properties) (#2190,
@piliugin-anton)- empty JTD "values" schema (#2191)
- empty object to work with JTD utility type (#2158,
@erikbrinkman)- fix JTD "discriminator" schema for objects with more than 8 properties (#2194)
- correctly narrow "number" type to "integer" (#2192,
@JacobLey)- update Node.js versions in CI to 14, 16, 18 and 19
v8.11.2
Update dependencies
Export ValidationError and MissingRefError (ajv-validator/ajv#1840,
@dannyb648)v8.11.1
Update dependencies
Export ValidationError and MissingRefError (#1840,
@dannyb648)v8.11.0
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
uriResolveroption (@zekth, #1862)v8.9.0
Option
code.esmto generate ESM exports for standalone validation functions (@rehanvdm, #1861) Support discriminator keyword with $ref in oneOf subschemas (@dfeufel, #1815)v8.8.2
Use full RegExp string (with flags) as cache key, related to ajv-validator/ajv-keywords#220
v8.8.1
Fix
minContains: 0(#1819)v8.8.0
Fix browser bundles in cdnjs
regExpoption allowing to specify alternative RegExp engine, e.g. re2 (@efebarlas)v8.7.1
Publish Ajv bundle for JSON Schema 2020-12 to cdnjs.com
v8.7.0
Update JSON Schema Test Suite. Change
minContains: 0now correctly allows empty array.v8.6.3
Fix $ref resolution for schemas without $id (
@rbuckton, #1725) Support standalone module import from ESM modules without using.defaultproperty (@bhvngt, #1757)
... (truncated)
Commits
bf1266a8.12.0321fad6update node versions (#2195)c5c195bfix JTD discriminator with more than 8 properties, fixes #1971 (#2194)527d43abuild(deps-dev): bump@rollup/plugin-commonjsfrom 23.0.7 to 24.0.0 (#2184)2e5884bbuild(deps-dev): bump@rollup/plugin-typescriptfrom 9.0.2 to 10.0.1 (#2193)a697668build(deps-dev): bump@rollup/plugin-jsonfrom 5.0.2 to 6.0.0 (#2183)dab8504special case empty object for jtd (#2158)d2c57d9build(deps-dev): bump@rollup/plugin-typescriptfrom 8.5.0 to 9.0.2 (#2160)a489265correctly narrow "number" type to "integer", fixes #1935 (#2192)a211e8dJTD empty values schema, fixes #1949 (#2191)- Additional commits viewable in compare view
Updates ajv-cli from 3.0.0 to 5.0.0
Release notes
Sourced from ajv-cli's releases.
v5.0.0
Upgrade for ajv v8 Support JSON Schema draft-2020-12
v4.2.0
Support JSON Type Definition schemas with
--spec=jtdoption. Support plugins (e.g. user-defined keywords) in typescript (requirests-nodeto be installed).v4.1.0
Do not change
definitionsto$defswhen migrating schema to draft-2019-09 (#112)v4.0.1
Fix: pass $data option to ajv instance when
--dataoption is usedv4.0.0
See v4.0.0-rc.0
v4.0.0-rc.0
Use ajv v7
--spec=option to choose JSON schema specification:
draft7: JSON Schema draft-07 (default)draft2019: JSON Schema draft-2019-09Support schema migration to JSON Schema draft-07 and draft-2019-08 (defined by
--spec=option). Compile multiple schemas to a single module with multiple exported standalone validation functions. Output standalone validation code to stdout (-owithout parameter) for formatting with js-beautify or another utility.v3.3.0
Allow strict-mode options -
--strict-keywords,--strict-defaults,--strict-numbers(@Agh42)v3.2.0
Support json5 and yaml file types (
@G-Rath). Update dependencies and tested node versions.v3.1.0
Support
--dataoption (passed as $data to Ajv). Support--add-used-schemaoption (passed as addUsedSchema to Ajv) (@Relequestual)
Commits
aa7c5065.0.0a02fbbfupgrade ajv to v8, support JSON Schema draft-2020-12aea7107Merge pull request #119 from ajv-validator/dependabot/npm_and_yarn/husky-5.1.343289474.2.0dba04a1support JSON Type Definition810ea8eremove require from importebf8895build(deps-dev): bump husky from 4.3.8 to 5.1.30820f42Merge pull request #109 from ajv-validator/dependabot/npm_and_yarn/types/json...15f5e35Merge pull request #99 from G-Rath/add-prettier-to-eslintd62fc1fMerge pull request #101 from G-Rath/support-typescript-keyword-files- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.