Cyan

Results 114 comments of Cyan

I have created a fork of Deno (which I just decided to called it Done), implements a very simple loader api here is the demonstrate of invalidating import cache ![Image](https://github.com/user-attachments/assets/a3620454-7349-4fd3-8652-c44f3ab514d4)

I have making progress by try provide the ability to mutate the `ModuleMap` (a struct in deno_core that handles all imports including reuse evaluated module (module cache) and request actual...

> My understanding is that there is no API to clear a module in V8, so this will be a non-ESM, CJS-like immediately evaluated object. I think it would be...

> How exactly would this look like in terms of `std`? What do you think of something like that? > > ```ts > Deno.test("test", () => { > let cnt...

> `spy` function already exposes (readonly) `.original` property. Maybe making it writable property is the easiest way to implement this. > > cc @KyleJune What do you think of this...

E0708 is no longer emitted by the compiler now. https://doc.rust-lang.org/error_codes/E0708.html#note-this-error-code-is-no-longer-emitted-by-the-compiler

Corresponding PR for the issue ~~will be coming soon~~ is #1146 UPDATE: #1146

> I don't think this makes much sense for a module loader api. It doesn't need any ability to mutate existing entries in the map, only to intercept new requests....

> I don't think this makes much sense for a module loader api. It doesn't need any ability to mutate existing entries in the map, only to intercept new requests....