@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 fixed4 changed2 internal
Release note
Thanks @MrBrain295 for your first PR!
:bug: Bug Fix
babel-plugin-transform-async-to-generator, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-jsx: Lazily initialize and cache constant JSX elements (@nicolo-ribaudo)
babel-helper-create-class-features-plugin, babel-plugin-proposal-private-methods: Ensure static private method init run before static property (@JLHwung)
babel-helper-create-class-features-plugin, babel-plugin-proposal-private-methods: Evaluate object and initializer when setting a private method (@JLHwung)
babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods: Class static private field destructure set (@JLHwung)
babel-parser: (ts) Raise syntax error for an abstract method that has body (@sosukesuzuki)
babel-helper-compilation-targets, babel-preset-env: Fix
esmodules: truewithout specified browsers (@nicolo-ribaudo)
:nail_care: Polish
Other
Suggest using
babel.config.jsonwhen linting dependencies (@nicolo-ribaudo)
babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods: check descriptor before private field access (@JLHwung)
:house: Internal
babel-helper-fixtures: Optionally enable external-helpers in tests (@jridgewell)
Every package
Avoid using CJS globals in internal source files (@nicolo-ribaudo)
babel-helper-transform-fixture-test-runner, babel-highlight, babel-plugin-transform-runtime, babel-preset-env: [internal] Use the Node.js behavior for default imports (@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.