Packages

@babel/preset-env

8.0.7 · 7 Oct 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed

Your version

7.19.0

5 Sep 2022Where it was published

7.29.14 is the newest release of 7.x.

In short

6 new4 fixed5 changed1 internal

Release note

Blog post: babeljs.io/blog/2022/09/05/7.19.0

Thanks @SukkaW for your first PR!

:eyeglasses: Spec Compliance

  • babel-parser: Support private name in decorator member expression (@JLHwung)

  • babel-helpers, babel-plugin-proposal-async-generator-functions, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Remove one promise tick in yield* (tc39/ecma262#2819) (@nicolo-ribaudo)

:rocket: New Feature

  • babel-generator, babel-helpers, babel-parser, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Add 2022-03 decorators version (stage 3) (@nicolo-ribaudo)

  • babel-parser: [parser] Make decoratorsBeforeExport default to false (@nicolo-ribaudo)

  • babel-generator, babel-parser: Default to hash syntax for Record&Tuple (@nicolo-ribaudo)

  • babel-standalone: feat: add proposal-record-and-tuple to standalone (@JLHwung)

  • babel-helper-create-regexp-features-plugin, babel-helpers, babel-plugin-proposal-duplicate-named-capturing-groups-regex, babel-plugin-transform-named-capturing-groups-regex, babel-standalone: Add support for the duplicate named capturing groups proposal (@nicolo-ribaudo)

:bug: Bug Fix

  • babel-helper-function-name, babel-helper-wrap-function, babel-plugin-transform-classes: Fix: class transform should not drop method definition when key contains non-BMP characters (@JLHwung)

  • babel-plugin-transform-typescript: fix: TS plugin shouldn't remove #privateField! (@liuxingbaoyu)

  • babel-parser: fix: parse a<b>>>c as a<(b>>>c) (@JLHwung)

  • babel-helper-builder-react-jsx: Fix helper-builder-react-jsx compat with Babel 7.9 (@JLHwung)

:nail_care: Polish

:house: Internal

  • babel-standalone: ship @babel/standalone source maps (@JLHwung)

  • babel-core, babel-parser, babel-traverse: Update typescript to 4.8 (@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.