Skip to content

Commit f7de2d1

Browse files
chore(deps): update dependency mocha to v11.7.4 (#2197)
> [!NOTE] > Mend has cancelled [the proposed renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842) of the Renovate GitHub app being renamed to `mend[bot]`. > > This notice will be removed on 2025-10-07. <hr> This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [mocha](https://mochajs.org/) ([source](https://redirect.github.com/mochajs/mocha)) | [`11.2.2` -> `11.7.4`](https://renovatebot.com/diffs/npm/mocha/11.2.2/11.7.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/mocha/11.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/mocha/11.2.2/11.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mochajs/mocha (mocha)</summary> ### [`v11.7.4`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1174-2025-10-01) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.7.3...v11.7.4) ##### 🩹 Fixes - watch mode using chokidar v4 ([#&#8203;5379](https://redirect.github.com/mochajs/mocha/issues/5379)) ([c2667c3](https://redirect.github.com/mochajs/mocha/commit/c2667c3b3fca33c21306f59a1cca55bb7e1dac1f)) ##### 📚 Documentation - migrate remaining legacy wiki pages to main documentation ([#&#8203;5465](https://redirect.github.com/mochajs/mocha/issues/5465)) ([bff9166](https://redirect.github.com/mochajs/mocha/commit/bff91660733b71b124aad939538dee7747cfbeb8)) ##### 🧹 Chores - remove trailing spaces ([#&#8203;5475](https://redirect.github.com/mochajs/mocha/issues/5475)) ([7f68e5c](https://redirect.github.com/mochajs/mocha/commit/7f68e5c1565606bcebeb715b8591c52973d00dff)) ### [`v11.7.3`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1173-2025-09-30) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.7.2...v11.7.3) ##### 🩹 Fixes - use original require() error for TS files if ERR\_UNKNOWN\_FILE\_EXTENSION ([#&#8203;5408](https://redirect.github.com/mochajs/mocha/issues/5408)) ([ebdbc48](https://redirect.github.com/mochajs/mocha/commit/ebdbc487693254498de62068c59e3e43d078eff1)) ##### 📚 Documentation - add security escalation policy ([#&#8203;5466](https://redirect.github.com/mochajs/mocha/issues/5466)) ([4122c7d](https://redirect.github.com/mochajs/mocha/commit/4122c7d13d0941be451365397fbf43e1f3103027)) - fix duplicate global leak documentation ([#&#8203;5461](https://redirect.github.com/mochajs/mocha/issues/5461)) ([1164b9d](https://redirect.github.com/mochajs/mocha/commit/1164b9da895e56cf745acda2792e634080018ff6)) - migrate third party UIs wiki page to docs ([#&#8203;5434](https://redirect.github.com/mochajs/mocha/issues/5434)) ([6654704](https://redirect.github.com/mochajs/mocha/commit/66547045cb9bd2fa8209b34c36da2a5ef49d23fc)) - update maintainer release notes for release-please ([#&#8203;5453](https://redirect.github.com/mochajs/mocha/issues/5453)) ([185ae1e](https://redirect.github.com/mochajs/mocha/commit/185ae1eabe5c1e92c758bdfb398f7f47b6ef9483)) ##### 🤖 Automation - **deps:** bump actions/setup-node in the github-actions group ([#&#8203;5459](https://redirect.github.com/mochajs/mocha/issues/5459)) ([48c6f40](https://redirect.github.com/mochajs/mocha/commit/48c6f4068b5d22ebc49220900f0b53f8ecdc2b74)) ### [`v11.7.2`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1172-2025-09-01) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.7.1...v11.7.2) ##### 🩹 Fixes - fail with an informative error message on a file with a broken default import ([#&#8203;5413](https://redirect.github.com/mochajs/mocha/issues/5413)) ([b0e6135](https://redirect.github.com/mochajs/mocha/commit/b0e61350594f2a044bf34ea153d1fab1e82e80cc)) - load mjs files correctly ([#&#8203;5429](https://redirect.github.com/mochajs/mocha/issues/5429)) ([a947b9b](https://redirect.github.com/mochajs/mocha/commit/a947b9b95501a35efa73c18aa57a74dad555c03a)) ##### 📚 Documentation - add banner from old site to new site, link from new to old ([#&#8203;5414](https://redirect.github.com/mochajs/mocha/issues/5414)) ([dedef11](https://redirect.github.com/mochajs/mocha/commit/dedef110a2af2f8632fb6c1b864fa0a46ad6ca9c)) - add info on spies to legacy docs ([#&#8203;5421](https://redirect.github.com/mochajs/mocha/issues/5421)) ([21f5544](https://redirect.github.com/mochajs/mocha/commit/21f554459c75f5a75b22556b6e2ac70d6ac0e9fc)) - explain node import swallowing error ([#&#8203;5401](https://redirect.github.com/mochajs/mocha/issues/5401)) ([09f5b2c](https://redirect.github.com/mochajs/mocha/commit/09f5b2c9de67ef40d5bd1775c3fca3bdb138f371)) - fix links in new site ([#&#8203;5416](https://redirect.github.com/mochajs/mocha/issues/5416)) ([b2bc769](https://redirect.github.com/mochajs/mocha/commit/b2bc769c6c8d87311ba0bdc9df8b9b588494eba5)) - migrate assertion libraries wiki link to main docs ([#&#8203;5442](https://redirect.github.com/mochajs/mocha/issues/5442)) ([95f3ca8](https://redirect.github.com/mochajs/mocha/commit/95f3ca8bc3a6c6af2932f7fd59a404768c0c6693)) - migrate count assertions wiki page to docs ([#&#8203;5438](https://redirect.github.com/mochajs/mocha/issues/5438)) ([02a306c](https://redirect.github.com/mochajs/mocha/commit/02a306c6cbf31f4eef7d4c9bf5e06c917d3efc11)) - migrate shared behaviours to docs-next ([#&#8203;5432](https://redirect.github.com/mochajs/mocha/issues/5432)) ([1dc4aa9](https://redirect.github.com/mochajs/mocha/commit/1dc4aa98eb3793865fa2a4da3373534dafc1c9a7)) - migrate Spies wiki page to explainers ([#&#8203;5420](https://redirect.github.com/mochajs/mocha/issues/5420)) ([cbcf007](https://redirect.github.com/mochajs/mocha/commit/cbcf007c5ae25f203863aac0b43eca1e8aefe093)) - Migrate tagging wiki page to docs ([#&#8203;5435](https://redirect.github.com/mochajs/mocha/issues/5435)) ([876247a](https://redirect.github.com/mochajs/mocha/commit/876247a8a636cc7bb1c3bf31390e7771182a090a)) - migrate third party reporters wiki page to docs ([#&#8203;5433](https://redirect.github.com/mochajs/mocha/issues/5433)) ([f70764c](https://redirect.github.com/mochajs/mocha/commit/f70764c9a56fcf12e316d5539788c7be0693b6a9)) - migrate to global leak wiki page to docs ([#&#8203;5437](https://redirect.github.com/mochajs/mocha/issues/5437)) ([8a6fdca](https://redirect.github.com/mochajs/mocha/commit/8a6fdcafccd94c888fae5e8be47dd29a604241b6)) - update /next bug report link to be docs issue template ([#&#8203;5424](https://redirect.github.com/mochajs/mocha/issues/5424)) ([668cb66](https://redirect.github.com/mochajs/mocha/commit/668cb66e1288051369ab144ccb50c840ebe34267)) ##### 🧹 Chores - add issue form for ⚡️ Performance ([#&#8203;5406](https://redirect.github.com/mochajs/mocha/issues/5406)) ([a908b3b](https://redirect.github.com/mochajs/mocha/commit/a908b3b86604d41d5751cccfaff505d7092c114f)) - add test for `-R import-only-loader` ([#&#8203;5391](https://redirect.github.com/mochajs/mocha/issues/5391)) ([6ee5b48](https://redirect.github.com/mochajs/mocha/commit/6ee5b483b8c29e0593c7765ad7a5c7b7f7764fc3)) - also test Node.js 24 in CI ([#&#8203;5405](https://redirect.github.com/mochajs/mocha/issues/5405)) ([15f5980](https://redirect.github.com/mochajs/mocha/commit/15f59805287f4c84ab8d057735a391a795be23f1)) - bump CI to use 20.19.4, 22.18.0, 24.6.0 ([#&#8203;5430](https://redirect.github.com/mochajs/mocha/issues/5430)) ([ace5eb4](https://redirect.github.com/mochajs/mocha/commit/ace5eb47a7926fe9d56ebcd95fd659c557a5be4d)) - bump Knip to 5.61.2 ([#&#8203;5394](https://redirect.github.com/mochajs/mocha/issues/5394)) ([f3d7430](https://redirect.github.com/mochajs/mocha/commit/f3d743061d6523f7077b21749089e6fb2f9c32e3)) - cleanup references of --opts ([#&#8203;5402](https://redirect.github.com/mochajs/mocha/issues/5402)) ([1096b37](https://redirect.github.com/mochajs/mocha/commit/1096b376c3c3bb9d4256c643ad35a459ed750928)) - enabled ESLint's no-unused-vars ([#&#8203;5399](https://redirect.github.com/mochajs/mocha/issues/5399)) ([d4168ae](https://redirect.github.com/mochajs/mocha/commit/d4168aef4c21f8fd119385da1cf1794a1ec5c2e1)) - move callback and object typedefs to a new types.d.ts ([#&#8203;5351](https://redirect.github.com/mochajs/mocha/issues/5351)) ([3300d21](https://redirect.github.com/mochajs/mocha/commit/3300d2155a1b06059fbe89c98a1d8bf979539019)) - rewrite base path instead of copy-pasting ([#&#8203;5431](https://redirect.github.com/mochajs/mocha/issues/5431)) ([c6c6740](https://redirect.github.com/mochajs/mocha/commit/c6c6740fb45da43510f86c1d22ea46ce9ee6a7ae)) - unify caught errors as err ([#&#8203;5439](https://redirect.github.com/mochajs/mocha/issues/5439)) ([d4912e7](https://redirect.github.com/mochajs/mocha/commit/d4912e705cf9ae1c3aa274b6449a6a0ff6d408c5)) - Update experimental module detection test and pin exact Node versions ([#&#8203;5417](https://redirect.github.com/mochajs/mocha/issues/5417)) ([2489090](https://redirect.github.com/mochajs/mocha/commit/2489090223f2629e4a380abe4cc6d46858ada922)) ##### 🤖 Automation - **deps:** bump actions/checkout in the github-actions group ([#&#8203;5419](https://redirect.github.com/mochajs/mocha/issues/5419)) ([03ac2d0](https://redirect.github.com/mochajs/mocha/commit/03ac2d0e6e75e95b3dc7fb08f2e1a1117d9718ca)) ### [`v11.7.1`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1171-2025-06-24) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.7.0...v11.7.1) ##### 🩹 Fixes - always fallback to import() if require() fails ([#&#8203;5384](https://redirect.github.com/mochajs/mocha/issues/5384)) ([295c168](https://redirect.github.com/mochajs/mocha/commit/295c168628c2583245fb67d371b640309ba243ba)) ##### 🧹 Chores - add esm loader test ([#&#8203;5383](https://redirect.github.com/mochajs/mocha/issues/5383)) ([f58e49f](https://redirect.github.com/mochajs/mocha/commit/f58e49f08df2066e27f87f93ad7ee9cd6f91d225)) ### [`v11.7.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1170-2025-06-18) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.6.0...v11.7.0) ##### 🌟 Features - use require to load esm ([#&#8203;5366](https://redirect.github.com/mochajs/mocha/issues/5366)) ([41e24a2](https://redirect.github.com/mochajs/mocha/commit/41e24a242944da0cfc9d4d6989dede85f648cb40)) ### [`v11.6.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1160-2025-06-09) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.5.0...v11.6.0) ##### 🌟 Features - bump workerpool from ^6.5.1 to ^9.2.0 ([#&#8203;5350](https://redirect.github.com/mochajs/mocha/issues/5350)) ([581a3c5](https://redirect.github.com/mochajs/mocha/commit/581a3c554489855ac02860689d3f4ae772c2ea79)) ### [`v11.5.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1150-2025-05-22) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.4.0...v11.5.0) ##### 🌟 Features - bump mimimatch from ^5.1.6 to ^9.0.5 ([#&#8203;5349](https://redirect.github.com/mochajs/mocha/issues/5349)) ([a3dea85](https://redirect.github.com/mochajs/mocha/commit/a3dea85b316e229ea95f51c715ad61708e9ab9a3)) ### [`v11.4.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1140-2025-05-19) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.3.0...v11.4.0) ##### 🌟 Features - bump diff from ^5.2.0 to ^7.0.0 ([#&#8203;5348](https://redirect.github.com/mochajs/mocha/issues/5348)) ([554d6bb](https://redirect.github.com/mochajs/mocha/commit/554d6bbec92c3c938af0a533109749b6f3b7bd2c)) ##### 📚 Documentation - added CHANGELOG.md note around 11.1 yargs-parser update ([#&#8203;5362](https://redirect.github.com/mochajs/mocha/issues/5362)) ([618415d](https://redirect.github.com/mochajs/mocha/commit/618415d9c6fa3ef4e959207c8dd404f4703de7a7)) ### [`v11.3.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1130-2025-05-16) [Compare Source](https://redirect.github.com/mochajs/mocha/compare/v11.2.2...v11.3.0) ##### 🌟 Features - add option to use posix exit code upon fatal signal ([#&#8203;4989](https://redirect.github.com/mochajs/mocha/issues/4989)) ([91bbf85](https://redirect.github.com/mochajs/mocha/commit/91bbf855012ee9b83700d3c563b517483de0831c)) ##### 📚 Documentation - Deploy new site alongside old one ([#&#8203;5360](https://redirect.github.com/mochajs/mocha/issues/5360)) ([6c96545](https://redirect.github.com/mochajs/mocha/commit/6c96545aee03efeee78c55feedcf70664426514c)) - mention explicit browser support range ([#&#8203;5354](https://redirect.github.com/mochajs/mocha/issues/5354)) ([c514c0b](https://redirect.github.com/mochajs/mocha/commit/c514c0bfad044f8450a63b2f9c6c781b9ce6f164)) - update Node.js version requirements for 11.x ([#&#8203;5329](https://redirect.github.com/mochajs/mocha/issues/5329)) ([abf3dd9](https://redirect.github.com/mochajs/mocha/commit/abf3dd921544b45c4c09eef8f7c9c3c4481a3d66)) ##### 🧹 Chores - remove prerelease setting in release-please config ([#&#8203;5363](https://redirect.github.com/mochajs/mocha/issues/5363)) ([8878f22](https://redirect.github.com/mochajs/mocha/commit/8878f222c418a0bf4fe170c17573c30b5ea2d567)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/runtime-env/import-meta-env). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 61b3eee commit f7de2d1

File tree

2 files changed

+43
-49
lines changed

2 files changed

+43
-49
lines changed

packages/examples/mocha-example/package-lock.json

Lines changed: 42 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/examples/mocha-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"@babel/register": "7.28.3",
1212
"cross-env": "7.0.3",
1313
"expect": "29.7.0",
14-
"mocha": "11.2.2"
14+
"mocha": "11.7.4"
1515
}
1616
}

0 commit comments

Comments
 (0)