Packages

@babel/plugin-proposal-decorators

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

Your version

7.24.6

24 May 2024Where it was published

7.29.7 is the newest release of 7.x.

In short

1 new6 fixed3 changed1 internal

Release note

Thanks @amjed-98, @blakewilson, @coelhucas, and @SukkaW for your first PRs!

:bug: Bug Fix

  • babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties: Fix source maps for private member expressions (@nicolo-ribaudo)

  • babel-core, babel-generator, babel-plugin-transform-modules-commonjs: Fix source maps for template literals (@nicolo-ribaudo)

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Support undecorated static accessor in anonymous classes (@JLHwung)

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Fix decorator bare yield await (@JLHwung)

  • babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs3: Fix: throw TypeError if addInitializer is called after finished (@JLHwung)

  • babel-parser, babel-plugin-transform-typescript: fix: Correctly parse cls.fn<C> = x (@liuxingbaoyu)

:house: Internal

  • babel-core, babel-helpers, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Generate helper metadata at build time (@nicolo-ribaudo)

  • babel-helpers: Add tsconfig.json for @babel/helpers/src/helpers (@nicolo-ribaudo)

  • babel-cli, babel-helpers, babel-plugin-external-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Move all runtime helpers to individual files (@nicolo-ribaudo)

  • babel-parser, babel-traverse: Statically generate boilerplate for bitfield accessors (@nicolo-ribaudo)

  • Other

    • Migrate import assertions syntax (@JLHwung)

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.