0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
denoland-deno/cli
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
..
args fix(cli/args): update value_name of inspect args to resolve broken completions (#17287) 2023-01-09 13:29:43 +01:00
bench refactor(cli,core,ext,rt): remove some unnecessary clone or malloc (#17274) 2023-01-05 14:29:50 -05:00
cache refactor(permissions): add PermissionsContainer struct for internal mutability (#17134) 2023-01-07 17:25:34 +01:00
js fix: upgrade deno_ast to 0.23 (#17269) 2023-01-04 18:54:54 -05:00
lsp fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
napi chore: forward v1.29.2 release commit to main (#17277) 2023-01-05 16:48:19 +01:00
node fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
npm fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
ops feat(core): allow specifying name and dependencies of an Extension (#17301) 2023-01-08 23:48:46 +01:00
schemas fix: add missing verb in description (#17163) 2022-12-22 14:51:22 +01:00
tests fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
tools fix(install): should always include --no-config in shim unless --config is specified (#17300) 2023-01-08 09:03:55 -05:00
tsc fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
util refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-07 15:22:09 -05:00
auth_tokens.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
build.rs feat(core): allow specifying name and dependencies of an Extension (#17301) 2023-01-08 23:48:46 +01:00
Cargo.toml chore: forward v1.29.2 release commit to main (#17277) 2023-01-05 16:48:19 +01:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs chore: forward v1.29.2 release commit to main (#17277) 2023-01-05 16:48:19 +01:00
emit.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
errors.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
file_fetcher.rs refactor(permissions): add PermissionsContainer struct for internal mutability (#17134) 2023-01-07 17:25:34 +01:00
graph_util.rs refactor(permissions): add PermissionsContainer struct for internal mutability (#17134) 2023-01-07 17:25:34 +01:00
http_util.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
js.rs feat(core): Ability to create snapshots from existing snapshots (#16597) 2022-11-21 14:36:26 +01:00
main.rs refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-07 15:22:09 -05:00
module_loader.rs fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
proc_state.rs fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
standalone.rs fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
version.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
worker.rs fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.