fix: update Babel devDependencies for Node.js 24+ compatibility#1563
Open
prabukamal wants to merge 1 commit intomaticzav:masterfrom
Open
fix: update Babel devDependencies for Node.js 24+ compatibility#1563prabukamal wants to merge 1 commit intomaticzav:masterfrom
prabukamal wants to merge 1 commit intomaticzav:masterfrom
Conversation
@babel/core 7.19.6 is incompatible with @babel/plugin-syntax-import-attributes which requires ^7.22.0. This breaks the test suite on modern Node versions. Updated: - @babel/core: 7.19.6 → 7.26.0 - @babel/preset-env: 7.19.4 → 7.26.0 - @babel/preset-typescript: 7.18.6 → 7.26.0 All 10 test suites (61 tests) pass with these updates. Note: The isUndefined fix (maticzav#1552, commit 76dd222) is already on master but has not been published to npm as v7.6.6. Users on Node 24+ are hitting SyntaxError at runtime. Please consider publishing a new release. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@babel/core,@babel/preset-env, and@babel/preset-typescriptfrom 7.18–7.19 to 7.26.0@babel/plugin-syntax-import-attributesrequiring@babel/core >=7.22.0Context
The
isUndefinedfix (#1552, commit 76dd222) is onmasterbut has not been published to npm. Users on Node.js 24+ are hitting:SyntaxError: The requested module 'util' does not provide an export named 'isUndefined'
This PR fixes the test infra so CI can pass, enabling a new release (v7.6.6) that includes the Node 24 fix.
Test plan
pnpm install && pnpm test✔Please consider publishing v7.6.6 to npm — many users are blocked on Node 24.