This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
0
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2025-02-23 21:53:26 -05:00
Code
Issues
Packages
1
Wiki
Activity
ea9002ab88
denoland-deno
/
tests
/
specs
/
npm
/
permissions_outside_package
/
foo
/
package.json
6 lines
67 B
JSON
Raw
Normal View
History
Unescape
Escape
fix spec failures
2024-10-20 17:48:52 -04:00
{
fix(npm): allow to read package.json if permissions are granted (#17209) 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.
2023-01-10 14:35:44 +01:00
"name"
:
"foobar"
,
"version"
:
"0.0.1"
,
fix spec failures
2024-10-20 17:48:52 -04:00
"type"
:
"commonjs"
}
Copy permalink