Packages

@babel/preset-env

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

Your version

7.6.2

23 Sep 2019Where it was published

7.29.14 is the newest release of 7.x.

In short

1 removed1 new1 faster5 fixed9 changed1 internal

  • Removed

    babel-node: Remove babel polyfill dependency of babel-node. (@bdwain)

Release note

:eyeglasses: Spec Compliance

  • babel-parser: added check to disallow super.private variable access and test case added. (@vivek12345)

  • babel-parser: [parser] Disallow numeric separator in unicode scape sequences. (@ivandevp)

  • babel-parser: [parser] Invalid NonOctal Decimal. (@gonzarodriguezt)

  • babel-parser: [parser] Disallow static fields named constructor. (@guywaldman)

  • babel-parser: [parser] Report escapes in kws only if they won't be used as identifiers. (@nicolo-ribaudo)

:bug: Bug Fix

  • babel-parser: Leave trailing comments after handling a possible trailing comma. (@nicolo-ribaudo)

  • babel-cli: fix: allow the process to exit naturally. (@JLHwung)

  • babel-core: fix: pass optionLoc when validating plugin object. (@JLHwung)

  • babel-plugin-transform-block-scoping, babel-plugin-transform-spread, babel-traverse: Do not guess relative execution status for exported fns. (@nicolo-ribaudo)

  • babel-plugin-proposal-object-rest-spread, babel-preset-env: fix object rest in array pattern. (@tanhauhau)

:house: Internal

  • babel-plugin-transform-named-capturing-groups-regex: refactor: replace regexp-tree by regexpu. (@JLHwung)

  • Other

  • babel-helper-fixtures: chore: remove tryResolve dependency. (@JLHwung)

  • Removed

    babel-node: Remove babel polyfill dependency of babel-node. (@bdwain)

  • babel-generator, babel-helper-fixtures: chore: remove trim-right dependency. (@JLHwung)

  • babel-core, babel-plugin-transform-runtime, babel-register: Remove circular dependency. (@nicolo-ribaudo)

:running_woman: Performance

  • babel-parser: Miscellaneous perf tweak. (@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.