Packages

@babel/preset-env

8.0.7 · 7 Oct 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed

Your version

7.22.6

4 Jul 2023Where it was published

7.29.14 is the newest release of 7.x.

In short

1 new6 fixed3 changed

Release note

:bug: Bug Fix

  • babel-compat-data, babel-helper-compilation-targets, babel-preset-env: Add opera mobile compat data (@JLHwung)

  • babel-plugin-transform-optional-chaining: Fix transform of delete a?.b in function params (@nicolo-ribaudo)

  • babel-helper-split-export-declaration, babel-plugin-transform-modules-commonjs: fix: Default export for duplicate names (@liuxingbaoyu)

  • babel-compat-data, babel-preset-env: update compat-data sources (@JLHwung)

  • babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs3, babel-runtime: Fix handling of sync error in @@asyncDispose (@nicolo-ribaudo)

  • babel-standalone: fix: Support transforming Explicit Resource Management in stage-2 (@liuxingbaoyu)

  • babel-core: fix: Works correctly with --frozen-intrinsics (@liuxingbaoyu)

:house: Internal

  • babel-helper-create-class-features-plugin, babel-plugin-transform-classes: Minor class transform cleanups (@JLHwung)

:microscope: Output optimization

  • babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-transform-class-properties, babel-plugin-transform-optional-chaining, babel-plugin-transform-typescript: Compress output for optional chain with multiple ?. (@nicolo-ribaudo)

  • babel-plugin-proposal-destructuring-private, babel-plugin-proposal-do-expressions, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties, babel-plugin-transform-nullish-coalescing-operator, babel-plugin-transform-optional-chaining, babel-plugin-transform-private-property-in-object, babel-traverse: Inject tmp vars in the params list of IIFEs when possible (@nicolo-ribaudo)

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.