1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/cli/lsp
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
..
testing refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-07 15:22:09 -05:00
analysis.rs refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-07 15:22:09 -05:00
cache.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
capabilities.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
client.rs refactor(lsp): migrate from lspower back to tower-lsp (#14163) 2022-04-03 14:17:30 +10:00
code_lens.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
completions.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
config.rs fix(lsp): treat empty string config value as None (#17227) 2023-01-03 16:59:48 +01:00
diagnostics.rs refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-07 15:22:09 -05:00
documents.rs fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
language_server.rs refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-07 15:22:09 -05:00
logging.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lsp_custom.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
mod.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
parent_process_checker.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
path_to_regex.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
performance.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
README.md feat(lsp): improve registry completion suggestions (#13023) 2021-12-14 06:24:11 +11:00
refactor.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
registries.rs refactor(permissions): add PermissionsContainer struct for internal mutability (#17134) 2023-01-07 17:25:34 +01:00
repl.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
semantic_tokens.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
text.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
tsc.rs feat(core): allow specifying name and dependencies of an Extension (#17301) 2023-01-08 23:48:46 +01:00
urls.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00

Deno Language Server

The Deno Language Server provides a server implementation of the Language Server Protocol which is specifically tailored to provide a Deno view of code. It is integrated into the command line and can be started via the lsp sub-command.

This documentation has been moved to the Deno manual.