Jordan Last

Results 194 issues of Jordan Last

First off, my JavaScript environment is very custom and different than the web or Node.js. We are running in a wasm32-wasi environment with [QuickJS](https://github.com/bellard/quickjs), using [wasmedge-quickjs](https://github.com/second-state/wasmedge-quickjs), and [Wasmtime](https://github.com/bytecodealliance/wasmtime) on the...

**Describe the bug** I am trying to use the [buffer](https://github.com/feross/buffer) polyfill to provide more capabilities to our project Azle. Unfortunately when trying to use the [bitcoinjs-lib](https://www.npmjs.com/package/bitcoinjs-lib) npm package which depends...

bug

I haven't found a solution to this problem yet, but I've tracked the issue down to here: https://github.com/second-state/wasmedge-quickjs/blob/main/modules/internal/fs/stream.js#L175 In my Express app I'm trying to load a file that is...

Here's some example code: ```rust let bound_function = exports_js_object .get(&export_name) .to_function() .unwrap() .get("bind") .to_function() .unwrap() .call(&[JsValue::Int(4).into()]); ``` This code executes just fine as in the unwraps do not panic, but...

Here `opts` is assumed to be an object, but in one of our code paths it was a string like `utf-8`: https://github.com/second-state/wasmedge-quickjs/blob/main/modules/internal/fs/stream.js#L202 I've added this code to fix it temporarily:...

From our project's property testing we have recently found two major bugs in QuickJS that have since been fixed. JSON.parse bug: https://github.com/bellard/quickjs/issues/206 BigUint64Array bug: https://github.com/bellard/quickjs/issues/202 Could we get wasmedge-quickjs to...

This bug was a bit difficult to track down. Essentially in Express.js if you use the text or json body parser middleware, and you have an asynchronous operation in your...

I'm coming across a lot of strange issues with how things are exported in these JS files. The combination of ES modules while using these ES modules in an environment...

This bug was absolutely crazy to track down. Essentially `ServerResponse` should have the `finished = false;` set at least on instantiation. When trying to get an Express.js application to work,...

I've been integrating Express in our environment and using wasmedge-quickjs. This enum is problematic: https://github.com/second-state/wasmedge-quickjs/blob/main/src/internal_module/httpx/core/mod.rs#L12 It seems that when this enum is turned into a JsValue that the properties are...