pnpm 7.9.2 → 7.9.3
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 +66 -51
- 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.9.
|
|
10
|
+
packageManager: pnpm@7.9.2
|
|
11
11
|
pendingBuilds:
|
|
12
12
|
- /node-gyp/9.1.0
|
|
13
13
|
- /encoding/0.1.13
|
|
14
|
-
prunedAt: Wed, 17 Aug 2022 09:
|
|
14
|
+
prunedAt: Wed, 17 Aug 2022 10:09:31 GMT
|
|
15
15
|
publicHoistPattern:
|
|
16
16
|
- '*eslint*'
|
|
17
17
|
- '*prettier*'
|
package/dist/pnpm.cjs
CHANGED
|
@@ -3206,7 +3206,7 @@ var require_lib4 = __commonJS({
|
|
|
3206
3206
|
var load_json_file_1 = __importDefault(require_load_json_file());
|
|
3207
3207
|
var defaultManifest = {
|
|
3208
3208
|
name: "pnpm" != null && true ? "pnpm" : "pnpm",
|
|
3209
|
-
version: "7.9.
|
|
3209
|
+
version: "7.9.3" != null && true ? "7.9.3" : "0.0.0"
|
|
3210
3210
|
};
|
|
3211
3211
|
var pkgJson;
|
|
3212
3212
|
if (require.main == null) {
|
|
@@ -74861,9 +74861,9 @@ var require_git_host2 = __commonJS({
|
|
|
74861
74861
|
}
|
|
74862
74862
|
});
|
|
74863
74863
|
|
|
74864
|
-
// ../../node_modules/.pnpm/lru-cache@7.
|
|
74864
|
+
// ../../node_modules/.pnpm/lru-cache@7.14.0/node_modules/lru-cache/index.js
|
|
74865
74865
|
var require_lru_cache3 = __commonJS({
|
|
74866
|
-
"../../node_modules/.pnpm/lru-cache@7.
|
|
74866
|
+
"../../node_modules/.pnpm/lru-cache@7.14.0/node_modules/lru-cache/index.js"(exports2, module2) {
|
|
74867
74867
|
var perf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date;
|
|
74868
74868
|
var hasAbortController = typeof AbortController === "function";
|
|
74869
74869
|
var AC = hasAbortController ? AbortController : class AbortController {
|
|
@@ -74973,6 +74973,7 @@ var require_lru_cache3 = __commonJS({
|
|
|
74973
74973
|
noDisposeOnSet,
|
|
74974
74974
|
noUpdateTTL,
|
|
74975
74975
|
maxSize = 0,
|
|
74976
|
+
maxEntrySize = 0,
|
|
74976
74977
|
sizeCalculation,
|
|
74977
74978
|
fetchMethod,
|
|
74978
74979
|
fetchContext,
|
|
@@ -74989,11 +74990,12 @@ var require_lru_cache3 = __commonJS({
|
|
|
74989
74990
|
}
|
|
74990
74991
|
this.max = max;
|
|
74991
74992
|
this.maxSize = maxSize;
|
|
74993
|
+
this.maxEntrySize = maxEntrySize || this.maxSize;
|
|
74992
74994
|
this.sizeCalculation = sizeCalculation || length;
|
|
74993
74995
|
if (this.sizeCalculation) {
|
|
74994
|
-
if (!this.maxSize) {
|
|
74996
|
+
if (!this.maxSize && !this.maxEntrySize) {
|
|
74995
74997
|
throw new TypeError(
|
|
74996
|
-
"cannot set sizeCalculation without setting maxSize"
|
|
74998
|
+
"cannot set sizeCalculation without setting maxSize or maxEntrySize"
|
|
74997
74999
|
);
|
|
74998
75000
|
}
|
|
74999
75001
|
if (typeof this.sizeCalculation !== "function") {
|
|
@@ -75035,10 +75037,17 @@ var require_lru_cache3 = __commonJS({
|
|
|
75035
75037
|
this.noDisposeOnSet = !!noDisposeOnSet;
|
|
75036
75038
|
this.noUpdateTTL = !!noUpdateTTL;
|
|
75037
75039
|
this.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection;
|
|
75038
|
-
if (this.
|
|
75039
|
-
if (
|
|
75040
|
+
if (this.maxEntrySize !== 0) {
|
|
75041
|
+
if (this.maxSize !== 0) {
|
|
75042
|
+
if (!isPosInt(this.maxSize)) {
|
|
75043
|
+
throw new TypeError(
|
|
75044
|
+
"maxSize must be a positive integer if specified"
|
|
75045
|
+
);
|
|
75046
|
+
}
|
|
75047
|
+
}
|
|
75048
|
+
if (!isPosInt(this.maxEntrySize)) {
|
|
75040
75049
|
throw new TypeError(
|
|
75041
|
-
"
|
|
75050
|
+
"maxEntrySize must be a positive integer if specified"
|
|
75042
75051
|
);
|
|
75043
75052
|
}
|
|
75044
75053
|
this.initializeSizeTracking();
|
|
@@ -75180,7 +75189,7 @@ var require_lru_cache3 = __commonJS({
|
|
|
75180
75189
|
requireSize(k, v, size, sizeCalculation) {
|
|
75181
75190
|
if (size || sizeCalculation) {
|
|
75182
75191
|
throw new TypeError(
|
|
75183
|
-
"cannot set size without setting maxSize on cache"
|
|
75192
|
+
"cannot set size without setting maxSize or maxEntrySize on cache"
|
|
75184
75193
|
);
|
|
75185
75194
|
}
|
|
75186
75195
|
}
|
|
@@ -75325,7 +75334,7 @@ var require_lru_cache3 = __commonJS({
|
|
|
75325
75334
|
noUpdateTTL = this.noUpdateTTL
|
|
75326
75335
|
} = {}) {
|
|
75327
75336
|
size = this.requireSize(k, v, size, sizeCalculation);
|
|
75328
|
-
if (this.
|
|
75337
|
+
if (this.maxEntrySize && size > this.maxEntrySize) {
|
|
75329
75338
|
return this;
|
|
75330
75339
|
}
|
|
75331
75340
|
let index = this.size === 0 ? void 0 : this.keyMap.get(k);
|
|
@@ -76145,9 +76154,9 @@ var require_is_core_module = __commonJS({
|
|
|
76145
76154
|
}
|
|
76146
76155
|
});
|
|
76147
76156
|
|
|
76148
|
-
// ../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76157
|
+
// ../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/extract_description.js
|
|
76149
76158
|
var require_extract_description = __commonJS({
|
|
76150
|
-
"../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76159
|
+
"../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/extract_description.js"(exports2, module2) {
|
|
76151
76160
|
module2.exports = extractDescription;
|
|
76152
76161
|
function extractDescription(d) {
|
|
76153
76162
|
if (!d) {
|
|
@@ -76157,21 +76166,23 @@ var require_extract_description = __commonJS({
|
|
|
76157
76166
|
return;
|
|
76158
76167
|
}
|
|
76159
76168
|
d = d.trim().split("\n");
|
|
76160
|
-
|
|
76161
|
-
|
|
76169
|
+
let s = 0;
|
|
76170
|
+
while (d[s] && d[s].trim().match(/^(#|$)/)) {
|
|
76171
|
+
s++;
|
|
76162
76172
|
}
|
|
76163
|
-
|
|
76164
|
-
|
|
76165
|
-
|
|
76173
|
+
const l = d.length;
|
|
76174
|
+
let e = s + 1;
|
|
76175
|
+
while (e < l && d[e].trim()) {
|
|
76176
|
+
e++;
|
|
76166
76177
|
}
|
|
76167
76178
|
return d.slice(s, e).join(" ").trim();
|
|
76168
76179
|
}
|
|
76169
76180
|
}
|
|
76170
76181
|
});
|
|
76171
76182
|
|
|
76172
|
-
// ../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76183
|
+
// ../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/typos.json
|
|
76173
76184
|
var require_typos = __commonJS({
|
|
76174
|
-
"../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76185
|
+
"../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/typos.json"(exports2, module2) {
|
|
76175
76186
|
module2.exports = {
|
|
76176
76187
|
topLevel: {
|
|
76177
76188
|
dependancies: "dependencies",
|
|
@@ -76200,9 +76211,9 @@ var require_typos = __commonJS({
|
|
|
76200
76211
|
}
|
|
76201
76212
|
});
|
|
76202
76213
|
|
|
76203
|
-
// ../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76214
|
+
// ../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/fixer.js
|
|
76204
76215
|
var require_fixer = __commonJS({
|
|
76205
|
-
"../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76216
|
+
"../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/fixer.js"(exports2, module2) {
|
|
76206
76217
|
var isValidSemver = require_valid();
|
|
76207
76218
|
var cleanSemver = require_clean();
|
|
76208
76219
|
var validateLicense = require_validate_npm_package_license();
|
|
@@ -76316,17 +76327,17 @@ var require_fixer = __commonJS({
|
|
|
76316
76327
|
this.warn("nonArrayBundleDependencies");
|
|
76317
76328
|
delete data[bd];
|
|
76318
76329
|
} else if (data[bd]) {
|
|
76319
|
-
data[bd] = data[bd].filter(function(
|
|
76320
|
-
if (!
|
|
76321
|
-
this.warn("nonStringBundleDependency",
|
|
76330
|
+
data[bd] = data[bd].filter(function(filtered) {
|
|
76331
|
+
if (!filtered || typeof filtered !== "string") {
|
|
76332
|
+
this.warn("nonStringBundleDependency", filtered);
|
|
76322
76333
|
return false;
|
|
76323
76334
|
} else {
|
|
76324
76335
|
if (!data.dependencies) {
|
|
76325
76336
|
data.dependencies = {};
|
|
76326
76337
|
}
|
|
76327
|
-
if (!Object.prototype.hasOwnProperty.call(data.dependencies,
|
|
76328
|
-
this.warn("nonDependencyBundleDependency",
|
|
76329
|
-
data.dependencies[
|
|
76338
|
+
if (!Object.prototype.hasOwnProperty.call(data.dependencies, filtered)) {
|
|
76339
|
+
this.warn("nonDependencyBundleDependency", filtered);
|
|
76340
|
+
data.dependencies[filtered] = "*";
|
|
76330
76341
|
}
|
|
76331
76342
|
return true;
|
|
76332
76343
|
}
|
|
@@ -76549,27 +76560,27 @@ var require_fixer = __commonJS({
|
|
|
76549
76560
|
}
|
|
76550
76561
|
var name = person.name || "";
|
|
76551
76562
|
var u = person.url || person.web;
|
|
76552
|
-
var
|
|
76563
|
+
var wrappedUrl = u ? " (" + u + ")" : "";
|
|
76553
76564
|
var e = person.email || person.mail;
|
|
76554
|
-
var
|
|
76555
|
-
return name +
|
|
76565
|
+
var wrappedEmail = e ? " <" + e + ">" : "";
|
|
76566
|
+
return name + wrappedEmail + wrappedUrl;
|
|
76556
76567
|
}
|
|
76557
76568
|
function parsePerson(person) {
|
|
76558
76569
|
if (typeof person !== "string") {
|
|
76559
76570
|
return person;
|
|
76560
76571
|
}
|
|
76561
|
-
var
|
|
76562
|
-
var
|
|
76563
|
-
var
|
|
76572
|
+
var matchedName = person.match(/^([^(<]+)/);
|
|
76573
|
+
var matchedUrl = person.match(/\(([^()]+)\)/);
|
|
76574
|
+
var matchedEmail = person.match(/<([^<>]+)>/);
|
|
76564
76575
|
var obj = {};
|
|
76565
|
-
if (
|
|
76566
|
-
obj.name =
|
|
76576
|
+
if (matchedName && matchedName[0].trim()) {
|
|
76577
|
+
obj.name = matchedName[0].trim();
|
|
76567
76578
|
}
|
|
76568
|
-
if (
|
|
76569
|
-
obj.email =
|
|
76579
|
+
if (matchedEmail) {
|
|
76580
|
+
obj.email = matchedEmail[1];
|
|
76570
76581
|
}
|
|
76571
|
-
if (
|
|
76572
|
-
obj.url =
|
|
76582
|
+
if (matchedUrl) {
|
|
76583
|
+
obj.url = matchedUrl[1];
|
|
76573
76584
|
}
|
|
76574
76585
|
return obj;
|
|
76575
76586
|
}
|
|
@@ -76631,9 +76642,9 @@ var require_fixer = __commonJS({
|
|
|
76631
76642
|
}
|
|
76632
76643
|
});
|
|
76633
76644
|
|
|
76634
|
-
// ../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76645
|
+
// ../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/warning_messages.json
|
|
76635
76646
|
var require_warning_messages = __commonJS({
|
|
76636
|
-
"../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76647
|
+
"../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/warning_messages.json"(exports2, module2) {
|
|
76637
76648
|
module2.exports = {
|
|
76638
76649
|
repositories: "'repositories' (plural) Not supported. Please pick one as the 'repository' field",
|
|
76639
76650
|
missingRepository: "No repository field.",
|
|
@@ -76667,9 +76678,9 @@ var require_warning_messages = __commonJS({
|
|
|
76667
76678
|
}
|
|
76668
76679
|
});
|
|
76669
76680
|
|
|
76670
|
-
// ../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76681
|
+
// ../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/make_warning.js
|
|
76671
76682
|
var require_make_warning = __commonJS({
|
|
76672
|
-
"../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76683
|
+
"../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/make_warning.js"(exports2, module2) {
|
|
76673
76684
|
var util = require("util");
|
|
76674
76685
|
var messages = require_warning_messages();
|
|
76675
76686
|
module2.exports = function() {
|
|
@@ -76693,9 +76704,9 @@ var require_make_warning = __commonJS({
|
|
|
76693
76704
|
}
|
|
76694
76705
|
});
|
|
76695
76706
|
|
|
76696
|
-
// ../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76707
|
+
// ../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/normalize.js
|
|
76697
76708
|
var require_normalize = __commonJS({
|
|
76698
|
-
"../../node_modules/.pnpm/normalize-package-data@4.0.
|
|
76709
|
+
"../../node_modules/.pnpm/normalize-package-data@4.0.1/node_modules/normalize-package-data/lib/normalize.js"(exports2, module2) {
|
|
76699
76710
|
module2.exports = normalize;
|
|
76700
76711
|
var fixer = require_fixer();
|
|
76701
76712
|
normalize.fixer = fixer;
|
|
@@ -116196,9 +116207,9 @@ var require_dist14 = __commonJS({
|
|
|
116196
116207
|
}
|
|
116197
116208
|
});
|
|
116198
116209
|
|
|
116199
|
-
// ../../node_modules/.pnpm/write-file-atomic@4.0.
|
|
116210
|
+
// ../../node_modules/.pnpm/write-file-atomic@4.0.2/node_modules/write-file-atomic/lib/index.js
|
|
116200
116211
|
var require_lib93 = __commonJS({
|
|
116201
|
-
"../../node_modules/.pnpm/write-file-atomic@4.0.
|
|
116212
|
+
"../../node_modules/.pnpm/write-file-atomic@4.0.2/node_modules/write-file-atomic/lib/index.js"(exports2, module2) {
|
|
116202
116213
|
"use strict";
|
|
116203
116214
|
module2.exports = writeFile;
|
|
116204
116215
|
module2.exports.sync = writeFileSync;
|
|
@@ -116226,7 +116237,7 @@ var require_lib93 = __commonJS({
|
|
|
116226
116237
|
return () => {
|
|
116227
116238
|
try {
|
|
116228
116239
|
fs2.unlinkSync(typeof tmpfile === "function" ? tmpfile() : tmpfile);
|
|
116229
|
-
} catch
|
|
116240
|
+
} catch {
|
|
116230
116241
|
}
|
|
116231
116242
|
};
|
|
116232
116243
|
}
|
|
@@ -116324,14 +116335,19 @@ var require_lib93 = __commonJS({
|
|
|
116324
116335
|
}
|
|
116325
116336
|
}
|
|
116326
116337
|
}
|
|
116327
|
-
function writeFile(filename, data, options, callback) {
|
|
116338
|
+
async function writeFile(filename, data, options, callback) {
|
|
116328
116339
|
if (options instanceof Function) {
|
|
116329
116340
|
callback = options;
|
|
116330
116341
|
options = {};
|
|
116331
116342
|
}
|
|
116332
116343
|
const promise = writeFileAsync(filename, data, options);
|
|
116333
116344
|
if (callback) {
|
|
116334
|
-
|
|
116345
|
+
try {
|
|
116346
|
+
const result2 = await promise;
|
|
116347
|
+
return callback(result2);
|
|
116348
|
+
} catch (err) {
|
|
116349
|
+
return callback(err);
|
|
116350
|
+
}
|
|
116335
116351
|
}
|
|
116336
116352
|
return promise;
|
|
116337
116353
|
}
|
|
@@ -198829,7 +198845,6 @@ var require_main2 = __commonJS({
|
|
|
198829
198845
|
var isEmpty_1 = __importDefault(require_isEmpty2());
|
|
198830
198846
|
var strip_ansi_1 = __importDefault(require_strip_ansi());
|
|
198831
198847
|
var which_1 = __importDefault(require_which2());
|
|
198832
|
-
process.once("SIGINT", () => process.exit(0)).once("SIGTERM", () => process.exit(0));
|
|
198833
198848
|
(0, loud_rejection_1.default)();
|
|
198834
198849
|
var DEPRECATED_OPTIONS = /* @__PURE__ */ new Set([
|
|
198835
198850
|
"independent-leaves",
|