Packages

@babel/generator

8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed

Upgrading @babel/generator from 7.21.1 to 8.0.6

53 releases in betweenevery note read

Other targets from 7.21.1Newest 7.x7.29.8

Start here

Before you upgrade

Tick each one off as you go

Security

Release by release

  1. 8.0.6

    18 Sep 20263 fixes
    • fixed

      Fix parsing of arrow function params inside ternaries with Flow (@robhogan)

    • fixed

      Polish error message for invalid binary 0b19 (@JLHwung)

    • fixed

      Replace lru-cache with flru (@nicolo-ribaudo)

  2. 8.0.5

    10 Sep 20263 new · 12 fixes
  3. 8.0.0

    16 Jun 20262 new · 2 fixes
    • new

      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

      generator: Improve new callee parens check (@JLHwung)

    • fixed

      systemjs: Support proto as an export name (@JLHwung)

  4. 7.29.8

    31 Jul 20261 fix
    • fixed

      systemjs: Support __proto__ as an export name (@JLHwung)

  5. 7.29.6 – 7.29.72 releases, nothing new or fixed in the notes

  6. 7.29.1

    4 Feb 20262 fixes
  7. 7.29.0

    31 Jan 20262 new · 4 fixes
    • new

      standalone: Export async transform (@JLHwung)

    • new

      Read standalone targets from data-targets (@JLHwung)

    • fixed

      parser: Correctly parse type assertions in extends clause (@nicolo-ribaudo)

    • fixed

      parser: Improve super type argument parsing (@JLHwung)

    • fixed

      traverse: Provide a hub when traversing a File or Program and no parentPath is given (@simbahax)

    • fixed

      Rename switch discriminant references when body creates shadowing variable (@magic-akari)

  8. 7.28.6

    12 Jan 20261 new · 3 fixes
83 other lines we could not sort, mostly version bumps
  • Update identifier definition to Unicode 18 (@JLHwung)

    8.0.6
  • Fallback to assuming ESM support with modules: auto (@nicolo-ribaudo)

    8.0.0
  • Remove locations: "packed" (@liuxingbaoyu)

    8.0.0
  • Preserve original identifier names from input sourcemaps (#17992) (@Andarist)

    7.29.6
  • Polish(standalone): improve message on invalid preset/plugin (@JLHwung)

    7.28.6
  • Improve @babel/parser error typing (@JLHwung)

    7.28.5
  • Move eslint-{parser,plugin} docs to the website (@JLHwung)

    7.28.3
  • Materialize explicitResourceManagement parser plugin (@JLHwung)

    7.28.0
  • LVal coverage updates (Part 2) (@JLHwung)

    7.28.0
  • Accept bigints in t.bigIntLiteral factory (@JLHwung)

    7.28.0

414 internal lines (docs, tests, tooling) left out.