hunk.code_window:   }, {stale: opts.lockStaleDuration})
   }
   export async function uninstallInContext (pkgsToUninstall: string[], pkg: Package, ctx: PnpmContext, opts: StrictPnpmOptions) {
     const saveType = getSaveType(opts) || 'dependencies'
     if (saveType) {
       const pkgJsonPath = path.join(ctx.root, 'package.json')
       const pkg = await removeDeps(pkgJsonPath, pkgsToUninstall, saveType)
       for (let depName in ctx.shrinkwrap.dependencies) {
         if (!isDependentOn(pkg, depName)) {
           delete ctx.shrinkwrap.dependencies[depName]
           delete ctx.shrinkwrap.specifiers[depName]
         }
       }
  
hunk.labels: keep keep keep replace replace replace replace replace replace replace replace replace replace keep
hunk.after_edit: export async function uninstallInContext (pkgsToUninstall: string[], ctx: PnpmContext, opts: StrictPnpmOptions) {
     const pkgJsonPath = path.join(ctx.root, 'package.json')
     const saveType = getSaveType(opts)
     const pkg = await removeDeps(pkgJsonPath, pkgsToUninstall, saveType)
     for (let depName in ctx.shrinkwrap.dependencies) {
       if (!isDependentOn(pkg, depName)) {
         delete ctx.shrinkwrap.dependencies[depName]
         delete ctx.shrinkwrap.specifiers[depName]
  
hunk.file_path: src/api/uninstall.ts
hunk.type: replace
file: {
    "name": "@scope/local-scoped-pkg",
    "version": "1.0.0"
  }
  