You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V8 does not yet support import assertions though AFAIK... but I also think that an embedder can choose if they need to require the import assertion or not, need to review the spec.
The text was updated successfully, but these errors were encountered:
I don't think so, users configure supported assertions using a field on CreateParams. Import assertions are later available on ModuleRequest in module resolve callback.
Is the deno team working on implementing standard JSON modules?
Yep! Once we upgrade rusty_v8 we will look into implementing that and WASM modules (we were waiting on v8 to implement import assertions for this purpose 😅 )
There is a proposal -> https://github.com/tc39/proposal-json-modules
It build on top of import assertions -> https://github.com/tc39/proposal-import-assertions
V8 does not yet support import assertions though AFAIK... but I also think that an embedder can choose if they need to require the import assertion or not, need to review the spec.
The text was updated successfully, but these errors were encountered: