Packages

@babel/plugin-proposal-decorators

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

Your version

7.17.0

2 Feb 2022Where it was published

7.29.7 is the newest release of 7.x.

In short

10 new1 faster2 fixed3 changed1 internal

Release note

Thanks @atti187 and @phulin for your first PRs!

:rocket: New Feature

  • babel-cli, babel-core: Allow plugins/presets to indicate external dependencies (@nicolo-ribaudo)

  • babel-core, babel-parser, babel-traverse: Expose .index on Position to internally track nodes location (@tolmasky)

  • babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator: proposal-pipe: Add support for ^^ and @@ topics (@js-choi)

  • babel-traverse: Add new method to check if node is null or not (@danez)

  • babel-generator, babel-parser, babel-plugin-syntax-destructuring-private, babel-standalone: Parse destructuring private fields (@JLHwung)

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone, babel-types: Add new decorators transform (@pzuraq)

  • babel-generator, babel-parser, babel-traverse, babel-types: Add the decoratorsAutoAccessors parser plugin (@pzuraq)

  • babel-core, babel-helper-create-regexp-features-plugin, babel-plugin-proposal-unicode-sets-regex, babel-plugin-syntax-unicode-sets-regex, babel-plugin-transform-dotall-regex: Add transform support for the "regexp unicode sets" proposal (@nicolo-ribaudo)

  • babel-parser: Add parser support for the "regexp unicode sets" proposal (@nicolo-ribaudo)

  • babel-register: Expose @babel/register/experimental-worker (@nicolo-ribaudo)

:bug: Bug Fix

  • babel-parser: Reinterpret << when parsing TS type arguments (@JLHwung)

  • babel-plugin-transform-runtime: Normalize absolute paths on Windows (@atti187)

:memo: Documentation

:house: Internal

  • babel-helper-fixtures, babel-parser: Fuzz test location-related parser options (@tolmasky)

  • babel-compat-data: Update compat data (specifically for rhino 1.7.14) (@phulin)

  • Other

    • chore: run tscheck on babel 8 breaking test (@JLHwung)

:running_woman: Performance

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.