Andrea Giammarchi

Results 769 comments of Andrea Giammarchi

About this PR, please follow above convention. The `esm/index.js` feel should be the entry point for ESM, using exact same code the index.js has, and so should do the CJS....

nothing between CJS and ESM is shared means that a file outside cjs or esm folder cannot be used in both modules systems. There is no `require('../extra')` and `import from...

> are you not inclined to use ESLint? I don't care much. > Might help with the ES5 enforcement not to mention catching bugs I have 100% code coverage to...

Same error about `fs` here ... emscripten ships its own FS so it'd be great to avoid needing `node:fs` entirely and use what other WASM based interpreters use. If you'd...

@justjake I might just use this module and re-package it in a way that `fs` is never used or it's just ignored but beside that I wonder if there's any...

I'd like to have emscripten FS instead, so that files can be pre-fetched, as example, and the code can use `import stuff from './path.js'` *within* the evaluated code. If passing...

to provide little extra context, the [polyscript](https://github.com/pyscript/polyscript#readme) (fairly new) project works lovely with Pyodide, MicroPython, but also Wasmoon (Lua) and ruby-wasm-wasi ... and I am pretty sure with a `type="quickjs-emscripten"`...

@justjake the module is up and running https://www.npmjs.com/package/@webreflection/quickjs-emscripten something I've observed and the reason I won't file a PR: * to make it work on Web I should copy all...

**edit** I've read _can be done_ @mikesamuel pretty much all of it, since it's possible to freeze objects, and a module is resolved only once anyway. However, the fact ``...

there are nodes where no escape should happen: title, textarea, and script or css, among others ... this keeps coming up and I've no idea why ... will have a...