summaryrefslogtreecommitdiff
path: root/cli/lsp/documents.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-04-13 10:47:45 -0400
committerGitHub <noreply@github.com>2023-04-13 10:47:45 -0400
commitefa7c19890f58d9d446477e03e460b1190023c85 (patch)
treecce52a3abd56dd0a65adbedd2b94bc88ea68f1c2 /cli/lsp/documents.rs
parent2eb0f9fb5cc3fd4c0d318cd04bdc03603b9ef70a (diff)
refactor: upgrade to deno_npm 0.3.0 (#18671)
This allows us to specify the `@types/node` version constraint in the CLI instead of in deno_npm.
Diffstat (limited to 'cli/lsp/documents.rs')
-rw-r--r--cli/lsp/documents.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs
index 7b6ebdb41..80c3bc742 100644
--- a/cli/lsp/documents.rs
+++ b/cli/lsp/documents.rs
@@ -1866,7 +1866,7 @@ console.log(b, "hello deno");
fn test_documents_refresh_dependencies_config_change() {
let npm_registry_api = CliNpmRegistryApi::new_uninitialized();
let npm_resolution =
- NpmResolution::new(npm_registry_api.clone(), None, None);
+ NpmResolution::from_serialized(npm_registry_api.clone(), None, None);
// it should never happen that a user of this API causes this to happen,
// but we'll guard against it anyway