@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
8 new15 fixed5 changed
Release note
Thanks @ajihyf for your first PR!
Release post with summary and highlights: babeljs.io/7.24.0
:rocket: New Feature
babel-standalone: Export babel tooling packages in
@babel/standalone(@ajihyf)babel-core, babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-transform-class-properties: Implement
noUninitializedPrivateFieldAccessassumption (@nicolo-ribaudo)babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-decorators, babel-plugin-transform-class-properties, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Support decorator 2023-11 normative updates (@JLHwung)
babel-preset-flow: [babel 7] Allow setting
ignoreExtensionsin Flow preset (@nicolo-ribaudo)babel-preset-flow: Add
experimental_useHermesParseroption inpreset-flow(@liuxingbaoyu)babel-helper-import-to-platform-api, babel-plugin-proposal-import-wasm-source, babel-plugin-proposal-json-modules, babel-standalone: Add transform support for JSON modules imports (@nicolo-ribaudo)
babel-plugin-transform-runtime: Add back
moduleNameoption to@babel/plugin-transform-runtime(@nicolo-ribaudo)babel-parser, babel-types: Allow import attributes for
TSImportType(@sosukesuzuki)
:bug: Bug Fix
babel-plugin-proposal-do-expressions, babel-traverse: fix: avoid
popContexton unvisited node paths (@JLHwung)babel-helper-create-class-features-plugin, babel-plugin-transform-private-methods, babel-plugin-transform-private-property-in-object: Fix class private properties when
privateFieldsAsSymbols(@liuxingbaoyu)babel-helper-create-class-features-plugin, babel-plugin-transform-private-methods: Fix the support of
argumentsin privateget/setmethod (@liuxingbaoyu)babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators: Reduce decorator static property size (@liuxingbaoyu)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Fix evaluation order of decorators with cached receiver (@nicolo-ribaudo)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Fix decorator this memoization (@JLHwung)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Preserve
staticon decorated privateaccessor(@nicolo-ribaudo)babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: fix: handle decorated async private method and generator (@JLHwung)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-transform-async-generator-functions, babel-plugin-transform-private-methods, babel-plugin-transform-private-property-in-object, babel-plugin-transform-typescript, babel-preset-env: Fix class private properties when
privateFieldsAsProperties(@liuxingbaoyu)babel-helpers: Do not consider
argumentsin a helper as a global reference (@nicolo-ribaudo)babel-helpers, babel-plugin-proposal-decorators: Handle symbol key class elements decoration (@JLHwung)
babel-helpers, babel-plugin-proposal-decorators: Do not define
access.getfor public setter decorators (@nicolo-ribaudo)
:nail_care: Polish
babel-core, babel-helper-create-class-features-plugin, babel-preset-env: Suggest using
BABEL_SHOW_CONFIG_FORfor config problems (@nicolo-ribaudo)
:house: Internal
babel-helper-transform-fixture-test-runner: Continue writing
output.jswhenexec.jsthrows (@liuxingbaoyu)
:microscope: Output optimization
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Avoid intermediate functions for private accessors with decs (@nicolo-ribaudo)
babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties: More aggressively inline decorators in the static block (@nicolo-ribaudo)
babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-transform-private-methods: Do not use
classPrivateMethodGet(@liuxingbaoyu)babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators: Reduce decorator static property size (@liuxingbaoyu)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties: Reduce element decorator temp variables (@JLHwung)
babel-helper-create-class-features-plugin, babel-helper-fixtures, babel-helpers, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-optional-chaining-assign, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-private-methods, babel-plugin-transform-private-property-in-object, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Do not use descriptors for private class elements (@nicolo-ribaudo)
babel-helpers, babel-plugin-proposal-decorators: Reduce helper size for decorator 2023-11 (@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.