@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
11 new1 fixed3 changed
Release note
Thanks @lorenzoferre and @RajShukla1 for your first PRs!
:rocket: New Feature
babel-plugin-proposal-import-wasm-source, babel-plugin-syntax-import-source, babel-plugin-transform-dynamic-import: Support transforming
import sourcefor wasm (@nicolo-ribaudo)babel-helper-module-transforms, babel-helpers, babel-plugin-proposal-import-defer, babel-plugin-syntax-import-defer, babel-plugin-transform-modules-commonjs, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone: Implement
import deferproposal transform support (@nicolo-ribaudo)babel-generator, babel-parser, babel-types: Implement
import deferparsing support (@nicolo-ribaudo)babel-generator, babel-parser, babel-types: Add parsing support for the "source phase imports" proposal (@nicolo-ribaudo)
babel-generator, babel-helper-module-transforms, babel-parser, babel-plugin-transform-dynamic-import, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-traverse, babel-types: Add
createImportExpressionsparser option (@JLHwung)babel-standalone: Pass through nonce to the transformed script element (@JLHwung)
babel-helper-function-name, babel-helper-member-expression-to-functions, babel-helpers, babel-parser, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-optional-chaining-assign, babel-plugin-syntax-optional-chaining-assign, babel-plugin-transform-destructuring, babel-plugin-transform-optional-chaining, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone, babel-types: Add support for optional chain in assignments (@nicolo-ribaudo)
babel-helpers, babel-plugin-proposal-decorators: Implement the "decorator metadata" proposal (@nicolo-ribaudo)
babel-traverse, babel-types: Add
t.buildUndefinedNode(@liuxingbaoyu)babel-preset-typescript: Add
rewriteImportExtensionsoption to TS preset (@nicolo-ribaudo)babel-parser: Allow TS tuples to have both labeled and unlabeled elements (@yukukotani)
:bug: Bug Fix
babel-plugin-transform-block-scoping: fix:
transform-block-scopingcaptures the variables of the method in the loop (@liuxingbaoyu)
:nail_care: Polish
babel-traverse: Expand evaluation of global built-ins in
@babel/traverse(@lorenzoferre)babel-plugin-proposal-explicit-resource-management: Improve source maps for blocks with
usingdeclarations (@nicolo-ribaudo)
:microscope: Output optimization
babel-core, babel-helper-module-transforms, babel-plugin-transform-async-to-generator, babel-plugin-transform-classes, babel-plugin-transform-dynamic-import, babel-plugin-transform-function-name, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-inline-elements, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: Inline
exports.XXX =update in simple variable declarations (@nicolo-ribaudo)
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.