Packages

@babel/preset-env

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

Your version

7.8.4

30 Jan 2020Where it was published

7.29.14 is the newest release of 7.x.

In short

2 new1 faster10 fixed12 changed2 internal

Release note

:warning: In Babel 7.8.0 we introduced the --copy-ignored option for @babel/cli, defaulting to false. However, previous versions behaved as if that option was present: for this reason, we changed its default value to true (when --copy-files is provided) and introduced a --no-copy-ignored option to disable it.

:eyeglasses: Spec Compliance

  • babel-parser: fix: properly parse member expression after property initializer (@vedantroy)

  • babel-parser: Update coalesce precedence (@JLHwung)

  • babel-parser: fix: triple __proto__ in object patterns should be allowed (@JLHwung)

  • babel-parser: Duplicate __proto__ key should be allowed in object patterns (@JLHwung)

:bug: Bug Fix

  • babel-cli: [@babel/cli] Copy ignored files by default (@nicolo-ribaudo)

  • babel-compat-data: Fix core-js 2 builtin data for opera (@danez)

  • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-parameters, babel-plugin-transform-typeof-symbol, babel-preset-env: Avoid compiling the _typeof helper with itself (@nicolo-ribaudo)

  • babel-traverse: Bug/missing references after crawl (@regiontog)

  • babel-plugin-transform-parameters: Fix rest parameters indexing with TypeScript 'this parameter' (@BenoitZugmeyer)

  • babel-plugin-transform-for-of: fix: for-of transform should skip for-await-of (@JLHwung)

  • babel-generator: Fix parentheses removal in nullish-coalescing operation (@sidntrivedi012)

  • babel-helper-compilation-targets: fix: supply '.' subpath for backward compatibility with node.js 13.0-13.1 (@JLHwung)

:nail_care: Polish

  • babel-core: polish: throw human-friendly error when item-option pair is incorrectly unwrapped (@JLHwung)

:memo: Documentation

  • babel-parser: add AST for the module attribute proposal (@xtuc)

  • babel-preset-env: update compat-data related docs/config [skip ci] (@JLHwung)

:house: Internal

  • babel-compat-data: Update compat table (@nicolo-ribaudo)

  • babel-compat-data: Delete duplicated file in @babel/compat-data (@nicolo-ribaudo)

  • babel-compat-data: chore: map mobile browser data to their desktop version (@JLHwung)

  • babel-compat-data: Check that generated compat-data is up to date on CI (@nicolo-ribaudo)

  • babel-parser: refactor: simplify toAssignable routine (@JLHwung)

  • babel-parser: chore: use @babel/eslint-config-internal (@JLHwung)

  • babel-compat-data, babel-preset-env: Re-generate preset-env fixtures (@nicolo-ribaudo)

  • babel-compat-data, babel-node, babel-parser, babel-preset-env: Enable no-process-exit (@JLHwung)

  • Other

    • chore: replace yarn-upgrade by bump-babel-dependencies in vuejs e2e tests (@JLHwung)

    • chore: test against @vue/babel-preset-app (@JLHwung)

  • babel-core: Exclude import() tests from pubilsh build (@nicolo-ribaudo)

:running_woman: Performance

  • babel-parser: fix(babel-parser): avoid state.clone() to clone the whole token store (@3cp)

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.