@babel/preset-env
8.0.7 · 7 Oct 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed
7.29.14 is the newest release of 7.x.
In short
1 new5 fixed8 changed3 internal
Release note
Thanks @AndrewSouthpaw for your first PR!
:eyeglasses: Spec Compliance
babel-parser: Make sure estree test should not throw if babel parser does not throw (@JLHwung)
babel-parser: Make sure babel parser throws exactly same recoverable errors when estree plugin is enabled (@JLHwung)
:bug: Bug Fix
babel-generator: Fix printing BigIntLiterals/DecimalLiterals with compact option (@existentialism)
babel-types: babel-types update OptionalCallExpression to support ArgumentPlaceholder (@zxbodya)
babel-types: Fix
t.isReferenced()for named re-exports (@nicolo-ribaudo)babel-traverse: Set correct
path.contextunpush/unshiftContainer(@nicolo-ribaudo)
:nail_care: Polish
babel-preset-env: Clarify warning source about underspecified corejs option in preset-env. (@AndrewSouthpaw)
:memo: Documentation
babel-parser: Add StaticBlock to Table of Contents in AST spec (@sosukesuzuki)
:house: Internal
Other
Use new CircleCI images (@nicolo-ribaudo)
Use Yarn 2.4.0 (@nicolo-ribaudo)
chore: remove travis-ci badge (@JLHwung)
chore: bump chokidar in glob-watcher to ^3.4.0 (@JLHwung)
babel-cli, babel-node, babel-plugin-transform-runtime, babel-register: Use native Node.js functions when available (@nicolo-ribaudo)
babel-helper-builder-react-jsx-experimental, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-preset-react: Stop using old JSX transform (@Andarist)
babel-helper-fixtures, babel-types: Prepare codebase for inline Babel 8 breaking changes (@nicolo-ribaudo)
babel-core, babel-helper-transform-fixture-test-runner, babel-node, babel-plugin-transform-block-scoping, babel-plugin-transform-runtime, babel-plugin-transform-typeof-symbol: Use
require.resolveinstead of theresolvepackage (@nicolo-ribaudo)babel-parser: refactor: simplify isAwaitAllowed (@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.