@pnpm/lockfile.verification 1001.0.5 → 1001.1.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/allProjectsAreUpToDate.js +14 -14
- package/lib/allProjectsAreUpToDate.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/localTarballDepsAreUpToDate.d.ts +22 -0
- package/lib/localTarballDepsAreUpToDate.js +63 -0
- package/lib/localTarballDepsAreUpToDate.js.map +1 -0
- package/package.json +32 -29
|
@@ -4,15 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.allProjectsAreUpToDate = allProjectsAreUpToDate;
|
|
7
|
-
const lockfile_utils_1 = require("@pnpm/lockfile.utils");
|
|
8
7
|
const types_1 = require("@pnpm/types");
|
|
9
8
|
const p_every_1 = __importDefault(require("p-every"));
|
|
10
|
-
const any_1 = __importDefault(require("ramda/src/any"));
|
|
11
9
|
const isEmpty_1 = __importDefault(require("ramda/src/isEmpty"));
|
|
12
10
|
const allCatalogsAreUpToDate_1 = require("./allCatalogsAreUpToDate");
|
|
13
11
|
const getWorkspacePackagesByDirectory_1 = require("./getWorkspacePackagesByDirectory");
|
|
14
12
|
const linkedPackagesAreUpToDate_1 = require("./linkedPackagesAreUpToDate");
|
|
15
13
|
const satisfiesPackageManifest_1 = require("./satisfiesPackageManifest");
|
|
14
|
+
const localTarballDepsAreUpToDate_1 = require("./localTarballDepsAreUpToDate");
|
|
16
15
|
async function allProjectsAreUpToDate(projects, opts) {
|
|
17
16
|
// Projects may declare dependencies using catalog protocol specifiers. If the
|
|
18
17
|
// catalog config definitions are edited by users, projects using them are out
|
|
@@ -32,24 +31,25 @@ async function allProjectsAreUpToDate(projects, opts) {
|
|
|
32
31
|
lockfilePackages: opts.wantedLockfile.packages,
|
|
33
32
|
lockfileDir: opts.lockfileDir,
|
|
34
33
|
});
|
|
35
|
-
|
|
34
|
+
const _localTarballDepsAreUpToDate = localTarballDepsAreUpToDate_1.localTarballDepsAreUpToDate.bind(null, {
|
|
35
|
+
fileIntegrityCache: new Map(),
|
|
36
|
+
lockfilePackages: opts.wantedLockfile.packages,
|
|
37
|
+
lockfileDir: opts.lockfileDir,
|
|
38
|
+
});
|
|
39
|
+
return (0, p_every_1.default)(projects, async (project) => {
|
|
36
40
|
const importer = opts.wantedLockfile.importers[project.id];
|
|
37
41
|
if (importer == null) {
|
|
38
42
|
return types_1.DEPENDENCIES_FIELDS.every((depType) => project.manifest[depType] == null || (0, isEmpty_1.default)(project.manifest[depType]));
|
|
39
43
|
}
|
|
44
|
+
const projectInfo = {
|
|
45
|
+
dir: project.rootDir,
|
|
46
|
+
manifest: project.manifest,
|
|
47
|
+
snapshot: importer,
|
|
48
|
+
};
|
|
40
49
|
return importer != null &&
|
|
41
|
-
!hasLocalTarballDepsInRoot(importer) &&
|
|
42
50
|
_satisfiesPackageManifest(importer, project.manifest).satisfies &&
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
manifest: project.manifest,
|
|
46
|
-
snapshot: importer,
|
|
47
|
-
});
|
|
51
|
+
(await _localTarballDepsAreUpToDate(projectInfo)) &&
|
|
52
|
+
(_linkedPackagesAreUpToDate(projectInfo));
|
|
48
53
|
});
|
|
49
54
|
}
|
|
50
|
-
function hasLocalTarballDepsInRoot(importer) {
|
|
51
|
-
return (0, any_1.default)(lockfile_utils_1.refIsLocalTarball, Object.values(importer.dependencies ?? {})) ||
|
|
52
|
-
(0, any_1.default)(lockfile_utils_1.refIsLocalTarball, Object.values(importer.devDependencies ?? {})) ||
|
|
53
|
-
(0, any_1.default)(lockfile_utils_1.refIsLocalTarball, Object.values(importer.optionalDependencies ?? {}));
|
|
54
|
-
}
|
|
55
55
|
//# sourceMappingURL=allProjectsAreUpToDate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allProjectsAreUpToDate.js","sourceRoot":"","sources":["../src/allProjectsAreUpToDate.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"allProjectsAreUpToDate.js","sourceRoot":"","sources":["../src/allProjectsAreUpToDate.ts"],"names":[],"mappings":";;;;;AAeA,wDAqDC;AA9DD,uCAAiE;AACjE,sDAA4B;AAC5B,gEAAuC;AACvC,qEAAiE;AACjE,uFAAmF;AACnF,2EAAuE;AACvE,yEAAqE;AACrE,+EAA2E;AAEpE,KAAK,UAAU,sBAAsB,CAC1C,QAAiF,EACjF,IAQC;IAED,8EAA8E;IAC9E,8EAA8E;IAC9E,WAAW;IACX,IAAI,CAAC,IAAA,+CAAsB,EAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzE,OAAO,KAAK,CAAA;IACd,CAAC;IAED,MAAM,cAAc,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAA,iEAA+B,EAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAC5G,MAAM,yBAAyB,GAAG,mDAAwB,CAAC,IAAI,CAAC,IAAI,EAAE;QACpE,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;QACvC,wBAAwB,EAAE,IAAI,CAAC,wBAAwB;KACxD,CAAC,CAAA;IACF,MAAM,0BAA0B,GAAG,qDAAyB,CAAC,IAAI,CAAC,IAAI,EAAE;QACtE,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;QACjD,cAAc;QACd,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;QACzC,gBAAgB,EAAE,IAAI,CAAC,cAAc,CAAC,QAAQ;QAC9C,WAAW,EAAE,IAAI,CAAC,WAAW;KAC9B,CAAC,CAAA;IACF,MAAM,4BAA4B,GAAG,yDAA2B,CAAC,IAAI,CAAC,IAAI,EAAE;QAC1E,kBAAkB,EAAE,IAAI,GAAG,EAAE;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc,CAAC,QAAQ;QAC9C,WAAW,EAAE,IAAI,CAAC,WAAW;KAC9B,CAAC,CAAA;IACF,OAAO,IAAA,iBAAM,EAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QACxC,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC1D,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;YACrB,OAAO,2BAAmB,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,IAAI,IAAI,IAAA,iBAAO,EAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;QACxH,CAAC;QAED,MAAM,WAAW,GAAG;YAClB,GAAG,EAAE,OAAO,CAAC,OAAO;YACpB,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,QAAQ,EAAE,QAAQ;SACnB,CAAA;QAED,OAAO,QAAQ,IAAI,IAAI;YACrB,yBAAyB,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,SAAS;YAC/D,CAAC,MAAM,4BAA4B,CAAC,WAAW,CAAC,CAAC;YACjD,CAAC,0BAA0B,CAAC,WAAW,CAAC,CAAC,CAAA;IAC7C,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { allProjectsAreUpToDate } from './allProjectsAreUpToDate';
|
|
2
2
|
export { getWorkspacePackagesByDirectory } from './getWorkspacePackagesByDirectory';
|
|
3
|
+
export { localTarballDepsAreUpToDate } from './localTarballDepsAreUpToDate';
|
|
3
4
|
export { linkedPackagesAreUpToDate } from './linkedPackagesAreUpToDate';
|
|
4
5
|
export { satisfiesPackageManifest } from './satisfiesPackageManifest';
|
package/lib/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.satisfiesPackageManifest = exports.linkedPackagesAreUpToDate = exports.getWorkspacePackagesByDirectory = exports.allProjectsAreUpToDate = void 0;
|
|
3
|
+
exports.satisfiesPackageManifest = exports.linkedPackagesAreUpToDate = exports.localTarballDepsAreUpToDate = exports.getWorkspacePackagesByDirectory = exports.allProjectsAreUpToDate = void 0;
|
|
4
4
|
var allProjectsAreUpToDate_1 = require("./allProjectsAreUpToDate");
|
|
5
5
|
Object.defineProperty(exports, "allProjectsAreUpToDate", { enumerable: true, get: function () { return allProjectsAreUpToDate_1.allProjectsAreUpToDate; } });
|
|
6
6
|
var getWorkspacePackagesByDirectory_1 = require("./getWorkspacePackagesByDirectory");
|
|
7
7
|
Object.defineProperty(exports, "getWorkspacePackagesByDirectory", { enumerable: true, get: function () { return getWorkspacePackagesByDirectory_1.getWorkspacePackagesByDirectory; } });
|
|
8
|
+
var localTarballDepsAreUpToDate_1 = require("./localTarballDepsAreUpToDate");
|
|
9
|
+
Object.defineProperty(exports, "localTarballDepsAreUpToDate", { enumerable: true, get: function () { return localTarballDepsAreUpToDate_1.localTarballDepsAreUpToDate; } });
|
|
8
10
|
var linkedPackagesAreUpToDate_1 = require("./linkedPackagesAreUpToDate");
|
|
9
11
|
Object.defineProperty(exports, "linkedPackagesAreUpToDate", { enumerable: true, get: function () { return linkedPackagesAreUpToDate_1.linkedPackagesAreUpToDate; } });
|
|
10
12
|
var satisfiesPackageManifest_1 = require("./satisfiesPackageManifest");
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mEAAiE;AAAxD,gIAAA,sBAAsB,OAAA;AAC/B,qFAAmF;AAA1E,kJAAA,+BAA+B,OAAA;AACxC,yEAAuE;AAA9D,sIAAA,yBAAyB,OAAA;AAClC,uEAAqE;AAA5D,oIAAA,wBAAwB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mEAAiE;AAAxD,gIAAA,sBAAsB,OAAA;AAC/B,qFAAmF;AAA1E,kJAAA,+BAA+B,OAAA;AACxC,6EAA2E;AAAlE,0IAAA,2BAA2B,OAAA;AACpC,yEAAuE;AAA9D,sIAAA,yBAAyB,OAAA;AAClC,uEAAqE;AAA5D,oIAAA,wBAAwB,OAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ProjectSnapshot, type PackageSnapshots } from '@pnpm/lockfile.types';
|
|
2
|
+
export interface LocalTarballDepsUpToDateContext {
|
|
3
|
+
/**
|
|
4
|
+
* Local cache of local absolute file paths to their integrity. Expected to be
|
|
5
|
+
* initialized to an empty map by the caller.
|
|
6
|
+
*/
|
|
7
|
+
readonly fileIntegrityCache: Map<string, Promise<string>>;
|
|
8
|
+
readonly lockfilePackages?: PackageSnapshots;
|
|
9
|
+
readonly lockfileDir: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Returns false if a local tarball file has been changed on disk since the last
|
|
13
|
+
* installation recorded by the project snapshot.
|
|
14
|
+
*
|
|
15
|
+
* This function only inspects the project's lockfile snapshot. It does not
|
|
16
|
+
* inspect the current project manifest. The caller of this function is expected
|
|
17
|
+
* to handle changes to the project manifest that would cause the corresponding
|
|
18
|
+
* project snapshot to become out of date.
|
|
19
|
+
*/
|
|
20
|
+
export declare function localTarballDepsAreUpToDate({ fileIntegrityCache, lockfilePackages, lockfileDir, }: LocalTarballDepsUpToDateContext, project: {
|
|
21
|
+
snapshot: ProjectSnapshot;
|
|
22
|
+
}): Promise<boolean>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.localTarballDepsAreUpToDate = localTarballDepsAreUpToDate;
|
|
7
|
+
const crypto_hash_1 = require("@pnpm/crypto.hash");
|
|
8
|
+
const dependency_path_1 = require("@pnpm/dependency-path");
|
|
9
|
+
const lockfile_utils_1 = require("@pnpm/lockfile.utils");
|
|
10
|
+
const types_1 = require("@pnpm/types");
|
|
11
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
12
|
+
const p_every_1 = __importDefault(require("p-every"));
|
|
13
|
+
/**
|
|
14
|
+
* Returns false if a local tarball file has been changed on disk since the last
|
|
15
|
+
* installation recorded by the project snapshot.
|
|
16
|
+
*
|
|
17
|
+
* This function only inspects the project's lockfile snapshot. It does not
|
|
18
|
+
* inspect the current project manifest. The caller of this function is expected
|
|
19
|
+
* to handle changes to the project manifest that would cause the corresponding
|
|
20
|
+
* project snapshot to become out of date.
|
|
21
|
+
*/
|
|
22
|
+
async function localTarballDepsAreUpToDate({ fileIntegrityCache, lockfilePackages, lockfileDir, }, project) {
|
|
23
|
+
return (0, p_every_1.default)(types_1.DEPENDENCIES_FIELDS, (depField) => {
|
|
24
|
+
const lockfileDeps = project.snapshot[depField];
|
|
25
|
+
// If the lockfile is missing a snapshot for this project's dependencies, we
|
|
26
|
+
// can return true. The "satisfiesPackageManifest" logic in
|
|
27
|
+
// "allProjectsAreUpToDate" will catch mismatches between a project's
|
|
28
|
+
// manifest and snapshot dependencies size.
|
|
29
|
+
if (lockfileDeps == null) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
return (0, p_every_1.default)(Object.entries(lockfileDeps), async ([depName, ref]) => {
|
|
33
|
+
if (!(0, lockfile_utils_1.refIsLocalTarball)(ref)) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
const depPath = (0, dependency_path_1.refToRelative)(ref, depName);
|
|
37
|
+
const packageSnapshot = depPath != null ? lockfilePackages?.[depPath] : null;
|
|
38
|
+
// If there's no snapshot for this local tarball yet, the project is out
|
|
39
|
+
// of date and needs to be resolved. This should only happen with a
|
|
40
|
+
// broken lockfile.
|
|
41
|
+
if (packageSnapshot == null) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
const filePath = node_path_1.default.join(lockfileDir, ref.slice('file:'.length));
|
|
45
|
+
const fileIntegrityPromise = fileIntegrityCache.get(filePath) ?? (0, crypto_hash_1.getTarballIntegrity)(filePath);
|
|
46
|
+
if (!fileIntegrityCache.has(filePath)) {
|
|
47
|
+
fileIntegrityCache.set(filePath, fileIntegrityPromise);
|
|
48
|
+
}
|
|
49
|
+
let fileIntegrity;
|
|
50
|
+
try {
|
|
51
|
+
fileIntegrity = await fileIntegrityPromise;
|
|
52
|
+
}
|
|
53
|
+
catch (err) {
|
|
54
|
+
// If there was an error reading the tarball, assume the lockfile is
|
|
55
|
+
// out of date. The full resolution process will emit a clearer error
|
|
56
|
+
// later during install.
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return packageSnapshot.resolution.integrity === fileIntegrity;
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=localTarballDepsAreUpToDate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localTarballDepsAreUpToDate.js","sourceRoot":"","sources":["../src/localTarballDepsAreUpToDate.ts"],"names":[],"mappings":";;;;;AA+BA,kEA0DC;AAzFD,mDAAuD;AACvD,2DAAqD;AAMrD,yDAAwD;AACxD,uCAAiD;AACjD,0DAA4B;AAC5B,sDAA4B;AAY5B;;;;;;;;GAQG;AACI,KAAK,UAAU,2BAA2B,CAC/C,EACE,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,GACqB,EAClC,OAEC;IAED,OAAO,IAAA,iBAAM,EAAC,2BAAmB,EAAE,CAAC,QAAQ,EAAE,EAAE;QAC9C,MAAM,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAE/C,4EAA4E;QAC5E,2DAA2D;QAC3D,qEAAqE;QACrE,2CAA2C;QAC3C,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;YACzB,OAAO,IAAI,CAAA;QACb,CAAC;QAED,OAAO,IAAA,iBAAM,EACX,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,EAC5B,KAAK,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE;YACvB,IAAI,CAAC,IAAA,kCAAiB,EAAC,GAAG,CAAC,EAAE,CAAC;gBAC5B,OAAO,IAAI,CAAA;YACb,CAAC;YAED,MAAM,OAAO,GAAG,IAAA,+BAAa,EAAC,GAAG,EAAE,OAAO,CAAC,CAAA;YAC3C,MAAM,eAAe,GAAG,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;YAE5E,wEAAwE;YACxE,mEAAmE;YACnE,mBAAmB;YACnB,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;gBAC5B,OAAO,KAAK,CAAA;YACd,CAAC;YAED,MAAM,QAAQ,GAAG,mBAAI,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;YAElE,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,IAAA,iCAAmB,EAAC,QAAQ,CAAC,CAAA;YAC9F,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACtC,kBAAkB,CAAC,GAAG,CAAC,QAAQ,EAAE,oBAAoB,CAAC,CAAA;YACxD,CAAC;YAED,IAAI,aAAqB,CAAA;YACzB,IAAI,CAAC;gBACH,aAAa,GAAG,MAAM,oBAAoB,CAAA;YAC5C,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,oEAAoE;gBACpE,qEAAqE;gBACrE,wBAAwB;gBACxB,OAAO,KAAK,CAAA;YACd,CAAC;YAED,OAAQ,eAAe,CAAC,UAAgC,CAAC,SAAS,KAAK,aAAa,CAAA;QACtF,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,55 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/lockfile.verification",
|
|
3
|
-
"version": "1001.0
|
|
3
|
+
"version": "1001.1.0",
|
|
4
4
|
"description": "Checks a lockfile",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"types": "lib/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"lib",
|
|
9
|
-
"!*.map"
|
|
10
|
-
],
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": ">=18.12"
|
|
13
|
-
},
|
|
14
|
-
"repository": "https://github.com/pnpm/pnpm/blob/main/lockfile/verification",
|
|
15
5
|
"keywords": [
|
|
16
|
-
"pnpm10",
|
|
17
6
|
"pnpm",
|
|
7
|
+
"pnpm10",
|
|
18
8
|
"lockfile"
|
|
19
9
|
],
|
|
20
10
|
"license": "MIT",
|
|
11
|
+
"funding": "https://opencollective.com/pnpm",
|
|
12
|
+
"repository": "https://github.com/pnpm/pnpm/blob/main/lockfile/verification",
|
|
13
|
+
"homepage": "https://github.com/pnpm/pnpm/blob/main/lockfile/verification#readme",
|
|
21
14
|
"bugs": {
|
|
22
15
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
23
16
|
},
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
17
|
+
"main": "lib/index.js",
|
|
18
|
+
"types": "lib/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": "./lib/index.js"
|
|
27
21
|
},
|
|
22
|
+
"files": [
|
|
23
|
+
"lib",
|
|
24
|
+
"!*.map"
|
|
25
|
+
],
|
|
28
26
|
"dependencies": {
|
|
29
27
|
"p-every": "^2.0.0",
|
|
30
28
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
31
|
-
"semver": "^7.
|
|
29
|
+
"semver": "^7.7.1",
|
|
32
30
|
"version-selector-type": "^3.0.0",
|
|
33
|
-
"@pnpm/get-context": "1001.0.5",
|
|
34
31
|
"@pnpm/catalogs.types": "1000.0.0",
|
|
35
|
-
"@pnpm/dependency-path": "1000.0.
|
|
36
|
-
"@pnpm/
|
|
37
|
-
"@pnpm/
|
|
38
|
-
"@pnpm/types": "
|
|
39
|
-
"@pnpm/
|
|
40
|
-
"@pnpm/
|
|
32
|
+
"@pnpm/dependency-path": "1000.0.4",
|
|
33
|
+
"@pnpm/crypto.hash": "1000.1.0",
|
|
34
|
+
"@pnpm/get-context": "1001.0.7",
|
|
35
|
+
"@pnpm/lockfile.types": "1001.0.4",
|
|
36
|
+
"@pnpm/lockfile.utils": "1001.0.4",
|
|
37
|
+
"@pnpm/resolver-base": "1000.1.4",
|
|
38
|
+
"@pnpm/read-package-json": "1000.0.5",
|
|
39
|
+
"@pnpm/types": "1000.2.1"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@pnpm/logger": ">=5.1.0 <1001.0.0"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@types/ramda": "0.29.12",
|
|
44
46
|
"@types/semver": "7.5.3",
|
|
45
|
-
"@
|
|
46
|
-
"
|
|
47
|
+
"@types/tar-stream": "^2.2.3",
|
|
48
|
+
"tar-stream": "^2.2.0",
|
|
47
49
|
"@pnpm/logger": "1000.0.0",
|
|
48
|
-
"@pnpm/prepare": "0.0.
|
|
50
|
+
"@pnpm/prepare": "0.0.113",
|
|
51
|
+
"@pnpm/constants": "1001.1.0",
|
|
52
|
+
"@pnpm/lockfile.verification": "1001.1.0"
|
|
49
53
|
},
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
".": "./lib/index.js"
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=18.12"
|
|
53
56
|
},
|
|
54
57
|
"jest": {
|
|
55
58
|
"preset": "@pnpm/jest-config"
|