Update dependency mocha to v11
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| mocha (source) | 8.4.0 -> 11.1.0 |
Release Notes
mochajs/mocha (mocha)
v11.1.0
🌟 Features
- bump yargs to 17 (#​5165) (8f1c8d8)
- replace
strip-ansiwithutil.stripVTControlCharacters(#​5267) (3c191c0), closes #​5265
v11.0.2
🩹 Fixes
- catch exceptions setting Error.stackTraceLimit (#​5254) (259f8f8)
- error handling for unexpected numeric arguments passed to cli (#​5263) (210d658)
📚 Documentation
- correct outdated
status: accepting prslink (#​5268) (f729cd0) - replace "New in" with "Since" in version annotations (#​5262) (6f10d12)
v11.0.1
🌟 Features
📚 Documentation
v11.0.0
âš BREAKING CHANGES
- adapt new engine range for Mocha 11 (#​5216)
🌟 Features
🩹 Fixes
📚 Documentation
v10.8.2
🩹 Fixes
- support errors with circular dependencies in object values with --parallel (#​5212) (ba0fefe)
- test link in html reporter (#​5224) (f054acc)
📚 Documentation
🧹 Chores
🤖 Automation
v10.8.1
🩹 Fixes
- handle case of invalid package.json with no explicit config (#​5198) (f72bc17)
- Typos on mochajs.org (#​5237) (d8ca270)
- use accurate test links in HTML reporter (#​5228) (68803b6)
v10.8.0
🌟 Features
🩹 Fixes
📚 Documentation
- add
SECURITY.mdpointing to Tidelift (#​5210) (bd7e63a) - adopt Collective Funds Guidelines 0.1 (#​5199) (2b03d86)
- update README, LICENSE and fix outdated (#​5197) (1203e0e)
🧹 Chores
v10.7.3
🩹 Fixes
v10.7.0
:tada: Enhancements
- #​4771 feat: add option to not fail on failing test suite (@​ilgonmic)
v10.6.1
:bug: Fixes
- #​3825 fix: do not exit when only unref'd timer is present in test code (@​boneskull)
- #​5040 fix: support canonical module (@​JacobLey)
v10.6.0
:tada: Enhancements
- #​5150 feat: allow ^ versions for character encoding packages (@​JoshuaKGoldberg)
- #​5151 feat: allow ^ versions for file matching packages (@​JoshuaKGoldberg)
- #​5152 feat: allow ^ versions for yargs packages (@​JoshuaKGoldberg)
- #​5153 feat: allow ^ versions for data serialization packages (@​JoshuaKGoldberg)
- #​5154 feat: allow ^ versions for miscellaneous packages (@​JoshuaKGoldberg)
v10.5.2
:bug: Fixes
- #​5032 fix: better tracking of seen objects in error serialization (@​sam-super)
v10.5.1
:bug: Fixes
- #​5086 fix: Add error handling for nonexistent file case with --file option (@​khoaHyh)
v10.5.0
:tada: Enhancements
- #​5015 feat: use <progress> and <svg> for browser progress indicator instead of <canvas> (@​yourWaifu)
- #​5143 feat: allow using any 3.x chokidar dependencies (@​simhnna)
- #​4835 feat: add MOCHA_OPTIONS env variable (@​icholy)
:bug: Fixes
- #​5107 fix: include stack in browser uncaught error reporting (@​JoshuaKGoldberg)
:nut_and_bolt: Other
- #​5110 chore: switch two-column list styles to be opt-in (@​marjys)
- #​5135 chore: fix some typos in comments (@​StevenMia)
- #​5130 chore: rename 'master' to 'main' in docs and tooling (@​JoshuaKGoldberg)
v10.4.0
:tada: Enhancements
- #​4829 feat: include
.causestacks in the error stack traces (@​voxpelli) - #​4985 feat: add file path to xunit reporter (@​bmish)
:bug: Fixes
- #​5074 fix: harden error handling in
lib/cli/run.js(@​stalet)
:nut_and_bolt: Other
- #​5077 chore: add mtfoley/pr-compliance-action (@​JoshuaKGoldberg)
- #​5060 chore: migrate ESLint config to flat config (@​JoshuaKGoldberg)
- #​5095 chore: revert #​5069 to restore Netlify builds (@​voxpelli)
- #​5097 docs: add sponsored to sponsorship link rels (@​JoshuaKGoldberg)
- #​5093 chore: add 'status: in triage' label to issue templates and docs (@​JoshuaKGoldberg)
- #​5083 docs: fix CHANGELOG.md headings to start with a root-level h1 (@​JoshuaKGoldberg)
- #​5100 chore: fix header generation and production build crashes (@​JoshuaKGoldberg)
- #​5104 chore: bump ESLint ecmaVersion to 2020 (@​JoshuaKGoldberg)
- #​5116 fix: eleventy template builds crash with 'unexpected token at ": string, msg..."' (@​LcsK)
- #​4869 docs: fix documentation concerning glob expansion on UNIX (@​binki)
- #​5122 test: fix xunit integration test (@​voxpelli)
- #​5123 chore: activate dependabot for workflows (@​voxpelli)
- #​5125 build(deps): bump the github-actions group with 2 updates (@​dependabot)
v10.3.0
This is a stable release equivalent to 10.30.0-prerelease.
v10.2.0
:tada: Enhancements
- #​4945: API: add possibility to decorate ESM name before import (@​j0tunn)
:bug: Fixes
- #​4946: Browser: color of failed test icon (@​kleisauke)
:book: Documentation
- #​4944: Remove duplicated header (@​PauloGoncalvesBH)
v10.1.0
:tada: Enhancements
- #​4896: Browser: add support for
prefers-color-scheme: dark(@​greggman)
:nut_and_bolt: Other
- #​4912: Browser: increase contrast for replay buttons (@​JoshuaKGoldberg)
- #​4905: Use standard
Promise.allSettledinstead of polyfill (@​outsideris) - #​4899: Upgrade official GitHub actions to latest (@​ddzz)
- #​4770: Fix regex in function
clean(@​yetingli)
v10.0.0
:boom: 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)
:nut_and_bolt: 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.
v9.2.2
:bug: Fixes
-
#​4842: Loading of reporter throws wrong error (@​juergba)
-
#​4839:
dry-run: prevent potential call-stack crash (@​juergba)
:nut_and_bolt: Other
- #​4843: Update production dependencies (@​juergba)
v9.2.1
:bug: Fixes
-
#​4832: Loading of config files throws wrong error (@​juergba)
-
#​4799: Reporter: configurable
maxDiffSizereporter-option (@​norla)
v9.2.0
:tada: Enhancements
:nut_and_bolt: Other
- #​4818: Update production dependencies (@​juergba)
v9.1.4
:bug: Fixes
- #​4807:
importthrows wrong error if loader is used (@​giltayar)
:nut_and_bolt: Other
- #​4777: Add Node v17 to CI test matrix (@​outsideris)
v9.1.3
:bug: Fixes
- #​4769: Browser: re-enable
bddES6 style import (@​juergba)
:nut_and_bolt: Other
- #​4764: Revert deprecation of
EVENT_SUITE_ADD_*events (@​beatfactor)
v9.1.2
:bug: Fixes
- #​4746: Browser: stop using all global vars in
browser-entry.js(@​PaperStrike)
:nut_and_bolt: Other
- #​4754: Remove dependency wide-align (@​juergba)
- #​4736: ESM: remove code for Node versions <10 (@​juergba)
v9.1.1
:bug: Fixes
- #​4623:
XUNITandJSONreporter crash inparallelmode (@​curtisman)
v9.1.0
:tada: Enhancements
- #​4716: Add new option
--fail-zero(@​juergba) - #​4691: Add new option
--node-option(@​juergba) - #​4607: Add output option to
JSONreporter (@​dorny)
v9.0.3
:bug: Fixes
-
#​4702: Error rethrow from cwd-relative path while loading
.mocharc.js(@​kirill-golovan) -
#​4688: Usage of custom interface in parallel mode (@​juergba)
-
#​4687: ESM: don't swallow
MODULE_NOT_FOUNDerrors in case oftype:module(@​giltayar)
v9.0.2
:bug: Fixes
- #​4668: ESM: make
--require <dir>work with newimport-first loading (@​giltayar)
:nut_and_bolt: Other
- #​4674: Update production dependencies (@​juergba)
v9.0.1
:nut_and_bolt: Other
- #​4657: Browser: add separate bundle for modern browsers (@​juergba)
We added a separate browser bundle mocha-es2018.js in javascript ES2018, as we skipped the transpilation down to ES5. This is an experimental step towards freezing Mocha's support of IE11.
- #​4653: ESM: proper version check in
hasStableEsmImplementation(@​alexander-fenster)
v9.0.0
:boom: Breaking Changes
-
#​4633: Drop Node.js v10.x support (@​juergba)
-
#​4635:
import-first loading of test files (@​giltayar)
Mocha is going ESM-first! This means that it will now use ESM import(test_file) to load the test files, instead of the CommonJS require(test_file). This is not a problem, as import can also load most files that require does. In the rare cases where this fails, it will fallback to require(...). This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.
-
#​4636: Remove deprecated
utils.lookupFiles()(@​juergba) -
#​4638: Limit the size of
actual/expectedfordiffgeneration (@​juergba) -
#​4389: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (@​MoonSupport)
:tada: Enhancements
- #​4640: Add new option
--dry-run(@​juergba)
:bug: Fixes
- #​4128: Fix: control stringification of error message (@​syeutyu)
:nut_and_bolt: Other
- #​4646: Deprecate
Runner(suite: Suite, delay: boolean)signature (@​juergba) - #​4643: Update production dependencies (@​juergba)
Configuration
📅 Schedule: Branch creation - "* * * * 1-5" (UTC), 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.