Skip to content

fix(deps): update jco in CI-built component examples - #744

Merged
ricochet merged 1 commit into
mainfrom
fix/deps-examples-jco
Nov 3, 2026
Merged

ricochet merged 1 commit into
mainfrom
fix/deps-examples-jco

Conversation

@ricochet

@ricochet ricochet commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Bumps @bytecodealliance/jco to 1.40.0 in the seven component examples that the Examples workflow builds, and @bytecodealliance/componentize-js to 0.23.0 where http-axios depends on it directly.

decompress has no patched release. It came in through jco -> componentize-js 0.20/0.21/0.22 -> @bytecodealliance/weval 0.4.1. From jco 1.36.0, componentize-js 0.23 depends on weval 0.5, which uses tar/fflate instead, so decompress is gone from these lockfiles. jco 1.35.0, which #724 proposes, still resolves componentize-js 0.22 and weval 0.4.1.

The same lockfile refresh moves brace-expansion to 5.0.12 and, in bundled-rsbuild, qs to 6.17.1. Both stay inside their parents' existing ranges.

Examples: bundled-esbuild, bundled-rsbuild, http-axios, http-hello-world-hono-persistent-storage, http-password-checker, http-server-with-hono, http-streaming.

Alerts closed

Package Advisory Severity Patched in Alerts
decompress GHSA-mp2f-45pm-3cg9 critical none #485, #486, #487, #489, #490, #491, #495
decompress GHSA-hrh2-vp3x-79xf critical none #733, #734, #735, #737, #738, #739, #743
decompress GHSA-h39j-r5qq-r9mm medium none #578, #579, #580, #582, #583, #584, #588
decompress GHSA-jwp9-9v96-94mx medium none #678, #679, #680, #682, #683, #684, #688
brace-expansion GHSA-q2hr-2g5m-vwhr medium 5.0.12 #860, #861, #864, #868, #870, #872, #875
qs GHSA-6pq8-jhm2-2vcw medium 6.16.1 #863

Total: 36 alerts (14 critical, 22 medium).

Verification

Run locally, one example at a time, the same way examples_component.yml runs them: npm ci, then npm run install-and-build and npm run test.

  • http-password-checker, http-server-with-hono, http-streaming: wash dev --non-interactive, then the workflow's curl checks pass.
  • bundled-rsbuild, bundled-esbuild, http-axios: npm run transpile and npm run demo print 15, 8 and id: 1, as the workflow expects.
  • http-hello-world-hono-persistent-storage: builds; the workflow only builds it.

These examples still target WASI 0.2.x older than 0.2.10, so jco componentize warns and falls back to its bundled componentize-js 0.19.3, as jco 1.36 and later do. That copy does not depend on weval.

Overlap with open Dependabot PRs

This PR changes the same lockfiles as #730 (axios), #740 (follow-redirects), #710 (valibot), #738 (hono) and #739 (hono). Those PRs fix different alerts, so this PR does not repeat their changes. Whichever merges second will need its lockfile regenerated. Dependabot rebases its own PRs when they conflict.

It supersedes the jco part of #724, which fails CI and conflicts with main.

Bump @bytecodealliance/jco to 1.40.0 (and the direct
@bytecodealliance/componentize-js in http-axios to 0.23.0). Since jco
1.36.0, componentize-js depends on @bytecodealliance/weval 0.5, which
no longer pulls in decompress (GHSA-hrh2-vp3x-79xf, GHSA-mp2f-45pm-3cg9,
GHSA-h39j-r5qq-r9mm, GHSA-jwp9-9v96-94mx; no patched decompress exists).

Also refresh brace-expansion to 5.0.12 (GHSA-3jxr-9vmj-r5cp,
GHSA-q2hr-2g5m-vwhr) and, in bundled-rsbuild, qs to 6.17.1
(GHSA-6pq8-jhm2-2vcw), both within their existing parent ranges.

Signed-off-by: Bailey Hayes <bailey@cosmonic.com>
@ricochet
ricochet marked this pull request as ready for review November 2, 2026 17:12
@ricochet
ricochet requested review from a team as code owners November 2, 2026 17:13
@ricochet
ricochet merged commit dcd36f9 into main Nov 3, 2026
24 checks passed
@ricochet
ricochet deleted the fix/deps-examples-jco branch November 3, 2026 14:17
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