npm @babel/runtime 8.1.4

27 minutes ago

v8.1.4 (2026-11-27)

🐛 Bug Fix

  • babel-plugin-transform-typescript
  • babel-generator
    • #18728 fix(generator): avoid newlines and parens after no-LineTerminator tokens (@JLHwung)
    • #18723 fix: only separate > from = & > after TS instantiation expression (@JLHwung)
    • #18649 fix: add generator retainLines roundtrip test (@JLHwung)
  • babel-plugin-transform-regenerator, babel-traverse
    • #18617 fix(traverse,transform-regenerator): resolve var binding scope on removal (@hoanle0126)
  • babel-helpers, babel-plugin-transform-spread, babel-runtime-corejs3
  • babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-function-bind, babel-plugin-proposal-partial-application, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-destructuring, babel-plugin-transform-for-of, babel-plugin-transform-logical-assignment-operators, babel-plugin-transform-optional-chaining, babel-plugin-transform-react-constant-elements, babel-plugin-transform-spread, babel-traverse
  • babel-core, babel-traverse
  • babel-generator, babel-parser
  • babel-plugin-transform-regenerator
    • #18709 fix(regenerator): compile yield in object spreads and computed keys (@JLHwung)
    • #18679 fix: reject untranspiled ??, &&=, ||=, ??= before yield expression (@JLHwung)
  • babel-helpers, babel-plugin-transform-class-static-block, babel-runtime-corejs3
    • #18707 fix(helpers): name functions "[]" for symbols with an empty description (@JLHwung)
  • babel-plugin-transform-block-scoping
    • #18630 fix(block-scoping): don't add TDZ checks for loop head refs in the body (@joellemd)
  • babel-traverse
  • babel-plugin-transform-proto-to-assign
    • #18678 fix(proto-to-assign): only transform prototype setters (@JLHwung)
  • babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties, babel-plugin-transform-new-target
    • #18677 fix(class-features): new.target is undefined in instance field initializers (@JLHwung)
  • babel-helper-replace-supers, babel-plugin-transform-classes, babel-plugin-transform-object-super
    • #18676 fix(replace-supers): keep the receiver of super tagged templates (@JLHwung)
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-private-methods, babel-plugin-transform-private-property-in-object, babel-plugin-transform-typescript
    • #18673 fix(class-features): do not compile accessor properties as fields (@JLHwung)
  • babel-plugin-transform-classes
    • #18663 fix(transform-classes): throw on class elements that are not compiled (@JLHwung)
  • babel-helpers, babel-plugin-proposal-import-defer, babel-plugin-transform-dynamic-import, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-runtime-corejs3
    • #18661 fix(modules): do not compile import.{defer,source,sync}() as import() (@JLHwung)
  • babel-helper-wrap-function, babel-plugin-transform-async-generator-functions, babel-plugin-transform-block-scoping

🏠 Internal

  • babel-preset-env
    • #18687 refactor(preset-env): remove dead useBuiltIns and corejs code (@JLHwung)

🏃‍♀️ Performance

🔬 Output optimization

  • babel-helper-module-transforms, babel-plugin-transform-dynamic-import
    • #18681 fix(dynamic-import): treat template literals without expressions as static specifiers (@JLHwung)

Committers: 7

Don't miss a new runtime release

NewReleases is sending notifications on new releases.