hunk.code_window:   path: string,
     srcPath?: string,
     id: string,
     resolution: Resolution,
     abort(): Promise<void>,
   }
   export default async function fetch (
     spec: PackageSpec,
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.file_path: src/install/fetch.ts
hunk.type: replace
file: import './misc'
  import './lifecycleScripts'
  import './optionalDependencies'
  import './installationChecks'
  import './fromTarball'
  import './fromRepo'
  import './peerDependencies'
  import './auth'
  import './local'
  