@babel/types
8.1.3 · 20 Nov 2026MIT398.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/types From 7.26.7 to 8.1.3
29 releases in betweenevery note read
Reading releases, release notes and advisories…
- 98
- changes to make
- 0
- advisories fixed
- 33
- new
- 82
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
Security
- 7.26.10
This release includes a fix for github.com/babel/babel/security/advisories/GHSA…, a security vulnerability which affects the
.replacemethod of transpiled regular expressions that use named capturing groups.
Release by release
- Fixed
babel-helper-module-transforms, babel-parser, babel-plugin-transform-modules-commonjs, babel-plugin-transform-react-pure-annotations, babel-plugin-transform-typescript, babel-traverse, babel-types: fix: improve string module specifiers support (@JLHwung)
- Fixed
babel-plugin-transform-regenerator: fix(regenerator): only remove bindings declared by the hoisted declar… (@joellemd)
- Fixed
- New
babel-generator, babel-helper-import-to-platform-api, babel-helper-module-transforms, babel-parser, babel-plugin-transform-export-namespace-from, babel-plugin-transform-json-modules, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-traverse, babel-types: Add parsing&printing support for filtered namespaces (@nicolo-ribaudo)
- New
Add
babel/no-emptyeslint rule (@JLHwung) - New
babel-generator, babel-parser, babel-traverse, babel-types: Add parse support for the "structs" proposal (only non-shared) (@JLHwung)
- New
babel-generator, babel-parser, babel-types: Parse Import Sync proposal (@JLHwung)
- New
babel-generator, babel-helper-module-transforms, babel-parser, babel-plugin-transform-export-namespace-from, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-types: Add parsing&printing support for
export defer(@nicolo-ribaudo)
- New
8.0.6nothing new or fixed in the note
- Fixed
babel-parser, babel-plugin-transform-typescript: fix(parser): disallow
declare module M {}(@JLHwung) - Fixed
babel-generator, babel-parser, babel-plugin-transform-typescript: fix(parser): forbid let x! and let x! = (@JLHwung)
- Fixed
babel-traverse: fix:
replaceWithinVisitor#exitshould not stop traversal (@liuxingbaoyu)
- Fixed
34 other lines we could not sort, mostly version bumps
- 8.1.3
babel-parser, babel-traverse, babel-types: improve type checking speed (@JLHwung)
- 8.1.3
babel-types: refactor: reduce babel types typing declarations size (@JLHwung)
- 8.1.3
babel-types: Remove
index-legacy.d.ts(@JLHwung) - 8.1.2
babel-core, babel-helper-fixtures, babel-helper-transform-fixture-test-runner, babel-helpers, babel-node, babel-plugin-transform-runtime, babel-register, babel-template, babel-traverse, babel-types: chore: enable
useUnknownInCatchVariablests compiler option (@JLHwung) - 8.0.8
babel-plugin-transform-classes: Remove internal usage of
loosein class transform (@nicolo-ribaudo) - 8.0.6
babel-code-frame, babel-core, babel-generator, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-parser, babel-plugin-bugfix-safari-rest-destructuring-rhs-array, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-discard-binding, babel-plugin-transform-regenerator, babel-plugin-transform-typescript, babel-preset-env, babel-traverse, babel-types: Remove unused internal exports (@nicolo-ribaudo)
- 8.0.5
babel-types: Simplify AST validators (@fisker)
- 8.0.4
babel-helper-validator-identifier: refactor: Shrink validator identifier size (@JLHwung)
- 7.29.15
babel-parser, babel-traverse, babel-types: improve type checking speed (@babel-bot)
- 7.29.11
babel-plugin-transform-classes: Remove internal usage of
loosein class transform (@babel-bot)
9 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.