@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
1 breaking10 new18 fixed18 changed8 internal
- Breaking
babel-types: (opt-in) Improve @babel/types with env.BABEL_TYPES_8_BREAKING (@nicolo-ribaudo)
Release note
Blog post on the website
:eyeglasses: Spec Compliance
babel-parser: Disallow private name in object elements and TS type elements (@JLHwung)
babel-parser: LiteralPropertyName should allow BigIntLiteral (@JLHwung)
babel-parser: fix: check await when parsing AsyncArrowBindingIdentifier (@JLHwung)
babel-parser: Fix: TopLevelAwait should respect await identifiers defined in sub scope. (@JLHwung)
babel-parser: fix: Class Field Initializer should not allow await expression as immediate child (@JLHwung)
babel-plugin-proposal-numeric-separator: StringNumericLiteral does not include NumericLiteralSeparator (@JLHwung)
babel-generator, babel-parser, babel-plugin-proposal-private-methods: [parser] Disallow duplicate and undeclared private names (@nicolo-ribaudo)
:boom: Breaking Change
- Breaking
babel-types: (opt-in) Improve @babel/types with env.BABEL_TYPES_8_BREAKING (@nicolo-ribaudo)
:rocket: New Feature
babel-standalone: Merge env-standalone to babel-standalone (@JLHwung)
babel-core: Add babelrc.json support (@yordis)
babel-core: Add support for babel.config.mjs and .babelrc.mjs (@nicolo-ribaudo)
babel-compat-data, babel-preset-env-standalone, babel-preset-env: Add optional-chaining and nullish-coalescing to preset-env (@Druotic)
babel-helper-module-transforms, babel-plugin-transform-modules-systemjs: add
allowTopLevelThisoption totransform-modules-systemjs(@JLHwung)babel-parser: enable optional chaining by default in @babel/parser (@jackisherwood)
babel-cli: --copy-ignored flag added to CLI (@rajasekarm)
babel-cli: Add --out-file-extension option to babel-cli (@eps1lon)
babel-core, babel-generator, babel-parser: Enable nullish coalescing by default in @babel/parser (@layershifter)
babel-core, babel-parser: [parser] enable dynamic import by default (@AbdulAli19)
:bug: Bug Fix
babel-node: Filename detection should respect short flags (@JLHwung)
babel-plugin-proposal-numeric-separator: StringNumericLiteral does not include NumericLiteralSeparator (@JLHwung)
babel-preset-env: Use chrome data when android is absent (@JLHwung)
babel-preset-env: fix: Promise.any requires global.AggregateError (@JLHwung)
babel-parser: When reading a new string, U+2028/2029 should correctly set the new column (@JLHwung)
babel-parser: Refactor parseSubscript (@JLHwung)
babel-parser: fix: lost leading comment after named import (@elevatebart)
Other
babel-traverse: Override toString in case this function is printed (@jayenashar)
babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: helper-module-transforms: dereference imported template tag (@ajafff)
babel-traverse, babel-types: Fix parameter expression get binding (@JLHwung)
babel-core:
@babel/core: parse should parse only (@kaicataldo)babel-helpers: fix: Object.getOwnPropertySymbols called on non-object (@bassaer)
:nail_care: Polish
babel-node: Use
babel >as prompt in babel-node (@ZYSzys)babel-parser: refactor: remove inClassProperty parser state (@JLHwung)
:memo: Documentation
babel-preset-env: CONTRIBUTING: Update link to plugin-features.js [skip ci] (@andersk)
Other
Added instructions to fork the repo in order to setup. (@sidntrivedi012)
:house: Internal
babel-preset-env: chore: update corejs fixtures (@JLHwung)
babel-preset-env: chore: update caniuse-usage Chrome 49 related fixtures (@JLHwung)
babel-preset-env: Replace custom "findSuggestion" function with "levenary" (@nicolo-ribaudo)
babel-core: Prepare @babel/core for asynchronicity (@nicolo-ribaudo)
Other
Reduce false negative cases of typescript parser tests (@JLHwung)
Update Test262, Flow and TS parser tests (@nicolo-ribaudo)
Bump coverage target from 80% to 90% (@nicolo-ribaudo)
Fix recent e2e-vuejs-cli error (@JLHwung)
Add integration test: e2e-vue-cli (@JLHwung)
chore: update test262 (@JLHwung)
chore: refine e2e test scripts (@JLHwung)
chore: separate build-standalone with coverage (@JLHwung)
Move coverage to GitHub actions (@JLHwung)
babel-compat-data, babel-helper-compilation-targets, babel-preset-env: Extract targets parser and compat data from preset-env (@nicolo-ribaudo)
babel-parser: test: add invalid-lone-import test (@JLHwung)
babel-parser: refactor: remove unecessary checkYieldAwaitInDefaultParams (@JLHwung)
babel-parser: refactor: remove unused invalidTemplateEscapePosition tokenizer state (@JLHwung)
babel-parser: TSTypeCastExpression should not be inside call parameters (@JLHwung)
babel-parser: Remove unused parser methods (@JLHwung)
Every package
chore: specify package type [skip-ci] (@JLHwung)
:leftwards_arrow_with_hook: Revert
babel-cli: fix: minified should not accept optional argument (@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.