Packages

@babel/plugin-proposal-decorators

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

Your version

7.20.5

28 Nov 2022Where it was published

7.29.7 is the newest release of 7.x.

In short

12 fixed4 changed

Release note

Thanks @davydof and @SuperSodaSea for your first PRs!

:eyeglasses: Spec Compliance

  • babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-traverse: Improve array destructuring spec compliance (@SuperSodaSea)

  • babel-cli, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-class-static-block, babel-plugin-transform-classes, babel-plugin-transform-runtime, babel-preset-env: fix: apply toPropertyKey when defining class members (@JLHwung)

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-proposal-private-property-in-object, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: fix: validate rhs of in when transpiling #p in C (@JLHwung)

:bug: Bug Fix

  • babel-parser: Parse using[foo] as computed member expression (@JLHwung)

  • babel-parser: Export ParseResult type (@davydof)

  • babel-parser: fix: parse import module, ... (@JLHwung)

  • babel-helper-wrap-function, babel-preset-env, babel-traverse: fix: Edge cases for async functions and noNewArrow assumption (@liuxingbaoyu)

  • babel-plugin-transform-arrow-functions, babel-plugin-transform-parameters, babel-traverse: fix: Throw error when compiling super() in arrow functions with default / rest parameters (@SuperSodaSea)

  • babel-helpers, babel-node, babel-plugin-proposal-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: fix: Bump regenerator and add tests (@SuperSodaSea)

  • babel-helper-create-regexp-features-plugin: fix: Update regjsparser for @babel/standalone (@liuxingbaoyu)

  • babel-parser, babel-types: fix: Babel 8 types (@liuxingbaoyu)

  • babel-generator: Don't print inner comments as leading when wrapping in (``) (@nicolo-ribaudo)

  • babel-plugin-transform-block-scoping, babel-traverse: Register switch's discriminant in the outer scope (@nicolo-ribaudo)

:nail_care: Polish

  • babel-generator: Improve generator behavior when comments:false (@liuxingbaoyu)

  • babel-plugin-transform-block-scoping: Only extract IDs for TDZ checks in assign when necessary (@nicolo-ribaudo)

:house: Internal

  • babel-core, babel-parser: Bump typescript to 4.9.3 (@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.