chore: Update transitive NPM devDependencies with overrides#170
Open
chore: Update transitive NPM devDependencies with overrides#170
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Resolves Dependabot/npm audit-reported vulnerabilities by forcing patched versions of transitive NPM dependencies, and bumps the plugin release metadata to 1.0.2 to reflect the security-only update.
Changes:
- Add
package.jsonoverridesto force safe versions of vulnerable transitive dependencies (e.g.,serialize-javascript,ajvunder@wp-playground/*). - Regenerate
package-lock.jsonto apply updated transitive dependency graph. - Bump plugin/release version references to
1.0.2(plugin header + constant, WP readme stable tag, changelog entry).
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| readme.txt | Updates WordPress plugin “Stable tag” to 1.0.2. |
| package.json | Adds NPM overrides to address transitive dependency vulnerabilities. |
| package-lock.json | Updates resolved dependency versions to match the overrides / patched transitive packages. |
| onesearch.php | Bumps plugin header version and ONESEARCH_VERSION constant to 1.0.2. |
| CHANGELOG.md | Adds a 1.0.2 entry noting the security dependency updates. |
💡 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.
Comment on lines
+78
to
+82
| "serialize-javascript": ">=7.0.3", | ||
| "@wp-playground/blueprints": { | ||
| "ajv": ">=8.18.0" | ||
| }, | ||
| "@wp-playground/tools": { |
justlevine
reviewed
Mar 19, 2026
Collaborator
There was a problem hiding this comment.
Do not do a manual version bump. We use semver and release-please #162
Collaborator
There was a problem hiding this comment.
Also generally, 1 change per PR. this is fixing deps not triggering a relase
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.
Description
This PR adds overrides in
package.jsonto address security vulnerabilities reported by Dependabot andnpm audit.To-do
assets/src/components/MultiSelectChips.js:145that triggers thejsx-a11y/label-has-associated-controlrule error. Theminimatchdependency override breakslint:jswith this error, though the build step completes successfully.Fixes/Covers
Fixes Dependabot alerts.