@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
13 new1 faster8 fixed4 changed5 internal
Release note
Thanks @AndrewLeedham, @fisker, @kik-o, @kitos, @lazytype for their first PRs!
We are also releasing the first experimental version of the new polyfills plugins: you can check them out at babel/babel-polyfills.
:eyeglasses: Spec Compliance
babel-plugin-proposal-logical-assignment-operators: logical-assignment: Do not assign names to anonymous functions (@arku)
:rocket: New Feature
babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-optimise-call-expression, babel-helper-replace-supers, babel-parser, babel-plugin-proposal-class-properties: Handle private access chained on an optional chain (@jridgewell)
babel-standalone: feat: add privatePropertyInObject to babel-standalone (@JLHwung)
babel-standalone: Support data-type="module" to generate native <script type="module"> (@dfabulich)
babel-cli, babel-helper-create-class-features-plugin, babel-parser, babel-plugin-proposal-private-property-in-object, babel-types: Add private-property-in-object support (@jridgewell)
babel-compat-data, babel-plugin-transform-template-literals, babel-plugin-transform-unicode-escapes, babel-preset-env, babel-standalone: Transform ES2015 Unicode Escapes to ES5 (@jridgewell)
babel-parser, babel-plugin-syntax-module-attributes, babel-standalone: added basic support for module attributes and tests updated (@vivek12345)
babel-helper-compilation-targets, babel-preset-env: [
preset-env] AddbrowserslistEnvoption (@AndrewLeedham)babel-cli: Log after subsequent compilations in --watch mode (@nicolo-ribaudo)
babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-spread, babel-traverse: Add "allowArrayLike" option to the destructuring and spread transforms (@nicolo-ribaudo)
babel-helpers, babel-plugin-transform-for-of, babel-preset-env: Add "allowArrayLike" support to the for-of transform (@nicolo-ribaudo)
babel-parser: Enable import.meta by default in @babel/parser (#11364) (@kik-o)
babel-plugin-transform-react-pure-annotations, babel-preset-react: Implement
plugin-transform-react-pure-annotationsand add topreset-react(@devongovett)babel-compat-data, babel-preset-env: Add class proposals to shipped proposals (@JLHwung)
:bug: Bug Fix
babel-traverse: scope.rename() missing identifier in VariableDeclarator (@yulanggong)
babel-plugin-proposal-optional-chaining: fix: optional-chaining should work correctly with ts non-null operator (@macabeus)
babel-parser, babel-types: refactor: add isLiteralPropertyName to parser utils (@JLHwung)
babel-plugin-transform-typescript: fix: don't elide jsx pragma import namespaces (@jquense)
babel-plugin-proposal-object-rest-spread: fix(plugin-proposal-object-rest-spread): use computed memberExpression for literal keys (@kitos)
babel-plugin-transform-runtime: fix: skip transforming
delete something.includes(@JLHwung)babel-generator: getters and setters support in generator for declare class statement (@zxbodya)
:nail_care: Polish
babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: [helpers] Add a private function name within
createSuper(@cpojer)
:house: Internal
Other
babel-parser: Fix comments for smartPipeline topic-forbidding contexts (@lazytype)
babel-core, babel-generator, babel-helper-compilation-targets, babel-helpers, babel-parser, babel-plugin-proposal-decorators, babel-plugin-proposal-json-strings, babel-plugin-transform-block-scoping, babel-plugin-transform-flow-comments, babel-plugin-transform-modules-systemjs, babel-plugin-transform-react-jsx-source, babel-plugin-transform-runtime, babel-preset-env, babel-standalone, babel-template, babel-traverse, babel-types: Use ?. where it represents the intended semantics (@nicolo-ribaudo)
:running_woman: Performance
babel-plugin-proposal-object-rest-spread: Use single object spread call in loose mode (@jridgewell)
:leftwards_arrow_with_hook: Revert
babel-standalone: Downgrade rollup to 1.27.9 (@nicolo-ribaudo)
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.