Chore: Resolve vulnerabilities in transitive NPM dependencies#65
Merged
Chore: Resolve vulnerabilities in transitive NPM dependencies#65
Conversation
There was a problem hiding this comment.
Pull request overview
Updates JavaScript dependency resolutions to address reported security vulnerabilities and refreshes the plugin’s release metadata to 1.0.2.
Changes:
- Add/extend
npmoverrides(incl.minimatch,serialize-javascript, andajvfor@wp-playground/*) to remediate audit/Dependabot alerts. - Regenerate
package-lock.jsonwith updated transitive dependency graph. - Bump plugin version references to
1.0.2(plugin header, constant, readme stable tag, changelog).
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| readme.txt | Updates “Stable tag” to 1.0.2. |
| package.json | Adds new overrides to mitigate vulnerable transitive packages. |
| package-lock.json | Reflects the resolved dependency updates from the new overrides/install. |
| onelogs.php | Bumps plugin header version and ONELOGS_VERSION constant to 1.0.2. |
| CHANGELOG.md | Adds 1.0.2 entry describing the dependency update. |
Comments suppressed due to low confidence (1)
package.json:88
- The new
overridesentries use open-ended version ranges (e.g.,>=10.2.1,>=7.0.3,>=8.18.0). Since these ranges don’t cap the major version, a future lockfile refresh could unexpectedly jump to a new major release (e.g., minimatch 11 / ajv 9) and introduce breaking changes. Consider pinning to an explicit version or at least a major-bounded range (e.g.,^10.2.1,^7.0.3,^8.18.0) to keep upgrades more predictable while still addressing the audit alerts.
"webpack-dev-server@<=5.2.0": ">=5.2.1",
"minimatch": ">=10.2.1",
"serialize-javascript": ">=7.0.3",
"@wp-playground/blueprints": {
"ajv": ">=8.18.0"
},
"@wp-playground/tools": {
"ajv": ">=8.18.0"
},
"@wp-playground/cli": {
"ajv": ">=8.18.0"
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
up1512001
approved these changes
Mar 6, 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.
What
This PR adds overrides in
package.jsonto address security vulnerabilities reported by Dependabot andnpm audit.Why
Fixes dependabot alerts
How
Testing Instructions
Screenshots
Additional Info
Checklist