Skip to content

Commit 1812db7

Browse files
test(std): use old componentize-js in tests where necessary
1 parent 6ff94cc commit 1812db7

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/jco-std/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
},
9090
"devDependencies": {
9191
"@bytecodealliance/componentize-js": "^0.20.0",
92+
"@bytecodealliance/componentize-js-0-19-3": "npm:@bytecodealliance/componentize-js@^0.19.3",
9293
"@bytecodealliance/jco-transpile": "^0.1.1",
9394
"@bytecodealliance/preview2-shim": "^0.17.5",
9495
"@types/which": "^3.0.4",

packages/jco-std/test/e2e/apps.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ import { debuglog } from "node:util";
77

88
import { suite, test, assert } from "vitest";
99
import { default as which } from "which";
10-
import { componentize } from "@bytecodealliance/componentize-js";
10+
// NOTE: we must use the older version of componentize-js for components with
11+
// `wasi:http` < v0.2.10
12+
import { componentize } from "@bytecodealliance/componentize-js-0-19-3";
1113

1214
import { rolldown } from "rolldown";
1315

0 commit comments

Comments
 (0)