Skip to content

chore: Fix strip-only mode issues in Node.js 22.18 #2958

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

Merged
merged 7 commits into from
Aug 18, 2025
Merged

Conversation

lahirumaramba
Copy link
Member

@lahirumaramba lahirumaramba commented Aug 12, 2025

It appears that the strip-only mode is enabled by default in Node 22.18 when using mocha --require ts-node/register.
Upgrading to mocha v11 seems to resolve the issue.

@lahirumaramba lahirumaramba added the release:stage Stage a release candidate label Aug 12, 2025
@lahirumaramba lahirumaramba changed the title chore: Fix import syntax issue in Node.js 22.x chore: Fix strip-only mode issues in Node.js 22.18 Aug 13, 2025
@lahirumaramba lahirumaramba removed the release:stage Stage a release candidate label Aug 13, 2025
@lahirumaramba lahirumaramba added the release:stage Stage a release candidate label Aug 13, 2025
Copy link
Contributor

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

@lahirumaramba lahirumaramba merged commit be214b4 into master Aug 18, 2025
12 of 14 checks passed
@lahirumaramba lahirumaramba deleted the lm-fix-node22 branch August 18, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:stage Stage a release candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants