Guy Bedford
Guy Bedford
With the spec now merged to the latest, we can explicitly integrate with the JS String Builtins proposal, passing the `builtinSetNames` and `stringConstant` parameters to module construction. This explicitly now...
As discussed at the CG meeting today, it might yet be possible to specify a string constant for the ESM Integration. Opening the bikeshed here for the current main suggestions,...
As the final semantic gap for the ESM integration instance semantics, here's the initial spec for how Wasm instances may be able to import dependencies with phases in the `source`...
As brought up in https://github.com/WebAssembly/esm-integration/issues/14#issuecomment-2931717336, one problem with the ESM integration instance import model is that for multi-threading scenarios the memory import needs to be available at startup. The ESM...
This is the latest PR diff for the Stage 3 [Source Phase Imports proposal](https://github.com/tc39/proposal-source-phase-imports), based to the import attributes updates on main. This PR replaces https://github.com/tc39/ecma262/pull/3094, since work moved back...
This PR contains: - [ ] bugfix - [x] feature - [ ] refactor - [ ] documentation - [ ] other Are tests included? - [x] yes (_bugfixes and...
I managed to find a case where side effect detection fails on this one - ```js var o = {}; o.__proto__ = { get a () { console.log('side effect'); return...
### Feature Use Case The WebAssembly ESM Integration supports two modes of JavaScript imports - the direct instance-level ESM Integration allowing each Wasm module to have a singular instance state...
### Rollup Version 4.450.0 ### Operating System (or Browser) repl ### Node Version (if applicable) _No response_ ### Link To Reproduction https://rollupjs.org/repl/?version=4.45.0&shareable=JTdCJTIyZXhhbXBsZSUyMiUzQW51bGwlMkMlMjJtb2R1bGVzJTIyJTNBJTVCJTdCJTIyY29kZSUyMiUzQSUyMihhc3luYyUyMGZ1bmN0aW9uJTIwKCklMjAlN0IlNUNuJTIwJTIwYXdhaXQlMjBpbXBvcnQoJy4lMkZxdXguanMnKSUzQiU1Q24lMjAlMjBjb25zb2xlLmxvZyh3YXNtSW5zdGFuY2UpJTNCJTVDbiU3RCkoKSUzQiUyMiUyQyUyMmlzRW50cnklMjIlM0F0cnVlJTJDJTIybmFtZSUyMiUzQSUyMm1haW4uanMlMjIlN0QlMkMlN0IlMjJjb2RlJTIyJTNBJTIyZXhwb3J0JTIwY29uc3QlMjB3YXNtSW5zdGFuY2UlMjAlM0QlMjBhd2FpdCUyMFdlYkFzc2VtYmx5LmNvbXBpbGUoJ2ZvbycpJTNCJTIyJTJDJTIyaXNFbnRyeSUyMiUzQWZhbHNlJTJDJTIybmFtZSUyMiUzQSUyMnF1eC5qcyUyMiU3RCU1RCUyQyUyMm9wdGlvbnMlMjIlM0ElN0IlMjJvdXRwdXQlMjIlM0ElN0IlMjJmb3JtYXQlMjIlM0ElMjJlcyUyMiUyQyUyMmlubGluZUR5bmFtaWNJbXBvcnRzJTIyJTNBdHJ1ZSU3RCU3RCU3RA== ### Expected Behaviour When using top-level await inside...
Adds support for a new `ctx.addEventListener("unload", () => { });` for both `DurableObjectState` and `ExecutionContext`. These now both inherit `EventTarget` and this is updated in the types as well. The...