Packages

@babel/preset-env

8.0.7 · 7 Oct 2026MIT57.2M / weekRepositoryHomepagenpmAtom feed

Your version

7.4.3

2 Apr 2019Where it was published

7.29.14 is the newest release of 7.x.

In short

1 new1 faster12 fixed6 changed

Release note

:eyeglasses: Spec Compliance

  • babel-parser: Don't accept '\08' or '\09' in strict mode. (@danez)

  • babel-parser: Correctly check for-in and for-of loop for invalid left-hand side. (@danez)

  • babel-parser: Parse right-hand-side of for/of as an assignment expression. (@danez)

  • babel-parser: [typescript] parsing template literal as type . (@tanhauhau)

:rocket: New Feature

  • babel-plugin-transform-runtime: [runtime-corejs3] Only polyfill instance methods when it might be needed. (@nicolo-ribaudo)

:bug: Bug Fix

  • babel-polyfill: Closes #9232, add some missed modules to @babel/polyfill/noConflict. (@zloirock)

  • babel-cli: Upgrade lodash to 4.17.11. (@danez)

  • babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: Fix lazy option of babel-plugin-transform-modules-commonjs. (@AndreasCag)

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-private-methods: Fix super method call in private instance method calling overridden method. (@MattiasBuelens)

  • babel-plugin-proposal-object-rest-spread, babel-plugin-transform-destructuring: Destructuring: Fix handling of impure computed keys with object rest. (@motiz88)

  • babel-plugin-transform-destructuring: Destructuring: Fix array unpacking assignments with holes on RHS. (@motiz88)

  • babel-traverse: @babel/traverse: Fix NodePath.getData. (@71)

  • babel-parser: Allow HTML comments on first line. (@danez)

  • babel-parser: Fix compatibility between estree and TS plugin. (@danez)

  • babel-helpers: Allow coreJS Symbol to be type object. (@conartist6)

  • babel-preset-env: Normalize core-js entry points. (@zloirock)

:nail_care: Polish

  • babel-parser: Optimize parseBindingAtom code to get better error messages. (@danez)

  • babel-core, babel-plugin-transform-for-of: Move array reference into for head initializer. (@danez)

:house: Internal

  • Other

  • babel-parser, babel-preset-typescript: Explicit labels for tokenTypes. (@danez)

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.