pnpm 9.1.3 → 9.1.4
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/dist/node_modules/.modules.yaml +3 -3
- package/dist/pnpm.cjs +8 -13
- package/package.json +1 -1
|
@@ -115,8 +115,8 @@ hoistedLocations:
|
|
|
115
115
|
minipass@3.3.6:
|
|
116
116
|
- node_modules/minipass-flush/node_modules/minipass
|
|
117
117
|
- node_modules/minipass-pipeline/node_modules/minipass
|
|
118
|
-
- node_modules/fs-minipass/node_modules/minipass
|
|
119
118
|
- node_modules/minizlib/node_modules/minipass
|
|
119
|
+
- node_modules/fs-minipass/node_modules/minipass
|
|
120
120
|
- node_modules/minipass-sized/node_modules/minipass
|
|
121
121
|
minipass@5.0.0:
|
|
122
122
|
- node_modules/tar/node_modules/minipass
|
|
@@ -202,9 +202,9 @@ included:
|
|
|
202
202
|
injectedDeps: {}
|
|
203
203
|
layoutVersion: 5
|
|
204
204
|
nodeLinker: hoisted
|
|
205
|
-
packageManager: pnpm@9.1.
|
|
205
|
+
packageManager: pnpm@9.1.3
|
|
206
206
|
pendingBuilds: []
|
|
207
|
-
prunedAt:
|
|
207
|
+
prunedAt: Thu, 30 May 2024 11:09:54 GMT
|
|
208
208
|
publicHoistPattern:
|
|
209
209
|
- '*eslint*'
|
|
210
210
|
- '*prettier*'
|
package/dist/pnpm.cjs
CHANGED
|
@@ -3357,7 +3357,7 @@ var require_lib4 = __commonJS({
|
|
|
3357
3357
|
var load_json_file_1 = __importDefault2(require_load_json_file());
|
|
3358
3358
|
var defaultManifest = {
|
|
3359
3359
|
name: true ? "pnpm" : "pnpm",
|
|
3360
|
-
version: true ? "9.1.
|
|
3360
|
+
version: true ? "9.1.4" : "0.0.0"
|
|
3361
3361
|
};
|
|
3362
3362
|
var pkgJson;
|
|
3363
3363
|
if (require.main == null) {
|
|
@@ -176436,7 +176436,7 @@ var require_resolveDependencies = __commonJS({
|
|
|
176436
176436
|
function filterMissingPeersFromPkgAddresses(pkgAddresses, currentParentPkgAliases, resolvedPeers) {
|
|
176437
176437
|
return pkgAddresses.map((pkgAddress) => ({
|
|
176438
176438
|
...pkgAddress,
|
|
176439
|
-
missingPeers: (0, pickBy_1.default)((
|
|
176439
|
+
missingPeers: (0, pickBy_1.default)((_, peerName) => {
|
|
176440
176440
|
if (!currentParentPkgAliases[peerName])
|
|
176441
176441
|
return true;
|
|
176442
176442
|
if (currentParentPkgAliases[peerName] !== true) {
|
|
@@ -176469,7 +176469,8 @@ var require_resolveDependencies = __commonJS({
|
|
|
176469
176469
|
const postponedResolutionsQueue = [];
|
|
176470
176470
|
const postponedPeersResolutionQueue = [];
|
|
176471
176471
|
const pkgAddresses = [];
|
|
176472
|
-
|
|
176472
|
+
await Promise.all(extendedWantedDeps.map(async (extendedWantedDep) => {
|
|
176473
|
+
const { resolveDependencyResult, postponedResolution, postponedPeersResolution } = await resolveDependenciesOfDependency(ctx, preferredVersions, options, extendedWantedDep);
|
|
176473
176474
|
if (resolveDependencyResult) {
|
|
176474
176475
|
pkgAddresses.push(resolveDependencyResult);
|
|
176475
176476
|
}
|
|
@@ -176479,7 +176480,7 @@ var require_resolveDependencies = __commonJS({
|
|
|
176479
176480
|
if (postponedPeersResolution) {
|
|
176480
176481
|
postponedPeersResolutionQueue.push(postponedPeersResolution);
|
|
176481
176482
|
}
|
|
176482
|
-
});
|
|
176483
|
+
}));
|
|
176483
176484
|
const newPreferredVersions = Object.create(preferredVersions);
|
|
176484
176485
|
const currentParentPkgAliases = {};
|
|
176485
176486
|
for (const pkgAddress of pkgAddresses) {
|
|
@@ -176971,7 +176972,6 @@ var require_resolveDependencies = __commonJS({
|
|
|
176971
176972
|
const installable = parentIsInstallable && pkgResponse.body.isInstallable !== false;
|
|
176972
176973
|
const isNew = !ctx.resolvedPkgsById[pkgResponse.body.id];
|
|
176973
176974
|
const parentImporterId = options.parentIds[0];
|
|
176974
|
-
let resolveChildren2 = false;
|
|
176975
176975
|
const currentIsOptional = wantedDependency.optional || options.parentPkg.optional;
|
|
176976
176976
|
if (isNew) {
|
|
176977
176977
|
if (pkg.deprecated && (!ctx.allowedDeprecatedVersions[pkg.name] || !semver_12.default.satisfies(pkg.version, ctx.allowedDeprecatedVersions[pkg.name]))) {
|
|
@@ -177010,10 +177010,6 @@ var require_resolveDependencies = __commonJS({
|
|
|
177010
177010
|
ctx.resolvedPkgsById[pkgResponse.body.id].prod = ctx.resolvedPkgsById[pkgResponse.body.id].prod || !wantedDependency.dev && !wantedDependency.optional;
|
|
177011
177011
|
ctx.resolvedPkgsById[pkgResponse.body.id].dev = ctx.resolvedPkgsById[pkgResponse.body.id].dev || wantedDependency.dev;
|
|
177012
177012
|
ctx.resolvedPkgsById[pkgResponse.body.id].optional = ctx.resolvedPkgsById[pkgResponse.body.id].optional && currentIsOptional;
|
|
177013
|
-
if (ctx.hoistPeers) {
|
|
177014
|
-
resolveChildren2 = !ctx.missingPeersOfChildrenByPkgId[pkgResponse.body.id].missingPeersOfChildren.resolved && !ctx.resolvedPkgsById[pkgResponse.body.id].parentImporterIds.has(parentImporterId);
|
|
177015
|
-
ctx.resolvedPkgsById[pkgResponse.body.id].parentImporterIds.add(parentImporterId);
|
|
177016
|
-
}
|
|
177017
177013
|
if (ctx.resolvedPkgsById[pkgResponse.body.id].fetching == null && pkgResponse.fetching != null) {
|
|
177018
177014
|
ctx.resolvedPkgsById[pkgResponse.body.id].fetching = pkgResponse.fetching;
|
|
177019
177015
|
ctx.resolvedPkgsById[pkgResponse.body.id].filesIndexFile = pkgResponse.filesIndexFile;
|
|
@@ -177035,7 +177031,7 @@ var require_resolveDependencies = __commonJS({
|
|
|
177035
177031
|
let missingPeersOfChildren;
|
|
177036
177032
|
if (ctx.hoistPeers && !options.parentIds.includes(pkgResponse.body.id)) {
|
|
177037
177033
|
if (ctx.missingPeersOfChildrenByPkgId[pkgResponse.body.id]) {
|
|
177038
|
-
if (
|
|
177034
|
+
if (ctx.missingPeersOfChildrenByPkgId[pkgResponse.body.id].depth >= options.currentDepth || ctx.missingPeersOfChildrenByPkgId[pkgResponse.body.id].missingPeersOfChildren.resolved) {
|
|
177039
177035
|
missingPeersOfChildren = ctx.missingPeersOfChildrenByPkgId[pkgResponse.body.id].missingPeersOfChildren;
|
|
177040
177036
|
}
|
|
177041
177037
|
} else {
|
|
@@ -177046,7 +177042,7 @@ var require_resolveDependencies = __commonJS({
|
|
|
177046
177042
|
get: (0, promise_share_1.default)(p.promise)
|
|
177047
177043
|
};
|
|
177048
177044
|
ctx.missingPeersOfChildrenByPkgId[pkgResponse.body.id] = {
|
|
177049
|
-
|
|
177045
|
+
depth: options.currentDepth,
|
|
177050
177046
|
missingPeersOfChildren
|
|
177051
177047
|
};
|
|
177052
177048
|
}
|
|
@@ -177054,7 +177050,7 @@ var require_resolveDependencies = __commonJS({
|
|
|
177054
177050
|
return {
|
|
177055
177051
|
alias: wantedDependency.alias || pkg.name,
|
|
177056
177052
|
depIsLinked,
|
|
177057
|
-
isNew
|
|
177053
|
+
isNew,
|
|
177058
177054
|
nodeId,
|
|
177059
177055
|
normalizedPref: options.currentDepth === 0 ? pkgResponse.body.normalizedPref : void 0,
|
|
177060
177056
|
missingPeersOfChildren,
|
|
@@ -177105,7 +177101,6 @@ var require_resolveDependencies = __commonJS({
|
|
|
177105
177101
|
os: options.pkg.os,
|
|
177106
177102
|
libc: options.pkg.libc
|
|
177107
177103
|
},
|
|
177108
|
-
parentImporterIds: /* @__PURE__ */ new Set([options.parentImporterId]),
|
|
177109
177104
|
pkgIdWithPatchHash: options.pkgIdWithPatchHash,
|
|
177110
177105
|
dev: options.wantedDependency.dev,
|
|
177111
177106
|
fetching: options.pkgResponse.fetching,
|