Packages

@babel/plugin-proposal-decorators

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

Your version

7.2.0

3 Dec 2018Where it was published

7.29.7 is the newest release of 7.x.

In short

6 new13 fixed5 changed1 internal

Release note

You can read more about this release at babeljs.io/blog/2018/12/03/7.2.0.

:rocket: New Feature

  • babel-parser: Implement Smart Pipeline proposal in @babel/parser. (@mAAdhaTTah)

  • babel-core: Export @babel/parser#tokTypes in @babel/core. (@kaicataldo)

  • babel-node: Pass rootMode from @babel/node.. (@wtgtybhertgeghgtwtg)

  • babel-generator, babel-helpers, babel-plugin-class-features, babel-plugin-proposal-private-methods, babel-plugin-syntax-class-properties, babel-types: Private class methods stage 3. (@tim-mc)

  • babel-preset-env: Update mappings for node 10 in preset-env. (@existentialism)

:bug: Bug Fix

  • babel-parser: Parse non-octals with leading zeros in non strict mode correctly. (@danez)

  • babel-parser: Disallow await inside arrow functions. (@nicolo-ribaudo)

  • babel-parser: [flow] Allow type casts in array patterns inside arrow parameters. (@nicolo-ribaudo)

  • babel-parser: Fix compatibility between typescript and jsx plugins in interface declarations. (@danez)

  • babel-parser: Fix bug with parsing TS generic async arrow function. (@existentialism)

  • babel-parser: Fix parsing typescript function types with destructuring. (@danez)

  • babel-helper-fixtures, babel-parser: Ignore empty fixture directories and fix fixtures in the parser. (@danez)

  • babel-preset-env: Update mapping for regex unicode plugin in preset-env. (@existentialism)

  • babel-plugin-transform-destructuring: Fix destructuring assignment in arrow functions without block. (@RubenVerborgh)

  • babel-plugin-proposal-optional-chaining: Microbouji patch/8136. (@jridgewell)

  • babel-core, babel-helper-wrap-function, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-function-sent, babel-plugin-transform-async-to-generator, babel-plugin-transform-classes: Fix recursive async function expressions. (@nicolo-ribaudo)

  • babel-core: Normalize presets before merging config with others.. (@loganfsmyth)

:nail_care: Polish

  • babel-generator: Remove unused variable. (@Gcaufy)

  • babel-node: Move fs-readdir-recursive and output-file-sync to devDependencies for @babel/node.. (@wtgtybhertgeghgtwtg)

  • babel-parser: a better error message for disallowed trailing commas/additional parameters after rest elements in function params. (@morozRed)

  • babel-*: Add plugins name. (@nicolo-ribaudo)

:house: Internal

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods: Make @babel/plugin-class-features a normal helper package. (@nicolo-ribaudo)

  • Other

    • Add node 11 to CI and remove node 9. (@danez)

    • Skip minifying standalone in non-publish runs. (@danez)

  • babel-types: Fix warning when using prettier in code generators. (@danez)

  • babel-generator: Remove unused variable. (@Gcaufy)

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.