0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00
deno/ext
Leo Kettmeir b4aa153097
refactor: Use ES modules for internal runtime code (#17648)
This PR refactors all internal js files (except core) to be written as
ES modules.
`__bootstrap`has been mostly replaced with static imports in form in
`internal:[path to file from repo root]`.
To specify if files are ESM, an `esm` method has been added to
`Extension`, similar to the `js` method.
A new ModuleLoader called `InternalModuleLoader` has been added to
enable the loading of internal specifiers, which is used in all
situations except when a snapshot is only loaded, and not a new one is
created from it.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-02-07 20:22:46 +01:00
..
broadcast_channel refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
cache refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
console refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
crypto refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
fetch refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
ffi refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
flash refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
http refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
napi chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00:00
net refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
node refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
tls chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00:00
url refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
web refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
webgpu refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
webidl refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
websocket refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
webstorage refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00