mirror of
https://github.com/denoland/deno.git
synced 2025-10-03 07:34:36 +00:00
This commit changes signature of "deno_core::ModuleLoader::resolve" to pass an enum indicating whether or not we're resolving a specifier for dynamic import. Additionally "CliModuleLoader" was changes to store both "parent permissions" (or "root permissions") as well as "dynamic permissions" that allow to check for permissions in top-level module load an dynamic imports. Then all code paths that have anything to do with Node/npm compat are now checking for permissions which are passed from module loader instance associated with given worker. |
||
|---|---|---|
| .. | ||
| disable_ops.rs | ||
| eval_js_value.rs | ||
| fs_module_loader.rs | ||
| hello_world.rs | ||
| http_bench_json_ops.js | ||
| http_bench_json_ops.rs | ||
| panik.rs | ||
| schedule_task.rs | ||
| ts_module_loader.rs | ||
| wasm.js | ||
| wasm.rs | ||
| wasm.ts | ||