Packages

@babel/traverse

8.1.2 · 11 Nov 2026MIT315.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @babel/traverse From 7.29.7 to 8.1.2

14 releases in betweenevery note read

Other targets from 7.29.7Newest 7.x7.29.15
  1. 7.29.7yours
  2. 6 releases
  3. 8.0.0major
  4. 6 releases
  5. 8.1.2target
  6. 29 pre

Before you upgrade

Tick each one off as you go
  • 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
  • Breaking8.0.0-alpha.0

Release by release

  1. 8.1.2

    11 Nov 20264 fixes
    • 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-block-scoping, babel-traverse: fix: rename assignment targets in forXStatement (@JLHwung)

    • Fixed

      babel-traverse: fix(traverse): do not evaluate var s whose initializer may not have run (@joellemd)

    • Fixed

      babel-plugin-transform-regenerator: fix(regenerator): only remove bindings declared by the hoisted declar… (@joellemd)

  2. 8.1.0

    2 Nov 20263 new
    • 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-empty eslint rule (@JLHwung)

    • New

      babel-generator, babel-parser, babel-traverse, babel-types: Add parse support for the "structs" proposal (only non-shared) (@JLHwung)

  3. 8.0.10

    29 Oct 20261 new · 1 fix
    • New

      babel-traverse: perf(traverse): improve generateUid and push (@JLHwung)

    • Fixed

      babel-plugin-transform-optional-chaining, babel-traverse: fix: Scope#push should not push iife param after rest element (@JLHwung)

  4. 8.0.7

    7 Oct 20262 fixes
    • Fixed

      babel-traverse: Evaluate TypeScript expression wrappers in NodePath#evaluate (@CINC0S)

    • Fixed

      babel-traverse: fix(traverse): do not evaluate destructured bindings in path.evaluate (@wulu007)

  5. 8.0.6nothing new or fixed in the note

  6. 8.0.5

    10 Sep 20264 fixes
    • Fixed

      babel-parser: fix(parser): remove non-decimal prefix from bigint (@JLHwung)

    • Fixed

      babel-parser: Disallow new import prop access (@JLHwung)

    • Fixed

      babel-traverse: fix(remove): unwrap single sequence expression (@JLHwung)

    • Fixed

      babel-traverse: Handle null in getAll{Prev,Next}Siblings (@JLHwung)

  7. 8.0.4

    9 Jul 20263 fixes
    • 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: replaceWith in Visitor#exit should not stop traversal (@liuxingbaoyu)

  8. 8.0.0

    Migration needed16 Jun 20262 new · 2 fixes
    • Breaking

      babel-cli, babel-node, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-regenerator, babel-preset-env, babel-register: Fallback to assuming ESM support with modules: auto (@nicolo-ribaudo)

    • Breaking

      babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime: Remove corejs exports for @babe/runtime-corejs3 (@liuxingbaoyu)

    • Breaking

      babel-parser: Remove locations: "packed" (@liuxingbaoyu)

    • New

      babel-core: perf: Only extract source map comments at the end of the file (@liuxingbaoyu)

    • New

      Add EOL date for Babel 7 (end of June 2027) to SECURITY.md (@nicolo-ribaudo)

    • Fixed

      babel-generator: fix(generator): improve new callee parens check (@JLHwung)

    • Fixed

      babel-plugin-transform-modules-systemjs: fix(systemjs): support proto as an export name (@JLHwung)

6 other lines we could not sort, mostly version bumps
  • 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 useUnknownInCatchVariables ts compiler option (@JLHwung)

    8.1.2
  • 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.6
  • babel-build-external-helpers, babel-cli, babel-code-frame, babel-core, babel-generator, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-globals, babel-helper-string-parser, babel-helper-transform-fixture-test-runner, babel-helper-validator-identifier, babel-node, babel-parser, babel-plugin-transform-async-generator-functions, babel-plugin-transform-runtime, babel-register, babel-runtime-corejs3, babel-traverse: Enforce usage of Yarn catalog for reused dependencies (@nicolo-ribaudo)

    8.0.6
  • babel-helper-validator-identifier: refactor: Shrink validator identifier size (@JLHwung)

    8.0.4
  • babel-parser, babel-traverse, babel-types: improve type checking speed (@babel-bot)

    7.29.15
  • babel-generator, babel-parser, babel-plugin-transform-spread, babel-traverse, babel-types: Disallow super call after new (@JLHwung)

    7.29.8

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.