@babel/preset-env
8.0.7 · 7 Oct 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed
7.29.14 is the newest release of 7.x.
In short
18 new3 faster4 fixed6 changed1 internal
Release note
:eyeglasses: Spec Compliance
babel-generator, babel-parser: [ts] Enforce order for the
overridemodifier (@nicolo-ribaudo)
:rocket: New Feature
babel-plugin-proposal-async-do-expressions: Implement async-do-expressions transform (@JLHwung)
babel-core, babel-generator, babel-parser, babel-plugin-proposal-do-expressions, babel-plugin-syntax-async-do-expressions, babel-types: Parse async do expressions (@JLHwung)
babel-preset-env: Enable class fields & private methods by default (@nicolo-ribaudo)
babel-compat-data, babel-preset-env: Add private brand checks to
shippedProposals(@nicolo-ribaudo)babel-compat-data, babel-preset-env: Add class static blocks to
preset-env'sshippedProposals(@nicolo-ribaudo)babel-helper-create-class-features-plugin, babel-plugin-proposal-private-property-in-object, babel-plugin-syntax-private-property-in-object: Allow compiling
#foo in objwithout compiling private fields (@nicolo-ribaudo)babel-parser: babel-parser(ts): Add new plugin option
dts: boolean(@sosukesuzuki)babel-parser: Materialize the class features in
@babel/parser. (@JLHwung)babel-parser: Introduce parser error codes (@sosukesuzuki)
babel-helper-module-transforms, babel-helpers, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd: Implement
importInterop: "node"option for module transforms (@nicolo-ribaudo)babel-generator, babel-parser, babel-traverse, babel-types: Support parsing Flow's Optional Indexed Access Types (@gkz)
babel-generator, babel-parser, babel-traverse, babel-types: Support parsing Flow's Indexed Access Types (@sosukesuzuki)
babel-parser, babel-traverse: Parse string export names by default (
moduleStringNames) (@nicolo-ribaudo)babel-generator, babel-parser, babel-types: Support TypeScript 4.3 get/set type members (@sosukesuzuki)
babel-generator, babel-parser, babel-types: support TS 4.3
overridesyntax in class (@g-plane)babel-generator, babel-parser, babel-types: support TS 4.3 static index signature in class (@g-plane)
:bug: Bug Fix
babel-generator: Prevent ForOfStatement from printing the forbidden sequence "for ( async of" (@Zalathar)
babel-generator: fix: don't deduplicate comments with same start index (@gzzhanghao)
babel-generator, babel-plugin-proposal-object-rest-spread, babel-preset-env: Simplify the special-case printing of single-param arrow functions (@Zalathar)
babel-core: fix: Don't load browserslist in block-hoist-plugin (@MichaReiser)
:nail_care: Polish
babel-cli, babel-core, babel-parser, babel-plugin-transform-classes, babel-preset-env, babel-preset-typescript: babel-parser: Add new internal ESLint rule to consistent error messages (@sosukesuzuki)
:house: Internal
babel-parser: Add
runFixtureTestsWithoutExactASTMatchin parser test runner (@JLHwung)babel-parser: babel-parser: Use
this.isThisParam(@sosukesuzuki)babel-parser: refactor: avoid parsing logic on locations (@JLHwung)
babel-helpers, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Allow putting helpers in individual files (@nicolo-ribaudo)
Other
chore: run coverage-test against node 16 (@JLHwung)
:running_woman: Performance
babel-core: perf(core): check files before interacting with them (@FauxFaux)
babel-core: perf: avoid loadFullConfig when creating block hoist plugin (@JLHwung)
babel-helper-validator-identifier: Improve
isIdentifierNameperformance (@JLHwung)
:microscope: Output optimization
babel-helper-create-class-features-plugin, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-class-static-block, babel-plugin-proposal-private-methods, babel-plugin-proposal-private-property-in-object, babel-preset-env: Mark
WeakMaps of private fields as pure (@nicolo-ribaudo)babel-helpers, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Simplify the
wrapRegExphelper for named groups (@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.