1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/cli/tests
Bartek Iwańczuk 1c2db072b5 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-13 11:20:14 -05:00
..
integration chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
testdata fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-13 11:20:14 -05:00
unit fix(permissions): process URL in Deno.FfiPermissionDescriptor.path for revoke() and request() (#17094) 2023-01-05 13:06:21 +01:00
bench_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
bundle_tests.rs fix(cli): bundle command support shebang file (#17113) 2023-01-05 13:06:21 +01:00
cache_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
cert_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
check_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
compile_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
coverage_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
doc_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
eval_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
flags_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
fmt_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
info_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
init_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
inspector_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
install_tests.rs fix(install): should always include --no-config in shim unless --config is specified (#17300) 2023-01-13 11:20:13 -05:00
js_unit_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
lint_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
lsp_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
npm_tests.rs fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-13 11:20:14 -05:00
repl_tests.rs fix: upgrade deno_ast to 0.23 (#17269) 2023-01-05 13:06:22 +01:00
run_tests.rs refactor(permissions): add PermissionsContainer struct for internal mutability (#17134) 2023-01-13 11:20:12 -05:00
task_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
test_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
upgrade_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
vendor_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
watcher_tests.rs fix: upgrade deno_ast to 0.23 (#17269) 2023-01-05 13:06:22 +01:00
worker_tests.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00