@babel/plugin-proposal-decorators
8.0.2 · 18 Jun 2026MIT42.1M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
1 new10 fixed10 changed1 internal
Release note
Thanks @kermanx and @woaitsAryan for your first PRs!
:eyeglasses: Spec Compliance
babel-parser: Allow
using ofas lexical declaration within for (@JLHwung)babel-parser: Disallow get/set in TSPropertySignature (@JLHwung)
babel-parser, babel-types: Stricter TSImportType options parsing (@JLHwung)
:bug: Bug Fix
babel-plugin-proposal-destructuring-private, babel-plugin-proposal-do-expressions, babel-traverse: fix: do expressions should allow early exit (@kermanx)
babel-helper-wrap-function, babel-plugin-transform-async-to-generator: Fix: propagate argument evaluation errors through async promise chain (@magic-akari)
babel-helper-remap-async-to-generator, babel-plugin-transform-async-to-generator: fix apply()/call() annotated as pure (@Lacsw)
babel-helper-fixtures, babel-parser: Create ChainExpression within TSInstantiationExpression (@JLHwung)
babel-generator, babel-parser: Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 2) (@JLHwung)
babel-parser: Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 1) (@JLHwung)
babel-parser: Fix start of TSParameterProperty (@JLHwung)
babel-compat-data, babel-preset-env: Update firefox bugfix compat data (@JLHwung)
babel-traverse: fix: Objects and arrays with multiple references should not be evaluated (@liuxingbaoyu)
babel-generator: Fix: support const type parameter in generator (@JLHwung)
:nail_care: Polish
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-decorators, babel-plugin-transform-arrow-functions, babel-plugin-transform-class-properties, babel-plugin-transform-destructuring, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-chaining, babel-plugin-transform-parameters, babel-traverse: Reduce generated names size for the 10th-11th (@nicolo-ribaudo)
:house: Internal
babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Remove unused
regenerator-runtimedep in@babel/runtime(@nicolo-ribaudo)babel-compat-data, babel-preset-env: Tune plugin compat data (@JLHwung)
babel-compat-data, babel-standalone: migrate babel-compat-data build script to mjs (@JLHwung)
babel-register: Migrate
@babel/registerto cts (@liuxingbaoyu)babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs3: Inline regenerator in the relevant packages (@nicolo-ribaudo)
All packages
Enforce node protocol import (@JLHwung)
:microscope: Output optimization
babel-helpers, babel-plugin-transform-modules-commonjs, babel-runtime-corejs3: Reduce
interopRequireWildcardsize (@liuxingbaoyu)babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs3: Reduce
regeneratorRuntimesize (@liuxingbaoyu)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.