Skip to content

fix: update Babel devDependencies for Node.js 24+ compatibility#1563

Open
prabukamal wants to merge 1 commit intomaticzav:masterfrom
prabukamal:fix/update-babel-for-node24-compat
Open

fix: update Babel devDependencies for Node.js 24+ compatibility#1563
prabukamal wants to merge 1 commit intomaticzav:masterfrom
prabukamal:fix/update-babel-for-node24-compat

Conversation

@prabukamal
Copy link

Summary

  • Updates @babel/core, @babel/preset-env, and @babel/preset-typescript from 7.18–7.19 to 7.26.0
  • Fixes test suite failure caused by @babel/plugin-syntax-import-attributes requiring @babel/core >=7.22.0

Context

The isUndefined fix (#1552, commit 76dd222) is on master but 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

  • All 10 test suites pass (61 tests)
  • pnpm install && pnpm test

Please consider publishing v7.6.6 to npm — many users are blocked on Node 24.

@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>
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.

1 participant

Comments