chore(deps): update dependency mocha to v11#656
chore(deps): update dependency mocha to v11#656renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
Conversation
|
/gcbrun |
There was a problem hiding this comment.
Code Review
This pull request updates the mocha test framework from version 9 to 11 across several packages, including authenticating-users, background, bookshelf, gce, and sessions. A critical compatibility issue was identified in the background service: Mocha v11 requires Node.js 18 or higher, but the current deployment scripts target the nodejs10 runtime, which will lead to build failures during installation.
| "child_process": "^1.0.2", | ||
| "@google-cloud/functions": "^3.0.0", | ||
| "mocha": "^9.0.0", | ||
| "mocha": "^11.0.0", |
There was a problem hiding this comment.
This update to Mocha v11 introduces a significant breaking change: it requires Node.js version 18.0.0 or higher. The previous version, v9, supported much older Node.js versions.
Your project appears to use older Node.js runtimes. For example, the integration tests for the background sample deploy a Google Cloud Function with the nodejs10 runtime (background/test/app.test.js line 38).
// background/test/app.test.js:38
cp.execSync(
`gcloud functions deploy translate-${uniqueID} --runtime nodejs10 ...`
);Merging this change without updating your Node.js environments (both for CI and for the samples themselves) will likely cause the build to fail during npm install. This is a critical issue that needs to be addressed. Please verify and update the Node.js versions used across this repository to be compatible with Mocha v11.
This PR contains the following updates:
^9.0.0→^11.0.0Release Notes
mochajs/mocha (mocha)
v11.7.5Compare Source
🩹 Fixes
requireerrors from *ts files (#5498) (d89dbaf)🧹 Chores
v11.7.4Compare Source
🩹 Fixes
📚 Documentation
🧹 Chores
v11.7.3Compare Source
🩹 Fixes
📚 Documentation
🤖 Automation
v11.7.2Compare Source
🩹 Fixes
📚 Documentation
🧹 Chores
-R import-only-loader(#5391) (6ee5b48)🤖 Automation
v11.7.1Compare Source
🩹 Fixes
🧹 Chores
v11.7.0Compare Source
🌟 Features
v11.6.0Compare Source
🌟 Features
v11.5.0Compare Source
🌟 Features
v11.4.0Compare Source
🌟 Features
📚 Documentation
v11.3.0Compare Source
🌟 Features
📚 Documentation
🧹 Chores
v11.2.2Compare Source
🩹 Fixes
📚 Documentation
v11.2.1Compare Source
🩹 Fixes
📚 Documentation
🧹 Chores
v11.2.0Compare Source
🌟 Features
📚 Documentation
🧹 Chores
fs-extrawith newerfsbuilt-ins (#5284) (75dcf8c)v11.1.0Compare Source
🌟 Features
yargs-parserfrom^20.2.9to^21.1., which fixed a bug that caused extra quotes in file paths to be removed.See #5341 for more information.
strip-ansiwithutil.stripVTControlCharacters(#5267) (3c191c0), closes #5265v11.0.2Compare Source
🩹 Fixes
📚 Documentation
status: accepting prslink (#5268) (f729cd0)v11.0.1Compare Source
🌟 Features
📚 Documentation
linkPartialObjectsmethods (#5255) (34e0e52)v11.0.0Compare Source
⚠ BREAKING CHANGES
🌟 Features
🩹 Fixes
📚 Documentation
v10.8.2Compare Source
🩹 Fixes
📚 Documentation
🧹 Chores
🤖 Automation
v10.8.1Compare Source
🩹 Fixes
v10.8.0Compare Source
🌟 Features
🩹 Fixes
:is()frommocha.cssto support older browsers (#5225) (#5227) (0a24b58)📚 Documentation
SECURITY.mdpointing to Tidelift (#5210) (bd7e63a)🧹 Chores
v10.7.3Compare Source
🩹 Fixes
v10.7.0Compare Source
🎉 Enhancements
v10.6.1Compare Source
🐛 Fixes
v10.6.0Compare Source
🎉 Enhancements
v10.5.2Compare Source
🐛 Fixes
v10.5.1Compare Source
🐛 Fixes
v10.5.0Compare Source
🎉 Enhancements
🐛 Fixes
🔩 Other
v10.4.0Compare Source
🎉 Enhancements
.causestacks in the error stack traces (@voxpelli)🐛 Fixes
lib/cli/run.js(@stalet)🔩 Other
v10.3.0Compare Source
This is a stable release equivalent to 10.30.0-prerelease.
v10.2.0Compare Source
🎉 Enhancements
🐛 Fixes
📖 Documentation
v10.1.0Compare Source
🎉 Enhancements
prefers-color-scheme: dark(@greggman)🔩 Other
Promise.allSettledinstead of polyfill (@outsideris)clean(@yetingli)v10.0.0Compare Source
💥 Breaking Changes
#4845: Drop Node.js v12.x support (@juergba)
#4848: Drop Internet-Explorer-11 support (@juergba)
#4857: Drop AMD/RequireJS support (@juergba)
#4866: Drop Growl notification support (@juergba)
#4863: Rename executable
bin/mochatobin/mocha.js(@juergba)#4865:
--ignoreoption in Windows: upgrade Minimatch (@juergba)#4861: Remove deprecated
Runnersignature (@juergba)🔩 Other
#4878: Update production dependencies (@juergba)
#4876: Add Node.js v18 to CI test matrix (@outsideris)
#4852: Replace deprecated
String.prototype.substr()(@CommanderRoot)Also thanks to @ea2305 and @SukkaW for improvements to our documentation.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.