mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
636352e0ca
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.
3 lines
211 B
Text
3 lines
211 B
Text
Download http://localhost:4545/npm/registry/@denotest/permissions-outside-package
|
|
Download http://localhost:4545/npm/registry/@denotest/permissions-outside-package/1.0.0.tgz
|
|
{ name: "foobar", version: "0.0.1" }
|