Skip to content

Migrate mocha from v9 to v11#8590

Merged
rzhao271 merged 3 commits intomainfrom
copilot/migrate-to-latest-mocha
Mar 12, 2026
Merged

Migrate mocha from v9 to v11#8590
rzhao271 merged 3 commits intomainfrom
copilot/migrate-to-latest-mocha

Conversation

Copy link
Contributor

Copilot AI commented Mar 12, 2026

Summary

Updates mocha and its TypeScript types to the latest stable versions:

  • mocha: ^9.0.1^11.0.0 (latest stable: 11.7.5)
  • @types/mocha: ^8.2.2^10.0.0 (latest stable: 10.0.10)

Details

The migration from mocha 9 → 11 involves no breaking API changes for this codebase:

  • Mocha 10 dropped support for Node.js < 14 (our runtime is v20)
  • Mocha 11 dropped support for Node.js < 18.18.0 (our runtime is v20)
  • Neither version introduced functional breaking changes beyond the Node.js engine bump

Validation

  • npm run compile:test — TypeScript compilation passes with no errors
  • npm run lint — ESLint passes
  • npm run hygiene — Hygiene checks pass
  • ✅ CodeQL — No new security alerts

Copilot AI and others added 3 commits March 12, 2026 19:41
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
@rzhao271 rzhao271 marked this pull request as ready for review March 12, 2026 20:04
Copilot AI review requested due to automatic review settings March 12, 2026 20:04
@rzhao271 rzhao271 enabled auto-merge (squash) March 12, 2026 20:04
@rzhao271 rzhao271 added this to the 1.112.0 milestone Mar 12, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 5 changed files in this pull request and generated no comments.


You can also share your feedback on Copilot code review. Take the survey.

@rzhao271 rzhao271 merged commit aa51e2d into main Mar 12, 2026
10 checks passed
@rzhao271 rzhao271 deleted the copilot/migrate-to-latest-mocha branch March 12, 2026 21:13
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.

4 participants