chore: fix remaining ajv dependabot alert#961
Merged
jonathannorris merged 1 commit intomainfrom Mar 12, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses a remaining Dependabot alert by forcing all ajv@^8.0.0 consumers to resolve to the patched ajv@8.18.0, avoiding Yarn installing both 8.17.1 (vulnerable) and 8.18.0 in parallel.
Changes:
- Added a Yarn
resolutionsoverride to pinajv@^8.0.0to8.18.0. - Updated
yarn.lockso the resolved AJV v8 version is consistently8.18.0(with no remaining8.17.1entries).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Adds ajv@^8.0.0: 8.18.0 to resolutions to prevent vulnerable AJV v8 installs. |
| yarn.lock | Reflects the unified AJV v8 resolution at 8.18.0 and removes the previous 8.17.1 resolution entry. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Deploying devcycle-docs with
|
| Latest commit: |
99720dd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://97231947.devcycle-docs.pages.dev |
| Branch Preview URL: | https://chore-fix-remaining-dependab.devcycle-docs.pages.dev |
JamieSinn
approved these changes
Mar 12, 2026
jsalaber
approved these changes
Mar 12, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
ajv@^8.0.0resolution to force 8.18.0, fixing the last open dependabot alert (DVC-5297 React initialization options #135)Motivation
ajv-formats@2.1.1depends onajv@^8.0.0which yarn resolved separately to 8.17.1 (vulnerable to ReDoS via$dataoption), while the^8.9.0range fromschema-utilsalready resolved to the patched 8.18.0. The resolution ensures both ranges resolve to the same patched version.