diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-04-13 10:47:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-13 10:47:45 -0400 |
commit | efa7c19890f58d9d446477e03e460b1190023c85 (patch) | |
tree | cce52a3abd56dd0a65adbedd2b94bc88ea68f1c2 /cli/resolver.rs | |
parent | 2eb0f9fb5cc3fd4c0d318cd04bdc03603b9ef70a (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/resolver.rs')
-rw-r--r-- | cli/resolver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/resolver.rs b/cli/resolver.rs index 1230a94b7..b428204aa 100644 --- a/cli/resolver.rs +++ b/cli/resolver.rs @@ -46,7 +46,7 @@ impl Default for CliGraphResolver { // refactor the LSP and force this to be initialized. 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); Self { maybe_import_map: Default::default(), maybe_default_jsx_import_source: Default::default(), |