@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/preset-typescript From 7.21.4 to 7.29.7
17 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
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
- New
babel-parser, babel-types: perf: Make
VISITOR_KEYSetc. faster to access (@liuxingbaoyu) - Fixed
babel-parser, babel-template, babel-types: fix: Keep type annotations in
syntacticPlaceholdersmode (@liuxingbaoyu) - Fixed
babel-helper-compilation-targets, babel-preset-env: fix: support BROWSERSLIST{,_CONFIG} env (@JLHwung)
- Fixed
Accidentally published
tsconfigfiles (@liuxingbaoyu)
- New
- New
babel-types: Add deprecated JSDOC for fields (@liuxingbaoyu)
- New
babel-core: Allow sync loading of ESM when
--experimental-require-module(@nicolo-ribaudo) - New
babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env: Add browserslist config to external dependency (@JLHwung)
- New
babel-plugin-transform-typescript: perf: Avoid extra cloning of namespaces (@liuxingbaoyu)
- New
- Fixed
babel-node: Allow extra flags in babel-node (@nicolo-ribaudo)
- Fixed
babel-traverse: fix: incorrect
constantViolationswith destructuring (@liuxingbaoyu) - Fixed
babel-helper-transform-fixture-test-runner, babel-plugin-proposal-explicit-resource-management: fix: Transform
usinginswitchcorrectly (@liuxingbaoyu)
- Fixed
40 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)
6 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.