@shopify/cli 3.86.1 → 3.87.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.
- package/README.md +2 -1
- package/dist/assets/dev-console/extensions/dev-console/assets/index-0hw3R_TS.css +1 -0
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/{chunk-KCMYZRDH.js → chunk-23Q74MWH.js} +5 -5
- package/dist/{chunk-4WBTBFNC.js → chunk-2UUMQCBY.js} +4 -4
- package/dist/{chunk-GNW7DUJ5.js → chunk-4QID2NII.js} +2 -2
- package/dist/{chunk-SQNWVF3V.js → chunk-6AZR3EEJ.js} +2 -2
- package/dist/{chunk-UB7QY2VF.js → chunk-6LIAGQFX.js} +3 -3
- package/dist/{chunk-AAHIUMCI.js → chunk-76WLOUWP.js} +3 -3
- package/dist/{chunk-TDSRWKL2.js → chunk-7ZPVVRUW.js} +6 -6
- package/dist/{chunk-B7H344JI.js → chunk-CKTUCT5O.js} +115 -96
- package/dist/{chunk-HUR6MF6D.js → chunk-CXQE3TGJ.js} +8 -8
- package/dist/{chunk-A5RXDG36.js → chunk-EU2KBN47.js} +7 -7
- package/dist/chunk-EZQWZ57B.js +53 -0
- package/dist/{chunk-MZWHWEIR.js → chunk-F243634J.js} +2 -2
- package/dist/{chunk-4MSYMXAX.js → chunk-GPKHDSF5.js} +2 -2
- package/dist/{chunk-PBZI5MOK.js → chunk-GWTUHQYO.js} +60 -186
- package/dist/{chunk-YRJLM3MZ.js → chunk-H7NW53OX.js} +2 -2
- package/dist/{chunk-AM4QB5OM.js → chunk-HMDWNGIV.js} +100 -206
- package/dist/{chunk-K45JWD7H.js → chunk-ITSXRFLE.js} +24 -7
- package/dist/chunk-JDEWPBGH.js +80 -0
- package/dist/{chunk-NAPXIWWP.js → chunk-JOBZ2ZJ4.js} +6 -6
- package/dist/{chunk-J6JPAWCE.js → chunk-K4JH57B7.js} +2 -2
- package/dist/{chunk-IPWP4QG4.js → chunk-K6IFMHN3.js} +5 -5
- package/dist/{chunk-2WTSZOXI.js → chunk-KDVEMQGZ.js} +3 -3
- package/dist/{chunk-AXMPBUZL.js → chunk-KFQPNPET.js} +3 -3
- package/dist/{chunk-2LK4JXAI.js → chunk-KT66WYZX.js} +28 -16
- package/dist/{chunk-6FH6AJI5.js → chunk-KUJQ4AB6.js} +103 -2
- package/dist/{chunk-QZSPMSF2.js → chunk-LY3CTHXO.js} +18 -6
- package/dist/{chunk-6VIQUXXO.js → chunk-N77BK2FR.js} +2 -2
- package/dist/{chunk-RQD77XVF.js → chunk-NAE7XFUQ.js} +3 -3
- package/dist/{chunk-CZE7TCFI.js → chunk-NECMGZD4.js} +3 -3
- package/dist/{chunk-E7SRX5ME.js → chunk-O3BBUFCD.js} +4 -4
- package/dist/{chunk-PANEHHGV.js → chunk-OIHYAA4J.js} +21 -8
- package/dist/{chunk-52OB52S5.js → chunk-QDR4INV2.js} +5 -5
- package/dist/{chunk-PPM7JU6X.js → chunk-QTFNL7OD.js} +3 -3
- package/dist/{chunk-ZKG22PUU.js → chunk-R7WD7S7O.js} +4 -4
- package/dist/{chunk-VGDJLENI.js → chunk-SOTV4GZS.js} +3 -3
- package/dist/{chunk-X2YIODUW.js → chunk-VLBE545G.js} +15 -1237
- package/dist/{chunk-NOHJOQVR.js → chunk-W5QPQW34.js} +3 -3
- package/dist/{chunk-F2V6FX7R.js → chunk-WM77PTR2.js} +4 -4
- package/dist/{chunk-AU6C5SPW.js → chunk-YFIY3MUW.js} +8 -8
- package/dist/{chunk-J4HWHB57.js → chunk-YPKPNNA3.js} +3 -3
- package/dist/{chunk-YXTZTRRV.js → chunk-ZZV5YBHG.js} +4 -4
- package/dist/cli/commands/auth/login.js +15 -12
- package/dist/cli/commands/auth/login.test.js +17 -14
- package/dist/cli/commands/auth/logout.js +15 -12
- package/dist/cli/commands/auth/logout.test.js +17 -14
- package/dist/cli/commands/cache/clear.js +15 -12
- package/dist/cli/commands/debug/command-flags.js +15 -12
- package/dist/cli/commands/docs/generate.js +15 -12
- package/dist/cli/commands/docs/generate.test.js +16 -13
- package/dist/cli/commands/help.js +15 -12
- package/dist/cli/commands/kitchen-sink/async.js +16 -13
- package/dist/cli/commands/kitchen-sink/async.test.js +17 -14
- package/dist/cli/commands/kitchen-sink/index.js +18 -15
- package/dist/cli/commands/kitchen-sink/index.test.js +19 -16
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -13
- package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -14
- package/dist/cli/commands/kitchen-sink/static.js +16 -13
- package/dist/cli/commands/kitchen-sink/static.test.js +17 -14
- package/dist/cli/commands/notifications/generate.js +16 -13
- package/dist/cli/commands/notifications/list.js +16 -13
- package/dist/cli/commands/search.js +16 -13
- package/dist/cli/commands/upgrade.js +16 -13
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +16 -13
- package/dist/cli/commands/version.test.js +17 -14
- package/dist/cli/services/commands/notifications.js +11 -8
- package/dist/cli/services/commands/search.js +7 -4
- package/dist/cli/services/commands/search.test.js +8 -5
- package/dist/cli/services/commands/version.js +8 -5
- package/dist/cli/services/commands/version.test.js +10 -7
- package/dist/cli/services/kitchen-sink/async.js +7 -4
- package/dist/cli/services/kitchen-sink/prompts.js +7 -4
- package/dist/cli/services/kitchen-sink/static.js +7 -4
- package/dist/cli/services/upgrade.js +8 -5
- package/dist/cli/services/upgrade.test.js +10 -7
- package/dist/{custom-oclif-loader-IB5J422L.js → custom-oclif-loader-YCPEUXTV.js} +17 -10
- package/dist/{del-DIPVIUR3.js → del-E4LJOSMR.js} +6 -6
- package/dist/{error-handler-CU4DBAA4.js → error-handler-RCQ5H3D3.js} +13 -10
- package/dist/hooks/postrun.js +13 -71
- package/dist/hooks/prerun.js +12 -9
- package/dist/{http-proxy-node16-K5X7BUK5.js → http-proxy-node16-VGGP6PLA.js} +5 -5
- package/dist/index.js +2749 -1601
- package/dist/{lib-EMZRCLCJ.js → lib-G7Q5M6VX.js} +4 -3
- package/dist/{local-PYV7PNUD.js → local-7QIKYPL5.js} +7 -4
- package/dist/{magic-string.es-UZAAPNRE.js → magic-string.es-S5HKFBJX.js} +5 -6
- package/dist/{morph-EGK76SED.js → morph-37GC7LQM.js} +16 -20
- package/dist/{node-package-manager-BCGA26RH.js → node-package-manager-OLHLHWTL.js} +8 -5
- package/dist/{npa-LHT53SWR.js → npa-E675GQOI.js} +5 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-7POT36Q5.js → ui-GVWDQSOR.js} +7 -4
- package/dist/{workerd-UA5IB4IF.js → workerd-PYYL5AYY.js} +17 -16
- package/oclif.manifest.json +95 -127
- package/package.json +8 -8
- package/dist/assets/dev-console/extensions/dev-console/assets/index-BteeGmYf.css +0 -1
- package/dist/chunk-IWFYXDPH.js +0 -109
- /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cj8WCHlM.js → index-C12jKScn.js} +0 -0
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS,
|
|
3
|
-
__require,
|
|
4
3
|
init_cjs_shims
|
|
5
4
|
} from "./chunk-PKR7KJ6P.js";
|
|
6
5
|
|
|
7
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
6
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js
|
|
8
7
|
var require_constants = __commonJS({
|
|
9
|
-
"../../node_modules/.pnpm/semver@7.
|
|
10
|
-
"use strict";
|
|
8
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"(exports, module) {
|
|
11
9
|
init_cjs_shims();
|
|
12
10
|
var SEMVER_SPEC_VERSION = "2.0.0", MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
13
11
|
9007199254740991, MAX_SAFE_COMPONENT_LENGTH = 16, MAX_SAFE_BUILD_LENGTH = 250, RELEASE_TYPES = [
|
|
@@ -32,10 +30,9 @@ var require_constants = __commonJS({
|
|
|
32
30
|
}
|
|
33
31
|
});
|
|
34
32
|
|
|
35
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
33
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js
|
|
36
34
|
var require_debug = __commonJS({
|
|
37
|
-
"../../node_modules/.pnpm/semver@7.
|
|
38
|
-
"use strict";
|
|
35
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"(exports, module) {
|
|
39
36
|
init_cjs_shims();
|
|
40
37
|
var debug = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
41
38
|
};
|
|
@@ -43,10 +40,9 @@ var require_debug = __commonJS({
|
|
|
43
40
|
}
|
|
44
41
|
});
|
|
45
42
|
|
|
46
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
43
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js
|
|
47
44
|
var require_re = __commonJS({
|
|
48
|
-
"../../node_modules/.pnpm/semver@7.
|
|
49
|
-
"use strict";
|
|
45
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"(exports, module) {
|
|
50
46
|
init_cjs_shims();
|
|
51
47
|
var {
|
|
52
48
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -54,7 +50,7 @@ var require_re = __commonJS({
|
|
|
54
50
|
MAX_LENGTH
|
|
55
51
|
} = require_constants(), debug = require_debug();
|
|
56
52
|
exports = module.exports = {};
|
|
57
|
-
var re = exports.re = [], safeRe = exports.safeRe = [], src = exports.src = [],
|
|
53
|
+
var re = exports.re = [], safeRe = exports.safeRe = [], src = exports.src = [], t = exports.t = {}, R = 0, LETTERDASHNUMBER = "[a-zA-Z0-9-]", safeRegexReplacements = [
|
|
58
54
|
["\\s", 1],
|
|
59
55
|
["\\d", MAX_LENGTH],
|
|
60
56
|
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
@@ -64,15 +60,15 @@ var require_re = __commonJS({
|
|
|
64
60
|
return value;
|
|
65
61
|
}, createToken = (name, value, isGlobal) => {
|
|
66
62
|
let safe = makeSafeRegex(value), index = R++;
|
|
67
|
-
debug(name, index, value), t[name] = index, src[index] = value,
|
|
63
|
+
debug(name, index, value), t[name] = index, src[index] = value, re[index] = new RegExp(value, isGlobal ? "g" : void 0), safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
68
64
|
};
|
|
69
65
|
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
70
66
|
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
71
67
|
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
72
68
|
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
73
69
|
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
74
|
-
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.
|
|
75
|
-
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.
|
|
70
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
71
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
76
72
|
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
77
73
|
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
78
74
|
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
@@ -115,20 +111,18 @@ var require_re = __commonJS({
|
|
|
115
111
|
}
|
|
116
112
|
});
|
|
117
113
|
|
|
118
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
114
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js
|
|
119
115
|
var require_parse_options = __commonJS({
|
|
120
|
-
"../../node_modules/.pnpm/semver@7.
|
|
121
|
-
"use strict";
|
|
116
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
122
117
|
init_cjs_shims();
|
|
123
118
|
var looseOption = Object.freeze({ loose: !0 }), emptyOpts = Object.freeze({}), parseOptions = (options) => options ? typeof options != "object" ? looseOption : options : emptyOpts;
|
|
124
119
|
module.exports = parseOptions;
|
|
125
120
|
}
|
|
126
121
|
});
|
|
127
122
|
|
|
128
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
123
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js
|
|
129
124
|
var require_identifiers = __commonJS({
|
|
130
|
-
"../../node_modules/.pnpm/semver@7.
|
|
131
|
-
"use strict";
|
|
125
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
132
126
|
init_cjs_shims();
|
|
133
127
|
var numeric = /^[0-9]+$/, compareIdentifiers = (a, b) => {
|
|
134
128
|
let anum = numeric.test(a), bnum = numeric.test(b);
|
|
@@ -141,10 +135,9 @@ var require_identifiers = __commonJS({
|
|
|
141
135
|
}
|
|
142
136
|
});
|
|
143
137
|
|
|
144
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
138
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js
|
|
145
139
|
var require_semver = __commonJS({
|
|
146
|
-
"../../node_modules/.pnpm/semver@7.
|
|
147
|
-
"use strict";
|
|
140
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"(exports, module) {
|
|
148
141
|
init_cjs_shims();
|
|
149
142
|
var debug = require_debug(), { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants(), { safeRe: re, t } = require_re(), parseOptions = require_parse_options(), { compareIdentifiers } = require_identifiers(), SemVer = class _SemVer {
|
|
150
143
|
constructor(version, options) {
|
|
@@ -234,15 +227,6 @@ var require_semver = __commonJS({
|
|
|
234
227
|
// preminor will bump the version up to the next minor release, and immediately
|
|
235
228
|
// down to pre-release. premajor and prepatch work the same way.
|
|
236
229
|
inc(release, identifier, identifierBase) {
|
|
237
|
-
if (release.startsWith("pre")) {
|
|
238
|
-
if (!identifier && identifierBase === !1)
|
|
239
|
-
throw new Error("invalid increment argument: identifier is empty");
|
|
240
|
-
if (identifier) {
|
|
241
|
-
let match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
|
|
242
|
-
if (!match || match[1] !== identifier)
|
|
243
|
-
throw new Error(`invalid identifier: ${identifier}`);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
230
|
switch (release) {
|
|
247
231
|
case "premajor":
|
|
248
232
|
this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", identifier, identifierBase);
|
|
@@ -258,11 +242,6 @@ var require_semver = __commonJS({
|
|
|
258
242
|
case "prerelease":
|
|
259
243
|
this.prerelease.length === 0 && this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
|
|
260
244
|
break;
|
|
261
|
-
case "release":
|
|
262
|
-
if (this.prerelease.length === 0)
|
|
263
|
-
throw new Error(`version ${this.raw} is not a prerelease`);
|
|
264
|
-
this.prerelease.length = 0;
|
|
265
|
-
break;
|
|
266
245
|
case "major":
|
|
267
246
|
(this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease = [];
|
|
268
247
|
break;
|
|
@@ -276,6 +255,8 @@ var require_semver = __commonJS({
|
|
|
276
255
|
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
277
256
|
case "pre": {
|
|
278
257
|
let base = Number(identifierBase) ? 1 : 0;
|
|
258
|
+
if (!identifier && identifierBase === !1)
|
|
259
|
+
throw new Error("invalid increment argument: identifier is empty");
|
|
279
260
|
if (this.prerelease.length === 0)
|
|
280
261
|
this.prerelease = [base];
|
|
281
262
|
else {
|
|
@@ -304,10 +285,9 @@ var require_semver = __commonJS({
|
|
|
304
285
|
}
|
|
305
286
|
});
|
|
306
287
|
|
|
307
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
288
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js
|
|
308
289
|
var require_parse = __commonJS({
|
|
309
|
-
"../../node_modules/.pnpm/semver@7.
|
|
310
|
-
"use strict";
|
|
290
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"(exports, module) {
|
|
311
291
|
init_cjs_shims();
|
|
312
292
|
var SemVer = require_semver(), parse = (version, options, throwErrors = !1) => {
|
|
313
293
|
if (version instanceof SemVer)
|
|
@@ -324,10 +304,9 @@ var require_parse = __commonJS({
|
|
|
324
304
|
}
|
|
325
305
|
});
|
|
326
306
|
|
|
327
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
307
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js
|
|
328
308
|
var require_valid = __commonJS({
|
|
329
|
-
"../../node_modules/.pnpm/semver@7.
|
|
330
|
-
"use strict";
|
|
309
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"(exports, module) {
|
|
331
310
|
init_cjs_shims();
|
|
332
311
|
var parse = require_parse(), valid = (version, options) => {
|
|
333
312
|
let v = parse(version, options);
|
|
@@ -337,10 +316,9 @@ var require_valid = __commonJS({
|
|
|
337
316
|
}
|
|
338
317
|
});
|
|
339
318
|
|
|
340
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
319
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js
|
|
341
320
|
var require_clean = __commonJS({
|
|
342
|
-
"../../node_modules/.pnpm/semver@7.
|
|
343
|
-
"use strict";
|
|
321
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"(exports, module) {
|
|
344
322
|
init_cjs_shims();
|
|
345
323
|
var parse = require_parse(), clean = (version, options) => {
|
|
346
324
|
let s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -350,10 +328,9 @@ var require_clean = __commonJS({
|
|
|
350
328
|
}
|
|
351
329
|
});
|
|
352
330
|
|
|
353
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
331
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js
|
|
354
332
|
var require_inc = __commonJS({
|
|
355
|
-
"../../node_modules/.pnpm/semver@7.
|
|
356
|
-
"use strict";
|
|
333
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js"(exports, module) {
|
|
357
334
|
init_cjs_shims();
|
|
358
335
|
var SemVer = require_semver(), inc = (version, release, options, identifier, identifierBase) => {
|
|
359
336
|
typeof options == "string" && (identifierBase = identifier, identifier = options, options = void 0);
|
|
@@ -370,22 +347,17 @@ var require_inc = __commonJS({
|
|
|
370
347
|
}
|
|
371
348
|
});
|
|
372
349
|
|
|
373
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
350
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js
|
|
374
351
|
var require_diff = __commonJS({
|
|
375
|
-
"../../node_modules/.pnpm/semver@7.
|
|
376
|
-
"use strict";
|
|
352
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js"(exports, module) {
|
|
377
353
|
init_cjs_shims();
|
|
378
354
|
var parse = require_parse(), diff = (version1, version2) => {
|
|
379
355
|
let v1 = parse(version1, null, !0), v2 = parse(version2, null, !0), comparison = v1.compare(v2);
|
|
380
356
|
if (comparison === 0)
|
|
381
357
|
return null;
|
|
382
358
|
let v1Higher = comparison > 0, highVersion = v1Higher ? v1 : v2, lowVersion = v1Higher ? v2 : v1, highHasPre = !!highVersion.prerelease.length;
|
|
383
|
-
if (!!lowVersion.prerelease.length && !highHasPre)
|
|
384
|
-
|
|
385
|
-
return "major";
|
|
386
|
-
if (lowVersion.compareMain(highVersion) === 0)
|
|
387
|
-
return lowVersion.minor && !lowVersion.patch ? "minor" : "patch";
|
|
388
|
-
}
|
|
359
|
+
if (!!lowVersion.prerelease.length && !highHasPre)
|
|
360
|
+
return !lowVersion.patch && !lowVersion.minor ? "major" : highVersion.patch ? "patch" : highVersion.minor ? "minor" : "major";
|
|
389
361
|
let prefix = highHasPre ? "pre" : "";
|
|
390
362
|
return v1.major !== v2.major ? prefix + "major" : v1.minor !== v2.minor ? prefix + "minor" : v1.patch !== v2.patch ? prefix + "patch" : "prerelease";
|
|
391
363
|
};
|
|
@@ -393,40 +365,36 @@ var require_diff = __commonJS({
|
|
|
393
365
|
}
|
|
394
366
|
});
|
|
395
367
|
|
|
396
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
368
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js
|
|
397
369
|
var require_major = __commonJS({
|
|
398
|
-
"../../node_modules/.pnpm/semver@7.
|
|
399
|
-
"use strict";
|
|
370
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js"(exports, module) {
|
|
400
371
|
init_cjs_shims();
|
|
401
372
|
var SemVer = require_semver(), major = (a, loose) => new SemVer(a, loose).major;
|
|
402
373
|
module.exports = major;
|
|
403
374
|
}
|
|
404
375
|
});
|
|
405
376
|
|
|
406
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
377
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js
|
|
407
378
|
var require_minor = __commonJS({
|
|
408
|
-
"../../node_modules/.pnpm/semver@7.
|
|
409
|
-
"use strict";
|
|
379
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js"(exports, module) {
|
|
410
380
|
init_cjs_shims();
|
|
411
381
|
var SemVer = require_semver(), minor = (a, loose) => new SemVer(a, loose).minor;
|
|
412
382
|
module.exports = minor;
|
|
413
383
|
}
|
|
414
384
|
});
|
|
415
385
|
|
|
416
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
386
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js
|
|
417
387
|
var require_patch = __commonJS({
|
|
418
|
-
"../../node_modules/.pnpm/semver@7.
|
|
419
|
-
"use strict";
|
|
388
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js"(exports, module) {
|
|
420
389
|
init_cjs_shims();
|
|
421
390
|
var SemVer = require_semver(), patch = (a, loose) => new SemVer(a, loose).patch;
|
|
422
391
|
module.exports = patch;
|
|
423
392
|
}
|
|
424
393
|
});
|
|
425
394
|
|
|
426
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
395
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js
|
|
427
396
|
var require_prerelease = __commonJS({
|
|
428
|
-
"../../node_modules/.pnpm/semver@7.
|
|
429
|
-
"use strict";
|
|
397
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
430
398
|
init_cjs_shims();
|
|
431
399
|
var parse = require_parse(), prerelease = (version, options) => {
|
|
432
400
|
let parsed = parse(version, options);
|
|
@@ -436,40 +404,36 @@ var require_prerelease = __commonJS({
|
|
|
436
404
|
}
|
|
437
405
|
});
|
|
438
406
|
|
|
439
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
407
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js
|
|
440
408
|
var require_compare = __commonJS({
|
|
441
|
-
"../../node_modules/.pnpm/semver@7.
|
|
442
|
-
"use strict";
|
|
409
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"(exports, module) {
|
|
443
410
|
init_cjs_shims();
|
|
444
411
|
var SemVer = require_semver(), compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
445
412
|
module.exports = compare;
|
|
446
413
|
}
|
|
447
414
|
});
|
|
448
415
|
|
|
449
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
416
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js
|
|
450
417
|
var require_rcompare = __commonJS({
|
|
451
|
-
"../../node_modules/.pnpm/semver@7.
|
|
452
|
-
"use strict";
|
|
418
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
453
419
|
init_cjs_shims();
|
|
454
420
|
var compare = require_compare(), rcompare = (a, b, loose) => compare(b, a, loose);
|
|
455
421
|
module.exports = rcompare;
|
|
456
422
|
}
|
|
457
423
|
});
|
|
458
424
|
|
|
459
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
425
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js
|
|
460
426
|
var require_compare_loose = __commonJS({
|
|
461
|
-
"../../node_modules/.pnpm/semver@7.
|
|
462
|
-
"use strict";
|
|
427
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
463
428
|
init_cjs_shims();
|
|
464
429
|
var compare = require_compare(), compareLoose = (a, b) => compare(a, b, !0);
|
|
465
430
|
module.exports = compareLoose;
|
|
466
431
|
}
|
|
467
432
|
});
|
|
468
433
|
|
|
469
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
434
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js
|
|
470
435
|
var require_compare_build = __commonJS({
|
|
471
|
-
"../../node_modules/.pnpm/semver@7.
|
|
472
|
-
"use strict";
|
|
436
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
473
437
|
init_cjs_shims();
|
|
474
438
|
var SemVer = require_semver(), compareBuild = (a, b, loose) => {
|
|
475
439
|
let versionA = new SemVer(a, loose), versionB = new SemVer(b, loose);
|
|
@@ -479,90 +443,81 @@ var require_compare_build = __commonJS({
|
|
|
479
443
|
}
|
|
480
444
|
});
|
|
481
445
|
|
|
482
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
446
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js
|
|
483
447
|
var require_sort = __commonJS({
|
|
484
|
-
"../../node_modules/.pnpm/semver@7.
|
|
485
|
-
"use strict";
|
|
448
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js"(exports, module) {
|
|
486
449
|
init_cjs_shims();
|
|
487
450
|
var compareBuild = require_compare_build(), sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
488
451
|
module.exports = sort;
|
|
489
452
|
}
|
|
490
453
|
});
|
|
491
454
|
|
|
492
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
455
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js
|
|
493
456
|
var require_rsort = __commonJS({
|
|
494
|
-
"../../node_modules/.pnpm/semver@7.
|
|
495
|
-
"use strict";
|
|
457
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
496
458
|
init_cjs_shims();
|
|
497
459
|
var compareBuild = require_compare_build(), rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
498
460
|
module.exports = rsort;
|
|
499
461
|
}
|
|
500
462
|
});
|
|
501
463
|
|
|
502
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
464
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js
|
|
503
465
|
var require_gt = __commonJS({
|
|
504
|
-
"../../node_modules/.pnpm/semver@7.
|
|
505
|
-
"use strict";
|
|
466
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"(exports, module) {
|
|
506
467
|
init_cjs_shims();
|
|
507
468
|
var compare = require_compare(), gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
508
469
|
module.exports = gt;
|
|
509
470
|
}
|
|
510
471
|
});
|
|
511
472
|
|
|
512
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
473
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js
|
|
513
474
|
var require_lt = __commonJS({
|
|
514
|
-
"../../node_modules/.pnpm/semver@7.
|
|
515
|
-
"use strict";
|
|
475
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"(exports, module) {
|
|
516
476
|
init_cjs_shims();
|
|
517
477
|
var compare = require_compare(), lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
518
478
|
module.exports = lt;
|
|
519
479
|
}
|
|
520
480
|
});
|
|
521
481
|
|
|
522
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
482
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js
|
|
523
483
|
var require_eq = __commonJS({
|
|
524
|
-
"../../node_modules/.pnpm/semver@7.
|
|
525
|
-
"use strict";
|
|
484
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"(exports, module) {
|
|
526
485
|
init_cjs_shims();
|
|
527
486
|
var compare = require_compare(), eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
528
487
|
module.exports = eq;
|
|
529
488
|
}
|
|
530
489
|
});
|
|
531
490
|
|
|
532
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
491
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js
|
|
533
492
|
var require_neq = __commonJS({
|
|
534
|
-
"../../node_modules/.pnpm/semver@7.
|
|
535
|
-
"use strict";
|
|
493
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"(exports, module) {
|
|
536
494
|
init_cjs_shims();
|
|
537
495
|
var compare = require_compare(), neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
538
496
|
module.exports = neq;
|
|
539
497
|
}
|
|
540
498
|
});
|
|
541
499
|
|
|
542
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
500
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js
|
|
543
501
|
var require_gte = __commonJS({
|
|
544
|
-
"../../node_modules/.pnpm/semver@7.
|
|
545
|
-
"use strict";
|
|
502
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"(exports, module) {
|
|
546
503
|
init_cjs_shims();
|
|
547
504
|
var compare = require_compare(), gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
548
505
|
module.exports = gte;
|
|
549
506
|
}
|
|
550
507
|
});
|
|
551
508
|
|
|
552
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
509
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js
|
|
553
510
|
var require_lte = __commonJS({
|
|
554
|
-
"../../node_modules/.pnpm/semver@7.
|
|
555
|
-
"use strict";
|
|
511
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"(exports, module) {
|
|
556
512
|
init_cjs_shims();
|
|
557
513
|
var compare = require_compare(), lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
558
514
|
module.exports = lte;
|
|
559
515
|
}
|
|
560
516
|
});
|
|
561
517
|
|
|
562
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
518
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js
|
|
563
519
|
var require_cmp = __commonJS({
|
|
564
|
-
"../../node_modules/.pnpm/semver@7.
|
|
565
|
-
"use strict";
|
|
520
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
566
521
|
init_cjs_shims();
|
|
567
522
|
var eq = require_eq(), neq = require_neq(), gt = require_gt(), gte = require_gte(), lt = require_lt(), lte = require_lte(), cmp = (a, op, b, loose) => {
|
|
568
523
|
switch (op) {
|
|
@@ -592,10 +547,9 @@ var require_cmp = __commonJS({
|
|
|
592
547
|
}
|
|
593
548
|
});
|
|
594
549
|
|
|
595
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
550
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js
|
|
596
551
|
var require_coerce = __commonJS({
|
|
597
|
-
"../../node_modules/.pnpm/semver@7.
|
|
598
|
-
"use strict";
|
|
552
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
599
553
|
init_cjs_shims();
|
|
600
554
|
var SemVer = require_semver(), parse = require_parse(), { safeRe: re, t } = require_re(), coerce = (version, options) => {
|
|
601
555
|
if (version instanceof SemVer)
|
|
@@ -621,10 +575,9 @@ var require_coerce = __commonJS({
|
|
|
621
575
|
}
|
|
622
576
|
});
|
|
623
577
|
|
|
624
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
578
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js
|
|
625
579
|
var require_lrucache = __commonJS({
|
|
626
|
-
"../../node_modules/.pnpm/semver@7.
|
|
627
|
-
"use strict";
|
|
580
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
628
581
|
init_cjs_shims();
|
|
629
582
|
var LRUCache = class {
|
|
630
583
|
constructor() {
|
|
@@ -653,10 +606,9 @@ var require_lrucache = __commonJS({
|
|
|
653
606
|
}
|
|
654
607
|
});
|
|
655
608
|
|
|
656
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
609
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js
|
|
657
610
|
var require_range = __commonJS({
|
|
658
|
-
"../../node_modules/.pnpm/semver@7.
|
|
659
|
-
"use strict";
|
|
611
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"(exports, module) {
|
|
660
612
|
init_cjs_shims();
|
|
661
613
|
var SPACE_CHARACTERS = /\s+/g, Range = class _Range {
|
|
662
614
|
constructor(range, options) {
|
|
@@ -790,10 +742,9 @@ var require_range = __commonJS({
|
|
|
790
742
|
}
|
|
791
743
|
});
|
|
792
744
|
|
|
793
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
745
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js
|
|
794
746
|
var require_comparator = __commonJS({
|
|
795
|
-
"../../node_modules/.pnpm/semver@7.
|
|
796
|
-
"use strict";
|
|
747
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
797
748
|
init_cjs_shims();
|
|
798
749
|
var ANY = Symbol("SemVer ANY"), Comparator = class _Comparator {
|
|
799
750
|
static get ANY() {
|
|
@@ -838,10 +789,9 @@ var require_comparator = __commonJS({
|
|
|
838
789
|
}
|
|
839
790
|
});
|
|
840
791
|
|
|
841
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
792
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js
|
|
842
793
|
var require_satisfies = __commonJS({
|
|
843
|
-
"../../node_modules/.pnpm/semver@7.
|
|
844
|
-
"use strict";
|
|
794
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
845
795
|
init_cjs_shims();
|
|
846
796
|
var Range = require_range(), satisfies = (version, range, options) => {
|
|
847
797
|
try {
|
|
@@ -855,20 +805,18 @@ var require_satisfies = __commonJS({
|
|
|
855
805
|
}
|
|
856
806
|
});
|
|
857
807
|
|
|
858
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
808
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js
|
|
859
809
|
var require_to_comparators = __commonJS({
|
|
860
|
-
"../../node_modules/.pnpm/semver@7.
|
|
861
|
-
"use strict";
|
|
810
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
862
811
|
init_cjs_shims();
|
|
863
812
|
var Range = require_range(), toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
864
813
|
module.exports = toComparators;
|
|
865
814
|
}
|
|
866
815
|
});
|
|
867
816
|
|
|
868
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
817
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js
|
|
869
818
|
var require_max_satisfying = __commonJS({
|
|
870
|
-
"../../node_modules/.pnpm/semver@7.
|
|
871
|
-
"use strict";
|
|
819
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
872
820
|
init_cjs_shims();
|
|
873
821
|
var SemVer = require_semver(), Range = require_range(), maxSatisfying = (versions, range, options) => {
|
|
874
822
|
let max = null, maxSV = null, rangeObj = null;
|
|
@@ -885,10 +833,9 @@ var require_max_satisfying = __commonJS({
|
|
|
885
833
|
}
|
|
886
834
|
});
|
|
887
835
|
|
|
888
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
836
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js
|
|
889
837
|
var require_min_satisfying = __commonJS({
|
|
890
|
-
"../../node_modules/.pnpm/semver@7.
|
|
891
|
-
"use strict";
|
|
838
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
892
839
|
init_cjs_shims();
|
|
893
840
|
var SemVer = require_semver(), Range = require_range(), minSatisfying = (versions, range, options) => {
|
|
894
841
|
let min = null, minSV = null, rangeObj = null;
|
|
@@ -905,10 +852,9 @@ var require_min_satisfying = __commonJS({
|
|
|
905
852
|
}
|
|
906
853
|
});
|
|
907
854
|
|
|
908
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
855
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js
|
|
909
856
|
var require_min_version = __commonJS({
|
|
910
|
-
"../../node_modules/.pnpm/semver@7.
|
|
911
|
-
"use strict";
|
|
857
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
912
858
|
init_cjs_shims();
|
|
913
859
|
var SemVer = require_semver(), Range = require_range(), gt = require_gt(), minVersion = (range, loose) => {
|
|
914
860
|
range = new Range(range, loose);
|
|
@@ -943,10 +889,9 @@ var require_min_version = __commonJS({
|
|
|
943
889
|
}
|
|
944
890
|
});
|
|
945
891
|
|
|
946
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
892
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js
|
|
947
893
|
var require_valid2 = __commonJS({
|
|
948
|
-
"../../node_modules/.pnpm/semver@7.
|
|
949
|
-
"use strict";
|
|
894
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
950
895
|
init_cjs_shims();
|
|
951
896
|
var Range = require_range(), validRange = (range, options) => {
|
|
952
897
|
try {
|
|
@@ -959,10 +904,9 @@ var require_valid2 = __commonJS({
|
|
|
959
904
|
}
|
|
960
905
|
});
|
|
961
906
|
|
|
962
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
907
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js
|
|
963
908
|
var require_outside = __commonJS({
|
|
964
|
-
"../../node_modules/.pnpm/semver@7.
|
|
965
|
-
"use strict";
|
|
909
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
966
910
|
init_cjs_shims();
|
|
967
911
|
var SemVer = require_semver(), Comparator = require_comparator(), { ANY } = Comparator, Range = require_range(), satisfies = require_satisfies(), gt = require_gt(), lt = require_lt(), lte = require_lte(), gte = require_gte(), outside = (version, range, hilo, options) => {
|
|
968
912
|
version = new SemVer(version, options), range = new Range(range, options);
|
|
@@ -994,40 +938,36 @@ var require_outside = __commonJS({
|
|
|
994
938
|
}
|
|
995
939
|
});
|
|
996
940
|
|
|
997
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
941
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js
|
|
998
942
|
var require_gtr = __commonJS({
|
|
999
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1000
|
-
"use strict";
|
|
943
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
1001
944
|
init_cjs_shims();
|
|
1002
945
|
var outside = require_outside(), gtr = (version, range, options) => outside(version, range, ">", options);
|
|
1003
946
|
module.exports = gtr;
|
|
1004
947
|
}
|
|
1005
948
|
});
|
|
1006
949
|
|
|
1007
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
950
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js
|
|
1008
951
|
var require_ltr = __commonJS({
|
|
1009
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1010
|
-
"use strict";
|
|
952
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
1011
953
|
init_cjs_shims();
|
|
1012
954
|
var outside = require_outside(), ltr = (version, range, options) => outside(version, range, "<", options);
|
|
1013
955
|
module.exports = ltr;
|
|
1014
956
|
}
|
|
1015
957
|
});
|
|
1016
958
|
|
|
1017
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
959
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js
|
|
1018
960
|
var require_intersects = __commonJS({
|
|
1019
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1020
|
-
"use strict";
|
|
961
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
1021
962
|
init_cjs_shims();
|
|
1022
963
|
var Range = require_range(), intersects = (r1, r2, options) => (r1 = new Range(r1, options), r2 = new Range(r2, options), r1.intersects(r2, options));
|
|
1023
964
|
module.exports = intersects;
|
|
1024
965
|
}
|
|
1025
966
|
});
|
|
1026
967
|
|
|
1027
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
968
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js
|
|
1028
969
|
var require_simplify = __commonJS({
|
|
1029
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1030
|
-
"use strict";
|
|
970
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
1031
971
|
init_cjs_shims();
|
|
1032
972
|
var satisfies = require_satisfies(), compare = require_compare();
|
|
1033
973
|
module.exports = (versions, range, options) => {
|
|
@@ -1044,10 +984,9 @@ var require_simplify = __commonJS({
|
|
|
1044
984
|
}
|
|
1045
985
|
});
|
|
1046
986
|
|
|
1047
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
987
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js
|
|
1048
988
|
var require_subset = __commonJS({
|
|
1049
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1050
|
-
"use strict";
|
|
989
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
1051
990
|
init_cjs_shims();
|
|
1052
991
|
var Range = require_range(), Comparator = require_comparator(), { ANY } = Comparator, satisfies = require_satisfies(), compare = require_compare(), subset = (sub, dom, options = {}) => {
|
|
1053
992
|
if (sub === dom)
|
|
@@ -1133,10 +1072,9 @@ var require_subset = __commonJS({
|
|
|
1133
1072
|
}
|
|
1134
1073
|
});
|
|
1135
1074
|
|
|
1136
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
1075
|
+
// ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js
|
|
1137
1076
|
var require_semver2 = __commonJS({
|
|
1138
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1139
|
-
"use strict";
|
|
1077
|
+
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js"(exports, module) {
|
|
1140
1078
|
init_cjs_shims();
|
|
1141
1079
|
var internalRe = require_re(), constants = require_constants(), SemVer = require_semver(), identifiers = require_identifiers(), parse = require_parse(), valid = require_valid(), clean = require_clean(), inc = require_inc(), diff = require_diff(), major = require_major(), minor = require_minor(), patch = require_patch(), prerelease = require_prerelease(), compare = require_compare(), rcompare = require_rcompare(), compareLoose = require_compare_loose(), compareBuild = require_compare_build(), sort = require_sort(), rsort = require_rsort(), gt = require_gt(), lt = require_lt(), eq = require_eq(), neq = require_neq(), gte = require_gte(), lte = require_lte(), cmp = require_cmp(), coerce = require_coerce(), Comparator = require_comparator(), Range = require_range(), satisfies = require_satisfies(), toComparators = require_to_comparators(), maxSatisfying = require_max_satisfying(), minSatisfying = require_min_satisfying(), minVersion = require_min_version(), validRange = require_valid2(), outside = require_outside(), gtr = require_gtr(), ltr = require_ltr(), intersects = require_intersects(), simplifyRange = require_simplify(), subset = require_subset();
|
|
1142
1080
|
module.exports = {
|
|
@@ -1189,51 +1127,7 @@ var require_semver2 = __commonJS({
|
|
|
1189
1127
|
}
|
|
1190
1128
|
});
|
|
1191
1129
|
|
|
1192
|
-
// ../../node_modules/.pnpm/validate-npm-package-name@5.0.1/node_modules/validate-npm-package-name/lib/index.js
|
|
1193
|
-
var require_lib = __commonJS({
|
|
1194
|
-
"../../node_modules/.pnpm/validate-npm-package-name@5.0.1/node_modules/validate-npm-package-name/lib/index.js"(exports, module) {
|
|
1195
|
-
"use strict";
|
|
1196
|
-
init_cjs_shims();
|
|
1197
|
-
var { builtinModules: builtins } = __require("module"), scopedPackagePattern = new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"), blacklist = [
|
|
1198
|
-
"node_modules",
|
|
1199
|
-
"favicon.ico"
|
|
1200
|
-
];
|
|
1201
|
-
function validate(name) {
|
|
1202
|
-
var warnings = [], errors = [];
|
|
1203
|
-
if (name === null)
|
|
1204
|
-
return errors.push("name cannot be null"), done(warnings, errors);
|
|
1205
|
-
if (name === void 0)
|
|
1206
|
-
return errors.push("name cannot be undefined"), done(warnings, errors);
|
|
1207
|
-
if (typeof name != "string")
|
|
1208
|
-
return errors.push("name must be a string"), done(warnings, errors);
|
|
1209
|
-
if (name.length || errors.push("name length must be greater than zero"), name.match(/^\./) && errors.push("name cannot start with a period"), name.match(/^_/) && errors.push("name cannot start with an underscore"), name.trim() !== name && errors.push("name cannot contain leading or trailing spaces"), blacklist.forEach(function(blacklistedName) {
|
|
1210
|
-
name.toLowerCase() === blacklistedName && errors.push(blacklistedName + " is a blacklisted name");
|
|
1211
|
-
}), builtins.includes(name.toLowerCase()) && warnings.push(name + " is a core module name"), name.length > 214 && warnings.push("name can no longer contain more than 214 characters"), name.toLowerCase() !== name && warnings.push("name can no longer contain capital letters"), /[~'!()*]/.test(name.split("/").slice(-1)[0]) && warnings.push(`name can no longer contain special characters ("~'!()*")`), encodeURIComponent(name) !== name) {
|
|
1212
|
-
var nameMatch = name.match(scopedPackagePattern);
|
|
1213
|
-
if (nameMatch) {
|
|
1214
|
-
var user = nameMatch[1], pkg = nameMatch[2];
|
|
1215
|
-
if (encodeURIComponent(user) === user && encodeURIComponent(pkg) === pkg)
|
|
1216
|
-
return done(warnings, errors);
|
|
1217
|
-
}
|
|
1218
|
-
errors.push("name can only contain URL-friendly characters");
|
|
1219
|
-
}
|
|
1220
|
-
return done(warnings, errors);
|
|
1221
|
-
}
|
|
1222
|
-
var done = function(warnings, errors) {
|
|
1223
|
-
var result = {
|
|
1224
|
-
validForNewPackages: errors.length === 0 && warnings.length === 0,
|
|
1225
|
-
validForOldPackages: errors.length === 0,
|
|
1226
|
-
warnings,
|
|
1227
|
-
errors
|
|
1228
|
-
};
|
|
1229
|
-
return result.warnings.length || delete result.warnings, result.errors.length || delete result.errors, result;
|
|
1230
|
-
};
|
|
1231
|
-
module.exports = validate;
|
|
1232
|
-
}
|
|
1233
|
-
});
|
|
1234
|
-
|
|
1235
1130
|
export {
|
|
1236
|
-
require_semver2 as require_semver
|
|
1237
|
-
require_lib
|
|
1131
|
+
require_semver2 as require_semver
|
|
1238
1132
|
};
|
|
1239
|
-
//# sourceMappingURL=chunk-
|
|
1133
|
+
//# sourceMappingURL=chunk-HMDWNGIV.js.map
|