@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/preset-typescript From 7.16.0 to 8.0.7
26 releases in betweenevery note read
Reading releases, release notes and advisories…
- 6
- changes to make
- 0
- advisories fixed
- 63
- new
- 99
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking8.0.1
- Breaking8.0.1
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
Release by release
8.0.7nothing new or fixed in the note
- Breaking
This release includes a breaking change that was in the Babel 8 migration guide's Getting ready section and in the release post, but the actual removal of the feature from the codebase was accidentally not complete.
- Breaking
babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone: Actually remove
preset-env'suseBuiltIns(@nicolo-ribaudo)
- Breaking
- Breaking
You can find a summary of all the breaking changes shipped in the Babel 8 release line in the migration guide for users and migration guide for plugin developers.
- Breaking
babel-cli, babel-node, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-regenerator, babel-preset-env, babel-register: Fallback to assuming ESM support with
modules: auto(@nicolo-ribaudo) - Breaking
babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime: Remove corejs exports for
@babe/runtime-corejs3(@liuxingbaoyu) - Breaking
babel-parser: Remove
locations: "packed"(@liuxingbaoyu)
- Breaking
7.29.7nothing new or fixed in the note
- New
babel-parser: Allow
Runtime Errors for Function Call Assignment Targets(@liuxingbaoyu) - New
babel-core: Faster finding of locations in
buildCodeFrameError(@liuxingbaoyu) - Fixed
babel-helper-validator-identifier: fix: update identifier to unicode 17 (@fisker)
- Fixed
babel-plugin-proposal-destructuring-private: Allow mixing private destructuring and rest (@CO0Ki3)
- New
- New
babel-parser: Allow
using ofas lexical declaration within for (@JLHwung) - Fixed
babel-plugin-proposal-destructuring-private, babel-plugin-proposal-do-expressions, babel-traverse: fix: do expressions should allow early exit (@kermanx)
- Fixed
babel-helper-wrap-function, babel-plugin-transform-async-to-generator: Fix: propagate argument evaluation errors through async promise chain (@magic-akari)
- Fixed
babel-helper-remap-async-to-generator, babel-plugin-transform-async-to-generator: fix apply()/call() annotated as pure (@Lacsw)
- New
- New
babel-helper-create-class-features-plugin, babel-traverse, babel-types: Allow
traverseFastto exit early (@liuxingbaoyu) - New
babel-parser, babel-template: Add
allowYieldOutsideFunctionto parser (@liuxingbaoyu) - New
babel-plugin-transform-typescript, babel-traverse: feat: Add
upToScopeparameter tohasBinding(@liuxingbaoyu) - New
babel-parser: Support ESTree AccessorProperty (@JLHwung)
- New
- New
babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-assertions, babel-plugin-syntax-import-attributes, babel-preset-env, babel-standalone, babel-types: Enable import attributes parsing by default (@nicolo-ribaudo)
- New
babel-core: feat: support async plugin's pre/post (@timofei-iatsenko)
- New
babel-compat-data, babel-plugin-proposal-regexp-modifiers, babel-plugin-transform-regexp-modifiers, babel-preset-env, babel-standalone: Add
transform-regexp-modifierstopreset-env(@JLHwung) - New
babel-parser: feat: add
startIndexparser option (@DylanPiercey)
- New
59 other lines we could not sort, mostly version bumps
- 7.28.5
babel-types: Type checking babel-types scripts (@JLHwung)
- 7.27.1
babel-parser: Disallow get/set in TSPropertySignature (@JLHwung)
- 7.27.1
babel-parser, babel-types: Stricter TSImportType options parsing (@JLHwung)
- 7.27.1
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-decorators, babel-plugin-transform-arrow-functions, babel-plugin-transform-class-properties, babel-plugin-transform-destructuring, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-chaining, babel-plugin-transform-parameters, babel-traverse: Reduce generated names size for the 10th-11th (@nicolo-ribaudo)
- 7.27.1
babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Remove unused
regenerator-runtimedep in@babel/runtime(@nicolo-ribaudo) - 7.27.1
babel-compat-data, babel-preset-env: Tune plugin compat data (@JLHwung)
- 7.27.1
babel-compat-data, babel-standalone: migrate babel-compat-data build script to mjs (@JLHwung)
- 7.27.1
babel-register: Migrate
@babel/registerto cts (@liuxingbaoyu) - 7.27.1
babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs3: Inline regenerator in the relevant packages (@nicolo-ribaudo)
- 7.27.1
babel-helpers, babel-plugin-transform-modules-commonjs, babel-runtime-corejs3: Reduce
interopRequireWildcardsize (@liuxingbaoyu)
12 internal lines (docs, tests, tooling) left out.
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.