Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
There was an error while loading. Please reload this page.
Currently, it’s necessary to manually call
Module.syncBuiltinESMExports()after making changes to built‑in exports.This makes me wonder why wasn’t this implemented using a
Proxy‑based sync‑on‑write mechanism.A
Proxy‑based sync‑on‑write solution could also only update the exports that changed, instead of looping over all built‑in modules and their exports.