hunk.code_window:   ;(globalWarn as jest.Mock).mockClear()
   })
   afterEach(async () => {
     // @ts-expect-error
     await global.finishWorkers?.()
   })
   const cafsDir = tempy.directory()
   const filesIndexFile = path.join(cafsDir, 'index.json')
   const cafs = createCafsStore(cafsDir)
  
hunk.labels: keep keep keep replace replace replace replace replace keep keep keep keep
hunk.file_path: fetching/tarball-fetcher/test/fetch.ts
hunk.type: replace
file: {
    "name": "@pnpm/package-requester",
    "version": "21.1.0",
    "description": "Concurrent downloader of npm-compatible packages",
    "main": "lib/index.js",
    "types": "lib/index.d.ts",
    "files": [
      "lib",
      "!*.map"
    ],
    "engines": {
      "node": ">=16.14"
    },
    "scripts": {
      "start": "tsc --watch",
      "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
      "_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7774 jest",
      "test": "pnpm run compile && pnpm run _test",
      "prepublishOnly": "pnpm run compile",
      "compile": "tsc --build && pnpm run lint --fix"
    },
    "repository": "https://github.com/pnpm/pnpm/blob/main/pkg-manager/package-requester",
    "keywords": [
      "pnpm8",
      "pnpm",
      "resolver",
      "npm"
    ],
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/pnpm/pnpm/issues"
    },
    "homepage": "https://github.com/pnpm/pnpm/blob/main/pkg-manager/package-requester#readme",
    "peerDependencies": {
      "@pnpm/logger": "^5.0.0"
    },
    "dependencies": {
      "@pnpm/core-loggers": "workspace:*",
      "@pnpm/dependency-path": "workspace:*",
      "@pnpm/error": "workspace:*",
      "@pnpm/fetcher-base": "workspace:*",
      "@pnpm/graceful-fs": "workspace:*",
      "@pnpm/package-is-installable": "workspace:*",
      "@pnpm/pick-fetcher": "workspace:*",
      "@pnpm/read-package-json": "workspace:*",
      "@pnpm/resolver-base": "workspace:*",
      "@pnpm/store-controller-types": "workspace:*",
      "@pnpm/store.cafs": "workspace:*",
      "@pnpm/types": "workspace:*",
      "load-json-file": "^6.2.0",
      "p-defer": "^3.0.0",
      "p-limit": "^3.1.0",
      "p-map-values": "^1.0.0",
      "p-queue": "^6.6.2",
      "promise-share": "^1.0.0",
      "ramda": "npm:@pnpm/ramda@0.28.1",
      "safe-promise-defer": "^1.0.1",
      "semver": "^7.5.4",
      "ssri": "10.0.4"
    },
    "devDependencies": {
      "@pnpm/cafs-types": "workspace:*",
      "@pnpm/client": "workspace:*",
      "@pnpm/create-cafs-store": "workspace:*",
      "@pnpm/package-requester": "workspace:*",
      "@pnpm/registry-mock": "3.11.0",
      "@pnpm/test-fixtures": "workspace:*",
      "@types/normalize-path": "^3.0.0",
      "@types/ramda": "0.28.20",
      "@types/semver": "7.3.13",
      "@types/ssri": "^7.1.1",
      "delay": "^5.0.0",
      "nock": "13.3.2",
      "normalize-path": "^3.0.0",
      "tempy": "^1.0.1"
    },
    "funding": "https://opencollective.com/pnpm",
    "exports": {
      ".": "./lib/index.js"
    }
  }
  