Repository navigation
Conversation
wp-env 11.x depends on simple-git ^3, and no 3.x simple-git is patched for GHSA-x6jw-m9v5-85vh / GHSA-v5rq-49vh-5v5c. wp-env 12 moves to simple-git ^4.0.2 (argv-parser 2.0.1). Its only breaking change is Node >=22.13.0; CI's ubuntu-latest runs Node 22.23.4. PLA-2594 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
danielmorell
self-requested a review
November 11, 2026 02:29
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 of the change
This clears the two critical Dependabot alerts in
package-lock.json, both published in October:simple-git3.36.0: GHSA-x6jw-m9v5-85vh (CVE-2026-102828). Fixed in 4.0.1.@simple-git/argv-parser1.1.1: GHSA-v5rq-49vh-5v5c (CVE-2026-102829). Fixed in 2.0.1.Both come in only through
@wordpress/env. Every 11.x release depends onsimple-git ^3.32.3, and no 3.x simple-git is patched. Overriding simple-git to 4.x under wp-env 11 would put a major version under a package that asks for^3. wp-env 12 is upstream's own fix: it depends onsimple-git ^4.0.2, which resolvesargv-parser2.0.1. So this pins@wordpress/envat exactly12.1.0, up from^11.15.0.wp-env 12.0.0's only breaking change is raising the minimum Node version to
>=22.13.0(changelog). This workflow'subuntu-latestrunners report Node v22.23.4 (from the last run's "General debug information" step), so CI is already compatible.After the change,
npm auditshows 0 critical findings. Two existing highs (body-parser, isomorphic-git) are unchanged and out of scope.Type of change
Related issues
Checklists
Development
npm cisucceeds andwp-env --versionreports 12.1.0. I didn't start the Docker environment.🤖 Generated with Claude Code