mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 02:22:40 +00:00
refactor: move redirect handling into deno_graph (#23444)
This commit is contained in:
parent
8e77f091ad
commit
c497e766f1
23 changed files with 377 additions and 263 deletions
|
@ -48,7 +48,7 @@ impl PackageSearchApi for CliNpmSearchApi {
|
|||
.append_pair("text", &format!("{} boost-exact:false", query));
|
||||
let file = self
|
||||
.file_fetcher
|
||||
.fetch(&search_url, PermissionsContainer::allow_all())
|
||||
.fetch(&search_url, &PermissionsContainer::allow_all())
|
||||
.await?
|
||||
.into_text_decoded()?;
|
||||
let names = Arc::new(parse_npm_search_response(&file.source)?);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue