Skip to content
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(config-validator): update ajv to v8 #3242

Merged
merged 1 commit into from Jun 24, 2022

Commits on Jun 23, 2022

  1. chore(config-validator): update ajv to v8

    ajv introduced some breaking changes from v6 to v7, and from v7 to v8. Most can
    be found in [their migration guide](https://ajv.js.org/v6-to-v8-migration.html).
    
    This commit addresses the following:
    
    - `ErrorObject.dataPath` was renamed to `ErrorObject.instacePath`
    - Wordings of some errors changed (e.g. "should" -> "must")
    - Strict mode does not allow a top-level `default` value
    - Disable [strict mode](https://ajv.js.org/strict-mode.html)
    - The `plugins` schema included an invalid object definition for `rules`
    - `schemaId` is no longer an ajv option
    - `missingRefs` no longer seems to affect the usage of ajv in the project
    - `addKeyword` has its signature changed
    
    The tests pass and everyone's seemingly happy; do say if anything's still
    scary-looking.
    
    Obsoletes conventional-changelog#2888.
    Zirak committed Jun 23, 2022
    Copy the full SHA
    3fcb474 View commit details
    Browse the repository at this point in the history