Packages

@babel/preset-env

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

Your version

7.7.5

6 Dec 2019Where it was published

7.29.14 is the newest release of 7.x.

In short

1 new7 fixed3 changed1 internal

Release note

:bug: Bug Fix

  • babel-plugin-transform-modules-commonjs, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2: Add ".js" extension to injected polyfill imports (@shimataro)

  • babel-cli: babel --watch should have equivalent file selection logic with babel (@JLHwung)

  • babel-parser: Use scope flags to check arguments (@JLHwung)

  • babel-parser: Allow tuple rest trailing comma (@yeonjuan)

  • babel-parser: Correctly disambiguate / after async fuctions (@nicolo-ribaudo)

  • babel-parser, babel-plugin-proposal-optional-chaining, babel-plugin-transform-modules-amd: fix(optional chaining): Optional delete returns true with nullish base (@mpaarating)

  • babel-helper-module-transforms, babel-plugin-transform-modules-amd: fix: rewriteBindingInitVisitor should skip on scopable node (@JLHwung)

:nail_care: Polish

  • babel-plugin-transform-runtime: Do not transpile typeof helper with itself in babel/runtime (@nicolo-ribaudo)

  • babel-core: refactor: Improve error message in @babel/core (@jaroslav-kubicek)

:house: Internal

  • babel-preset-env-standalone: Bundle standalone using rollup (@JLHwung)

  • Other

  • babel-helper-transform-fixture-test-runner: Incorrect trace position in fixture runner (@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.