ComponentizeJS
ComponentizeJS copied to clipboard
JS -> WebAssembly Component
A guest app with the `wit` targetting the `wasi 0.2.0` world fails to componentize successfully and runs into the following error when using the fetch event handler. example world ```...
I am trying to wrap typespec into a component. It pulls in change-case library which uses regular expressions with Unicode. componetize is failing on these regular expressions: ```js var SPLIT_LOWER_UPPER_RE...
I'm still trying to wrap typescript compiler in a component, but I'm currently stuck on a wasm engine panic. I'm using a local debug build in order to get a...
I still get the same error with jco 1.7.1 that uses 0.13.1 of this project. #150 does not set timeOrigin. The change from https://github.com/bytecodealliance/ComponentizeJS/pull/146/commits/cb4d73af4fbbd75fb4bafc79b04a7d500180bd96#diff-882dd8ad95be11b373fd2693a697c12144f8b51d4605a35cd678a0d2e5b4a09dR354 makes it work for me locally....
I've got a bit of a challenging one here. It's hard to trace the issue because I don't have debug information available from SpiderMonkey (will traces from the engine be...
At present, `componentize-js` will error when users attempt to use a version of `wasi:http/incoming-handler` that is not being used by StarlingMonkey underneath. ``` (jco componentize) ComponentError: failed to encode a...
I might be just doing something wrong, but here's a simple repro. test.js ``` addEventListener('fetch', (evt) => { console.log('fetch-event style request handling'); }); ``` world.wit its empty because all it...
Fixes #301
Hi there, Let me start by saying that I'm missing a lot of context and that my approach is extremely naive, so please tell me to bugger off. Yet, I...
Similar to what [cargo-component does](https://github.com/bytecodealliance/cargo-component/pull/372), we want components produced by guest toolchains to adhere to this (not yet merged/accepted but in practiced used) tool convention: https://github.com/WebAssembly/tool-conventions/pull/248 Refer to wasm-metadata's [oci_annotations](https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-metadata/src/oci_annotations)...