@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
14 new1 faster6 fixed3 changed
Release note
You can read the release post at babeljs.io/blog/2021/02/22/7.13.0!
Thanks @dsainati1, @immitsu, and @perrin4869 for your first PRs!
:rocket: New Feature
babel-parser: Implement class features in estree (@JLHwung)
babel-generator, babel-parser, babel-plugin-syntax-module-blocks, babel-standalone, babel-traverse, babel-types: Parse JS Module Blocks proposal (@sosukesuzuki)
babel-generator, babel-parser, babel-types: Support TypeScript 4.2 abstract constructor signatures (@sosukesuzuki)
babel-generator, babel-parser, babel-types: Flow Enums with unknown members support (@gkz)
babel-core, babel-register: Add cjs as a default extension (@perrin4869)
babel-traverse: feat(referencesImport): support named exports accessed via namespace imports (@jeysal)
babel-plugin-transform-typescript, babel-preset-typescript: Enable allowNamespaces in
transform-typescriptby default (@JLHwung)babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-plugin-transform-parameters, babel-types: Support Flow
thisparameter annotations (@dsainati1)babel-plugin-proposal-record-and-tuple: Implement "Records and Tuples" transform (@rickbutton)
babel-plugin-transform-runtime, babel-plugin-transform-typeof-symbol, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Use conditional exports in
@babel/runtimefor CJS/ESM (@nicolo-ribaudo)babel-core, babel-helper-plugin-utils, babel-preset-env: Add
@babel/coresupport for the newassumptionsoption (@nicolo-ribaudo)babel-core, babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env: Add
targetsandbrowserslist*options to@babel/core(@nicolo-ribaudo)babel-core: Support
.mjsplugins/presets and async factories (@nicolo-ribaudo)
:bug: Bug Fix
babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: Fix _isNativeReflectConstruct helper (@nicolo-ribaudo)
babel-cli: [babel-cli] Don't fail when
chmodthrows an error (@immitsu)babel-node: fix: create IPC channel for spawned babel-node process (@JLHwung)
babel-standalone: fix: add regenerate-unicode-properties to dynamicRequireTargets (@JLHwung)
babel-plugin-proposal-optional-chaining, babel-traverse: Fix scope of computed method keys (@overlookmotel)
:house: Internal
babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2: Use the
babel-plugin-polyfill-*packages intransform-runtime(@nicolo-ribaudo)babel-plugin-transform-runtime: Don't use
useESModulesin@babel/runtimebuild script (@nicolo-ribaudo)babel-standalone: Make sure that Rollup's
dynamicRequireTargetsare included (@nicolo-ribaudo)babel-helper-transform-fixture-test-runner, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-preset-env: Use the
babel-plugin-polyfill-*packages inpreset-env(@nicolo-ribaudo)
:running_woman: Performance
babel-register: babel-register: Don’t rewrite the cache if it’s not dirty (@andersk)
:microscope: Output optimization
babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties: Support
noDocumentAllforobj?.#p(@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.