pnpm 7.4.0 → 7.4.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.
|
@@ -7,11 +7,11 @@ included:
|
|
|
7
7
|
injectedDeps: {}
|
|
8
8
|
layoutVersion: 5
|
|
9
9
|
nodeLinker: hoisted
|
|
10
|
-
packageManager: pnpm@7.4.0
|
|
10
|
+
packageManager: pnpm@7.4.0
|
|
11
11
|
pendingBuilds:
|
|
12
12
|
- /node-gyp/8.4.1
|
|
13
13
|
- /encoding/0.1.13
|
|
14
|
-
prunedAt:
|
|
14
|
+
prunedAt: Thu, 30 Jun 2022 09:31:30 GMT
|
|
15
15
|
publicHoistPattern:
|
|
16
16
|
- '*eslint*'
|
|
17
17
|
- '*prettier*'
|
|
@@ -116,7 +116,7 @@ packages:
|
|
|
116
116
|
glob: 7.2.3
|
|
117
117
|
infer-owner: 1.0.4
|
|
118
118
|
lru-cache: 6.0.0
|
|
119
|
-
minipass: 3.3.
|
|
119
|
+
minipass: 3.3.4
|
|
120
120
|
minipass-collect: 1.0.2
|
|
121
121
|
minipass-flush: 1.0.5
|
|
122
122
|
minipass-pipeline: 1.2.4
|
|
@@ -212,7 +212,7 @@ packages:
|
|
|
212
212
|
resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==}
|
|
213
213
|
engines: {node: '>= 8'}
|
|
214
214
|
dependencies:
|
|
215
|
-
minipass: 3.3.
|
|
215
|
+
minipass: 3.3.4
|
|
216
216
|
dev: false
|
|
217
217
|
optional: true
|
|
218
218
|
|
|
@@ -371,7 +371,7 @@ packages:
|
|
|
371
371
|
https-proxy-agent: 5.0.1
|
|
372
372
|
is-lambda: 1.0.1
|
|
373
373
|
lru-cache: 6.0.0
|
|
374
|
-
minipass: 3.3.
|
|
374
|
+
minipass: 3.3.4
|
|
375
375
|
minipass-collect: 1.0.2
|
|
376
376
|
minipass-fetch: 1.4.1
|
|
377
377
|
minipass-flush: 1.0.5
|
|
@@ -397,7 +397,7 @@ packages:
|
|
|
397
397
|
resolution: {integrity: sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==}
|
|
398
398
|
engines: {node: '>= 8'}
|
|
399
399
|
dependencies:
|
|
400
|
-
minipass: 3.3.
|
|
400
|
+
minipass: 3.3.4
|
|
401
401
|
dev: false
|
|
402
402
|
optional: true
|
|
403
403
|
|
|
@@ -405,7 +405,7 @@ packages:
|
|
|
405
405
|
resolution: {integrity: sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==}
|
|
406
406
|
engines: {node: '>=8'}
|
|
407
407
|
dependencies:
|
|
408
|
-
minipass: 3.3.
|
|
408
|
+
minipass: 3.3.4
|
|
409
409
|
minipass-sized: 1.0.3
|
|
410
410
|
minizlib: 2.1.2
|
|
411
411
|
optionalDependencies:
|
|
@@ -417,7 +417,7 @@ packages:
|
|
|
417
417
|
resolution: {integrity: sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==}
|
|
418
418
|
engines: {node: '>= 8'}
|
|
419
419
|
dependencies:
|
|
420
|
-
minipass: 3.3.
|
|
420
|
+
minipass: 3.3.4
|
|
421
421
|
dev: false
|
|
422
422
|
optional: true
|
|
423
423
|
|
|
@@ -425,7 +425,7 @@ packages:
|
|
|
425
425
|
resolution: {integrity: sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==}
|
|
426
426
|
engines: {node: '>=8'}
|
|
427
427
|
dependencies:
|
|
428
|
-
minipass: 3.3.
|
|
428
|
+
minipass: 3.3.4
|
|
429
429
|
dev: false
|
|
430
430
|
optional: true
|
|
431
431
|
|
|
@@ -433,12 +433,12 @@ packages:
|
|
|
433
433
|
resolution: {integrity: sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==}
|
|
434
434
|
engines: {node: '>=8'}
|
|
435
435
|
dependencies:
|
|
436
|
-
minipass: 3.3.
|
|
436
|
+
minipass: 3.3.4
|
|
437
437
|
dev: false
|
|
438
438
|
optional: true
|
|
439
439
|
|
|
440
|
-
/minipass/3.3.
|
|
441
|
-
resolution: {integrity: sha512-
|
|
440
|
+
/minipass/3.3.4:
|
|
441
|
+
resolution: {integrity: sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw==}
|
|
442
442
|
engines: {node: '>=8'}
|
|
443
443
|
dependencies:
|
|
444
444
|
yallist: 4.0.0
|
|
@@ -449,7 +449,7 @@ packages:
|
|
|
449
449
|
resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==}
|
|
450
450
|
engines: {node: '>= 8'}
|
|
451
451
|
dependencies:
|
|
452
|
-
minipass: 3.3.
|
|
452
|
+
minipass: 3.3.4
|
|
453
453
|
yallist: 4.0.0
|
|
454
454
|
dev: false
|
|
455
455
|
optional: true
|
|
@@ -643,7 +643,7 @@ packages:
|
|
|
643
643
|
resolution: {integrity: sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==}
|
|
644
644
|
engines: {node: '>= 8'}
|
|
645
645
|
dependencies:
|
|
646
|
-
minipass: 3.3.
|
|
646
|
+
minipass: 3.3.4
|
|
647
647
|
dev: false
|
|
648
648
|
optional: true
|
|
649
649
|
|
|
@@ -678,7 +678,7 @@ packages:
|
|
|
678
678
|
dependencies:
|
|
679
679
|
chownr: 2.0.0
|
|
680
680
|
fs-minipass: 2.1.0
|
|
681
|
-
minipass: 3.3.
|
|
681
|
+
minipass: 3.3.4
|
|
682
682
|
minizlib: 2.1.2
|
|
683
683
|
mkdirp: 1.0.4
|
|
684
684
|
yallist: 4.0.0
|
package/dist/pnpm.cjs
CHANGED
|
@@ -3182,7 +3182,7 @@ var require_lib4 = __commonJS({
|
|
|
3182
3182
|
var load_json_file_1 = __importDefault(require_load_json_file());
|
|
3183
3183
|
var defaultManifest = {
|
|
3184
3184
|
name: "pnpm" != null && true ? "pnpm" : "pnpm",
|
|
3185
|
-
version: "7.4.
|
|
3185
|
+
version: "7.4.1" != null && true ? "7.4.1" : "0.0.0"
|
|
3186
3186
|
};
|
|
3187
3187
|
var pkgJson;
|
|
3188
3188
|
if (require.main == null) {
|
|
@@ -84918,7 +84918,7 @@ var require_lib43 = __commonJS({
|
|
|
84918
84918
|
}
|
|
84919
84919
|
function resolveRefFromRefs(refs, repo, ref, range) {
|
|
84920
84920
|
if (!range) {
|
|
84921
|
-
const commitId = refs[ref] || refs[`refs/tags/${ref}^{}`] || refs[`refs/tags/${ref}`] || refs[`refs/heads/${ref}`];
|
|
84921
|
+
const commitId = refs[ref] || refs[`refs/${ref}`] || refs[`refs/tags/${ref}^{}`] || refs[`refs/tags/${ref}`] || refs[`refs/heads/${ref}`];
|
|
84922
84922
|
if (!commitId) {
|
|
84923
84923
|
throw new Error(`Could not resolve ${ref} to a commit of ${repo}.`);
|
|
84924
84924
|
}
|
|
@@ -88446,6 +88446,9 @@ var require_write = __commonJS({
|
|
|
88446
88446
|
if (lockfileToSave.overrides != null && (0, isEmpty_js_1.default)(lockfileToSave.overrides)) {
|
|
88447
88447
|
delete lockfileToSave.overrides;
|
|
88448
88448
|
}
|
|
88449
|
+
if (lockfileToSave.patchedDependencies != null && (0, isEmpty_js_1.default)(lockfileToSave.patchedDependencies)) {
|
|
88450
|
+
delete lockfileToSave.patchedDependencies;
|
|
88451
|
+
}
|
|
88449
88452
|
if (lockfileToSave.neverBuiltDependencies != null) {
|
|
88450
88453
|
if ((0, isEmpty_js_1.default)(lockfileToSave.neverBuiltDependencies)) {
|
|
88451
88454
|
delete lockfileToSave.neverBuiltDependencies;
|
|
@@ -123773,7 +123776,7 @@ var require_lib105 = __commonJS({
|
|
|
123773
123776
|
});
|
|
123774
123777
|
const projectsToResolve = await Promise.all(importers.map(async (project) => _toResolveImporter(project)));
|
|
123775
123778
|
const { dependenciesTree, outdatedDependencies, resolvedImporters, resolvedPackagesByDepPath, wantedToBeSkippedPackageIds, appliedPatches } = await (0, resolveDependencyTree_1.default)(projectsToResolve, opts);
|
|
123776
|
-
if (opts.patchedDependencies && (opts.forceFullResolution || !opts.wantedLockfile.packages?.length)) {
|
|
123779
|
+
if (opts.patchedDependencies && (opts.forceFullResolution || !opts.wantedLockfile.packages?.length) && Object.keys(opts.wantedLockfile.importers).length === importers.length) {
|
|
123777
123780
|
verifyPatches(Object.keys(opts.patchedDependencies), appliedPatches);
|
|
123778
123781
|
}
|
|
123779
123782
|
const linkedDependenciesByProjectId = {};
|
|
@@ -126072,7 +126075,7 @@ var require_install = __commonJS({
|
|
|
126072
126075
|
ctx.wantedLockfile.patchedDependencies = patchedDependencies;
|
|
126073
126076
|
}
|
|
126074
126077
|
const frozenLockfile = opts.frozenLockfile || opts.frozenLockfileIfExists && ctx.existsWantedLockfile;
|
|
126075
|
-
if (!ctx.lockfileHadConflicts && !opts.update && !opts.fixLockfile && installsOnly && (frozenLockfile || opts.ignorePackageManifest || !needsFullResolution && opts.preferFrozenLockfile && (!opts.pruneLockfileImporters || Object.keys(ctx.wantedLockfile.importers).length === ctx.projects.length) && ctx.existsWantedLockfile && ctx.wantedLockfile.lockfileVersion === constants_1.LOCKFILE_VERSION && await (0, allProjectsAreUpToDate_1.default)(ctx.projects, {
|
|
126078
|
+
if (!ctx.lockfileHadConflicts && !opts.update && !opts.fixLockfile && installsOnly && (frozenLockfile && !opts.lockfileOnly || opts.ignorePackageManifest || !needsFullResolution && opts.preferFrozenLockfile && (!opts.pruneLockfileImporters || Object.keys(ctx.wantedLockfile.importers).length === ctx.projects.length) && ctx.existsWantedLockfile && ctx.wantedLockfile.lockfileVersion === constants_1.LOCKFILE_VERSION && await (0, allProjectsAreUpToDate_1.default)(ctx.projects, {
|
|
126076
126079
|
linkWorkspacePackages: opts.linkWorkspacePackagesDepth >= 0,
|
|
126077
126080
|
wantedLockfile: ctx.wantedLockfile,
|
|
126078
126081
|
workspacePackages: opts.workspacePackages
|
|
@@ -128148,7 +128151,7 @@ var require_install2 = __commonJS({
|
|
|
128148
128151
|
};
|
|
128149
128152
|
return (0, installDeps_1.default)({
|
|
128150
128153
|
...opts,
|
|
128151
|
-
frozenLockfileIfExists: is_ci_1.default && typeof opts.rawLocalConfig["frozen-lockfile"] === "undefined" && typeof opts.rawLocalConfig["prefer-frozen-lockfile"] === "undefined",
|
|
128154
|
+
frozenLockfileIfExists: is_ci_1.default && !opts.lockfileOnly && typeof opts.rawLocalConfig["frozen-lockfile"] === "undefined" && typeof opts.rawLocalConfig["prefer-frozen-lockfile"] === "undefined",
|
|
128152
128155
|
include,
|
|
128153
128156
|
includeDirect: include
|
|
128154
128157
|
}, []);
|
package/dist/pnpx.cjs
CHANGED
|
@@ -79908,7 +79908,7 @@ var require_lib42 = __commonJS({
|
|
|
79908
79908
|
}
|
|
79909
79909
|
function resolveRefFromRefs(refs, repo, ref, range) {
|
|
79910
79910
|
if (!range) {
|
|
79911
|
-
const commitId = refs[ref] || refs[`refs/tags/${ref}^{}`] || refs[`refs/tags/${ref}`] || refs[`refs/heads/${ref}`];
|
|
79911
|
+
const commitId = refs[ref] || refs[`refs/${ref}`] || refs[`refs/tags/${ref}^{}`] || refs[`refs/tags/${ref}`] || refs[`refs/heads/${ref}`];
|
|
79912
79912
|
if (!commitId) {
|
|
79913
79913
|
throw new Error(`Could not resolve ${ref} to a commit of ${repo}.`);
|
|
79914
79914
|
}
|
|
@@ -83436,6 +83436,9 @@ var require_write = __commonJS({
|
|
|
83436
83436
|
if (lockfileToSave.overrides != null && (0, isEmpty_js_1.default)(lockfileToSave.overrides)) {
|
|
83437
83437
|
delete lockfileToSave.overrides;
|
|
83438
83438
|
}
|
|
83439
|
+
if (lockfileToSave.patchedDependencies != null && (0, isEmpty_js_1.default)(lockfileToSave.patchedDependencies)) {
|
|
83440
|
+
delete lockfileToSave.patchedDependencies;
|
|
83441
|
+
}
|
|
83439
83442
|
if (lockfileToSave.neverBuiltDependencies != null) {
|
|
83440
83443
|
if ((0, isEmpty_js_1.default)(lockfileToSave.neverBuiltDependencies)) {
|
|
83441
83444
|
delete lockfileToSave.neverBuiltDependencies;
|
|
@@ -118763,7 +118766,7 @@ var require_lib104 = __commonJS({
|
|
|
118763
118766
|
});
|
|
118764
118767
|
const projectsToResolve = await Promise.all(importers.map(async (project) => _toResolveImporter(project)));
|
|
118765
118768
|
const { dependenciesTree, outdatedDependencies, resolvedImporters, resolvedPackagesByDepPath, wantedToBeSkippedPackageIds, appliedPatches } = await (0, resolveDependencyTree_1.default)(projectsToResolve, opts);
|
|
118766
|
-
if (opts.patchedDependencies && (opts.forceFullResolution || !opts.wantedLockfile.packages?.length)) {
|
|
118769
|
+
if (opts.patchedDependencies && (opts.forceFullResolution || !opts.wantedLockfile.packages?.length) && Object.keys(opts.wantedLockfile.importers).length === importers.length) {
|
|
118767
118770
|
verifyPatches(Object.keys(opts.patchedDependencies), appliedPatches);
|
|
118768
118771
|
}
|
|
118769
118772
|
const linkedDependenciesByProjectId = {};
|
|
@@ -121062,7 +121065,7 @@ var require_install = __commonJS({
|
|
|
121062
121065
|
ctx.wantedLockfile.patchedDependencies = patchedDependencies;
|
|
121063
121066
|
}
|
|
121064
121067
|
const frozenLockfile = opts.frozenLockfile || opts.frozenLockfileIfExists && ctx.existsWantedLockfile;
|
|
121065
|
-
if (!ctx.lockfileHadConflicts && !opts.update && !opts.fixLockfile && installsOnly && (frozenLockfile || opts.ignorePackageManifest || !needsFullResolution && opts.preferFrozenLockfile && (!opts.pruneLockfileImporters || Object.keys(ctx.wantedLockfile.importers).length === ctx.projects.length) && ctx.existsWantedLockfile && ctx.wantedLockfile.lockfileVersion === constants_1.LOCKFILE_VERSION && await (0, allProjectsAreUpToDate_1.default)(ctx.projects, {
|
|
121068
|
+
if (!ctx.lockfileHadConflicts && !opts.update && !opts.fixLockfile && installsOnly && (frozenLockfile && !opts.lockfileOnly || opts.ignorePackageManifest || !needsFullResolution && opts.preferFrozenLockfile && (!opts.pruneLockfileImporters || Object.keys(ctx.wantedLockfile.importers).length === ctx.projects.length) && ctx.existsWantedLockfile && ctx.wantedLockfile.lockfileVersion === constants_1.LOCKFILE_VERSION && await (0, allProjectsAreUpToDate_1.default)(ctx.projects, {
|
|
121066
121069
|
linkWorkspacePackages: opts.linkWorkspacePackagesDepth >= 0,
|
|
121067
121070
|
wantedLockfile: ctx.wantedLockfile,
|
|
121068
121071
|
workspacePackages: opts.workspacePackages
|
|
@@ -123138,7 +123141,7 @@ var require_install2 = __commonJS({
|
|
|
123138
123141
|
};
|
|
123139
123142
|
return (0, installDeps_1.default)({
|
|
123140
123143
|
...opts,
|
|
123141
|
-
frozenLockfileIfExists: is_ci_1.default && typeof opts.rawLocalConfig["frozen-lockfile"] === "undefined" && typeof opts.rawLocalConfig["prefer-frozen-lockfile"] === "undefined",
|
|
123144
|
+
frozenLockfileIfExists: is_ci_1.default && !opts.lockfileOnly && typeof opts.rawLocalConfig["frozen-lockfile"] === "undefined" && typeof opts.rawLocalConfig["prefer-frozen-lockfile"] === "undefined",
|
|
123142
123145
|
include,
|
|
123143
123146
|
includeDirect: include
|
|
123144
123147
|
}, []);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pnpm",
|
|
3
3
|
"description": "Fast, disk space efficient package manager",
|
|
4
|
-
"version": "7.4.
|
|
4
|
+
"version": "7.4.1",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pnpm": "bin/pnpm.cjs",
|
|
7
7
|
"pnpx": "bin/pnpx.cjs"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@pnpm/byline": "^1.0.0",
|
|
24
24
|
"@pnpm/cli-meta": "workspace:3.0.5",
|
|
25
25
|
"@pnpm/cli-utils": "workspace:0.7.17",
|
|
26
|
-
"@pnpm/client": "workspace:7.1.
|
|
26
|
+
"@pnpm/client": "workspace:7.1.9",
|
|
27
27
|
"@pnpm/command": "workspace:3.0.0",
|
|
28
28
|
"@pnpm/common-cli-options-help": "workspace:0.9.0",
|
|
29
29
|
"@pnpm/config": "workspace:15.5.1",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"@pnpm/nopt": "^0.2.1",
|
|
41
41
|
"@pnpm/parse-cli-args": "workspace:5.0.2",
|
|
42
42
|
"@pnpm/pick-registry-for-package": "workspace:3.0.5",
|
|
43
|
-
"@pnpm/plugin-commands-audit": "workspace:6.0.
|
|
44
|
-
"@pnpm/plugin-commands-deploy": "workspace:1.0.
|
|
43
|
+
"@pnpm/plugin-commands-audit": "workspace:6.0.19",
|
|
44
|
+
"@pnpm/plugin-commands-deploy": "workspace:1.0.3",
|
|
45
45
|
"@pnpm/plugin-commands-env": "workspace:2.1.17",
|
|
46
46
|
"@pnpm/plugin-commands-init": "workspace:1.0.17",
|
|
47
|
-
"@pnpm/plugin-commands-installation": "workspace:10.3.
|
|
48
|
-
"@pnpm/plugin-commands-listing": "workspace:5.0.
|
|
49
|
-
"@pnpm/plugin-commands-outdated": "workspace:6.0.
|
|
50
|
-
"@pnpm/plugin-commands-patching": "workspace:1.0.
|
|
51
|
-
"@pnpm/plugin-commands-publishing": "workspace:5.1.
|
|
52
|
-
"@pnpm/plugin-commands-rebuild": "workspace:6.1.
|
|
53
|
-
"@pnpm/plugin-commands-script-runners": "workspace:5.0.
|
|
54
|
-
"@pnpm/plugin-commands-server": "workspace:4.0.
|
|
47
|
+
"@pnpm/plugin-commands-installation": "workspace:10.3.6",
|
|
48
|
+
"@pnpm/plugin-commands-listing": "workspace:5.0.19",
|
|
49
|
+
"@pnpm/plugin-commands-outdated": "workspace:6.0.19",
|
|
50
|
+
"@pnpm/plugin-commands-patching": "workspace:1.0.6",
|
|
51
|
+
"@pnpm/plugin-commands-publishing": "workspace:5.1.5",
|
|
52
|
+
"@pnpm/plugin-commands-rebuild": "workspace:6.1.19",
|
|
53
|
+
"@pnpm/plugin-commands-script-runners": "workspace:5.0.23",
|
|
54
|
+
"@pnpm/plugin-commands-server": "workspace:4.0.20",
|
|
55
55
|
"@pnpm/plugin-commands-setup": "workspace:2.0.18",
|
|
56
|
-
"@pnpm/plugin-commands-store": "workspace:5.1.
|
|
56
|
+
"@pnpm/plugin-commands-store": "workspace:5.1.19",
|
|
57
57
|
"@pnpm/prepare": "workspace:*",
|
|
58
58
|
"@pnpm/read-package-json": "workspace:6.0.6",
|
|
59
59
|
"@pnpm/read-project-manifest": "workspace:3.0.6",
|