Skip to content

chore(deps-dev): bump @babel/parser from 7.29.2 to 8.0.4 - #162

Merged
tnunamak merged 2 commits into
mainfrom
dependabot/npm_and_yarn/babel/parser-8.0.4
Aug 21, 2026
Merged

chore(deps-dev): bump @babel/parser from 7.29.2 to 8.0.4#162
tnunamak merged 2 commits into
mainfrom
dependabot/npm_and_yarn/babel/parser-8.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2026

Copy link
Copy Markdown
Contributor

Bumps @babel/parser from 7.29.2 to 8.0.4.

Release notes

Sourced from @​babel/parser's releases.

v8.0.4 (2026-07-09)

👓 Spec Compliance

  • babel-parser, babel-plugin-transform-typescript
  • babel-generator, babel-parser, babel-plugin-transform-typescript

🐛 Bug Fix

🏠 Internal

  • babel-helper-validator-identifier

Committers: 4

v8.0.3 (2026-06-27)

🐛 Bug Fix

  • babel-core, babel-plugin-syntax-typescript
  • babel-standalone

Committers: 2

v8.0.2 (2026-06-18)

🐛 Bug Fix

  • Other
  • babel-helper-validator-identifier

🏠 Internal

  • babel-plugin-proposal-decorators, babel-plugin-transform-regenerator, babel-preset-env

Committers: 2

... (truncated)

Changelog

Sourced from @​babel/parser's changelog.

v8.0.4 (2026-07-09)

👓 Spec Compliance

  • babel-parser, babel-plugin-transform-typescript
  • babel-generator, babel-parser, babel-plugin-transform-typescript

🐛 Bug Fix

🏠 Internal

  • babel-helper-validator-identifier

v8.0.3 (2026-06-27)

🐛 Bug Fix

  • babel-core, babel-plugin-syntax-typescript
  • babel-standalone

v8.0.2 (2026-06-18)

🐛 Bug Fix

  • Other
  • babel-helper-validator-identifier

🏠 Internal

  • babel-plugin-proposal-decorators, babel-plugin-transform-regenerator, babel-preset-env

v8.0.1 (2026-06-17)

💥 Breaking Change

  • babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone

v8.0.0 (2026-06-16)

👓 Spec Compliance

💥 Breaking Change

  • 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
  • babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime
  • babel-parser

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 18, 2026
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pdpp Ready Ready Preview Aug 21, 2026 10:16pm

Request Review

@tnunamak

Copy link
Copy Markdown
Contributor

Compat check: @babel/parser is used directly (not just as a transitive dep) in ~13 files under scripts/test-migration/, packages/polyfill-connectors/src/reason-emission-scan.ts, and reference-implementation/test/helpers/ri-zero-connector-knowledge-ast-shared.ts.

CI confirms this bump breaks the build: typecheck + full test suite fails with

test/helpers/ri-zero-connector-knowledge-ast-shared.ts(159,5): error TS2322: Type '("decorators" | "importAttributes" | "jsx" | "typescript")[]' is not assignable to type 'PluginConfig[]'.

at parseSource's call to parse(raw, { plugins: [...] }) (ri-zero-connector-knowledge-ast-shared.ts:157-160). Babel 8 tightened the PluginConfig type for @babel/parser's plugins option — bare string plugin names like our ["typescript", "decorators", "importAttributes"] array no longer satisfy the type as-is in this call shape. This needs an actual code fix (adjusting the plugins array literal/type at that call site, and auditing the other ~12 files using @babel/parser for the same pattern before it's safe to bump), not just a version accept.

Per policy: leaving this open rather than merging a build-breaking bump. Verdict: NOT compatible as-is — needs a follow-up code change to the parseSource plugin list typing before this can merge.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/babel/parser-8.0.4 branch from 9fbbf31 to e930363 Compare August 20, 2026 20:57
dependabot Bot and others added 2 commits August 21, 2026 17:14
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.29.2 to 8.0.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v8.0.4/packages/babel-parser)

---
updated-dependencies:
- dependency-name: "@babel/parser"
  dependency-version: 8.0.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Babel 8 tightened @babel/parser's plugins option type (bare
"importAttributes" no longer accepted — that syntax is now
unconditional) and dropped the legacy Import-pseudo-callee shape for
dynamic import(), which now parses as its own ImportExpression node.
Update every direct-parser call site accordingly: drop
"importAttributes" from the plugins array, and read the specifier off
ImportExpression.source instead of matching CallExpression callee.type
=== "Import".

Unblocks #162 (@babel/parser 7.29.2 -> 8.0.4 dependabot bump), which
was left open pending this fix.

Signed-off-by: Tim Nunamaker <tnunamak@gmail.com>
@tnunamak
tnunamak force-pushed the dependabot/npm_and_yarn/babel/parser-8.0.4 branch from e930363 to cf37eff Compare August 21, 2026 22:15
@tnunamak
tnunamak merged commit fceb768 into main Aug 21, 2026
21 checks passed
@tnunamak
tnunamak deleted the dependabot/npm_and_yarn/babel/parser-8.0.4 branch August 21, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant