@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
3 new2 fixed4 changed29 internal
Security
1 advisory affects 7.7.4; 7.26.10 fixes them
- ModerateBabel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groupsGHSA-968p-4wvh-cqc8 · 11 Mar 2025Fixed in 7.26.10
Release note
Thanks @chrishinrichs, @khoumani, @m-ahmadi, @BBlackwo, @SakibulMowla, @4geru, @Shriram-Balaji, @ZYSzys and @arku for their first PRs!
:bug: Bug Fix
babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimeAdd support for native esm to @babel/runtime. (@nicolo-ribaudo)
babel-preset-envUpdate preset-env mappings. (@existentialism)
babel-parserFlow enums: fix enum body location. (@gkz)
Fix some incorrect typeof parsing in flow. (@existentialism)
[parser] Allow optional async methods. (@gonzarodriguezt)
register import equals specifier. (@JLHwung)
Allow TypeScript type assertions in array destructuring. (@SakibulMowla)
babel-preset-env-standalonefix: add missing available plugins to babel-preset-env-standalone. (@JLHwung)
babel-plugin-transform-function-name,babel-plugin-transform-modules-umd,babel-preset-envCircumvent typeof transform for umd build template. (@JLHwung)
babel-cliBabel should not silently remove unknown options after commander arguments. (@JLHwung)
babel-plugin-proposal-optional-chainingFix optional method chaining in derived classes. (@Shriram-Balaji)
babel-parser,babel-typesAdd
asserts this [is type]parsing support. (@JLHwung)
babel-traverseFix parentheses on replaceWithMultiple for JSX. (@khoumani)
babel-helpers,babel-plugin-proposal-object-rest-spread,babel-preset-envFix: Don't call Object.keys on non-objects (babel#10482). (@chrishinrichs)
:nail_care: Polish
babel-plugin-proposal-nullish-coalescing-operatorpolish: skip creating extra reference for safely re-used node. (@JLHwung)
:house: Internal
Other
Removed duplicate key in package.json. (@rajasekarm)
chore: use loose mode of transform. (@JLHwung)
Implement PR workflow for running test262 on babel PRs. (@jbhoosreddy)
bump @babel/* dev dependencies. (@JLHwung)
E2E test Babel with itself before publishing. (@nicolo-ribaudo)
babel-coreReduce standalone build size. (@JLHwung)
babel-plugin-transform-literals,babel-preset-env-standalonefix typo [ci-skip]. (@JLHwung)
babel-cliAdd missing flow type to babel-cli for consistency. (@ZYSzys)