1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tests
Bartek Iwańczuk 636352e0ca
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
..
integration chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
testdata fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
unit feat(runtime/os): add Deno.env.has() (#17315) 2023-01-09 20:19:55 +01:00
bench_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
bundle_tests.rs fix(cli): bundle command support shebang file (#17113) 2023-01-03 16:19:28 +00:00
cache_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
cert_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
check_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
compile_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
coverage_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
doc_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
eval_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
flags_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
fmt_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
info_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
init_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
inspector_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
install_tests.rs fix(install): should always include --no-config in shim unless --config is specified (#17300) 2023-01-08 09:03:55 -05:00
js_unit_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lint_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lsp_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
npm_tests.rs fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
repl_tests.rs fix: upgrade deno_ast to 0.23 (#17269) 2023-01-04 18:54:54 -05:00
run_tests.rs refactor(permissions): add PermissionsContainer struct for internal mutability (#17134) 2023-01-07 17:25:34 +01:00
task_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
test_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
upgrade_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
vendor_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
watcher_tests.rs fix: upgrade deno_ast to 0.23 (#17269) 2023-01-04 18:54:54 -05:00
worker_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00