Jake Teton-Landis
Jake Teton-Landis
@TMaszko Here is a reproduction: https://github.com/justjake/linaria-babel-options-issue-repro
I hit some runtime errors after following Typescript's iterable types. At runtime, a call to `await iterable.next()` will return `{ done: true, value: undefined }` for a complete `async *...
I don't think the Javascript bits of the library introduce non-determinism into the VM. You should double-check the Emscripten module initialization code for your preferred variant. As far as behavior...
This was released in v0.24.0: https://github.com/justjake/quickjs-emscripten/blob/main/CHANGELOG.md#v0240 Docs: https://github.com/justjake/quickjs-emscripten/blob/main/doc/quickjs-emscripten/classes/QuickJSContext.md#newarraybuffer
I’m happy to accept a PR addressing this issue, but don’t have time to work on it myself.
I use nextjs, you can use these webpack settings to fix the issue; most bundlers should have a similar setting: https://stackoverflow.com/questions/59487224/webpack-throws-error-with-emscripten-cant-resolve-fs There should be a webpack demo in this repo,...
My website has an online demo, but isn’t open source https://jake.tl/projects/quickjs-emscripten
If you’re brave enough to get into the Makefile and add it as another build variant I’d be happy to accept. Note that you can already (without Emscripten filesystem) shim...
Yeah, I tried web-ifying about a year ago but got discouraged wading through all the issues you cited. My takeaway is that if I want the library to “just work”...
@WebReflection @twop closing - v0.25.0+ now ship ESM builds and work fine via esm.sh CDN. All the included build variants use a separate WASM file, although single file variants are...