@babel/traverse
8.1.2 · 11 Nov 2026MIT315.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/traverse From 7.12.9 to 7.23.2
70 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 1
- advisory fixed
- 163
- new
- 318
- fixes
Security
Fixes 1 advisory affecting 7.12.9
- Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious codecritical · GHSA-67hx-6x53-jw92
Release by release
- Fixed
babel-traverse: Only evaluate own String/Number/Math methods (@nicolo-ribaudo)
- Fixed
babel-preset-typescript: Rewrite
.tsxextension when usingrewriteImportExtensions(@jimmydief) - Fixed
babel-helpers: Fix: fallback to typeof when toString is applied to incompatible object (@JLHwung)
- Fixed
babel-helpers, babel-plugin-transform-modules-commonjs, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Avoid override mistake in namespace imports (@nicolo-ribaudo)
- Fixed
- New
babel-plugin-proposal-import-wasm-source, babel-plugin-syntax-import-source, babel-plugin-transform-dynamic-import: Support transforming
import sourcefor wasm (@nicolo-ribaudo) - New
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) - New
babel-generator, babel-parser, babel-types: Implement
import deferparsing support (@nicolo-ribaudo) - New
babel-generator, babel-parser, babel-types: Add parsing support for the "source phase imports" proposal (@nicolo-ribaudo)
- New
7.22.19 – 7.22.202 releases, nothing new or fixed in the notes
- Fixed
babel-helper-validator-identifier: Update identifier name definitions to Unicode 15.1 (@JLHwung)
- Fixed
babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd: Fix transform of named import with shadowed namespace import (@dhlolo)
- Fixed
- Fixed
babel-core: Fix compatibility with Node.js 20.6 (@nicolo-ribaudo)
- Fixed
babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: Fix compiling duplicate ns imports to lazy CommonJS (@nicolo-ribaudo)
- Fixed
babel-types: Make
ClassDeclaration["id"]optional in babel-types (@jordanbtucker)
- Fixed
- New
Add explicit
.ts/.jsextension to all imports insrc(@nicolo-ribaudo) - Fixed
babel-core: Only perform config loading re-entrancy check for cjs (@nicolo-ribaudo)
- New
- New
babel-core, babel-helper-compilation-targets, babel-parser, babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decorators, babel-preset-env, babel-preset-react, babel-register, babel-traverse, babel-types: enable jest/no-standalone-expect (@JLHwung)
- Fixed
babel-plugin-transform-typescript: Fix: fully remove TS nested type-only exported namespaces (@yangguansen)
- Fixed
babel-types: fix: definition of TS function type params (@danez)
- Fixed
babel-plugin-transform-async-generator-functions, babel-plugin-transform-class-static-block, babel-plugin-transform-dynamic-import, babel-plugin-transform-export-namespace-from, babel-plugin-transform-json-strings, babel-plugin-transform-logical-assignment-operators, babel-plugin-transform-nullish-coalescing-operator, babel-plugin-transform-numeric-separator, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-catch-binding, babel-plugin-transform-optional-chaining, babel-plugin-transform-private-property-in-object: fix(standalone): strip archived syntax plugins (@JLHwung)
- Fixed
babel-core: Support configuring cache in ESM configs (@nicolo-ribaudo)
- Fixed
babel-parser: Do not record trailing comma pos when
maybeAsyncArrow: false(@JLHwung)
- New
- New
babel-cli: Add
metaobject to@babel/eslint-plugin(@JLHwung) - New
babel-cli, babel-core, babel-generator, babel-helper-builder-react-jsx, babel-preset-env, babel-standalone: Enable
@typescript-eslint/no-redundant-type-constituentsrule (@JLHwung) - Fixed
babel-plugin-transform-typescript: [ts] Strip type-only namespaces (@nicolo-ribaudo)
- Fixed
babel-plugin-transform-typescript: [ts] Fix compiling extended exported nested namespace (@nicolo-ribaudo)
- Fixed
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-new-target, babel-plugin-transform-private-methods, babel-preset-env: Memoize class binding when compiling private methods and static elements (@JLHwung)
- New
176 other lines we could not sort, mostly version bumps
- 7.23.0
babel-traverse: Expand evaluation of global built-ins in
@babel/traverse(@lorenzoferre) - 7.23.0
babel-plugin-proposal-explicit-resource-management: Improve source maps for blocks with
usingdeclarations (@nicolo-ribaudo) - 7.23.0
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) - 7.22.20
babel-helper-validator-identifier: Remove special-casing of U+200C and U+200D (@nicolo-ribaudo)
- 7.22.20
babel-helper-remap-async-to-generator, babel-helper-wrap-function, babel-plugin-proposal-explicit-resource-management, babel-plugin-proposal-function-sent, babel-plugin-transform-async-generator-functions, babel-plugin-transform-async-to-generator, babel-plugin-transform-block-scoping, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-parameters, babel-plugin-transform-runtime, babel-preset-env: Revert "Improve output when wrapping functions" (@jjonescz)
- 7.22.18
Revert Node.js 20.6.0 bug workaround (@nicolo-ribaudo)
- 7.22.17
babel-helper-remap-async-to-generator, babel-helper-wrap-function, babel-plugin-proposal-explicit-resource-management, babel-plugin-proposal-function-sent, babel-plugin-transform-async-generator-functions, babel-plugin-transform-async-to-generator, babel-plugin-transform-block-scoping, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-parameters, babel-plugin-transform-runtime, babel-preset-env: Improve output when wrapping functions (e.g.
asyncfunctions) (@liuxingbaoyu) - 7.22.11
babel-core, babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-modules-commonjs, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: bump json5, terser and webpack, further minimize babel helpers (@JLHwung)
- 7.22.11
Use Babel 8.0 alpha to build babel (@JLHwung)
- 7.22.11
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-optional-chaining, babel-preset-env: Simplify
?.output when chain result is ignored (@nicolo-ribaudo)
42 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.