Zephyr Lykos

Results 252 comments of Zephyr Lykos

To clear some confusion: fs.readFile is not hooked -- instead there are two flavors: CJS and ESM. The CJS flavor inlines the WASM binary as a base64 string. This is...

Normal Node.js distribution will **only** inline the CJS flavor, since it's not installed as a module. (i.e. have full filesystem structure, `package.json`, etc.) Builtins also can only load as CJS...

I don't actually use X11 now, so you're welcomed to modify it :). I attached 0BSD license to the gist.

@samyeyo Would it be okay if I put the type annotations to `types/` or `lib/types`?

Hi @samyeyo, do you have time to assistance on the `lrtobject`s? I'm a bit confused about the API design

If I understood that correctly, it could be a `userdata` type abstracted as a `@class`, but I'm not sure how can I define the getter & setter functions, instancing and...

as it's the base of many other interfaces, this need to be completely typed in the annotations if there are any features missing in the language server, leave a feedback...

Should also strip the `__esModule` property? This still got emitted currently: ```javascript Object.defineProperty(exports, "__esModule", { value: true }); ```

Also, these JSON imports and external imports weren't resolved as they should? They still emit a .js file instead of .json or inlining the import ![image](https://github.com/j4k0xb/webcrack/assets/21154023/785cf371-ee4b-41ba-a20d-b5ac6df0aa5a)