@shopify/create-app 4.0.0 → 4.2.0
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 -2
- package/dist/{acorn-B7Z74OJ7.js → acorn-7AGUHU7X.js} +3 -3
- package/dist/{analytics-XUVDQAYG.js → analytics-DXTA2BTW.js} +13 -13
- package/dist/{analytics-XLT3JDGP.js → analytics-VN37446T.js} +13 -13
- package/dist/angular-WQAMH4CA.js +3117 -0
- package/dist/{babel-CJ53QMMG.js → babel-ANYZPGZG.js} +3 -3
- package/dist/{chunk-UX6FRPFM.js → chunk-325YJ3GA.js} +588 -347
- package/dist/{chunk-JUV7D377.js → chunk-6ZCMRIIK.js} +4 -4
- package/dist/{chunk-6OOTYTVB.js → chunk-7FVFOTP5.js} +218 -109
- package/dist/{chunk-YUPQUA3D.js → chunk-AJMNFS2U.js} +138 -138
- package/dist/{chunk-QN5KFM2B.js → chunk-BGBNK6AD.js} +2 -2
- package/dist/{chunk-CE4S2SGM.js → chunk-CJMNB2EJ.js} +232 -151
- package/dist/{chunk-4CS37CS5.js → chunk-EYELFNC7.js} +29 -33
- package/dist/{chunk-DNF3EUMN.js → chunk-F6LQTIYO.js} +8 -5
- package/dist/{chunk-YIHECXVH.js → chunk-HDGI2UBV.js} +60 -86
- package/dist/{chunk-ANIFE3UR.js → chunk-IEVOZUJ7.js} +2 -2
- package/dist/{chunk-37G3KLO2.js → chunk-KAVGZDPZ.js} +3 -3
- package/dist/{chunk-UMSYG5WJ.js → chunk-M2UQMZTP.js} +24 -17
- package/dist/{chunk-IGDZPTDH.js → chunk-RWI7QPAN.js} +8 -8
- package/dist/{chunk-LNOZTAML.js → chunk-RXMZPVTQ.js} +559 -898
- package/dist/{chunk-DHAC6KEL.js → chunk-S2C3LKO2.js} +30 -29
- package/dist/{chunk-DWGHKWV5.js → chunk-SAVFAAHX.js} +20 -20
- package/dist/{chunk-QMXFPY46.js → chunk-W3I47I43.js} +3 -3
- package/dist/{chunk-STHW3YIX.js → chunk-ZPFFIMXV.js} +10894 -2147
- package/dist/{conf-store-RAVX2WFV.js → conf-store-A3JOFSUU.js} +7 -7
- package/dist/{custom-oclif-loader-354VAVF4.js → custom-oclif-loader-5SWH4GTV.js} +3 -3
- package/dist/{deprecations-2QTB3736.js → deprecations-2ELX7ROT.js} +9 -9
- package/dist/{devtools-4EY2MEDN.js → devtools-FXOPST2H.js} +2 -2
- package/dist/dist-U3FLPMJE.js +510 -0
- package/dist/{environments-LTWWRWCC.js → environments-XMNHPGBO.js} +10 -10
- package/dist/{error-handler-KHJE653Z.js → error-handler-YHPBH53J.js} +13 -13
- package/dist/{estree-UBDGCTT2.js → estree-E53K34OK.js} +4 -4
- package/dist/{flow-FUOSTAYW.js → flow-LFBHZSUI.js} +3 -3
- package/dist/{fs-XENRLBMU.js → fs-O3X2BDXD.js} +3 -3
- package/dist/{glimmer-XBFG6K3P.js → glimmer-CVQMANCJ.js} +3 -3
- package/dist/{graphql-C5WOGPMM.js → graphql-ZOTIIZAG.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +6 -6
- package/dist/{html-QRIT6TOU.js → html-WQ23J64T.js} +924 -830
- package/dist/index.js +5847 -4583
- package/dist/index.test.js +7251 -8136
- package/dist/{is-global-KZMSAFQT.js → is-global-ET3YL7TT.js} +3 -3
- package/dist/{is-wsl-YAJ3DFN7.js → is-wsl-BJRAPRQU.js} +6 -5
- package/dist/{latest-version-3PFKLJZM.js → latest-version-KKU2QQZW.js} +2 -2
- package/dist/{lib-HWIFANCM.js → lib-QBGNJ3PZ.js} +3 -3
- package/dist/{local-NQALOHJX.js → local-QWRI6OFV.js} +2 -4
- package/dist/{markdown-M5KQ3F3U.js → markdown-OIW6O7KK.js} +4 -4
- package/dist/{meriyah-QX42RF3Q.js → meriyah-KMVSYB54.js} +3 -3
- package/dist/{metadata-FXCUDE5I.js → metadata-VZBMAQQC.js} +3 -3
- package/dist/{node-package-manager-7R7HDW4R.js → node-package-manager-W33EW2VU.js} +11 -11
- package/dist/{notifications-system-7QMDSL5Y.js → notifications-system-ZFKFHX3O.js} +14 -14
- package/dist/{output-PQSQ7U45.js → output-5PDIDYKG.js} +3 -3
- package/dist/{postcss-4PDU7IQT.js → postcss-WSM6XINW.js} +7 -5
- package/dist/{prettier-UAG5TKE4.js → prettier-3LMT6EEA.js} +2 -2
- package/dist/{system-W4MMMHEV.js → system-X6HCVR7P.js} +9 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{typescript-LCSPQIRD.js → typescript-Q4XZM2A4.js} +3 -3
- package/dist/{ui-2FROV2IT.js → ui-IN56X5S4.js} +9 -9
- package/dist/{upgrade-FAUZ7VAF.js → upgrade-OAFAJX4I.js} +15 -15
- package/dist/{version-HKPHVW5M.js → version-D3H6OPFX.js} +10 -10
- package/dist/{version-T73ZLUJK.js → version-QYHHSKFX.js} +2 -2
- package/dist/{yaml-VGESS2QB.js → yaml-NI5GGQLI.js} +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
- package/dist/angular-IKHE4H7C.js +0 -2771
|
@@ -3,9 +3,10 @@ import {
|
|
|
3
3
|
init_cjs_shims
|
|
4
4
|
} from "./chunk-PKR7KJ6P.js";
|
|
5
5
|
|
|
6
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
6
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/constants.js
|
|
7
7
|
var require_constants = __commonJS({
|
|
8
|
-
"../../node_modules/.pnpm/semver@7.
|
|
8
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/constants.js"(exports, module) {
|
|
9
|
+
"use strict";
|
|
9
10
|
init_cjs_shims();
|
|
10
11
|
var SEMVER_SPEC_VERSION = "2.0.0", MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
11
12
|
9007199254740991, MAX_SAFE_COMPONENT_LENGTH = 16, MAX_SAFE_BUILD_LENGTH = 250, RELEASE_TYPES = [
|
|
@@ -30,9 +31,10 @@ var require_constants = __commonJS({
|
|
|
30
31
|
}
|
|
31
32
|
});
|
|
32
33
|
|
|
33
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
34
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/debug.js
|
|
34
35
|
var require_debug = __commonJS({
|
|
35
|
-
"../../node_modules/.pnpm/semver@7.
|
|
36
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/debug.js"(exports, module) {
|
|
37
|
+
"use strict";
|
|
36
38
|
init_cjs_shims();
|
|
37
39
|
var debug = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
38
40
|
};
|
|
@@ -40,9 +42,10 @@ var require_debug = __commonJS({
|
|
|
40
42
|
}
|
|
41
43
|
});
|
|
42
44
|
|
|
43
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
45
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/re.js
|
|
44
46
|
var require_re = __commonJS({
|
|
45
|
-
"../../node_modules/.pnpm/semver@7.
|
|
47
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/re.js"(exports, module) {
|
|
48
|
+
"use strict";
|
|
46
49
|
init_cjs_shims();
|
|
47
50
|
var {
|
|
48
51
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -50,7 +53,7 @@ var require_re = __commonJS({
|
|
|
50
53
|
MAX_LENGTH
|
|
51
54
|
} = require_constants(), debug = require_debug();
|
|
52
55
|
exports = module.exports = {};
|
|
53
|
-
var re = exports.re = [], safeRe = exports.safeRe = [], src = exports.src = [], t = exports.t = {}, R = 0, LETTERDASHNUMBER = "[a-zA-Z0-9-]", safeRegexReplacements = [
|
|
56
|
+
var re = exports.re = [], safeRe = exports.safeRe = [], src = exports.src = [], safeSrc = exports.safeSrc = [], t = exports.t = {}, R = 0, LETTERDASHNUMBER = "[a-zA-Z0-9-]", safeRegexReplacements = [
|
|
54
57
|
["\\s", 1],
|
|
55
58
|
["\\d", MAX_LENGTH],
|
|
56
59
|
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
@@ -60,15 +63,15 @@ var require_re = __commonJS({
|
|
|
60
63
|
return value;
|
|
61
64
|
}, createToken = (name, value, isGlobal) => {
|
|
62
65
|
let safe = makeSafeRegex(value), index = R++;
|
|
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);
|
|
66
|
+
debug(name, index, value), t[name] = index, src[index] = value, safeSrc[index] = safe, re[index] = new RegExp(value, isGlobal ? "g" : void 0), safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
64
67
|
};
|
|
65
68
|
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
66
69
|
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
67
70
|
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
68
71
|
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
69
72
|
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
70
|
-
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.
|
|
71
|
-
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.
|
|
73
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIER]})`);
|
|
74
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
72
75
|
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
73
76
|
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
74
77
|
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
@@ -111,20 +114,24 @@ var require_re = __commonJS({
|
|
|
111
114
|
}
|
|
112
115
|
});
|
|
113
116
|
|
|
114
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
117
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/parse-options.js
|
|
115
118
|
var require_parse_options = __commonJS({
|
|
116
|
-
"../../node_modules/.pnpm/semver@7.
|
|
119
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
120
|
+
"use strict";
|
|
117
121
|
init_cjs_shims();
|
|
118
122
|
var looseOption = Object.freeze({ loose: !0 }), emptyOpts = Object.freeze({}), parseOptions = (options) => options ? typeof options != "object" ? looseOption : options : emptyOpts;
|
|
119
123
|
module.exports = parseOptions;
|
|
120
124
|
}
|
|
121
125
|
});
|
|
122
126
|
|
|
123
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
127
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/identifiers.js
|
|
124
128
|
var require_identifiers = __commonJS({
|
|
125
|
-
"../../node_modules/.pnpm/semver@7.
|
|
129
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
130
|
+
"use strict";
|
|
126
131
|
init_cjs_shims();
|
|
127
132
|
var numeric = /^[0-9]+$/, compareIdentifiers = (a, b) => {
|
|
133
|
+
if (typeof a == "number" && typeof b == "number")
|
|
134
|
+
return a === b ? 0 : a < b ? -1 : 1;
|
|
128
135
|
let anum = numeric.test(a), bnum = numeric.test(b);
|
|
129
136
|
return anum && bnum && (a = +a, b = +b), a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
130
137
|
}, rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
|
|
@@ -135,11 +142,20 @@ var require_identifiers = __commonJS({
|
|
|
135
142
|
}
|
|
136
143
|
});
|
|
137
144
|
|
|
138
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
145
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/classes/semver.js
|
|
139
146
|
var require_semver = __commonJS({
|
|
140
|
-
"../../node_modules/.pnpm/semver@7.
|
|
147
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/classes/semver.js"(exports, module) {
|
|
148
|
+
"use strict";
|
|
141
149
|
init_cjs_shims();
|
|
142
|
-
var debug = require_debug(), { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants(), { safeRe: re, t } = require_re(), parseOptions = require_parse_options(), { compareIdentifiers } = require_identifiers(),
|
|
150
|
+
var debug = require_debug(), { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants(), { safeRe: re, t } = require_re(), parseOptions = require_parse_options(), { compareIdentifiers } = require_identifiers(), isPrereleaseIdentifier = (prerelease, identifier) => {
|
|
151
|
+
let identifiers = identifier.split(".");
|
|
152
|
+
if (identifiers.length > prerelease.length)
|
|
153
|
+
return !1;
|
|
154
|
+
for (let i = 0; i < identifiers.length; i++)
|
|
155
|
+
if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0)
|
|
156
|
+
return !1;
|
|
157
|
+
return !0;
|
|
158
|
+
}, SemVer = class _SemVer {
|
|
143
159
|
constructor(version, options) {
|
|
144
160
|
if (options = parseOptions(options), version instanceof _SemVer) {
|
|
145
161
|
if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease)
|
|
@@ -185,7 +201,7 @@ var require_semver = __commonJS({
|
|
|
185
201
|
return other.version === this.version ? 0 : this.compareMain(other) || this.comparePre(other);
|
|
186
202
|
}
|
|
187
203
|
compareMain(other) {
|
|
188
|
-
return other instanceof _SemVer || (other = new _SemVer(other, this.options)),
|
|
204
|
+
return other instanceof _SemVer || (other = new _SemVer(other, this.options)), this.major < other.major ? -1 : this.major > other.major ? 1 : this.minor < other.minor ? -1 : this.minor > other.minor ? 1 : this.patch < other.patch ? -1 : this.patch > other.patch ? 1 : 0;
|
|
189
205
|
}
|
|
190
206
|
comparePre(other) {
|
|
191
207
|
if (other instanceof _SemVer || (other = new _SemVer(other, this.options)), this.prerelease.length && !other.prerelease.length)
|
|
@@ -227,6 +243,15 @@ var require_semver = __commonJS({
|
|
|
227
243
|
// preminor will bump the version up to the next minor release, and immediately
|
|
228
244
|
// down to pre-release. premajor and prepatch work the same way.
|
|
229
245
|
inc(release, identifier, identifierBase) {
|
|
246
|
+
if (release.startsWith("pre")) {
|
|
247
|
+
if (!identifier && identifierBase === !1)
|
|
248
|
+
throw new Error("invalid increment argument: identifier is empty");
|
|
249
|
+
if (identifier) {
|
|
250
|
+
let match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
|
|
251
|
+
if (!match || match[1] !== identifier)
|
|
252
|
+
throw new Error(`invalid identifier: ${identifier}`);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
230
255
|
switch (release) {
|
|
231
256
|
case "premajor":
|
|
232
257
|
this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", identifier, identifierBase);
|
|
@@ -242,6 +267,11 @@ var require_semver = __commonJS({
|
|
|
242
267
|
case "prerelease":
|
|
243
268
|
this.prerelease.length === 0 && this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
|
|
244
269
|
break;
|
|
270
|
+
case "release":
|
|
271
|
+
if (this.prerelease.length === 0)
|
|
272
|
+
throw new Error(`version ${this.raw} is not a prerelease`);
|
|
273
|
+
this.prerelease.length = 0;
|
|
274
|
+
break;
|
|
245
275
|
case "major":
|
|
246
276
|
(this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease = [];
|
|
247
277
|
break;
|
|
@@ -255,8 +285,6 @@ var require_semver = __commonJS({
|
|
|
255
285
|
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
256
286
|
case "pre": {
|
|
257
287
|
let base = Number(identifierBase) ? 1 : 0;
|
|
258
|
-
if (!identifier && identifierBase === !1)
|
|
259
|
-
throw new Error("invalid increment argument: identifier is empty");
|
|
260
288
|
if (this.prerelease.length === 0)
|
|
261
289
|
this.prerelease = [base];
|
|
262
290
|
else {
|
|
@@ -271,7 +299,11 @@ var require_semver = __commonJS({
|
|
|
271
299
|
}
|
|
272
300
|
if (identifier) {
|
|
273
301
|
let prerelease = [identifier, base];
|
|
274
|
-
identifierBase === !1 && (prerelease = [identifier]),
|
|
302
|
+
if (identifierBase === !1 && (prerelease = [identifier]), isPrereleaseIdentifier(this.prerelease, identifier)) {
|
|
303
|
+
let prereleaseBase = this.prerelease[identifier.split(".").length];
|
|
304
|
+
isNaN(prereleaseBase) && (this.prerelease = prerelease);
|
|
305
|
+
} else
|
|
306
|
+
this.prerelease = prerelease;
|
|
275
307
|
}
|
|
276
308
|
break;
|
|
277
309
|
}
|
|
@@ -285,9 +317,10 @@ var require_semver = __commonJS({
|
|
|
285
317
|
}
|
|
286
318
|
});
|
|
287
319
|
|
|
288
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
320
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/parse.js
|
|
289
321
|
var require_parse = __commonJS({
|
|
290
|
-
"../../node_modules/.pnpm/semver@7.
|
|
322
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/parse.js"(exports, module) {
|
|
323
|
+
"use strict";
|
|
291
324
|
init_cjs_shims();
|
|
292
325
|
var SemVer = require_semver(), parse = (version, options, throwErrors = !1) => {
|
|
293
326
|
if (version instanceof SemVer)
|
|
@@ -304,9 +337,10 @@ var require_parse = __commonJS({
|
|
|
304
337
|
}
|
|
305
338
|
});
|
|
306
339
|
|
|
307
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
340
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/valid.js
|
|
308
341
|
var require_valid = __commonJS({
|
|
309
|
-
"../../node_modules/.pnpm/semver@7.
|
|
342
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/valid.js"(exports, module) {
|
|
343
|
+
"use strict";
|
|
310
344
|
init_cjs_shims();
|
|
311
345
|
var parse = require_parse(), valid = (version, options) => {
|
|
312
346
|
let v = parse(version, options);
|
|
@@ -316,9 +350,10 @@ var require_valid = __commonJS({
|
|
|
316
350
|
}
|
|
317
351
|
});
|
|
318
352
|
|
|
319
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
353
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/clean.js
|
|
320
354
|
var require_clean = __commonJS({
|
|
321
|
-
"../../node_modules/.pnpm/semver@7.
|
|
355
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/clean.js"(exports, module) {
|
|
356
|
+
"use strict";
|
|
322
357
|
init_cjs_shims();
|
|
323
358
|
var parse = require_parse(), clean = (version, options) => {
|
|
324
359
|
let s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -328,9 +363,10 @@ var require_clean = __commonJS({
|
|
|
328
363
|
}
|
|
329
364
|
});
|
|
330
365
|
|
|
331
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
366
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/inc.js
|
|
332
367
|
var require_inc = __commonJS({
|
|
333
|
-
"../../node_modules/.pnpm/semver@7.
|
|
368
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/inc.js"(exports, module) {
|
|
369
|
+
"use strict";
|
|
334
370
|
init_cjs_shims();
|
|
335
371
|
var SemVer = require_semver(), inc = (version, release, options, identifier, identifierBase) => {
|
|
336
372
|
typeof options == "string" && (identifierBase = identifier, identifier = options, options = void 0);
|
|
@@ -347,17 +383,22 @@ var require_inc = __commonJS({
|
|
|
347
383
|
}
|
|
348
384
|
});
|
|
349
385
|
|
|
350
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
386
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/diff.js
|
|
351
387
|
var require_diff = __commonJS({
|
|
352
|
-
"../../node_modules/.pnpm/semver@7.
|
|
388
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/diff.js"(exports, module) {
|
|
389
|
+
"use strict";
|
|
353
390
|
init_cjs_shims();
|
|
354
391
|
var parse = require_parse(), diff = (version1, version2) => {
|
|
355
392
|
let v1 = parse(version1, null, !0), v2 = parse(version2, null, !0), comparison = v1.compare(v2);
|
|
356
393
|
if (comparison === 0)
|
|
357
394
|
return null;
|
|
358
395
|
let v1Higher = comparison > 0, highVersion = v1Higher ? v1 : v2, lowVersion = v1Higher ? v2 : v1, highHasPre = !!highVersion.prerelease.length;
|
|
359
|
-
if (!!lowVersion.prerelease.length && !highHasPre)
|
|
360
|
-
|
|
396
|
+
if (!!lowVersion.prerelease.length && !highHasPre) {
|
|
397
|
+
if (!lowVersion.patch && !lowVersion.minor)
|
|
398
|
+
return "major";
|
|
399
|
+
if (lowVersion.compareMain(highVersion) === 0)
|
|
400
|
+
return lowVersion.minor && !lowVersion.patch ? "minor" : "patch";
|
|
401
|
+
}
|
|
361
402
|
let prefix = highHasPre ? "pre" : "";
|
|
362
403
|
return v1.major !== v2.major ? prefix + "major" : v1.minor !== v2.minor ? prefix + "minor" : v1.patch !== v2.patch ? prefix + "patch" : "prerelease";
|
|
363
404
|
};
|
|
@@ -365,36 +406,40 @@ var require_diff = __commonJS({
|
|
|
365
406
|
}
|
|
366
407
|
});
|
|
367
408
|
|
|
368
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
409
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/major.js
|
|
369
410
|
var require_major = __commonJS({
|
|
370
|
-
"../../node_modules/.pnpm/semver@7.
|
|
411
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/major.js"(exports, module) {
|
|
412
|
+
"use strict";
|
|
371
413
|
init_cjs_shims();
|
|
372
414
|
var SemVer = require_semver(), major = (a, loose) => new SemVer(a, loose).major;
|
|
373
415
|
module.exports = major;
|
|
374
416
|
}
|
|
375
417
|
});
|
|
376
418
|
|
|
377
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
419
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/minor.js
|
|
378
420
|
var require_minor = __commonJS({
|
|
379
|
-
"../../node_modules/.pnpm/semver@7.
|
|
421
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/minor.js"(exports, module) {
|
|
422
|
+
"use strict";
|
|
380
423
|
init_cjs_shims();
|
|
381
424
|
var SemVer = require_semver(), minor = (a, loose) => new SemVer(a, loose).minor;
|
|
382
425
|
module.exports = minor;
|
|
383
426
|
}
|
|
384
427
|
});
|
|
385
428
|
|
|
386
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
429
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/patch.js
|
|
387
430
|
var require_patch = __commonJS({
|
|
388
|
-
"../../node_modules/.pnpm/semver@7.
|
|
431
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/patch.js"(exports, module) {
|
|
432
|
+
"use strict";
|
|
389
433
|
init_cjs_shims();
|
|
390
434
|
var SemVer = require_semver(), patch = (a, loose) => new SemVer(a, loose).patch;
|
|
391
435
|
module.exports = patch;
|
|
392
436
|
}
|
|
393
437
|
});
|
|
394
438
|
|
|
395
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
439
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/prerelease.js
|
|
396
440
|
var require_prerelease = __commonJS({
|
|
397
|
-
"../../node_modules/.pnpm/semver@7.
|
|
441
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
442
|
+
"use strict";
|
|
398
443
|
init_cjs_shims();
|
|
399
444
|
var parse = require_parse(), prerelease = (version, options) => {
|
|
400
445
|
let parsed = parse(version, options);
|
|
@@ -404,36 +449,40 @@ var require_prerelease = __commonJS({
|
|
|
404
449
|
}
|
|
405
450
|
});
|
|
406
451
|
|
|
407
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
452
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/compare.js
|
|
408
453
|
var require_compare = __commonJS({
|
|
409
|
-
"../../node_modules/.pnpm/semver@7.
|
|
454
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/compare.js"(exports, module) {
|
|
455
|
+
"use strict";
|
|
410
456
|
init_cjs_shims();
|
|
411
457
|
var SemVer = require_semver(), compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
412
458
|
module.exports = compare;
|
|
413
459
|
}
|
|
414
460
|
});
|
|
415
461
|
|
|
416
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
462
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/rcompare.js
|
|
417
463
|
var require_rcompare = __commonJS({
|
|
418
|
-
"../../node_modules/.pnpm/semver@7.
|
|
464
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
465
|
+
"use strict";
|
|
419
466
|
init_cjs_shims();
|
|
420
467
|
var compare = require_compare(), rcompare = (a, b, loose) => compare(b, a, loose);
|
|
421
468
|
module.exports = rcompare;
|
|
422
469
|
}
|
|
423
470
|
});
|
|
424
471
|
|
|
425
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
472
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/compare-loose.js
|
|
426
473
|
var require_compare_loose = __commonJS({
|
|
427
|
-
"../../node_modules/.pnpm/semver@7.
|
|
474
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
475
|
+
"use strict";
|
|
428
476
|
init_cjs_shims();
|
|
429
477
|
var compare = require_compare(), compareLoose = (a, b) => compare(a, b, !0);
|
|
430
478
|
module.exports = compareLoose;
|
|
431
479
|
}
|
|
432
480
|
});
|
|
433
481
|
|
|
434
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
482
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/compare-build.js
|
|
435
483
|
var require_compare_build = __commonJS({
|
|
436
|
-
"../../node_modules/.pnpm/semver@7.
|
|
484
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
485
|
+
"use strict";
|
|
437
486
|
init_cjs_shims();
|
|
438
487
|
var SemVer = require_semver(), compareBuild = (a, b, loose) => {
|
|
439
488
|
let versionA = new SemVer(a, loose), versionB = new SemVer(b, loose);
|
|
@@ -443,81 +492,90 @@ var require_compare_build = __commonJS({
|
|
|
443
492
|
}
|
|
444
493
|
});
|
|
445
494
|
|
|
446
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
495
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/sort.js
|
|
447
496
|
var require_sort = __commonJS({
|
|
448
|
-
"../../node_modules/.pnpm/semver@7.
|
|
497
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/sort.js"(exports, module) {
|
|
498
|
+
"use strict";
|
|
449
499
|
init_cjs_shims();
|
|
450
500
|
var compareBuild = require_compare_build(), sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
451
501
|
module.exports = sort;
|
|
452
502
|
}
|
|
453
503
|
});
|
|
454
504
|
|
|
455
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
505
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/rsort.js
|
|
456
506
|
var require_rsort = __commonJS({
|
|
457
|
-
"../../node_modules/.pnpm/semver@7.
|
|
507
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
508
|
+
"use strict";
|
|
458
509
|
init_cjs_shims();
|
|
459
510
|
var compareBuild = require_compare_build(), rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
460
511
|
module.exports = rsort;
|
|
461
512
|
}
|
|
462
513
|
});
|
|
463
514
|
|
|
464
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
515
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/gt.js
|
|
465
516
|
var require_gt = __commonJS({
|
|
466
|
-
"../../node_modules/.pnpm/semver@7.
|
|
517
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/gt.js"(exports, module) {
|
|
518
|
+
"use strict";
|
|
467
519
|
init_cjs_shims();
|
|
468
520
|
var compare = require_compare(), gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
469
521
|
module.exports = gt;
|
|
470
522
|
}
|
|
471
523
|
});
|
|
472
524
|
|
|
473
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
525
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/lt.js
|
|
474
526
|
var require_lt = __commonJS({
|
|
475
|
-
"../../node_modules/.pnpm/semver@7.
|
|
527
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/lt.js"(exports, module) {
|
|
528
|
+
"use strict";
|
|
476
529
|
init_cjs_shims();
|
|
477
530
|
var compare = require_compare(), lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
478
531
|
module.exports = lt;
|
|
479
532
|
}
|
|
480
533
|
});
|
|
481
534
|
|
|
482
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
535
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/eq.js
|
|
483
536
|
var require_eq = __commonJS({
|
|
484
|
-
"../../node_modules/.pnpm/semver@7.
|
|
537
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/eq.js"(exports, module) {
|
|
538
|
+
"use strict";
|
|
485
539
|
init_cjs_shims();
|
|
486
540
|
var compare = require_compare(), eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
487
541
|
module.exports = eq;
|
|
488
542
|
}
|
|
489
543
|
});
|
|
490
544
|
|
|
491
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
545
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/neq.js
|
|
492
546
|
var require_neq = __commonJS({
|
|
493
|
-
"../../node_modules/.pnpm/semver@7.
|
|
547
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/neq.js"(exports, module) {
|
|
548
|
+
"use strict";
|
|
494
549
|
init_cjs_shims();
|
|
495
550
|
var compare = require_compare(), neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
496
551
|
module.exports = neq;
|
|
497
552
|
}
|
|
498
553
|
});
|
|
499
554
|
|
|
500
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
555
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/gte.js
|
|
501
556
|
var require_gte = __commonJS({
|
|
502
|
-
"../../node_modules/.pnpm/semver@7.
|
|
557
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/gte.js"(exports, module) {
|
|
558
|
+
"use strict";
|
|
503
559
|
init_cjs_shims();
|
|
504
560
|
var compare = require_compare(), gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
505
561
|
module.exports = gte;
|
|
506
562
|
}
|
|
507
563
|
});
|
|
508
564
|
|
|
509
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
565
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/lte.js
|
|
510
566
|
var require_lte = __commonJS({
|
|
511
|
-
"../../node_modules/.pnpm/semver@7.
|
|
567
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/lte.js"(exports, module) {
|
|
568
|
+
"use strict";
|
|
512
569
|
init_cjs_shims();
|
|
513
570
|
var compare = require_compare(), lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
514
571
|
module.exports = lte;
|
|
515
572
|
}
|
|
516
573
|
});
|
|
517
574
|
|
|
518
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
575
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/cmp.js
|
|
519
576
|
var require_cmp = __commonJS({
|
|
520
|
-
"../../node_modules/.pnpm/semver@7.
|
|
577
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
578
|
+
"use strict";
|
|
521
579
|
init_cjs_shims();
|
|
522
580
|
var eq = require_eq(), neq = require_neq(), gt = require_gt(), gte = require_gte(), lt = require_lt(), lte = require_lte(), cmp = (a, op, b, loose) => {
|
|
523
581
|
switch (op) {
|
|
@@ -547,9 +605,10 @@ var require_cmp = __commonJS({
|
|
|
547
605
|
}
|
|
548
606
|
});
|
|
549
607
|
|
|
550
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
608
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/coerce.js
|
|
551
609
|
var require_coerce = __commonJS({
|
|
552
|
-
"../../node_modules/.pnpm/semver@7.
|
|
610
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
611
|
+
"use strict";
|
|
553
612
|
init_cjs_shims();
|
|
554
613
|
var SemVer = require_semver(), parse = require_parse(), { safeRe: re, t } = require_re(), coerce = (version, options) => {
|
|
555
614
|
if (version instanceof SemVer)
|
|
@@ -575,9 +634,40 @@ var require_coerce = __commonJS({
|
|
|
575
634
|
}
|
|
576
635
|
});
|
|
577
636
|
|
|
578
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
637
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/truncate.js
|
|
638
|
+
var require_truncate = __commonJS({
|
|
639
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/truncate.js"(exports, module) {
|
|
640
|
+
"use strict";
|
|
641
|
+
init_cjs_shims();
|
|
642
|
+
var parse = require_parse(), constants = require_constants(), SemVer = require_semver(), truncate = (version, truncation, options) => {
|
|
643
|
+
if (!constants.RELEASE_TYPES.includes(truncation))
|
|
644
|
+
return null;
|
|
645
|
+
let clonedVersion = cloneInputVersion(version, options);
|
|
646
|
+
return clonedVersion && doTruncation(clonedVersion, truncation);
|
|
647
|
+
}, cloneInputVersion = (version, options) => {
|
|
648
|
+
let versionStringToParse = version instanceof SemVer ? version.version : version;
|
|
649
|
+
return parse(versionStringToParse, options);
|
|
650
|
+
}, doTruncation = (version, truncation) => {
|
|
651
|
+
if (isPrerelease(truncation))
|
|
652
|
+
return version.version;
|
|
653
|
+
switch (version.prerelease = [], truncation) {
|
|
654
|
+
case "major":
|
|
655
|
+
version.minor = 0, version.patch = 0;
|
|
656
|
+
break;
|
|
657
|
+
case "minor":
|
|
658
|
+
version.patch = 0;
|
|
659
|
+
break;
|
|
660
|
+
}
|
|
661
|
+
return version.format();
|
|
662
|
+
}, isPrerelease = (type) => type.startsWith("pre");
|
|
663
|
+
module.exports = truncate;
|
|
664
|
+
}
|
|
665
|
+
});
|
|
666
|
+
|
|
667
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/lrucache.js
|
|
579
668
|
var require_lrucache = __commonJS({
|
|
580
|
-
"../../node_modules/.pnpm/semver@7.
|
|
669
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
670
|
+
"use strict";
|
|
581
671
|
init_cjs_shims();
|
|
582
672
|
var LRUCache = class {
|
|
583
673
|
constructor() {
|
|
@@ -606,9 +696,10 @@ var require_lrucache = __commonJS({
|
|
|
606
696
|
}
|
|
607
697
|
});
|
|
608
698
|
|
|
609
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
699
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/classes/range.js
|
|
610
700
|
var require_range = __commonJS({
|
|
611
|
-
"../../node_modules/.pnpm/semver@7.
|
|
701
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/classes/range.js"(exports, module) {
|
|
702
|
+
"use strict";
|
|
612
703
|
init_cjs_shims();
|
|
613
704
|
var SPACE_CHARACTERS = /\s+/g, Range = class _Range {
|
|
614
705
|
constructor(range, options) {
|
|
@@ -651,6 +742,7 @@ var require_range = __commonJS({
|
|
|
651
742
|
return this.range;
|
|
652
743
|
}
|
|
653
744
|
parseRange(range) {
|
|
745
|
+
range = range.replace(BUILDSTRIPRE, "");
|
|
654
746
|
let memoKey = ((this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE)) + ":" + range, cached = cache.get(memoKey);
|
|
655
747
|
if (cached)
|
|
656
748
|
return cached;
|
|
@@ -692,16 +784,17 @@ var require_range = __commonJS({
|
|
|
692
784
|
module.exports = Range;
|
|
693
785
|
var LRU = require_lrucache(), cache = new LRU(), parseOptions = require_parse_options(), Comparator = require_comparator(), debug = require_debug(), SemVer = require_semver(), {
|
|
694
786
|
safeRe: re,
|
|
787
|
+
src,
|
|
695
788
|
t,
|
|
696
789
|
comparatorTrimReplace,
|
|
697
790
|
tildeTrimReplace,
|
|
698
791
|
caretTrimReplace
|
|
699
|
-
} = require_re(), { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants(), isNullSet = (c) => c.value === "<0.0.0-0", isAny = (c) => c.value === "", isSatisfiable = (comparators, options) => {
|
|
792
|
+
} = require_re(), { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants(), BUILDSTRIPRE = new RegExp(src[t.BUILD], "g"), isNullSet = (c) => c.value === "<0.0.0-0", isAny = (c) => c.value === "", isSatisfiable = (comparators, options) => {
|
|
700
793
|
let result = !0, remainingComparators = comparators.slice(), testComparator = remainingComparators.pop();
|
|
701
794
|
for (; result && remainingComparators.length; )
|
|
702
795
|
result = remainingComparators.every((otherComparator) => testComparator.intersects(otherComparator, options)), testComparator = remainingComparators.pop();
|
|
703
796
|
return result;
|
|
704
|
-
}, parseComparator = (comp, options) => (debug("comp", comp, options), comp = replaceCarets(comp, options), debug("caret", comp), comp = replaceTildes(comp, options), debug("tildes", comp), comp = replaceXRanges(comp, options), debug("xrange", comp), comp = replaceStars(comp, options), debug("stars", comp), comp), isX = (id) => !id || id.toLowerCase() === "x" || id === "*", replaceTildes = (comp, options) => comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" "), replaceTilde = (comp, options) => {
|
|
797
|
+
}, parseComparator = (comp, options) => (comp = comp.replace(re[t.BUILD], ""), debug("comp", comp, options), comp = replaceCarets(comp, options), debug("caret", comp), comp = replaceTildes(comp, options), debug("tildes", comp), comp = replaceXRanges(comp, options), debug("xrange", comp), comp = replaceStars(comp, options), debug("stars", comp), comp), isX = (id) => !id || id.toLowerCase() === "x" || id === "*", invalidXRangeOrder = (M, m, p) => isX(M) && !isX(m) || isX(m) && p && !isX(p), replaceTildes = (comp, options) => comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" "), replaceTilde = (comp, options) => {
|
|
705
798
|
let r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
706
799
|
return comp.replace(r, (_, M, m, p, pr) => {
|
|
707
800
|
debug("tilde", comp, _, M, m, p, pr);
|
|
@@ -714,13 +807,14 @@ var require_range = __commonJS({
|
|
|
714
807
|
return comp.replace(r, (_, M, m, p, pr) => {
|
|
715
808
|
debug("caret", comp, _, M, m, p, pr);
|
|
716
809
|
let ret;
|
|
717
|
-
return isX(M) ? ret = "" : isX(m) ? ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0` : isX(p) ? M === "0" ? ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0` : pr ? (debug("replaceCaret pr", pr), M === "0" ? m === "0" ? ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0` : ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`) : (debug("no pr"), M === "0" ? m === "0" ? ret = `>=${M}.${m}.${p}
|
|
810
|
+
return isX(M) ? ret = "" : isX(m) ? ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0` : isX(p) ? M === "0" ? ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0` : pr ? (debug("replaceCaret pr", pr), M === "0" ? m === "0" ? ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0` : ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`) : (debug("no pr"), M === "0" ? m === "0" ? ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0` : ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`), debug("caret return", ret), ret;
|
|
718
811
|
});
|
|
719
812
|
}, replaceXRanges = (comp, options) => (debug("replaceXRanges", comp, options), comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ")), replaceXRange = (comp, options) => {
|
|
720
813
|
comp = comp.trim();
|
|
721
814
|
let r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
722
815
|
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
723
|
-
debug("xRange", comp, ret, gtlt, M, m, p, pr)
|
|
816
|
+
if (debug("xRange", comp, ret, gtlt, M, m, p, pr), invalidXRangeOrder(M, m, p))
|
|
817
|
+
return comp;
|
|
724
818
|
let xM = isX(M), xm = xM || isX(m), xp = xm || isX(p), anyX = xp;
|
|
725
819
|
return gtlt === "=" && anyX && (gtlt = ""), pr = options.includePrerelease ? "-0" : "", xM ? gtlt === ">" || gtlt === "<" ? ret = "<0.0.0-0" : ret = "*" : gtlt && anyX ? (xm && (m = 0), p = 0, gtlt === ">" ? (gtlt = ">=", xm ? (M = +M + 1, m = 0, p = 0) : (m = +m + 1, p = 0)) : gtlt === "<=" && (gtlt = "<", xm ? M = +M + 1 : m = +m + 1), gtlt === "<" && (pr = "-0"), ret = `${gtlt + M}.${m}.${p}${pr}`) : xm ? ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0` : xp && (ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`), debug("xRange return", ret), ret;
|
|
726
820
|
});
|
|
@@ -742,9 +836,10 @@ var require_range = __commonJS({
|
|
|
742
836
|
}
|
|
743
837
|
});
|
|
744
838
|
|
|
745
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
839
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/classes/comparator.js
|
|
746
840
|
var require_comparator = __commonJS({
|
|
747
|
-
"../../node_modules/.pnpm/semver@7.
|
|
841
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
842
|
+
"use strict";
|
|
748
843
|
init_cjs_shims();
|
|
749
844
|
var ANY = /* @__PURE__ */ Symbol("SemVer ANY"), Comparator = class _Comparator {
|
|
750
845
|
static get ANY() {
|
|
@@ -789,9 +884,10 @@ var require_comparator = __commonJS({
|
|
|
789
884
|
}
|
|
790
885
|
});
|
|
791
886
|
|
|
792
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
887
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/satisfies.js
|
|
793
888
|
var require_satisfies = __commonJS({
|
|
794
|
-
"../../node_modules/.pnpm/semver@7.
|
|
889
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
890
|
+
"use strict";
|
|
795
891
|
init_cjs_shims();
|
|
796
892
|
var Range = require_range(), satisfies = (version, range, options) => {
|
|
797
893
|
try {
|
|
@@ -805,18 +901,20 @@ var require_satisfies = __commonJS({
|
|
|
805
901
|
}
|
|
806
902
|
});
|
|
807
903
|
|
|
808
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
904
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/to-comparators.js
|
|
809
905
|
var require_to_comparators = __commonJS({
|
|
810
|
-
"../../node_modules/.pnpm/semver@7.
|
|
906
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
907
|
+
"use strict";
|
|
811
908
|
init_cjs_shims();
|
|
812
909
|
var Range = require_range(), toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
813
910
|
module.exports = toComparators;
|
|
814
911
|
}
|
|
815
912
|
});
|
|
816
913
|
|
|
817
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
914
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/max-satisfying.js
|
|
818
915
|
var require_max_satisfying = __commonJS({
|
|
819
|
-
"../../node_modules/.pnpm/semver@7.
|
|
916
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
917
|
+
"use strict";
|
|
820
918
|
init_cjs_shims();
|
|
821
919
|
var SemVer = require_semver(), Range = require_range(), maxSatisfying = (versions, range, options) => {
|
|
822
920
|
let max = null, maxSV = null, rangeObj = null;
|
|
@@ -833,9 +931,10 @@ var require_max_satisfying = __commonJS({
|
|
|
833
931
|
}
|
|
834
932
|
});
|
|
835
933
|
|
|
836
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
934
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/min-satisfying.js
|
|
837
935
|
var require_min_satisfying = __commonJS({
|
|
838
|
-
"../../node_modules/.pnpm/semver@7.
|
|
936
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
937
|
+
"use strict";
|
|
839
938
|
init_cjs_shims();
|
|
840
939
|
var SemVer = require_semver(), Range = require_range(), minSatisfying = (versions, range, options) => {
|
|
841
940
|
let min = null, minSV = null, rangeObj = null;
|
|
@@ -852,9 +951,10 @@ var require_min_satisfying = __commonJS({
|
|
|
852
951
|
}
|
|
853
952
|
});
|
|
854
953
|
|
|
855
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
954
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/min-version.js
|
|
856
955
|
var require_min_version = __commonJS({
|
|
857
|
-
"../../node_modules/.pnpm/semver@7.
|
|
956
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
957
|
+
"use strict";
|
|
858
958
|
init_cjs_shims();
|
|
859
959
|
var SemVer = require_semver(), Range = require_range(), gt = require_gt(), minVersion = (range, loose) => {
|
|
860
960
|
range = new Range(range, loose);
|
|
@@ -889,9 +989,10 @@ var require_min_version = __commonJS({
|
|
|
889
989
|
}
|
|
890
990
|
});
|
|
891
991
|
|
|
892
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
992
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/valid.js
|
|
893
993
|
var require_valid2 = __commonJS({
|
|
894
|
-
"../../node_modules/.pnpm/semver@7.
|
|
994
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
995
|
+
"use strict";
|
|
895
996
|
init_cjs_shims();
|
|
896
997
|
var Range = require_range(), validRange = (range, options) => {
|
|
897
998
|
try {
|
|
@@ -904,9 +1005,10 @@ var require_valid2 = __commonJS({
|
|
|
904
1005
|
}
|
|
905
1006
|
});
|
|
906
1007
|
|
|
907
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
1008
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/outside.js
|
|
908
1009
|
var require_outside = __commonJS({
|
|
909
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1010
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
1011
|
+
"use strict";
|
|
910
1012
|
init_cjs_shims();
|
|
911
1013
|
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) => {
|
|
912
1014
|
version = new SemVer(version, options), range = new Range(range, options);
|
|
@@ -938,36 +1040,40 @@ var require_outside = __commonJS({
|
|
|
938
1040
|
}
|
|
939
1041
|
});
|
|
940
1042
|
|
|
941
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
1043
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/gtr.js
|
|
942
1044
|
var require_gtr = __commonJS({
|
|
943
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1045
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
1046
|
+
"use strict";
|
|
944
1047
|
init_cjs_shims();
|
|
945
1048
|
var outside = require_outside(), gtr = (version, range, options) => outside(version, range, ">", options);
|
|
946
1049
|
module.exports = gtr;
|
|
947
1050
|
}
|
|
948
1051
|
});
|
|
949
1052
|
|
|
950
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
1053
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/ltr.js
|
|
951
1054
|
var require_ltr = __commonJS({
|
|
952
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1055
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
1056
|
+
"use strict";
|
|
953
1057
|
init_cjs_shims();
|
|
954
1058
|
var outside = require_outside(), ltr = (version, range, options) => outside(version, range, "<", options);
|
|
955
1059
|
module.exports = ltr;
|
|
956
1060
|
}
|
|
957
1061
|
});
|
|
958
1062
|
|
|
959
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
1063
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/intersects.js
|
|
960
1064
|
var require_intersects = __commonJS({
|
|
961
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1065
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
1066
|
+
"use strict";
|
|
962
1067
|
init_cjs_shims();
|
|
963
1068
|
var Range = require_range(), intersects = (r1, r2, options) => (r1 = new Range(r1, options), r2 = new Range(r2, options), r1.intersects(r2, options));
|
|
964
1069
|
module.exports = intersects;
|
|
965
1070
|
}
|
|
966
1071
|
});
|
|
967
1072
|
|
|
968
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
1073
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/simplify.js
|
|
969
1074
|
var require_simplify = __commonJS({
|
|
970
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1075
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
1076
|
+
"use strict";
|
|
971
1077
|
init_cjs_shims();
|
|
972
1078
|
var satisfies = require_satisfies(), compare = require_compare();
|
|
973
1079
|
module.exports = (versions, range, options) => {
|
|
@@ -984,9 +1090,10 @@ var require_simplify = __commonJS({
|
|
|
984
1090
|
}
|
|
985
1091
|
});
|
|
986
1092
|
|
|
987
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
1093
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/subset.js
|
|
988
1094
|
var require_subset = __commonJS({
|
|
989
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1095
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
1096
|
+
"use strict";
|
|
990
1097
|
init_cjs_shims();
|
|
991
1098
|
var Range = require_range(), Comparator = require_comparator(), { ANY } = Comparator, satisfies = require_satisfies(), compare = require_compare(), subset = (sub, dom, options = {}) => {
|
|
992
1099
|
if (sub === dom)
|
|
@@ -1043,14 +1150,14 @@ var require_subset = __commonJS({
|
|
|
1043
1150
|
if (needDomGTPre && c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch && (needDomGTPre = !1), c.operator === ">" || c.operator === ">=") {
|
|
1044
1151
|
if (higher = higherGT(gt, c, options), higher === c && higher !== gt)
|
|
1045
1152
|
return !1;
|
|
1046
|
-
} else if (gt.operator === ">=" && !
|
|
1153
|
+
} else if (gt.operator === ">=" && !c.test(gt.semver))
|
|
1047
1154
|
return !1;
|
|
1048
1155
|
}
|
|
1049
1156
|
if (lt) {
|
|
1050
1157
|
if (needDomLTPre && c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch && (needDomLTPre = !1), c.operator === "<" || c.operator === "<=") {
|
|
1051
1158
|
if (lower = lowerLT(lt, c, options), lower === c && lower !== lt)
|
|
1052
1159
|
return !1;
|
|
1053
|
-
} else if (lt.operator === "<=" && !
|
|
1160
|
+
} else if (lt.operator === "<=" && !c.test(lt.semver))
|
|
1054
1161
|
return !1;
|
|
1055
1162
|
}
|
|
1056
1163
|
if (!c.operator && (lt || gt) && gtltComp !== 0)
|
|
@@ -1072,11 +1179,12 @@ var require_subset = __commonJS({
|
|
|
1072
1179
|
}
|
|
1073
1180
|
});
|
|
1074
1181
|
|
|
1075
|
-
// ../../node_modules/.pnpm/semver@7.
|
|
1182
|
+
// ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/index.js
|
|
1076
1183
|
var require_semver2 = __commonJS({
|
|
1077
|
-
"../../node_modules/.pnpm/semver@7.
|
|
1184
|
+
"../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/index.js"(exports, module) {
|
|
1185
|
+
"use strict";
|
|
1078
1186
|
init_cjs_shims();
|
|
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();
|
|
1187
|
+
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(), truncate = require_truncate(), 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();
|
|
1080
1188
|
module.exports = {
|
|
1081
1189
|
parse,
|
|
1082
1190
|
valid,
|
|
@@ -1101,6 +1209,7 @@ var require_semver2 = __commonJS({
|
|
|
1101
1209
|
lte,
|
|
1102
1210
|
cmp,
|
|
1103
1211
|
coerce,
|
|
1212
|
+
truncate,
|
|
1104
1213
|
Comparator,
|
|
1105
1214
|
Range,
|
|
1106
1215
|
satisfies,
|
|
@@ -1130,4 +1239,4 @@ var require_semver2 = __commonJS({
|
|
|
1130
1239
|
export {
|
|
1131
1240
|
require_semver2 as require_semver
|
|
1132
1241
|
};
|
|
1133
|
-
//# sourceMappingURL=chunk-
|
|
1242
|
+
//# sourceMappingURL=chunk-7FVFOTP5.js.map
|