-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[Snyk] Upgrade mocha from 11.7.1 to 11.7.5 #9111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Snyk has created this PR to upgrade mocha from 11.7.1 to 11.7.5. See this package in npm: mocha See this project in Snyk: https://app.snyk.io/org/continue-dev-inc.-default/project/7ff64b12-9373-49d8-a6a5-70de1609223c?utm_source=github&utm_medium=referral&page=upgrade-pr
|
Keep this PR in a mergeable state → Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
|
Keep this PR in a mergeable state → Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
|
|
✅ Review Complete Code Review SummaryTroubleshooting
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
This updates the lockfile to match the package.json change from mocha 11.7.1 to 11.7.5, fixing the CI build failure. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]> Co-authored-by: nate <[email protected]>
|
✅ Fixed CI build failure The build was failing because The error was: This is now resolved and the CI build should pass. |
The test was timing out on Windows CI due to slower rendering. Increased the timeout from 2000ms to 5000ms and interval from 50ms to 100ms to give more time for the UI to render the /title command. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]> Co-authored-by: nate <[email protected]>
Fixed CLI Test Failure on WindowsThe test failure was caused by a flaky UI test in the CLI that was timing out on Windows. The test expected to see Changes Made:
Test:
The fix should resolve the intermittent test failures on Windows CI while maintaining the same test behavior. |
E2E Test Failure AnalysisThe failing test Evidence:
Why This Isn't Related to Mocha Upgrade:
Recommendation:Re-run the failed E2E test job or merge the PR as the mocha upgrade changes are verified and working correctly. |

Snyk has created this PR to upgrade mocha from 11.7.1 to 11.7.5.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-GLOB-14040952
SNYK-JS-JSYAML-13961110
SNYK-JS-VITE-13644406
SNYK-JS-BRACEEXPANSION-9789073
SNYK-JS-BRACEEXPANSION-9789073
SNYK-JS-VITE-12558116
Release notes
Package name: mocha
-
11.7.5 - 2025-11-05
- swallow more
- run tests on PRs for and pushes to v11.x (#5525) (8b21b38)
- setup release-please for v11 (#5522) (663fff4)
-
11.7.4 - 2025-10-01
- watch mode using chokidar v4 (#5379) (c2667c3)
- migrate remaining legacy wiki pages to main documentation (#5465) (bff9166)
- remove trailing spaces (#5475) (7f68e5c)
-
11.7.3 - 2025-09-30
- use original require() error for TS files if ERR_UNKNOWN_FILE_EXTENSION (#5408) (ebdbc48)
- add security escalation policy (#5466) (4122c7d)
- fix duplicate global leak documentation (#5461) (1164b9d)
- migrate third party UIs wiki page to docs (#5434) (6654704)
- update maintainer release notes for release-please (#5453) (185ae1e)
- deps: bump actions/setup-node in the github-actions group (#5459) (48c6f40)
-
11.7.2 - 2025-09-01
- fail with an informative error message on a file with a broken default import (#5413) (b0e6135)
- load mjs files correctly (#5429) (a947b9b)
- add banner from old site to new site, link from new to old (#5414) (dedef11)
- add info on spies to legacy docs (#5421) (21f5544)
- explain node import swallowing error (#5401) (09f5b2c)
- fix links in new site (#5416) (b2bc769)
- migrate assertion libraries wiki link to main docs (#5442) (95f3ca8)
- migrate count assertions wiki page to docs (#5438) (02a306c)
- migrate shared behaviours to docs-next (#5432) (1dc4aa9)
- migrate Spies wiki page to explainers (#5420) (cbcf007)
- Migrate tagging wiki page to docs (#5435) (876247a)
- migrate third party reporters wiki page to docs (#5433) (f70764c)
- migrate to global leak wiki page to docs (#5437) (8a6fdca)
- update /next bug report link to be docs issue template (#5424) (668cb66)
- add issue form for ⚡️ Performance (#5406) (a908b3b)
- add test for
- also test Node.js 24 in CI (#5405) (15f5980)
- bump CI to use 20.19.4, 22.18.0, 24.6.0 (#5430) (ace5eb4)
- bump Knip to 5.61.2 (#5394) (f3d7430)
- cleanup references of --opts (#5402) (1096b37)
- enabled ESLint's no-unused-vars (#5399) (d4168ae)
- move callback and object typedefs to a new types.d.ts (#5351) (3300d21)
- rewrite base path instead of copy-pasting (#5431) (c6c6740)
- unify caught errors as err (#5439) (d4912e7)
- Update experimental module detection test and pin exact Node versions (#5417) (2489090)
- deps: bump actions/checkout in the github-actions group (#5419) (03ac2d0)
-
11.7.1 - 2025-06-24
- always fallback to import() if require() fails (#5384) (295c168)
- add esm loader test (#5383) (f58e49f)
from mocha GitHub release notes11.7.5 (2025-11-04)
🩹 Fixes
requireerrors from *ts files (#5498) (d89dbaf)🧹 Chores
11.7.4 (2025-10-01)
🩹 Fixes
📚 Documentation
🧹 Chores
11.7.3 (2025-09-30)
🩹 Fixes
📚 Documentation
🤖 Automation
11.7.2 (2025-09-01)
🩹 Fixes
📚 Documentation
🧹 Chores
-R import-only-loader(#5391) (6ee5b48)🤖 Automation
11.7.1 (2025-06-24)
🩹 Fixes
🧹 Chores
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by cubic
Upgrade Mocha to 11.7.5 to improve test reliability and mitigate Snyk-flagged vulnerabilities in transitive dependencies.
Bug Fixes
Dependencies
Written for commit ba750e4. Summary will update automatically on new commits.