hunk.code_window: const dashDashIndex = argv.indexOf('--')
   const nonEscapedArgv = dashDashIndex === -1 ? argv : argv.slice(0, dashDashIndex)
   const helpOptions = new Set(['--help', '-h', '--h'])
   if (nonEscapedArgv.some((arg) => helpOptions.has(arg))) {
     argv = ['help'].concat(argv)
   }
   (async () => { // tslint:disable-line:no-floating-promises
     switch (argv[0]) {
       case '-v':
       case '--version':
         const pkg = (await import('@pnpm/cli-utils')).packageManager
  
hunk.labels: keep replace replace replace replace replace replace replace replace replace keep keep keep keep
hunk.after_edit: ; (async () => { // tslint:disable-line:no-floating-promises
  
hunk.file_path: packages/pnpm/src/bin/pnpm.ts
hunk.type: replace
file: {
    "name": "@pnpm/tarball-fetcher",
    "version": "5.1.2",
    "description": "Fetcher for packages hosted as tarballs",
    "main": "lib/index.js",
    "typings": "lib/index.d.ts",
    "files": [
      "lib"
    ],
    "scripts": {
      "lint": "tslint -c tslint.json src/**/*.ts test/**/*.ts",
      "prepublishOnly": "pnpm run tsc",
      "tsc": "rimraf lib && tsc",
      "test": "pnpm run tsc && pnpm run lint && ts-node test && node example"
    },
    "repository": "https://github.com/pnpm/pnpm/blob/master/packages/tarball-fetcher",
    "keywords": [
      "pnpm",
      "fetcher",
      "tarball"
    ],
    "engines": {
      "node": ">=10"
    },
    "author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)",
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/pnpm/pnpm/issues"
    },
    "homepage": "https://github.com/pnpm/pnpm/blob/master/packages/tarball-fetcher#readme",
    "peerDependencies": {
      "@pnpm/logger": "^3.1.0"
    },
    "dependencies": {
      "@pnpm/error": "workspace:1.0.0",
      "@pnpm/fetcher-base": "workspace:5.1.0",
      "credentials-by-uri": "1.0.0",
      "fetch-from-npm-registry": "workspace:3.0.0",
      "graceful-fs": "4.2.1",
      "make-dir": "3.0.0",
      "mem": "6.0.1",
      "mz": "2.7.0",
      "path-temp": "2.0.0",
      "retry": "0.12.0",
      "rimraf": "3.0.0",
      "ssri": "6.0.1",
      "unpack-stream": "6.0.0"
    },
    "devDependencies": {
      "@pnpm/logger": "3.1.0",
      "@pnpm/tarball-fetcher": "link:",
      "@types/graceful-fs": "^4.1.3",
      "@types/mz": "^2.7.0",
      "@types/retry": "^0.12.0",
      "@types/rimraf": "^2.0.3",
      "@types/ssri": "^6.0.1",
      "cp-file": "7.0.0",
      "nock": "11.7.0",
      "tape": "4.11.0",
      "tempy": "0.3.0"
    }
  }
  