Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vendor/jco
Submodule jco updated 80 files
+2 −2 .github/workflows/main.yml
+274 −67 Cargo.lock
+18 −14 Cargo.toml
+3 −37 README.md
+21 −21 crates/js-component-bindgen-component/src/lib.rs
+10 −0 crates/js-component-bindgen-component/wit/js-component-bindgen.wit
+4 −2 crates/js-component-bindgen/Cargo.toml
+3 −4 crates/js-component-bindgen/src/core.rs
+134 −58 crates/js-component-bindgen/src/esm_bindgen.rs
+30 −17 crates/js-component-bindgen/src/function_bindgen.rs
+60 −0 crates/js-component-bindgen/src/intrinsics.rs
+44 −9 crates/js-component-bindgen/src/lib.rs
+38 −14 crates/js-component-bindgen/src/transpile_bindgen.rs
+124 −36 crates/js-component-bindgen/src/ts_bindgen.rs
+26 −10 crates/wasm-tools-component/src/lib.rs
+18 −1 crates/wasm-tools-component/wit/wasm-tools.wit
+12 −0 create-idl-component.sh
+83 −3 docs/src/transpiling.md
+ lib/wasi_snapshot_preview1.command.wasm
+ lib/wasi_snapshot_preview1.reactor.wasm
+1,281 −267 package-lock.json
+10 −8 package.json
+6 −16 src/cmd/run.js
+14 −2 src/cmd/transpile.js
+14 −2 src/jco.js
+1 −1 submodules/WASI-Virt
+1 −1 submodules/wasm-tools
+1 −1 submodules/wit-bindgen
+9 −10 test/api.js
+56 −27 test/browser.html
+167 −0 test/browser.js
+66 −17 test/cli.js
+5 −5 test/fixtures/component-gen/import-fn.wit
+ test/fixtures/components/borrowing-duplicate-if-necessary.component.wasm
+ test/fixtures/components/borrowing.component.wasm
+ test/fixtures/components/flavorful.component.wasm
+ test/fixtures/components/import-fn.component.wasm
+ test/fixtures/components/lists.component.wasm
+ test/fixtures/components/many-arguments.component.wasm
+ test/fixtures/components/many_arguments.component.wasm
+24,394 −0 test/fixtures/components/multi-version.component.wat
+ test/fixtures/components/numbers.component.wasm
+ test/fixtures/components/owning.component.wasm
+ test/fixtures/components/records.component.wasm
+ test/fixtures/components/smoke.component.wasm
+ test/fixtures/components/strings.component.wasm
+ test/fixtures/components/variants.component.wasm
+5 −0 test/fixtures/idl/console.test.js
+29 −0 test/fixtures/idl/console.webidl
+30 −0 test/fixtures/idl/console.wit
+7 −0 test/fixtures/idl/dom.test.js
+518 −0 test/fixtures/idl/dom.webidl
+421 −0 test/fixtures/idl/dom.wit
+2 −2 test/fixtures/wit/deps/flavorful/flavorful.wit
+16 −0 test/fixtures/wits/feature-gates-unstable.wit
+26 −0 test/fixtures/wits/feature-gates.wit
+15 −0 test/fixtures/wits/issue-480/issue-480.wit
+12 −0 test/helpers.js
+4 −11 test/preview2.js
+36 −0 test/runtime/helpers.ts
+3 −1 test/runtime/lists.ts
+2 −1 test/runtime/many-arguments.ts
+5 −0 test/runtime/multi-version.ts
+12 −11 test/runtime/numbers.ts
+3 −2 test/runtime/records.ts
+2 −1 test/runtime/strings.async+js.ts
+2 −1 test/runtime/strings.sync+js.ts
+1 −1 test/runtime/strings.sync.ts
+2 −1 test/runtime/strings.ts
+2 −1 test/runtime/variants.ts
+7 −1 test/test.js
+24 −0 test/typescript.js
+258 −0 test/wit.js
+4 −7 update-tests.sh
+5 −6 xtask/Cargo.toml
+2 −1 xtask/src/generate/mod.rs
+0 −0 xtask/src/generate/preview2_tests.rs
+1 −1 xtask/src/generate/wasi_types.rs
+91 −0 xtask/src/generate/webidl_tests.rs
+5 −2 xtask/src/main.rs