@pnpm/installing.package-requester 1101.0.5 → 1101.0.7
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 +4 -1
- package/package.json +17 -17
package/lib/packageRequester.js
CHANGED
|
@@ -98,11 +98,12 @@ async function resolveAndFetch(ctx, wantedDependency, options) {
|
|
|
98
98
|
name: options.currentPkg.name,
|
|
99
99
|
version: options.currentPkg.version,
|
|
100
100
|
resolution: options.currentPkg.resolution,
|
|
101
|
+
publishedAt: options.currentPkg.publishedAt,
|
|
101
102
|
}
|
|
102
103
|
: undefined,
|
|
103
104
|
}), { priority: options.downloadPriority });
|
|
104
105
|
let { manifest } = resolveResult;
|
|
105
|
-
const { latest, resolvedVia, publishedAt, normalizedBareSpecifier, alias, } = resolveResult;
|
|
106
|
+
const { latest, resolvedVia, publishedAt, normalizedBareSpecifier, alias, policyViolation, } = resolveResult;
|
|
106
107
|
// Check if the integrity has changed between the current and newly resolved package
|
|
107
108
|
// Use 'in' check to safely access integrity from any resolution type that has it
|
|
108
109
|
const previousResolution = options.currentPkg?.resolution;
|
|
@@ -156,6 +157,7 @@ async function resolveAndFetch(ctx, wantedDependency, options) {
|
|
|
156
157
|
updated,
|
|
157
158
|
publishedAt,
|
|
158
159
|
alias,
|
|
160
|
+
policyViolation,
|
|
159
161
|
},
|
|
160
162
|
};
|
|
161
163
|
}
|
|
@@ -217,6 +219,7 @@ async function resolveAndFetch(ctx, wantedDependency, options) {
|
|
|
217
219
|
updated,
|
|
218
220
|
publishedAt,
|
|
219
221
|
alias,
|
|
222
|
+
policyViolation,
|
|
220
223
|
},
|
|
221
224
|
fetching: fetchResult.fetching,
|
|
222
225
|
filesIndexFile: fetchResult.filesIndexFile,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/installing.package-requester",
|
|
3
|
-
"version": "1101.0.
|
|
3
|
+
"version": "1101.0.7",
|
|
4
4
|
"description": "Concurrent downloader of npm-compatible packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -35,23 +35,23 @@
|
|
|
35
35
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
36
36
|
"semver": "^7.7.2",
|
|
37
37
|
"ssri": "13.0.1",
|
|
38
|
-
"@pnpm/config.package-is-installable": "1100.0.
|
|
38
|
+
"@pnpm/config.package-is-installable": "1100.0.5",
|
|
39
39
|
"@pnpm/error": "1100.0.0",
|
|
40
|
-
"@pnpm/fetching.fetcher-base": "1100.1.
|
|
41
|
-
"@pnpm/fetching.pick-fetcher": "1100.0.6",
|
|
42
|
-
"@pnpm/fs.graceful-fs": "1100.1.0",
|
|
40
|
+
"@pnpm/fetching.fetcher-base": "1100.1.4",
|
|
43
41
|
"@pnpm/deps.path": "1100.0.3",
|
|
44
|
-
"@pnpm/
|
|
45
|
-
"@pnpm/
|
|
46
|
-
"@pnpm/
|
|
47
|
-
"@pnpm/
|
|
48
|
-
"@pnpm/types": "
|
|
42
|
+
"@pnpm/fetching.pick-fetcher": "1100.0.7",
|
|
43
|
+
"@pnpm/fs.graceful-fs": "1100.1.0",
|
|
44
|
+
"@pnpm/hooks.types": "1100.0.7",
|
|
45
|
+
"@pnpm/resolving.resolver-base": "1100.2.0",
|
|
46
|
+
"@pnpm/store.controller-types": "1100.1.0",
|
|
47
|
+
"@pnpm/store.cafs": "1100.1.5",
|
|
49
48
|
"@pnpm/store.index": "1100.1.0",
|
|
50
|
-
"@pnpm/
|
|
49
|
+
"@pnpm/types": "1101.1.0",
|
|
50
|
+
"@pnpm/core-loggers": "1100.1.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@pnpm/logger": ">=1001.0.0 <1002.0.0",
|
|
54
|
-
"@pnpm/worker": "^1100.1.
|
|
54
|
+
"@pnpm/worker": "^1100.1.6"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@jest/globals": "30.3.0",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
"delay": "^7.0.0",
|
|
64
64
|
"normalize-path": "^3.0.0",
|
|
65
65
|
"tempy": "3.0.0",
|
|
66
|
-
"@pnpm/installing.client": "1100.0
|
|
66
|
+
"@pnpm/installing.client": "1100.1.0",
|
|
67
|
+
"@pnpm/installing.package-requester": "1101.0.7",
|
|
67
68
|
"@pnpm/store.cafs-types": "1100.0.1",
|
|
69
|
+
"@pnpm/store.create-cafs-store": "1100.0.8",
|
|
68
70
|
"@pnpm/logger": "1100.0.0",
|
|
69
|
-
"@pnpm/
|
|
70
|
-
"@pnpm/
|
|
71
|
-
"@pnpm/installing.package-requester": "1101.0.5",
|
|
72
|
-
"@pnpm/store.create-cafs-store": "1100.0.6"
|
|
71
|
+
"@pnpm/testing.mock-agent": "1100.0.5",
|
|
72
|
+
"@pnpm/test-fixtures": "1100.0.0"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=22.13"
|