@pnpm/installing.package-requester 1008.0.0 → 1100.0.0
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.
- package/lib/packageRequester.js +6 -1
- package/package.json +31 -32
package/lib/packageRequester.js
CHANGED
|
@@ -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
|
-
|
|
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": "
|
|
3
|
+
"version": "1100.0.0",
|
|
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": "^
|
|
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.
|
|
38
|
-
"@pnpm/config.package-is-installable": "
|
|
39
|
-
"@pnpm/
|
|
40
|
-
"@pnpm/error": "
|
|
41
|
-
"@pnpm/
|
|
42
|
-
"@pnpm/fetching.
|
|
43
|
-
"@pnpm/
|
|
44
|
-
"@pnpm/
|
|
45
|
-
"@pnpm/
|
|
46
|
-
"@pnpm/store.cafs": "
|
|
47
|
-
"@pnpm/
|
|
48
|
-
"@pnpm/store.index": "
|
|
49
|
-
"@pnpm/store.controller-types": "
|
|
50
|
-
"@pnpm/types": "
|
|
37
|
+
"ssri": "13.0.1",
|
|
38
|
+
"@pnpm/config.package-is-installable": "1100.0.0",
|
|
39
|
+
"@pnpm/core-loggers": "1100.0.0",
|
|
40
|
+
"@pnpm/error": "1100.0.0",
|
|
41
|
+
"@pnpm/deps.path": "1100.0.0",
|
|
42
|
+
"@pnpm/fetching.fetcher-base": "1100.0.0",
|
|
43
|
+
"@pnpm/fs.graceful-fs": "1100.0.0",
|
|
44
|
+
"@pnpm/hooks.types": "1100.0.0",
|
|
45
|
+
"@pnpm/resolving.resolver-base": "1100.0.0",
|
|
46
|
+
"@pnpm/store.cafs": "1100.0.0",
|
|
47
|
+
"@pnpm/fetching.pick-fetcher": "1100.0.0",
|
|
48
|
+
"@pnpm/store.index": "1100.0.0",
|
|
49
|
+
"@pnpm/store.controller-types": "1100.0.0",
|
|
50
|
+
"@pnpm/types": "1100.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@pnpm/logger": ">=1001.0.0 <1002.0.0",
|
|
54
|
-
"@pnpm/worker": "^
|
|
54
|
+
"@pnpm/worker": "^1100.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@jest/globals": "30.0
|
|
58
|
-
"@pnpm/registry-mock": "
|
|
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.
|
|
60
|
+
"@types/ramda": "0.31.1",
|
|
61
61
|
"@types/semver": "7.7.1",
|
|
62
62
|
"@types/ssri": "^7.1.5",
|
|
63
|
-
"delay": "^
|
|
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/
|
|
68
|
-
"@pnpm/installing.
|
|
69
|
-
"@pnpm/
|
|
70
|
-
"@pnpm/
|
|
71
|
-
"@pnpm/
|
|
72
|
-
"@pnpm/
|
|
73
|
-
"@pnpm/
|
|
66
|
+
"@pnpm/installing.client": "1100.0.0",
|
|
67
|
+
"@pnpm/installing.package-requester": "1100.0.0",
|
|
68
|
+
"@pnpm/logger": "1100.0.0",
|
|
69
|
+
"@pnpm/store.create-cafs-store": "1100.0.0",
|
|
70
|
+
"@pnpm/testing.mock-agent": "1100.0.0",
|
|
71
|
+
"@pnpm/test-fixtures": "1100.0.0",
|
|
72
|
+
"@pnpm/store.cafs-types": "1100.0.0"
|
|
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
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
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
|
}
|