@babel/preset-env
8.0.7 · 7 Oct 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed
7.29.14 is the newest release of 7.x.
In short
12 new10 fixed7 changed5 internal
Release note
Thanks @coderaiser, @cwohlman, @morrme, @ryzokuken, @SirWindfield, @sz-coder and @vahnag for their first PRs!
:eyeglasses: Spec Compliance
babel-parser: fix: disallow \8, \9 in strict mode string (@JLHwung)
babel-parser: fix: allow 09.1_1 and 09e1_1 in sloppy mode (@JLHwung)
babel-plugin-proposal-optional-chaining: fix: eval?.() is indirect (@JLHwung)
:rocket: New Feature
babel-cli, babel-core: add showConfig support (@JLHwung)
babel-compat-data, babel-preset-env: enable logical assignment in babel preset env (@morrme)
babel-compat-data, babel-preset-env: Add
numeric-separatortopreset-env(@JLHwung)babel-compat-data, babel-preset-env: Add
export-namespace-fromtopreset-env(@JLHwung)babel-parser: feat: enable numericSeparator parsing support (@JLHwung)
babel-parser: Allow unknown/any in TS catch clause param (@existentialism)
babel-parser: TypeScript 4.0: Allow spread in the middle of tuples (@nicolo-ribaudo)
babel-parser: eslint-parser: ES2020 features (@JLHwung)
babel-generator, babel-parser, babel-types: TypeScript 4.0: Support labeled tuple elements (@nicolo-ribaudo)
babel-core, babel-generator, babel-parser, babel-plugin-syntax-decimal, babel-standalone, babel-types: Add decimal parsing support (@JLHwung)
babel-core: Add
cloneInputAstoption tobabel.transformFromAst(@coderaiser)
:bug: Bug Fix
Other
update: hardcode @babel/eslint-parser min supported version check (@kaicataldo)
babel-helper-skip-transparent-expression-wrappers, babel-plugin-proposal-optional-chaining, babel-plugin-transform-spread: Skip TSAsExpression when transforming spread in CallExpression (@oliverdunk)
babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-logical-assignment-operators: add support for logical assignments with private properties (@ryzokuken)
babel-plugin-transform-typescript: Typescript: always strip declare from class fields (@jamescdavis)
babel-plugin-transform-runtime: Fix incorrect module path when absoluteRuntime is specified (@sz-coder)
babel-parser: Correctly check reserved word for PropertyDefinition: IdentifierReference (@JLHwung)
babel-parser: fix: correctly set innerEndPos in CoverParenthesizedExpressionAndArrowParameterList (@JLHwung)
babel-generator, babel-parser, babel-plugin-transform-typescript: Follow-up on initial TS4 catch param support (@JLHwung)
babel-generator: Always retain lines for async arrow (@cwohlman)
:nail_care: Polish
babel-traverse: babel-traverse: prefer clearer, reduced-bias option naming (@jayaddison)
:house: Internal
Other
fix build config to work the same when running on windows (@zxbodya)
Prepare to publish
@babel/eslint-*packages (@JLHwung)chore: use modules: "auto" (@JLHwung)
chore(github): fix issue template typo (@SirWindfield)
chore: update
spec-newin CONTRIBUTING.md [skip ci] (@JLHwung)
babel-standalone: chore: build standalone once in prepublish step (@JLHwung)
babel-compat-data, babel-helper-compilation-targets, babel-preset-env: refactor: replace caniuse-db by mdn-browser-compat-data (@JLHwung)
babel-types: refactor: reorganize babel types definitions structure (@JLHwung)
babel-compat-data: chore: use repository HEAD when pulling third party repos (@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.