Skip to content

Commit 18d89aa

Browse files
committed
chore: bump componentize-js
1 parent 0979663 commit 18d89aa

File tree

14 files changed

+1260
-659
lines changed

14 files changed

+1260
-659
lines changed

package-lock.json

Lines changed: 1163 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"type": "module",
1313
"scripts": {
1414
"bundle": "rolldown -c",
15-
"build": "npm run bundle && componentize-js --wit wit -o dist/$npm_package_name.wasm dist/bundle.js",
16-
"build:hono": "npm run bundle -- --input src/server-hono.js && componentize-js --wit wit -o dist/$npm_package_name.wasm dist/bundle.js",
15+
"build": "npm run bundle && componentize-js --aot --wit wit -o dist/$npm_package_name.wasm dist/bundle.js",
16+
"build:hono": "npm run bundle -- --input src/server-hono.js && componentize-js --aot --wit wit -o dist/$npm_package_name.wasm dist/bundle.js",
1717
"serve": "npm run build && wasmtime serve -S common dist/$npm_package_name.wasm",
1818
"serve:hono": "npm run build:hono && wasmtime serve -S common dist/$npm_package_name.wasm",
1919
"fetch-wit": "wkg wit fetch",
@@ -29,7 +29,7 @@
2929
"itty-router": "^5.0.23"
3030
},
3131
"devDependencies": {
32-
"@bytecodealliance/componentize-js": "0.19.3",
32+
"@bytecodealliance/componentize-js": "0.20.0-rc.0",
3333
"oxfmt": "^0.44.0",
3434
"oxlint": "^1.59.0",
3535
"rolldown": "^1.0.0-rc.15",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package wasi:cli@0.2.10;
2+
3+
interface stdout {
4+
use wasi:io/streams@0.2.10.{output-stream};
5+
6+
get-stdout: func() -> output-stream;
7+
}
8+
9+
interface stderr {
10+
use wasi:io/streams@0.2.10.{output-stream};
11+
12+
get-stderr: func() -> output-stream;
13+
}
14+
15+
interface stdin {
16+
use wasi:io/streams@0.2.10.{input-stream};
17+
18+
get-stdin: func() -> input-stream;
19+
}
20+

wit/deps/wasi-cli-0.2.3/package.wit

Lines changed: 0 additions & 246 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package wasi:clocks@0.2.3;
1+
package wasi:clocks@0.2.10;
22

33
interface monotonic-clock {
4-
use wasi:io/poll@0.2.3.{pollable};
4+
use wasi:io/poll@0.2.10.{pollable};
55

66
type instant = u64;
77

0 commit comments

Comments
 (0)