hunk.code_window:     "commit": "git-cz",
       "cover": "istanbul cover test/index.js",
       "lint": "standard && tslint -c tslint.json ./src/**/*.ts ./test/**/*.ts",
       "test": "npm run lint && ts-node test | tap-diff",
       "posttest": "rimraf .tmp",
       "prerelease": "npm test",
       "release": "sh .scripts/release.sh",
  
hunk.labels: keep keep keep keep replace keep keep
hunk.after_edit:     "posttest": "rm -rf .tmp",
  
hunk.file_path: package.json
hunk.type: replace
file: import {prune, prunePkgs} from '../api/prune'
  import {PnpmOptions} from '../types'
  
  export default (input: string[], opts: PnpmOptions) => {
    if (input && input.length) {
      return prunePkgs(input, opts)
    }
    return prune(opts)
  }
  