@pnpm/store.commands 1100.0.9 → 1100.0.11
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/store/storeStatus/index.js +5 -6
- package/package.json +22 -22
|
@@ -4,7 +4,7 @@ import * as dp from '@pnpm/deps.path';
|
|
|
4
4
|
import { getContextForSingleImporter } from '@pnpm/installing.context';
|
|
5
5
|
import { nameVerFromPkgSnapshot, packageIdFromSnapshot, } from '@pnpm/lockfile.utils';
|
|
6
6
|
import { streamParser } from '@pnpm/logger';
|
|
7
|
-
import {
|
|
7
|
+
import { pickStoreIndexKey } from '@pnpm/store.index';
|
|
8
8
|
import { StoreIndex } from '@pnpm/store.index';
|
|
9
9
|
import dint from 'dint';
|
|
10
10
|
import pFilter from 'p-filter';
|
|
@@ -25,20 +25,19 @@ export async function storeStatus(maybeOpts) {
|
|
|
25
25
|
.filter(([depPath]) => !skipped.has(depPath))
|
|
26
26
|
.map(([depPath, pkgSnapshot]) => {
|
|
27
27
|
const id = packageIdFromSnapshot(depPath, pkgSnapshot);
|
|
28
|
+
const resolution = pkgSnapshot.resolution;
|
|
28
29
|
return {
|
|
29
30
|
depPath,
|
|
30
31
|
id,
|
|
31
|
-
|
|
32
|
+
resolution,
|
|
32
33
|
pkgPath: depPath,
|
|
33
34
|
...nameVerFromPkgSnapshot(depPath, pkgSnapshot),
|
|
34
35
|
};
|
|
35
36
|
});
|
|
36
37
|
const storeIndex = new StoreIndex(storeDir);
|
|
37
38
|
try {
|
|
38
|
-
const modified = await pFilter(pkgs, async ({ id,
|
|
39
|
-
const pkgIndexFilePath =
|
|
40
|
-
? storeIndexKey(integrity, id)
|
|
41
|
-
: gitHostedStoreIndexKey(id, { built: true });
|
|
39
|
+
const modified = await pFilter(pkgs, async ({ id, resolution, depPath, name }) => {
|
|
40
|
+
const pkgIndexFilePath = pickStoreIndexKey(resolution, id, { built: true });
|
|
42
41
|
const pkgFilesIndex = storeIndex.get(pkgIndexFilePath);
|
|
43
42
|
if (!pkgFilesIndex) {
|
|
44
43
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/store.commands",
|
|
3
|
-
"version": "1100.0.
|
|
3
|
+
"version": "1100.0.11",
|
|
4
4
|
"description": "Commands for controlling and inspecting the store",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -27,34 +27,34 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@pnpm/util.lex-comparator": "^3.0.2",
|
|
29
29
|
"archy": "^1.0.0",
|
|
30
|
-
"chalk": "^5.6.
|
|
30
|
+
"chalk": "^5.6.2",
|
|
31
31
|
"dint": "^5.1.0",
|
|
32
32
|
"p-filter": "^4.1.0",
|
|
33
33
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
34
34
|
"render-help": "^2.0.0",
|
|
35
35
|
"@pnpm/cli.utils": "1101.0.2",
|
|
36
36
|
"@pnpm/config.normalize-registries": "1100.0.2",
|
|
37
|
-
"@pnpm/config.reader": "1101.1
|
|
37
|
+
"@pnpm/config.reader": "1101.2.1",
|
|
38
|
+
"@pnpm/deps.path": "1100.0.2",
|
|
38
39
|
"@pnpm/crypto.integrity": "1100.0.0",
|
|
39
|
-
"@pnpm/
|
|
40
|
+
"@pnpm/error": "1100.0.0",
|
|
40
41
|
"@pnpm/fs.graceful-fs": "1100.1.0",
|
|
41
|
-
"@pnpm/
|
|
42
|
-
"@pnpm/
|
|
43
|
-
"@pnpm/installing.
|
|
42
|
+
"@pnpm/global.packages": "1100.0.2",
|
|
43
|
+
"@pnpm/installing.context": "1100.0.6",
|
|
44
|
+
"@pnpm/installing.client": "1100.0.10",
|
|
45
|
+
"@pnpm/lockfile.types": "1100.0.4",
|
|
46
|
+
"@pnpm/lockfile.utils": "1100.0.5",
|
|
44
47
|
"@pnpm/resolving.parse-wanted-dependency": "1100.0.1",
|
|
45
|
-
"@pnpm/store.cafs": "1100.1.1",
|
|
46
48
|
"@pnpm/object.key-sorting": "1100.0.0",
|
|
47
|
-
"@pnpm/store.
|
|
48
|
-
"@pnpm/store.
|
|
49
|
-
"@pnpm/types": "
|
|
49
|
+
"@pnpm/store.cafs": "1100.1.2",
|
|
50
|
+
"@pnpm/store.connection-manager": "1100.0.11",
|
|
51
|
+
"@pnpm/store.controller-types": "1100.0.5",
|
|
50
52
|
"@pnpm/store.index": "1100.0.0",
|
|
51
|
-
"@pnpm/
|
|
52
|
-
"@pnpm/
|
|
53
|
-
"@pnpm/error": "1100.0.0",
|
|
54
|
-
"@pnpm/deps.path": "1100.0.2"
|
|
53
|
+
"@pnpm/types": "1101.0.0",
|
|
54
|
+
"@pnpm/store.path": "1100.0.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@pnpm/logger": "
|
|
57
|
+
"@pnpm/logger": "^1001.0.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@jest/globals": "30.3.0",
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
"load-json-file": "^7.0.1",
|
|
68
68
|
"ssri": "13.0.1",
|
|
69
69
|
"tempy": "3.0.0",
|
|
70
|
+
"@pnpm/assert-store": "1100.0.5",
|
|
70
71
|
"@pnpm/constants": "1100.0.0",
|
|
71
|
-
"@pnpm/
|
|
72
|
+
"@pnpm/lockfile.fs": "1100.0.5",
|
|
73
|
+
"@pnpm/exec.commands": "1100.1.2",
|
|
72
74
|
"@pnpm/logger": "1100.0.0",
|
|
73
|
-
"@pnpm/prepare": "1100.0.
|
|
74
|
-
"@pnpm/
|
|
75
|
-
"@pnpm/store.controller": "1101.0.
|
|
76
|
-
"@pnpm/store.commands": "1100.0.9",
|
|
77
|
-
"@pnpm/exec.commands": "1100.0.9"
|
|
75
|
+
"@pnpm/prepare": "1100.0.5",
|
|
76
|
+
"@pnpm/store.commands": "1100.0.11",
|
|
77
|
+
"@pnpm/store.controller": "1101.0.3"
|
|
78
78
|
},
|
|
79
79
|
"engines": {
|
|
80
80
|
"node": ">=22.13"
|