@babel/preset-env
8.0.7 · 7 Oct 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed
7.29.14 is the newest release of 7.x.
In short
2 new1 faster6 fixed6 changed4 internal
Release note
:rocket: New Feature
babel-helper-string-parser, babel-types: feat: Automatically generate
cookedfortemplateElement(@liuxingbaoyu)
:bug: Bug Fix
babel-parser: fix(parser): allow TS declare readonly fields with initializers (@Josh-Cena)
babel-helper-string-parser, babel-parser: Fix position of errors in template literals after newlines (@nicolo-ribaudo)
babel-plugin-transform-typescript: fix: TS
declare classin namespace should be removed (@yimingjfe)babel-plugin-transform-react-jsx: fix: skip flattening spread object with proto (@JLHwung)
babel-generator: fix: Types containing comments generate invalid code (@liuxingbaoyu)
babel-helper-wrap-function, babel-plugin-transform-async-to-generator, babel-traverse: Fix compiling async arrows in uncompiled class fields (@nicolo-ribaudo)
:house: Internal
Other
chore: Remove
.yarnrcfile (@liuxingbaoyu)chore: Fix coverage test (@liuxingbaoyu)
feat: Make most
makecommands cross-platform (@liuxingbaoyu)enable typescript incremental builds (@zxbodya)
babel-traverse: Restructure virtual types validator (@JLHwung)
babel-parser: Make ParseError Much Simpler now that we can use TypeScript (@tolmasky)
babel-core, babel-parser: chore: remove flow check scripts (@JLHwung)
babel-cli, babel-core, babel-parser, babel-plugin-transform-unicode-escapes, babel-preset-env, babel-template, babel-traverse: Convert
@babel/parserto TypeScript (@JLHwung)babel-helper-string-parser, babel-parser: Extract string parsing to a separate package (@nicolo-ribaudo)
babel-cli, babel-node: Enforce type checking on
babel-{cli,node}(@liuxingbaoyu)
:microscope: Output optimization
babel-plugin-proposal-export-default-from: optimize: Simplify the
export-default-fromtransform (@magic-akari)
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.