@babel/preset-env
8.0.7 · 7 Oct 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed
7.29.14 is the newest release of 7.x.
In short
6 new3 fixed2 changed
Release note
Thanks @NickHeiner for your first PR!
:rocket: New Feature
babel-preset-env: feat: add import-assertions to shippedProposals (@JLHwung)
babel-helper-create-class-features-plugin, babel-helper-define-map, babel-plugin-proposal-class-static-block, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-object-rest-spread, babel-plugin-syntax-destructuring-private, babel-plugin-transform-destructuring, babel-plugin-transform-proto-to-assign, babel-plugin-transform-typescript, babel-standalone, babel-traverse, babel-types: Transform destructuring private (@JLHwung)
babel-generator, babel-parser, babel-types: [ts 4.7] Support optional variance annotations (@magic-akari)
babel-generator, babel-parser: [ts 4.7] Support
extendsconstraints forinfer(@sosukesuzuki)babel-generator, babel-parser, babel-plugin-transform-typescript, babel-traverse, babel-types: [ts] Add support for instantiation expressions (@nicolo-ribaudo)
babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd: Pass filename to
importInteropmethod (@NickHeiner)
:bug: Bug Fix
babel-types: Do not create multiple copies of comments when cloning nodes (@liuxingbaoyu)
babel-parser: Fix parsing of
<after object literals with thejsxplugin (@JLHwung)babel-plugin-transform-react-pure-annotations: fix: do not mark computed
React[...]methods as pure (@JLHwung)
:nail_care: Polish
babel-core, babel-helper-transform-fixture-test-runner, babel-helpers, babel-plugin-proposal-async-generator-functions, babel-plugin-transform-async-to-generator, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone: Inline
regeneratorRuntimeas a normal helper (@nicolo-ribaudo)
:house: Internal
babel-core, babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-transform-modules-systemjs: improve helper-create-class-features typings (@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.