Skip to content

Fix Dependabot alert: bump liquidjs to 10.27.1 - #1637

Merged
priyanshu92 merged 1 commit into
mainfrom
users/priyanshu92/ubiquitous-barnacle
Jul 28, 2026
Merged

Fix Dependabot alert: bump liquidjs to 10.27.1#1637
priyanshu92 merged 1 commit into
mainfrom
users/priyanshu92/ubiquitous-barnacle

Conversation

@priyanshu92

@priyanshu92 priyanshu92 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Closes Dependabot alert 229. liquidjs 10.26.0 is affected by CVE-2026-55575 / GHSA-g357-x5c3-c72p (high): the pop filter skips the memoryLimit accounting that its array-filter siblings enforce, so template rendering can exceed the configured limit. We use liquidjs in the HTML language server for Liquid autocomplete, so it processes user template content.

What changed

  • liquidjs 10.26.0 -> 10.27.1. Patch release within 10.x with no API changes; the two files that import it (LiquidAutoCompleteRule.ts, LiquidAutoCompleteRuleEngine.ts) only use Tokenizer, TokenKind, and token types, none of which moved.

Lockfile cleanup

Four package-lock.json entries had resolved URLs pointing at ms-feed-*.pkgs.visualstudio.com with sha1 integrity instead of registry.npmjs.org with sha512. This happens when someone runs npm install on a machine configured against the internal npm proxy, and it can produce EINTEGRITY failures for anyone resolving through a different registry. Normalized agent-base@6.0.2, https-proxy-agent@5.0.1, uc.micro@2.1.0, and the new liquidjs@10.27.1.

Each sha512 was recomputed from the actual tarball, and each tarball's sha1 was checked against the registry's published shasum first, so the hashes are derived from verified content rather than hand-written.

Two alerts intentionally left open

Alerts #230 (tar, needs 7.5.21) and #231 (brace-expansion, needs 5.0.8) are not in this PR. Neither patched version has synced to the internal npm feed yet, which is the only registry reachable from a managed device, so there is nothing installable to bump to. Both packages are transitive and already pinned through overrides, so each becomes a one-line change once the feed catches up.

Worth flagging for whoever picks up #231: the brace-expansion advisory covers every version <= 5.0.7, so the nested @vscode/vsce -> brace-expansion 1.1.16 override is affected too and will need its own patched 1.x release or removal.

Validation

  • npm ci reinstalls cleanly and leaves the lockfile untouched, which confirms the hand-normalized integrity values are correct.
  • npm run build succeeds.
  • npm test passes, 106 tests.

- Updated liquidjs from 10.26.0 to 10.27.1
- Addresses CVE-2026-55575 / GHSA-g357-x5c3-c72p (high): the `pop` filter
  bypassed the `memoryLimit` accounting enforced by its array-filter siblings
- Patch release within 10.x, no API changes; build and unit tests pass

Also normalized four package-lock.json entries that had been rewritten by an
internal npm proxy (agent-base, https-proxy-agent, uc.micro, liquidjs). Their
`resolved` URLs pointed at ms-feed-*.pkgs.visualstudio.com with sha1 integrity
instead of registry.npmjs.org with sha512. Each sha512 was recomputed from the
tarball after verifying its sha1 against the published shasum.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0bde2a62-741b-4321-8cba-770788c8575d
@priyanshu92
priyanshu92 requested review from a team as code owners July 28, 2026 04:17
@priyanshu92
priyanshu92 enabled auto-merge (squash) July 28, 2026 04:18
@priyanshu92
priyanshu92 merged commit 45d0ba3 into main Jul 28, 2026
9 checks passed
@priyanshu92
priyanshu92 deleted the users/priyanshu92/ubiquitous-barnacle branch July 28, 2026 06:53
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.

2 participants