Packages

@babel/plugin-proposal-decorators

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

Your version

7.23.6

11 Dec 2023Where it was published

7.29.7 is the newest release of 7.x.

In short

1 faster7 fixed3 changed

Release note

Thanks @martinez-hugo and @odinho for your first pull requests!

:eyeglasses: Spec Compliance

  • babel-generator, babel-parser, babel-types: Remove TSPropertySignature.initializer (@fisker)

  • babel-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-types: Apply toPropertyKey on decorator context name (@JLHwung)

:bug: Bug Fix

  • babel-generator: fix: Correctly indenting when retainLines is enabled (@liuxingbaoyu)

  • babel-helpers, babel-plugin-proposal-explicit-resource-management: using: Allow looking up Symbol.dispose on a function (@odinho)

  • babel-plugin-proposal-decorators, babel-plugin-transform-class-properties: Ensure the [[@@toPrimitive]] call of a decorated class member key is invoked once (@JLHwung)

  • babel-plugin-proposal-decorators, babel-plugin-transform-class-properties: Support named evaluation for decorated anonymous class exp (@JLHwung)

  • babel-plugin-transform-for-of, babel-preset-env: fix: for of with iterableIsArray and shadowing variable (@liuxingbaoyu)

  • babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Set function name for decorated private non-field elements (@JLHwung)

  • babel-plugin-transform-typescript: Fix references to enum values with merging (@nicolo-ribaudo)

:microscope: Output optimization

  • babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties: Reuse computed key memoiser (@JLHwung)

  • babel-helpers, babel-plugin-proposal-decorators: Optimize decorator helper size (@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.