-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency ajv to v7 #636
Conversation
bf080e1
to
8a230c4
Compare
8a230c4
to
d3eaeda
Compare
I'll update the JSON Schema version from |
d3eaeda
to
8b331ac
Compare
8b331ac
to
5203c71
Compare
24b9071
to
0d30342
Compare
0d30342
to
559b51f
Compare
BREAKING CHANGE: The format of dataPath and message in an error object have been changed. dataPath: .desktop.css[0] -> /desktop/css/0 message: *** is a required property -> *** should have required property 'version'
afdf958
to
2680cb9
Compare
@shintaroNagata I've fixed problems to bump |
@koba04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@koba04
Thank you for your PR! I've checked your work.
Will you consider to update following 2 files ?
packages/plugin-manifest-validator/README.md
packages/plugin-manifest-validator/manifest-schema.d.ts
@shintaroNagata Thank you for your feedback!!! I've updated them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* fix(deps): update dependency ajv to v7 * deps: update yarn.lock * fix: all tests and lint errors with ajv v7 BREAKING CHANGE: The format of dataPath and message in an error object have been changed. dataPath: .desktop.css[0] -> /desktop/css/0 message: *** is a required property -> *** should have required property 'version' * fix: put maxItems in the correct location * refactor: remove unnecessary code * refactor: define SchemaValidateFunction locally * test: add a test for maxItems * chore: add a note for PR that expose SchemaValidateFunction * types: regenerate manifest-schema.d.ts * docs: update an error object format * docs: update a link to the documentation for validation errors Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Toru Kobayashi <koba0004@gmail.com>
THIS IS A BREAKING CHANGE
As I pointed out at 38a07a0, this is a breaking change because this changes
dataPath
andmessage
in an error object.This PR contains the following updates:
^6.12.6
->^7.1.1
Release Notes
ajv-validator/ajv
v7.1.1
Compare Source
Support readonly arrays with JSONSchemaType (@LinusU, #1447)
v7.1.0
Compare Source
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
Compare Source
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
Compare Source
Fixes:
Docs:
v7.0.2
Compare Source
Remove duplicate functions from standalone validation code (#1361)
v7.0.1
Compare Source
Update error message for
maxLength
/minLength
keywordsv7.0.0
Compare Source
Please note: this document covers the changes from v6.12.6.
The main changes
unevaluatedProperties
andunevaluatedItems
, dynamic recursive references and other additional keywords.Please note:
new
keyword, as Ajv is now ES6 class.post: true
in keyword definition.Better TypeScript support:
compile
andcompileAsync
now return type-guards - see Getting started.validate
is a type-guard.API changes:
new
keyword (it is ES6 class).Added options (and defaults):
loopRequired
Changed options:
keywords
- now expects the array of keyword definitions (old API works with "deprecated" warning)Removed options:
validateFormats: false
can be used instead, old format mode can be chosen via ajv-formats package.nullable
keyword is supported by default.jsPropertySyntax: true
(deprecated) can be used if old format is needed.ignoreKeywordsWithRef
(deprecated) can be used instead to ignore $ref siblings.code: {process: (code, schemaEnv: object) => string}
.code: {source: true}
.strict
.ajv.addFormat
orformats
option.Renovate configuration
📅 Schedule: "after 9pm,before 9am" in timezone Asia/Tokyo.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.