Packages

@babel/plugin-proposal-decorators

8.0.2 · 18 Jun 2026MIT42.1M / weekRepositoryHomepagenpmAtom feed

Your version

7.20.7

22 Dec 2022Where it was published

7.29.7 is the newest release of 7.x.

In short

1 faster11 fixed3 changed

Release note

Thanks @wsypower for your first PR!

:eyeglasses: Spec Compliance

  • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes: fix: Deleting super property should throw (@SuperSodaSea)

  • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-object-super: fix: Throw correct error types from sed ant class TDZ helpers (@SuperSodaSea)

:bug: Bug Fix

  • babel-parser, babel-plugin-transform-typescript: fix: Support auto accessors with TypeScript annotations (@liuxingbaoyu)

  • babel-traverse: Fix .parentPath after rename in SwitchCase (@nicolo-ribaudo)

  • babel-plugin-transform-typescript, babel-traverse: fix: Ts import type and func with duplicate name (@liuxingbaoyu)

  • babel-plugin-transform-block-scoping: Fix tdz analysis for reassigned captured for bindings (@nicolo-ribaudo)

  • babel-plugin-proposal-async-generator-functions, babel-preset-env: fix: Transform for await with shadowed variables (@liuxingbaoyu)

  • babel-generator, babel-plugin-proposal-optional-chaining: fix: Correctly generate (a ?? b) as T (@liuxingbaoyu)

  • babel-plugin-transform-react-jsx, babel-types: fix: Emit correct sourcemap ranges for JSXText (@liuxingbaoyu)

  • babel-core, babel-helpers, babel-plugin-transform-computed-properties, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: fix: Computed properties should keep original definition order (@SuperSodaSea)

  • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes: fix: Deleting super property should throw (@SuperSodaSea)

  • babel-generator: fix: Print newlines for leading Comments of TSEnumMember (@liuxingbaoyu)

:nail_care: Polish

  • babel-plugin-transform-block-scoping, babel-traverse: Improve relative execution tracking in fn exprs (@nicolo-ribaudo)

:house: Internal

  • babel-helper-define-map, babel-plugin-transform-property-mutators: Inline & simplify @babel/helper-define-map (@nicolo-ribaudo)

  • babel-core, babel-plugin-proposal-class-properties, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-destructuring, babel-plugin-transform-parameters, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env, babel-traverse: Rewrite transform-block-scoping plugin (@nicolo-ribaudo)

:running_woman: Performance

  • babel-helper-compilation-targets: perf: Speed up getTargets (@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.