Skip to content

fix(deps): bump simple-git and @wordpress/env - #406

Merged
justlevine merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/multi-c6c3803489
Oct 21, 2026
Merged

justlevine merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/multi-c6c3803489

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps simple-git to 4.0.2 and updates ancestor dependency @wordpress/env. These dependencies need to be updated together.

Updates simple-git from 3.36.0 to 4.0.2

Release notes

Sourced from simple-git's releases.

simple-git@4.0.2

Patch Changes

  • 68874c2: Add VISUAL environment variable to set of allowUnsafeEditor environment variables.

    Thanks to @​oss-security-shopify for identifying the vulnerability.

  • Updated dependencies [68874c2]

    • @​simple-git/argv-parser@​2.0.1

simple-git@4.0.1

Patch Changes

  • 365f52d: Prepare package.json before publishing.

simple-git@4.0.0

Major Changes

  • 98864c6: Major upgrade to v4. In this version:

    • Removed previously available default export, now uses a consistently named simpleGit export.
    • Removed previously deprecated import simple-git/promise (change to using the main simple-git import).
    • Removed legacy gitP export (change to using the main simpleGit export).
    // v3 - previously supported imports
    import simpleGit from "simple-git";
    import { gitP } from "simple-git";
    import simpleGit from "simple-git/promise";
    const simpleGit = require("simple-git");
    // v4 - consolidates to a single supported import
    import { simpleGit } from "simple-git";
    const { simpleGit } = require("simple-git");

    • Prevents the use of abbreviated long-form git options:
    // v3 - allowed the use of unambiguous long-form options
    git.raw("clone", "--conf=user.name=me", "...");
    // v4 - requires full option names, abbreviated option names will now throw a GitConfigurationError
    git.raw("fetch", "--config=user.name=me", "...");

    • Ambient environment variables are filtered before passing into the git child process.
    // v3

... (truncated)

Changelog

Sourced from simple-git's changelog.

4.0.2

Patch Changes

  • 68874c2: Add VISUAL environment variable to set of allowUnsafeEditor environment variables.

    Thanks to @​oss-security-shopify for identifying the vulnerability.

  • Updated dependencies [68874c2]

    • @​simple-git/argv-parser@​2.0.1

4.0.1

Patch Changes

  • 365f52d: Prepare package.json before publishing.

4.0.0

Major Changes

  • 98864c6: Major upgrade to v4. In this version:

    • Removed previously available default export, now uses a consistently named simpleGit export.
    • Removed previously deprecated import simple-git/promise (change to using the main simple-git import).
    • Removed legacy gitP export (change to using the main simpleGit export).
    // v3 - previously supported imports
    import simpleGit from "simple-git";
    import { gitP } from "simple-git";
    import simpleGit from "simple-git/promise";
    const simpleGit = require("simple-git");
    // v4 - consolidates to a single supported import
    import { simpleGit } from "simple-git";
    const { simpleGit } = require("simple-git");

    • Prevents the use of abbreviated long-form git options:
    // v3 - allowed the use of unambiguous long-form options
    git.raw("clone", "--conf=user.name=me", "...");
    // v4 - requires full option names, abbreviated option names will now throw a GitConfigurationError
    git.raw("fetch", "--config=user.name=me", "...");

    Thanks to @​anir0y, @​CFionaBF, @​Leeziao, @​internetteletubbie, @​idisdi, @​the-vibe-dev,

... (truncated)

Commits

Updates @wordpress/env from 11.17.0 to 12.0.0

Changelog

Sourced from @​wordpress/env's changelog.

12.0.0 (2026-10-20)

Breaking Changes

  • Raise the minimum required Node.js version to >=22.13.0, for stable require(esm) support (#84313).

Bug Fixes

  • Download the PHPUnit test library for a WordPress alpha, beta or RC version from its X.Y branch of WordPress/wordpress-develop when that branch exists, instead of always from trunk. A maintenance branch between point releases, such as 7.1.4-alpha, no longer gets trunk's tests, which can depend on code only trunk has. A release falls back to its X.Y branch when its tag does not exist yet. Cached test libraries now also update to the fetched version instead of staying on the first one downloaded (#84758).
Commits
  • 8d30f92 chore(release): publish
  • e7922b3 Update changelog files
  • e4d93b0 Merge changes published in the Gutenberg plugin "release/24.3" branch
  • fa4301b Update changelog files
  • 5c222d1 Merge changes published in the Gutenberg plugin "release/24.3" branch
  • 2555c8d Update changelog files
  • 558d1e6 Merge changes published in the Gutenberg plugin "release/24.3" branch
  • See full diff in compare view

Open WordPress Playground Preview

Copilot AI balanced review requested due to automatic review settings October 21, 2026 19:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Dependency versions are consistent, and the existing Node.js 24 configuration satisfies the new minimum requirement.

No open issues 🎉

What changed in this PR

Updates the WordPress development tooling to incorporate simple-git security fixes.

Changes:

  • Upgrades @wordpress/env from 11.17.0 to 12.0.0.
  • Updates simple-git to 4.0.2 and refreshes its supporting dependencies.
File Description
package.json Raises the @wordpress/env dependency range.
package-lock.json Locks the coordinated dependency upgrades and updated Node.js requirement.

Review effort: Balanced

@justlevine

Copy link
Copy Markdown
Contributor

@dependabot rebase

@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: justlevine <justlevine@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) to 4.0.2 and updates ancestor dependency [@wordpress/env](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env). These dependencies need to be updated together.


Updates `simple-git` from 3.36.0 to 4.0.2
- [Release notes](https://github.com/steveukx/git-js/releases)
- [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md)
- [Commits](https://github.com/steveukx/git-js/commits/simple-git@4.0.2/simple-git)

Updates `@wordpress/env` from 11.17.0 to 12.0.0
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/env@12.0.0/packages/env)

---
updated-dependencies:
- dependency-name: "@wordpress/env"
  dependency-version: 12.0.0
  dependency-type: direct:development
- dependency-name: simple-git
  dependency-version: 4.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-c6c3803489 branch from 597b2b8 to d4cb040 Compare October 21, 2026 20:04
@justlevine
justlevine merged commit 9219623 into trunk Oct 21, 2026
37 checks passed
@justlevine
justlevine deleted the dependabot/npm_and_yarn/multi-c6c3803489 branch October 21, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants