Skip to content

chore(deps): update dependency mocha to v12 - #420

Open
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/mocha-12.x
Open

chore(deps): update dependency mocha to v12#420
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/mocha-12.x

Conversation

@renovate-bot

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
mocha (source) 11.7.512.0.0 age confidence

Release Notes

mochajs/mocha (mocha)

v12.0.0

Compare Source

🩹 Fixes
📚 Documentation
🧹 Chores

v11.8.0

Compare Source

v11.7.6

Compare Source

🩹 Fixes
  • make describe().timeout() work (aafe6fd)
  • test: replace wmic usage with native Windows API (#​5694) (73ebdfa)
🧹 Chores

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 8am on the first day of the month"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot
renovate-bot requested review from a team and nityaravi as code owners September 1, 2026 03:30
@dpebot

dpebot commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

/gcbrun

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request upgrades the Mocha test runner from version 11.7.5 to 12.0.0 across several example projects, along with updating their lockfiles. However, upgrading to Mocha v12 drops support for Node.js versions older than 20.19.0, which will break test execution on Node 18 in the multiple-node-versions-example project.

"devDependencies": {
"chai": "6.2.2",
"mocha": "11.7.5",
"mocha": "12.0.0",

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.

medium

Upgrading to Mocha v12 drops support for Node.js < 20.19.0 (including Node 18). This will break test execution on Node 18, which is likely tested in this multiple-node-versions-example project. If Node 18 support is still required, Mocha should be kept at v11.

Suggested change
"mocha": "12.0.0",
"mocha": "11.7.5",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants