Skip to content

fix(deps): libpg-query 18.2.4, @pgsql/parser ^1.6.4 - #377

Merged
pyramation merged 1 commit into
mainfrom
fix/libpg-query-18.2.4
Nov 12, 2026
Merged

pyramation merged 1 commit into
mainfrom
fix/libpg-query-18.2.4

Conversation

@pyramation

Copy link
Copy Markdown
Collaborator

Summary

Brings in the fix for libpg-query-node#194 (libpg-query-node#195). Before it, loadModule({ wasm }) threw on Cloudflare Workers with nodejs_compat because the Emscripten glue read self.location.href / __dirname. The fix changes only the JS glue: the .wasm, the API and @pgsql/types are the same, and the dependencies are identical.

  • libpg-query 18.2.1 → 18.2.4 in all 9 packages that pin it
  • @pgsql/parser ^1.6.2 → ^1.6.4 in @pgsql/transform-ast
  • I hand-edited pnpm-lock.yaml (versions + integrity only); pnpm install --frozen-lockfile passes with it

config/versions.json (pg13–17 tagged packages) is left alone.

Local tests pass: parser, parse, plpgsql-parser, transform-ast (1443 tests, PG13–17 through @pgsql/parser 1.6.4).

Link to Devin session: https://app.devin.ai/sessions/8ffe0c4157eb424882da48eb003e5165
Open in Devin Desktop: https://app.devin.ai/desktop/session/8ffe0c4157eb424882da48eb003e5165?variant=devin
Requested by: @pyramation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@luxor-code-review

luxor-code-review Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


The change is a routine dependency-version alignment across the workspace: all nine package.json files are updated to the same libpg-query patch release (18.2.4), with transform-ast additionally moving its @pgsql/parser range from ^1.6.2 to ^1.6.4. No source code, fixtures, or configuration files are touched, and the lockfile already matches the new pins.

Files Change
packages/{deparser,lint,parse,parser,pgsql-types,plpgsql-deparser,plpgsql-parse,plpgsql-parser,transform-ast}/package.json Bump libpg-query to 18.2.4 consistently across all packages; transform-ast also bumps @pgsql/parser to ^1.6.4.

Reviewed commit: e197bb7

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​pgsql/​parser@​1.6.2 ⏵ 1.6.496 +710098 +190 +1100
Updatedlibpg-query@​18.2.1 ⏵ 18.2.4100 +1100100 +196 +1100

View full report

@pyramation
pyramation merged commit a5f6156 into main Nov 12, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant