hunk.code_window:   rawConfig: {},
   })
   afterEach(async () => {
     // @ts-expect-error
     await global.finishWorkers?.()
   })
   test('request package', async () => {
     const storeDir = tempy.directory()
     const cafs = createCafsStore(storeDir)
     const requestPackage = createPackageRequester({
       resolve,
  
hunk.labels: keep keep keep replace replace replace replace replace keep keep keep keep keep
hunk.file_path: pkg-manager/package-requester/test/index.ts
hunk.type: replace
file: {
    "name": "monorepo-root",
    "private": true,
    "scripts": {
      "bump": "changeset version && pnpm update-manifests",
      "changeset": "changeset",
      "preinstall": "npx only-allow pnpm",
      "prepare": "husky install",
      "pretest": "pnpm run compile-only && pnpm --dir=__fixtures__ run prepareFixtures",
      "lint": "pnpm lint:meta && syncpack list-mismatches --workspace false && pnpm run lint:ts",
      "lint:ts": "eslint \"**/src/**/*.ts\" \"**/test/**/*.ts\"",
      "test-main": "pnpm pretest && pnpm lint --quiet && concurrently --raw --success=first --kill-others \"pnpm run verdaccio\" \"pnpm run test-pkgs-main\"",
      "remove-temp-dir": "shx rm -rf ../pnpm_tmp",
      "test-pkgs-main": "pnpm remove-temp-dir && cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm run --no-sort --workspace-concurrency=2 -r _test",
      "test-branch": "pnpm pretest && pnpm lint --quiet && git remote set-branches --add origin main && git fetch && concurrently --raw --success=first --kill-others \"pnpm run verdaccio\" \"pnpm run test-pkgs-branch\"",
      "test-pkgs-branch": "pnpm remove-temp-dir && cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm --workspace-concurrency=2 --filter=...[origin/main] run --no-sort _test",
      "verdaccio": "verdaccio --config=./verdaccio.yaml --listen=7348",
      "compile-only": "pnpm --workspace-concurrency=1 --filter=pnpm --filter=@pnpm/make-dedicated-lockfile --filter=@pnpm/mount-modules run compile",
      "compile": "pnpm compile-only && pnpm run update-manifests",
      "watch": "pnpm --filter=@pnpm/fetch run compile && pnpm --filter=pnpm run compile --watch",
      "make-lcov": "shx mkdir -p coverage && lcov-result-merger './packages/*/coverage/lcov.info' 'coverage/lcov.info'",
      "update-manifests": "pnpm run meta-updater && pnpm install",
      "meta-updater": "pnpm --filter=@pnpm-private/updater compile && pnpm --config.use-node-version=16.4.0 exec meta-updater",
      "lint:meta": "pnpm run meta-updater --test",
      "copy-artifacts": "ts-node __utils__/scripts/src/copy-artifacts.ts",
      "make-release-description": "pnpm --filter=@pnpm/get-release-text run write-release-text",
      "release": "pnpm --filter=@pnpm/exe publish --tag=next-8 --access=public && pnpm publish --filter=!pnpm --filter=!@pnpm/exe --access=public && pnpm publish --filter=pnpm --tag=next-8 --access=public",
      "dev-setup": "pnpm -C=./pnpm/dev link -g"
    },
    "devDependencies": {
      "@babel/core": "^7.22.10",
      "@babel/plugin-proposal-dynamic-import": "^7.18.6",
      "@babel/plugin-transform-modules-commonjs": "^7.22.5",
      "@babel/preset-typescript": "^7.22.5",
      "@babel/types": "^7.22.10",
      "@changesets/cli": "^2.26.2",
      "@commitlint/cli": "^17.7.1",
      "@commitlint/config-conventional": "^17.7.0",
      "@commitlint/prompt-cli": "^17.7.1",
      "@pnpm/eslint-config": "workspace:*",
      "@pnpm/meta-updater": "1.0.0",
      "@pnpm/registry-mock": "3.11.0",
      "@pnpm/tsconfig": "workspace:*",
      "@types/jest": "^29.5.3",
      "@types/node": "^16.18.41",
      "c8": "^7.14.0",
      "concurrently": "8.2.0",
      "cross-env": "^7.0.3",
      "eslint": "^8.47.0",
      "husky": "^8.0.3",
      "jest": "^29.6.2",
      "keyv": "4.5.3",
      "lcov-result-merger": "^3.3.0",
      "publish-packed": "^4.1.1",
      "rimraf": "^3.0.2",
      "shx": "^0.3.4",
      "syncpack": "^8.5.14",
      "ts-jest": "29.1.0",
      "ts-node": "^10.9.1",
      "typescript": "5.1.6",
      "verdaccio": "5.20.1"
    },
    "engines": {
      "pnpm": ">=8.6.10"
    },
    "packageManager": "pnpm@8.6.10",
    "pnpm": {
      "overrides": {
        "@yarnpkg/fslib": "3.0.0-rc.25",
        "@yarnpkg/libzip": "3.0.0-rc.25",
        "clipanion": "3.2.0-rc.6",
        "debug@<3.1.0": ">=3.1.0",
        "glob-parent@<5.1.2": ">=5.1.2",
        "hosted-git-info@4": "npm:@zkochan/hosted-git-info@^4.0.2",
        "istanbul-reports": "npm:@zkochan/istanbul-reports",
        "js-yaml@^4.0.0": "npm:@zkochan/js-yaml@0.0.6",
        "json5@<2.2.2": ">=2.2.2",
        "jsonwebtoken@<=8.5.1": ">=9.0.0",
        "nopt@5": "npm:@pnpm/nopt@^0.2.1",
        "verdaccio": "5.20.1",
        "yaml@<2.2.2": ">=2.2.2",
        "semver@<7.5.2": ">=7.5.2",
        "@yarnpkg/core": "4.0.0-rc.45",
        "@yarnpkg/extensions": "2.0.0-rc.22",
        "@yarnpkg/fslib@^3.0.0-rc.45": "3.0.0-rc.45",
        "@yarnpkg/libui@^3.0.0-rc.42": "3.0.0-rc.42",
        "@yarnpkg/libzip@^3.0.0-rc.42": "3.0.0-rc.45",
        "@yarnpkg/libzip@^3.0.0-rc.45": "3.0.0-rc.45",
        "@yarnpkg/nm": "4.0.0-rc.45",
        "@yarnpkg/parsers@^3.0.0-rc.45": "3.0.0-rc.45",
        "@yarnpkg/plugin-compat@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-compat@^4.0.0-rc.45": "4.0.0-rc.42",
        "@yarnpkg/plugin-constraints@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-dlx@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-essentials@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-exec@^3.0.0-rc.42": "3.0.0-rc.42",
        "@yarnpkg/plugin-file@^3.0.0-rc.42": "3.0.0-rc.42",
        "@yarnpkg/plugin-git@^3.0.0-rc.42": "3.0.0-rc.42",
        "@yarnpkg/plugin-github@^3.0.0-rc.42": "3.0.0-rc.42",
        "@yarnpkg/plugin-http@^3.0.0-rc.42": "3.0.0-rc.42",
        "@yarnpkg/plugin-init@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-interactive-tools@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-link@^3.0.0-rc.42": "3.0.0-rc.42",
        "@yarnpkg/plugin-nm@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-npm": "3.0.0-rc.42",
        "@yarnpkg/plugin-npm-cli@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-pack": "4.0.0-rc.42",
        "@yarnpkg/plugin-patch@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-pnp@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-pnpm@^2.0.0-rc.42": "2.0.0-rc.42",
        "@yarnpkg/plugin-stage@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-typescript@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-version@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/plugin-workspace-tools@^4.0.0-rc.42": "4.0.0-rc.42",
        "@yarnpkg/pnp@^4.0.0-rc.42": "4.0.0-rc.45",
        "@yarnpkg/pnp@^4.0.0-rc.45": "4.0.0-rc.45",
        "@yarnpkg/shell@^4.0.0-rc.42": "4.0.0-rc.45",
        "@yarnpkg/shell@^4.0.0-rc.45": "4.0.0-rc.45",
        "tough-cookie@<4.1.3": ">=4.1.3"
      },
      "packageExtensions": {
        "@babel/parser": {
          "peerDependencies": {
            "@babel/types": "*"
          }
        },
        "@yarnpkg/core": {
          "dependencies": {
            "@types/lodash": "4.14.181"
          }
        },
        "jest-circus": {
          "dependencies": {
            "slash": "3"
          }
        },
        "remark-stringify": {
          "peerDependencies": {
            "unified": "*"
          }
        },
        "remark-parse": {
          "peerDependencies": {
            "unified": "*"
          }
        },
        "@yarnpkg/nm": {
          "dependencies": {
            "@yarnpkg/pnp": "^4.0.0-rc.25"
          }
        }
      },
      "neverBuiltDependencies": [
        "core-js",
        "level"
      ],
      "peerDependencyRules": {
        "allowedVersions": {
          "eslint": "*",
          "@typescript-eslint/eslint-plugin": "^5.6.0",
          "@yarnpkg/core": "*"
        },
        "ignoreMissing": [
          "@yarnpkg/plugin-patch"
        ]
      },
      "patchedDependencies": {
        "pkg@5.8.1": "__patches__/pkg.patch",
        "graceful-fs@4.2.11": "__patches__/graceful-fs@4.2.11.patch"
      },
      "updateConfig": {
        "ignoreDependencies": [
          "boxen",
          "camelcase",
          "camelcase-keys",
          "chalk",
          "detect-indent",
          "escape-string-regexp",
          "filenamify",
          "find-up",
          "get-port",
          "is-port-reachable",
          "load-json-file",
          "mem",
          "node-fetch",
          "normalize-newline",
          "p-any",
          "p-defer",
          "p-filter",
          "p-limit",
          "p-memoize",
          "p-queue",
          "p-settle",
          "parse-json",
          "path-exists",
          "pretty-bytes",
          "pretty-ms",
          "process-exists",
          "ps-list",
          "sort-keys",
          "string-length",
          "strip-ansi",
          "strip-bom",
          "tempy",
          "unique-string",
          "wrap-ansi",
          "write-json-file",
          "write-pkg"
        ]
      },
      "auditConfig": {
        "ignoreCves": [
          "CVE-2023-28155"
        ]
      }
    }
  }
  