@pnpm/installing.package-requester 1008.0.0 → 1100.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -181,7 +181,12 @@ async function resolveAndFetch(ctx, wantedDependency, options) {
181
181
  manifest = fetchedResult.bundledManifest;
182
182
  }
183
183
  else if (fetchedResult.files.filesMap.has('package.json')) {
184
- manifest = await loadJsonFile(fetchedResult.files.filesMap.get('package.json'));
184
+ const loadedManifest = await loadJsonFile(fetchedResult.files.filesMap.get('package.json'));
185
+ // Skip placeholder package.json added as a completion marker by the worker
186
+ // for packages that genuinely lack one.
187
+ if (!loadedManifest._pnpmPlaceholder) {
188
+ manifest = loadedManifest;
189
+ }
185
190
  }
186
191
  // Add integrity to resolution if it was computed during fetching (only for TarballResolution)
187
192
  if (fetchedResult.integrity && !resolution.type && !resolution.integrity) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/installing.package-requester",
3
- "version": "1008.0.0",
3
+ "version": "1100.0.1",
4
4
  "description": "Concurrent downloader of npm-compatible packages",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -30,47 +30,46 @@
30
30
  "load-json-file": "^7.0.1",
31
31
  "p-defer": "^4.0.1",
32
32
  "p-limit": "^7.1.0",
33
- "p-queue": "^8.1.0",
33
+ "p-queue": "^9.1.0",
34
34
  "promise-share": "^2.0.0",
35
35
  "ramda": "npm:@pnpm/ramda@0.28.1",
36
36
  "semver": "^7.7.2",
37
- "ssri": "13.0.0",
38
- "@pnpm/config.package-is-installable": "1000.0.15",
39
- "@pnpm/deps.path": "1001.1.3",
40
- "@pnpm/error": "1000.0.5",
41
- "@pnpm/fetching.fetcher-base": "1001.0.2",
42
- "@pnpm/fetching.pick-fetcher": "1001.0.0",
43
- "@pnpm/core-loggers": "1001.0.4",
44
- "@pnpm/fs.graceful-fs": "1000.0.1",
45
- "@pnpm/hooks.types": "1001.0.12",
46
- "@pnpm/store.cafs": "1000.0.19",
47
- "@pnpm/resolving.resolver-base": "1005.1.0",
48
- "@pnpm/store.index": "1000.0.0-0",
49
- "@pnpm/store.controller-types": "1004.1.0",
50
- "@pnpm/types": "1000.9.0"
37
+ "ssri": "13.0.1",
38
+ "@pnpm/config.package-is-installable": "1100.0.1",
39
+ "@pnpm/deps.path": "1100.0.1",
40
+ "@pnpm/fetching.fetcher-base": "1100.0.1",
41
+ "@pnpm/core-loggers": "1100.0.1",
42
+ "@pnpm/fs.graceful-fs": "1100.0.0",
43
+ "@pnpm/error": "1100.0.0",
44
+ "@pnpm/fetching.pick-fetcher": "1100.0.1",
45
+ "@pnpm/hooks.types": "1100.0.1",
46
+ "@pnpm/store.cafs": "1100.0.1",
47
+ "@pnpm/store.index": "1100.0.0",
48
+ "@pnpm/store.controller-types": "1100.0.1",
49
+ "@pnpm/types": "1101.0.0",
50
+ "@pnpm/resolving.resolver-base": "1100.0.1"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@pnpm/logger": ">=1001.0.0 <1002.0.0",
54
- "@pnpm/worker": "^1000.3.0"
54
+ "@pnpm/worker": "^1100.0.1"
55
55
  },
56
56
  "devDependencies": {
57
- "@jest/globals": "30.0.5",
58
- "@pnpm/registry-mock": "5.2.4",
57
+ "@jest/globals": "30.3.0",
58
+ "@pnpm/registry-mock": "6.0.0",
59
59
  "@types/normalize-path": "^3.0.2",
60
- "@types/ramda": "0.29.12",
60
+ "@types/ramda": "0.31.1",
61
61
  "@types/semver": "7.7.1",
62
62
  "@types/ssri": "^7.1.5",
63
- "delay": "^6.0.0",
64
- "nock": "13.3.4",
63
+ "delay": "^7.0.0",
65
64
  "normalize-path": "^3.0.0",
66
65
  "tempy": "3.0.0",
67
- "@pnpm/fs.msgpack-file": "1100.0.0-0",
68
- "@pnpm/installing.client": "1001.1.4",
69
- "@pnpm/installing.package-requester": "1008.0.0",
70
- "@pnpm/logger": "1001.0.1",
71
- "@pnpm/store.cafs-types": "1000.0.0",
72
- "@pnpm/store.create-cafs-store": "1000.0.20",
73
- "@pnpm/test-fixtures": "1000.0.0"
66
+ "@pnpm/installing.client": "1100.0.1",
67
+ "@pnpm/installing.package-requester": "1100.0.1",
68
+ "@pnpm/logger": "1100.0.0",
69
+ "@pnpm/store.cafs-types": "1100.0.0",
70
+ "@pnpm/test-fixtures": "1100.0.0",
71
+ "@pnpm/testing.mock-agent": "1100.0.1",
72
+ "@pnpm/store.create-cafs-store": "1100.0.1"
74
73
  },
75
74
  "engines": {
76
75
  "node": ">=22.13"
@@ -81,8 +80,8 @@
81
80
  "scripts": {
82
81
  "start": "tsgo --watch",
83
82
  "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
84
- "_test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest",
85
- "test": "pnpm run compile && pnpm run _test",
86
- "compile": "tsgo --build && pnpm run lint --fix"
83
+ "test": "pn compile && pn .test",
84
+ "compile": "tsgo --build && pn lint --fix",
85
+ ".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
87
86
  }
88
87
  }