hunk.code_window:         .map(async (spec: PackageSpec) => {
             const reference = resolvedDependencies[spec.name]
             const pkgShortId = reference && getPkgShortId(reference, spec.name)
             const dependencyShrinkwrap = pkgShortId && ctx.shrinkwrap.packages[pkgShortId]
             const pkgId = reference && getPkgId(reference, spec.name, ctx.shrinkwrap.registry)
             return await install(spec, ctx, Object.assign({}, options, {
               pkgId,
               resolvedDependencies: dependencyShrinkwrap && dependencyShrinkwrap['dependencies'],
               shrinkwrapResolution: pkgShortId && dependencyShrinkwrap
                 ? dependencyShrToResolution(pkgShortId, dependencyShrinkwrap as DependencyShrinkwrap, options.registry)
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:           const pkgId = dependencyShrinkwrap && dependencyShrinkwrap['id'] ||
               reference && getPkgId(reference, spec.name, ctx.shrinkwrap.registry)
  
hunk.file_path: src/install/installMultiple.ts
hunk.type: replace
file: {
    "name": "local-pkg",
    "version": "1.0.0"
  }
  