@babel/preset-env
8.0.7 · 7 Oct 2026MIT57.2M / weekRepositoryHomepagenpmAtom feed
7.29.14 is the newest release of 7.x.
In short
3 new14 fixed8 changed2 internal
Release note
:eyeglasses: Spec Compliance
babel-helper-module-transforms, babel-helper-replace-supers, babel-plugin-transform-modules-commonjs: Fix rewriteThis in helper-module-transforms for computed class elements (@sidntrivedi012)
babel-parser: Refactor await/yield production parameter tracking (@JLHwung)
:rocket: New Feature
babel-helper-create-regexp-features-plugin, babel-plugin-transform-classes, babel-plugin-transform-named-capturing-groups-regex, babel-preset-env: Mark
wrapNativeSuperandwrapRegExpas pure (@nicolo-ribaudo)
:bug: Bug Fix
babel-helper-compilation-targets: fix: search for browserslist if esmodules is falsy (@fengzilong)
babel-register: fix: workaround misleading node.js ENOENT error (@JLHwung)
babel-parser: Parse declare modifier around accessibility modifiers (@JLHwung)
babel-parser: Fix Async Generic After Await Parsing Error (@liamfd)
babel-compat-data, babel-preset-env: Update preset-env builtin-definitions (@JLHwung)
babel-traverse: fix @babel/traverse can't use path.remove() with noScope (@liuxingbaoyu)
babel-helper-create-class-features-plugin, babel-helper-replace-supers: Fix classNameTDZError in computed prototype methods with class fields (@sidntrivedi012)
babel-template: Respect preserveComments option in tempate.ast() (@dentrado)
babel-plugin-transform-for-of: Allow redeclaration of loop variable in body (@openorclose)
babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: Fix export bindings not updated by 'for ... in' and 'for ... of' (@vedantroy)
babel-standalone: fix: specify sourceFileName when generating inline sourcemaps (@JLHwung)
babel-types: Make
isReferencedreturn false for method parameter name (@brokensandals)
:nail_care: Polish
babel-core, babel-generator, babel-plugin-external-helpers, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-proposal-function-bind, babel-plugin-transform-async-to-generator, babel-plugin-transform-classes, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-jsx, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: Skip newlines around inline
#__PURE__annotations (@nicolo-ribaudo)
:house: Internal
Other
replace
gulp-watchbygulp.watch(@JLHwung)chore: migrate lock threads to github actions (@JLHwung)
chore: specify dependency rule of check-compat-data-ci (@JLHwung)
Update @babel deps (@existentialism)
babel-generator, babel-helper-fixtures, babel-parser, babel-traverse: Enable more eslint recommended rules (@JLHwung)
babel-helper-replace-supers: Fix typing of ReplaceSupers options (@existentialism)
babel-core, babel-plugin-syntax-decorators, babel-template, babel-traverse: Add eslint-plugin-jest (@JLHwung)
babel-parser: Wrap type-only class fields in flow comments (@nicolo-ribaudo)
babel-core, babel-parser, babel-types: Turn on no-fallthrough rule (@JLHwung)
babel-preset-stage-0, babel-preset-stage-1, babel-preset-stage-2, babel-preset-stage-3: Remove stage presets from the monorepo (@nicolo-ribaudo)
babel-preset-env-standalone: Archive @babel/preset-env-standalone (@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.