Packages

@babel/preset-env

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

Your version

7.4.5

21 May 2019Where it was published

7.29.14 is the newest release of 7.x.

In short

1 new13 fixed4 changed

Release note

Thanks @airato, @schu34, @divbhasin, @eps1lon and @pnavarrc for their first PRs! :smile:

:bug: Bug Fix

  • babel-parser: Fix location for optional params in arrow functions (@danez)

  • babel-parser: Avoid unnecessary work during lookahead (@danez)

  • babel-parser: fix: allow shebang directive (@tanhauhau)

  • babel-preset-env: Update preset-env dependencies and fix fixtures (@danez)

  • babel-preset-env: Fix mobile browsers support in preset-env (@nicolo-ribaudo)

  • babel-preset-env: Fix destructuring assignments being transpiled for edge 15 (@eps1lon)

  • babel-plugin-transform-typescript: fix(typescript): erase type exports (@airato)

:nail_care: Polish

  • babel-parser: Do not use lookahead when parsing construct signature declarations in TS (@danez)

  • babel-parser: Only compute Position if not already in state (@danez)

  • babel-parser: Do not use lookahead when parsing jsx expression containers (@danez)

  • babel-parser: Do not use lookahead when parsing imports in declare module in flow (@danez)

  • babel-parser: Do not use lookahead when parsing declare module or declare module.exports in flow (@danez)

  • babel-parser: Do not use lookahead when parsing dynamic import or import.meta (@danez)

  • babel-parser: Remove guardedHandlers from ASTs (@danez)

  • babel-preset-env: use console.warn for warning (@schu34)

  • babel-core: Fixed null error in plugin opts and added a test for it (@divbhasin)

  • babel-core, babel-traverse: Add missing space in error messages (@pnavarrc)

:house: Internal

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.