pnpm 7.5.1 → 7.5.2
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 +2 -2
- package/dist/pnpm.cjs +23 -27
- package/dist/pnpx.cjs +22 -26
- package/package.json +1 -1
|
@@ -7,11 +7,11 @@ included:
|
|
|
7
7
|
injectedDeps: {}
|
|
8
8
|
layoutVersion: 5
|
|
9
9
|
nodeLinker: hoisted
|
|
10
|
-
packageManager: pnpm@7.5.
|
|
10
|
+
packageManager: pnpm@7.5.1
|
|
11
11
|
pendingBuilds:
|
|
12
12
|
- /node-gyp/8.4.1
|
|
13
13
|
- /encoding/0.1.13
|
|
14
|
-
prunedAt:
|
|
14
|
+
prunedAt: Wed, 13 Jul 2022 23:35:23 GMT
|
|
15
15
|
publicHoistPattern:
|
|
16
16
|
- '*eslint*'
|
|
17
17
|
- '*prettier*'
|
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.5.
|
|
3185
|
+
version: "7.5.2" != null && true ? "7.5.2" : "0.0.0"
|
|
3186
3186
|
};
|
|
3187
3187
|
var pkgJson;
|
|
3188
3188
|
if (require.main == null) {
|
|
@@ -15974,10 +15974,6 @@ var require_requirePnpmfile = __commonJS({
|
|
|
15974
15974
|
exports2.default = (pnpmFilePath, prefix) => {
|
|
15975
15975
|
try {
|
|
15976
15976
|
const pnpmfile = require(pnpmFilePath);
|
|
15977
|
-
logger_1.default.info({
|
|
15978
|
-
message: `Using hooks from: ${pnpmFilePath}`,
|
|
15979
|
-
prefix
|
|
15980
|
-
});
|
|
15981
15977
|
if (typeof pnpmfile === "undefined") {
|
|
15982
15978
|
logger_1.default.warn({
|
|
15983
15979
|
message: `Ignoring the pnpmfile at "${pnpmFilePath}". It exports "undefined".`,
|
|
@@ -16039,7 +16035,6 @@ var require_requireHooks = __commonJS({
|
|
|
16039
16035
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16040
16036
|
var path_1 = __importDefault(require("path"));
|
|
16041
16037
|
var core_loggers_1 = require_lib9();
|
|
16042
|
-
var logger_1 = __importDefault(require_lib6());
|
|
16043
16038
|
var path_absolute_1 = __importDefault(require_path_absolute());
|
|
16044
16039
|
var requirePnpmfile_1 = __importDefault(require_requirePnpmfile());
|
|
16045
16040
|
function requireHooks(prefix, opts) {
|
|
@@ -16052,12 +16047,6 @@ var require_requireHooks = __commonJS({
|
|
|
16052
16047
|
globalHooks = globalHooks || {};
|
|
16053
16048
|
hooks = hooks || {};
|
|
16054
16049
|
const cookedHooks = {};
|
|
16055
|
-
if (globalHooks.readPackage != null || hooks.readPackage != null) {
|
|
16056
|
-
logger_1.default.info({
|
|
16057
|
-
message: "readPackage hook is declared. Manifests of dependencies might get overridden",
|
|
16058
|
-
prefix
|
|
16059
|
-
});
|
|
16060
|
-
}
|
|
16061
16050
|
for (const hookName of ["readPackage", "afterAllResolved"]) {
|
|
16062
16051
|
if (globalHooks[hookName] && hooks[hookName]) {
|
|
16063
16052
|
const globalHookContext = createReadPackageHookContext(globalPnpmfile.filename, prefix, hookName);
|
|
@@ -41834,26 +41823,33 @@ var require_pkgsDiff = __commonJS({
|
|
|
41834
41823
|
const pkgsDiff$ = Rx.combineLatest(log$.root.pipe(filterPrefix), deprecationSet$).pipe((0, operators_1.scan)((pkgsDiff, args2) => {
|
|
41835
41824
|
const rootLog = args2[0];
|
|
41836
41825
|
const deprecationSet = args2[1];
|
|
41826
|
+
let action;
|
|
41827
|
+
let log2;
|
|
41837
41828
|
if (rootLog["added"]) {
|
|
41838
|
-
|
|
41839
|
-
|
|
41840
|
-
|
|
41841
|
-
|
|
41842
|
-
|
|
41843
|
-
|
|
41844
|
-
realName: rootLog["added"].realName,
|
|
41845
|
-
version: rootLog["added"].version
|
|
41846
|
-
};
|
|
41829
|
+
action = "+";
|
|
41830
|
+
log2 = rootLog["added"];
|
|
41831
|
+
} else if (rootLog["removed"]) {
|
|
41832
|
+
action = "-";
|
|
41833
|
+
log2 = rootLog["removed"];
|
|
41834
|
+
} else {
|
|
41847
41835
|
return pkgsDiff;
|
|
41848
41836
|
}
|
|
41849
|
-
|
|
41850
|
-
|
|
41851
|
-
|
|
41852
|
-
|
|
41853
|
-
|
|
41854
|
-
};
|
|
41837
|
+
const depType = log2.dependencyType || "nodeModulesOnly";
|
|
41838
|
+
const oppositeKey = `${action === "-" ? "+" : "-"}${log2.name}`;
|
|
41839
|
+
const previous = pkgsDiff[depType][oppositeKey];
|
|
41840
|
+
if (previous && previous.version === log2.version) {
|
|
41841
|
+
delete pkgsDiff[depType][oppositeKey];
|
|
41855
41842
|
return pkgsDiff;
|
|
41856
41843
|
}
|
|
41844
|
+
pkgsDiff[depType][`${action}${log2.name}`] = {
|
|
41845
|
+
added: action === "+",
|
|
41846
|
+
deprecated: deprecationSet.has(log2.id),
|
|
41847
|
+
from: log2.linkedFrom,
|
|
41848
|
+
latest: log2.latest,
|
|
41849
|
+
name: log2.name,
|
|
41850
|
+
realName: log2.realName,
|
|
41851
|
+
version: log2.version
|
|
41852
|
+
};
|
|
41857
41853
|
return pkgsDiff;
|
|
41858
41854
|
}, {
|
|
41859
41855
|
dev: {},
|
package/dist/pnpx.cjs
CHANGED
|
@@ -10342,10 +10342,6 @@ var require_requirePnpmfile = __commonJS({
|
|
|
10342
10342
|
exports2.default = (pnpmFilePath, prefix) => {
|
|
10343
10343
|
try {
|
|
10344
10344
|
const pnpmfile = require(pnpmFilePath);
|
|
10345
|
-
logger_1.default.info({
|
|
10346
|
-
message: `Using hooks from: ${pnpmFilePath}`,
|
|
10347
|
-
prefix
|
|
10348
|
-
});
|
|
10349
10345
|
if (typeof pnpmfile === "undefined") {
|
|
10350
10346
|
logger_1.default.warn({
|
|
10351
10347
|
message: `Ignoring the pnpmfile at "${pnpmFilePath}". It exports "undefined".`,
|
|
@@ -10407,7 +10403,6 @@ var require_requireHooks = __commonJS({
|
|
|
10407
10403
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10408
10404
|
var path_1 = __importDefault2(require("path"));
|
|
10409
10405
|
var core_loggers_1 = require_lib8();
|
|
10410
|
-
var logger_1 = __importDefault2(require_lib());
|
|
10411
10406
|
var path_absolute_1 = __importDefault2(require_path_absolute());
|
|
10412
10407
|
var requirePnpmfile_1 = __importDefault2(require_requirePnpmfile());
|
|
10413
10408
|
function requireHooks(prefix, opts) {
|
|
@@ -10420,12 +10415,6 @@ var require_requireHooks = __commonJS({
|
|
|
10420
10415
|
globalHooks = globalHooks || {};
|
|
10421
10416
|
hooks = hooks || {};
|
|
10422
10417
|
const cookedHooks = {};
|
|
10423
|
-
if (globalHooks.readPackage != null || hooks.readPackage != null) {
|
|
10424
|
-
logger_1.default.info({
|
|
10425
|
-
message: "readPackage hook is declared. Manifests of dependencies might get overridden",
|
|
10426
|
-
prefix
|
|
10427
|
-
});
|
|
10428
|
-
}
|
|
10429
10418
|
for (const hookName of ["readPackage", "afterAllResolved"]) {
|
|
10430
10419
|
if (globalHooks[hookName] && hooks[hookName]) {
|
|
10431
10420
|
const globalHookContext = createReadPackageHookContext(globalPnpmfile.filename, prefix, hookName);
|
|
@@ -36202,26 +36191,33 @@ var require_pkgsDiff = __commonJS({
|
|
|
36202
36191
|
const pkgsDiff$ = Rx.combineLatest(log$.root.pipe(filterPrefix), deprecationSet$).pipe((0, operators_1.scan)((pkgsDiff, args2) => {
|
|
36203
36192
|
const rootLog = args2[0];
|
|
36204
36193
|
const deprecationSet = args2[1];
|
|
36194
|
+
let action;
|
|
36195
|
+
let log2;
|
|
36205
36196
|
if (rootLog["added"]) {
|
|
36206
|
-
|
|
36207
|
-
|
|
36208
|
-
|
|
36209
|
-
|
|
36210
|
-
|
|
36211
|
-
|
|
36212
|
-
realName: rootLog["added"].realName,
|
|
36213
|
-
version: rootLog["added"].version
|
|
36214
|
-
};
|
|
36197
|
+
action = "+";
|
|
36198
|
+
log2 = rootLog["added"];
|
|
36199
|
+
} else if (rootLog["removed"]) {
|
|
36200
|
+
action = "-";
|
|
36201
|
+
log2 = rootLog["removed"];
|
|
36202
|
+
} else {
|
|
36215
36203
|
return pkgsDiff;
|
|
36216
36204
|
}
|
|
36217
|
-
|
|
36218
|
-
|
|
36219
|
-
|
|
36220
|
-
|
|
36221
|
-
|
|
36222
|
-
};
|
|
36205
|
+
const depType = log2.dependencyType || "nodeModulesOnly";
|
|
36206
|
+
const oppositeKey = `${action === "-" ? "+" : "-"}${log2.name}`;
|
|
36207
|
+
const previous = pkgsDiff[depType][oppositeKey];
|
|
36208
|
+
if (previous && previous.version === log2.version) {
|
|
36209
|
+
delete pkgsDiff[depType][oppositeKey];
|
|
36223
36210
|
return pkgsDiff;
|
|
36224
36211
|
}
|
|
36212
|
+
pkgsDiff[depType][`${action}${log2.name}`] = {
|
|
36213
|
+
added: action === "+",
|
|
36214
|
+
deprecated: deprecationSet.has(log2.id),
|
|
36215
|
+
from: log2.linkedFrom,
|
|
36216
|
+
latest: log2.latest,
|
|
36217
|
+
name: log2.name,
|
|
36218
|
+
realName: log2.realName,
|
|
36219
|
+
version: log2.version
|
|
36220
|
+
};
|
|
36225
36221
|
return pkgsDiff;
|
|
36226
36222
|
}, {
|
|
36227
36223
|
dev: {},
|