hot-updater 0.16.4 → 0.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +124 -465
- package/dist/index.js +124 -465
- package/dist/plugins/babel.cjs +61 -52
- package/dist/plugins/babel.js +61 -52
- package/package.json +10 -6
package/dist/index.js
CHANGED
|
@@ -7,7 +7,6 @@ import * as __WEBPACK_EXTERNAL_MODULE_child_process__ from "child_process";
|
|
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE_fs__ from "fs";
|
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_node_module_ab9f2194__ from "node:module";
|
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_path__ from "path";
|
|
10
|
-
import * as __WEBPACK_EXTERNAL_MODULE_tty__ from "tty";
|
|
11
10
|
import * as __WEBPACK_EXTERNAL_MODULE_url__ from "url";
|
|
12
11
|
import * as __WEBPACK_EXTERNAL_MODULE_util__ from "util";
|
|
13
12
|
import * as __WEBPACK_EXTERNAL_MODULE_http__ from "http";
|
|
@@ -5176,51 +5175,6 @@ var __webpack_modules__ = {
|
|
|
5176
5175
|
module.exports = pathKey;
|
|
5177
5176
|
module.exports["default"] = pathKey;
|
|
5178
5177
|
},
|
|
5179
|
-
"../../node_modules/.pnpm/picocolors@1.0.0/node_modules/picocolors/picocolors.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5180
|
-
let tty = __webpack_require__("tty");
|
|
5181
|
-
let isColorSupported = !("NO_COLOR" in process.env || process.argv.includes("--no-color")) && ("FORCE_COLOR" in process.env || process.argv.includes("--color") || "win32" === process.platform || tty.isatty(1) && "dumb" !== process.env.TERM || "CI" in process.env);
|
|
5182
|
-
let formatter = (open, close, replace = open)=>(input)=>{
|
|
5183
|
-
let string = "" + input;
|
|
5184
|
-
let index = string.indexOf(close, open.length);
|
|
5185
|
-
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
|
|
5186
|
-
};
|
|
5187
|
-
let replaceClose = (string, close, replace, index)=>{
|
|
5188
|
-
let start = string.substring(0, index) + replace;
|
|
5189
|
-
let end = string.substring(index + close.length);
|
|
5190
|
-
let nextIndex = end.indexOf(close);
|
|
5191
|
-
return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end;
|
|
5192
|
-
};
|
|
5193
|
-
let createColors = (enabled = isColorSupported)=>({
|
|
5194
|
-
isColorSupported: enabled,
|
|
5195
|
-
reset: enabled ? (s)=>`\x1b[0m${s}\x1b[0m` : String,
|
|
5196
|
-
bold: enabled ? formatter("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m") : String,
|
|
5197
|
-
dim: enabled ? formatter("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m") : String,
|
|
5198
|
-
italic: enabled ? formatter("\x1b[3m", "\x1b[23m") : String,
|
|
5199
|
-
underline: enabled ? formatter("\x1b[4m", "\x1b[24m") : String,
|
|
5200
|
-
inverse: enabled ? formatter("\x1b[7m", "\x1b[27m") : String,
|
|
5201
|
-
hidden: enabled ? formatter("\x1b[8m", "\x1b[28m") : String,
|
|
5202
|
-
strikethrough: enabled ? formatter("\x1b[9m", "\x1b[29m") : String,
|
|
5203
|
-
black: enabled ? formatter("\x1b[30m", "\x1b[39m") : String,
|
|
5204
|
-
red: enabled ? formatter("\x1b[31m", "\x1b[39m") : String,
|
|
5205
|
-
green: enabled ? formatter("\x1b[32m", "\x1b[39m") : String,
|
|
5206
|
-
yellow: enabled ? formatter("\x1b[33m", "\x1b[39m") : String,
|
|
5207
|
-
blue: enabled ? formatter("\x1b[34m", "\x1b[39m") : String,
|
|
5208
|
-
magenta: enabled ? formatter("\x1b[35m", "\x1b[39m") : String,
|
|
5209
|
-
cyan: enabled ? formatter("\x1b[36m", "\x1b[39m") : String,
|
|
5210
|
-
white: enabled ? formatter("\x1b[37m", "\x1b[39m") : String,
|
|
5211
|
-
gray: enabled ? formatter("\x1b[90m", "\x1b[39m") : String,
|
|
5212
|
-
bgBlack: enabled ? formatter("\x1b[40m", "\x1b[49m") : String,
|
|
5213
|
-
bgRed: enabled ? formatter("\x1b[41m", "\x1b[49m") : String,
|
|
5214
|
-
bgGreen: enabled ? formatter("\x1b[42m", "\x1b[49m") : String,
|
|
5215
|
-
bgYellow: enabled ? formatter("\x1b[43m", "\x1b[49m") : String,
|
|
5216
|
-
bgBlue: enabled ? formatter("\x1b[44m", "\x1b[49m") : String,
|
|
5217
|
-
bgMagenta: enabled ? formatter("\x1b[45m", "\x1b[49m") : String,
|
|
5218
|
-
bgCyan: enabled ? formatter("\x1b[46m", "\x1b[49m") : String,
|
|
5219
|
-
bgWhite: enabled ? formatter("\x1b[47m", "\x1b[49m") : String
|
|
5220
|
-
});
|
|
5221
|
-
module.exports = createColors();
|
|
5222
|
-
module.exports.createColors = createColors;
|
|
5223
|
-
},
|
|
5224
5178
|
"../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": function(module) {
|
|
5225
5179
|
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
5226
5180
|
let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || "win32" === p.platform || (p.stdout || {}).isTTY && "dumb" !== env.TERM || !!env.CI);
|
|
@@ -5450,7 +5404,7 @@ var __webpack_modules__ = {
|
|
|
5450
5404
|
else throw new Error('Invalid PLIST tag ' + node.nodeName);
|
|
5451
5405
|
}
|
|
5452
5406
|
},
|
|
5453
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5407
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5454
5408
|
const ANY = Symbol('SemVer ANY');
|
|
5455
5409
|
class Comparator {
|
|
5456
5410
|
static get ANY() {
|
|
@@ -5513,14 +5467,14 @@ var __webpack_modules__ = {
|
|
|
5513
5467
|
}
|
|
5514
5468
|
}
|
|
5515
5469
|
module.exports = Comparator;
|
|
5516
|
-
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5517
|
-
const { safeRe: re, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5518
|
-
const cmp = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5519
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5520
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5521
|
-
const Range = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5470
|
+
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
5471
|
+
const { safeRe: re, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
5472
|
+
const cmp = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js");
|
|
5473
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
5474
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
5475
|
+
const Range = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js");
|
|
5522
5476
|
},
|
|
5523
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5477
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5524
5478
|
const SPACE_CHARACTERS = /\s+/g;
|
|
5525
5479
|
class Range {
|
|
5526
5480
|
constructor(range, options){
|
|
@@ -5632,14 +5586,14 @@ var __webpack_modules__ = {
|
|
|
5632
5586
|
}
|
|
5633
5587
|
}
|
|
5634
5588
|
module.exports = Range;
|
|
5635
|
-
const LRU = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5589
|
+
const LRU = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js");
|
|
5636
5590
|
const cache = new LRU();
|
|
5637
|
-
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5638
|
-
const Comparator = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5639
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5640
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5641
|
-
const { safeRe: re, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5642
|
-
const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5591
|
+
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
5592
|
+
const Comparator = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js");
|
|
5593
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
5594
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
5595
|
+
const { safeRe: re, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
5596
|
+
const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
5643
5597
|
const isNullSet = (c)=>'<0.0.0-0' === c.value;
|
|
5644
5598
|
const isAny = (c)=>'' === c.value;
|
|
5645
5599
|
const isSatisfiable = (comparators, options)=>{
|
|
@@ -5776,12 +5730,12 @@ var __webpack_modules__ = {
|
|
|
5776
5730
|
return true;
|
|
5777
5731
|
};
|
|
5778
5732
|
},
|
|
5779
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5780
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5781
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5782
|
-
const { safeRe: re, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5783
|
-
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5784
|
-
const { compareIdentifiers } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5733
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5734
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
5735
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
5736
|
+
const { safeRe: re, safeSrc: src, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
5737
|
+
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
5738
|
+
const { compareIdentifiers } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js");
|
|
5785
5739
|
class SemVer {
|
|
5786
5740
|
constructor(version, options){
|
|
5787
5741
|
options = parseOptions(options);
|
|
@@ -5866,6 +5820,14 @@ var __webpack_modules__ = {
|
|
|
5866
5820
|
}while (++i);
|
|
5867
5821
|
}
|
|
5868
5822
|
inc(release, identifier, identifierBase) {
|
|
5823
|
+
if (release.startsWith('pre')) {
|
|
5824
|
+
if (!identifier && false === identifierBase) throw new Error('invalid increment argument: identifier is empty');
|
|
5825
|
+
if (identifier) {
|
|
5826
|
+
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
|
|
5827
|
+
const match = `-${identifier}`.match(r);
|
|
5828
|
+
if (!match || match[1] !== identifier) throw new Error(`invalid identifier: ${identifier}`);
|
|
5829
|
+
}
|
|
5830
|
+
}
|
|
5869
5831
|
switch(release){
|
|
5870
5832
|
case 'premajor':
|
|
5871
5833
|
this.prerelease.length = 0;
|
|
@@ -5889,6 +5851,10 @@ var __webpack_modules__ = {
|
|
|
5889
5851
|
if (0 === this.prerelease.length) this.inc('patch', identifier, identifierBase);
|
|
5890
5852
|
this.inc('pre', identifier, identifierBase);
|
|
5891
5853
|
break;
|
|
5854
|
+
case 'release':
|
|
5855
|
+
if (0 === this.prerelease.length) throw new Error(`version ${this.raw} is not a prerelease`);
|
|
5856
|
+
this.prerelease.length = 0;
|
|
5857
|
+
break;
|
|
5892
5858
|
case 'major':
|
|
5893
5859
|
if (0 !== this.minor || 0 !== this.patch || 0 === this.prerelease.length) this.major++;
|
|
5894
5860
|
this.minor = 0;
|
|
@@ -5907,7 +5873,6 @@ var __webpack_modules__ = {
|
|
|
5907
5873
|
case 'pre':
|
|
5908
5874
|
{
|
|
5909
5875
|
const base = Number(identifierBase) ? 1 : 0;
|
|
5910
|
-
if (!identifier && false === identifierBase) throw new Error('invalid increment argument: identifier is empty');
|
|
5911
5876
|
if (0 === this.prerelease.length) this.prerelease = [
|
|
5912
5877
|
base
|
|
5913
5878
|
];
|
|
@@ -5946,13 +5911,21 @@ var __webpack_modules__ = {
|
|
|
5946
5911
|
}
|
|
5947
5912
|
module.exports = SemVer;
|
|
5948
5913
|
},
|
|
5949
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5950
|
-
const
|
|
5951
|
-
const
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5914
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5915
|
+
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
5916
|
+
const clean = (version, options)=>{
|
|
5917
|
+
const s = parse(version.trim().replace(/^[=v]+/, ''), options);
|
|
5918
|
+
return s ? s.version : null;
|
|
5919
|
+
};
|
|
5920
|
+
module.exports = clean;
|
|
5921
|
+
},
|
|
5922
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5923
|
+
const eq = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js");
|
|
5924
|
+
const neq = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js");
|
|
5925
|
+
const gt = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js");
|
|
5926
|
+
const gte = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js");
|
|
5927
|
+
const lt = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js");
|
|
5928
|
+
const lte = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js");
|
|
5956
5929
|
const cmp = (a, op, b, loose)=>{
|
|
5957
5930
|
switch(op){
|
|
5958
5931
|
case '===':
|
|
@@ -5983,42 +5956,63 @@ var __webpack_modules__ = {
|
|
|
5983
5956
|
};
|
|
5984
5957
|
module.exports = cmp;
|
|
5985
5958
|
},
|
|
5986
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5987
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5959
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5960
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
5988
5961
|
const compare = (a, b, loose)=>new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
5989
5962
|
module.exports = compare;
|
|
5990
5963
|
},
|
|
5991
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5992
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5964
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5965
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
5993
5966
|
const eq = (a, b, loose)=>0 === compare(a, b, loose);
|
|
5994
5967
|
module.exports = eq;
|
|
5995
5968
|
},
|
|
5996
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5997
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5969
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5970
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
5998
5971
|
const gt = (a, b, loose)=>compare(a, b, loose) > 0;
|
|
5999
5972
|
module.exports = gt;
|
|
6000
5973
|
},
|
|
6001
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6002
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5974
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5975
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
6003
5976
|
const gte = (a, b, loose)=>compare(a, b, loose) >= 0;
|
|
6004
5977
|
module.exports = gte;
|
|
6005
5978
|
},
|
|
6006
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6007
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5979
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5980
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
6008
5981
|
const lt = (a, b, loose)=>compare(a, b, loose) < 0;
|
|
6009
5982
|
module.exports = lt;
|
|
6010
5983
|
},
|
|
6011
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6012
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5984
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5985
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
6013
5986
|
const lte = (a, b, loose)=>compare(a, b, loose) <= 0;
|
|
6014
5987
|
module.exports = lte;
|
|
6015
5988
|
},
|
|
6016
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6017
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5989
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5990
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
6018
5991
|
const neq = (a, b, loose)=>0 !== compare(a, b, loose);
|
|
6019
5992
|
module.exports = neq;
|
|
6020
5993
|
},
|
|
6021
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5994
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5995
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
5996
|
+
const parse = (version, options, throwErrors = false)=>{
|
|
5997
|
+
if (version instanceof SemVer) return version;
|
|
5998
|
+
try {
|
|
5999
|
+
return new SemVer(version, options);
|
|
6000
|
+
} catch (er) {
|
|
6001
|
+
if (!throwErrors) return null;
|
|
6002
|
+
throw er;
|
|
6003
|
+
}
|
|
6004
|
+
};
|
|
6005
|
+
module.exports = parse;
|
|
6006
|
+
},
|
|
6007
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6008
|
+
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
6009
|
+
const valid = (version, options)=>{
|
|
6010
|
+
const v = parse(version, options);
|
|
6011
|
+
return v ? v.version : null;
|
|
6012
|
+
};
|
|
6013
|
+
module.exports = valid;
|
|
6014
|
+
},
|
|
6015
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js": function(module) {
|
|
6022
6016
|
const SEMVER_SPEC_VERSION = '2.0.0';
|
|
6023
6017
|
const MAX_LENGTH = 256;
|
|
6024
6018
|
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -6044,11 +6038,11 @@ var __webpack_modules__ = {
|
|
|
6044
6038
|
FLAG_LOOSE: 2
|
|
6045
6039
|
};
|
|
6046
6040
|
},
|
|
6047
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6041
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js": function(module) {
|
|
6048
6042
|
const debug = 'object' == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error('SEMVER', ...args) : ()=>{};
|
|
6049
6043
|
module.exports = debug;
|
|
6050
6044
|
},
|
|
6051
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6045
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js": function(module) {
|
|
6052
6046
|
const numeric = /^[0-9]+$/;
|
|
6053
6047
|
const compareIdentifiers = (a, b)=>{
|
|
6054
6048
|
const anum = numeric.test(a);
|
|
@@ -6065,7 +6059,7 @@ var __webpack_modules__ = {
|
|
|
6065
6059
|
rcompareIdentifiers
|
|
6066
6060
|
};
|
|
6067
6061
|
},
|
|
6068
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6062
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js": function(module) {
|
|
6069
6063
|
class LRUCache {
|
|
6070
6064
|
constructor(){
|
|
6071
6065
|
this.max = 1000;
|
|
@@ -6095,7 +6089,7 @@ var __webpack_modules__ = {
|
|
|
6095
6089
|
}
|
|
6096
6090
|
module.exports = LRUCache;
|
|
6097
6091
|
},
|
|
6098
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6092
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js": function(module) {
|
|
6099
6093
|
const looseOption = Object.freeze({
|
|
6100
6094
|
loose: true
|
|
6101
6095
|
});
|
|
@@ -6107,13 +6101,14 @@ var __webpack_modules__ = {
|
|
|
6107
6101
|
};
|
|
6108
6102
|
module.exports = parseOptions;
|
|
6109
6103
|
},
|
|
6110
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6111
|
-
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
6112
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
6104
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js": function(module, exports, __webpack_require__) {
|
|
6105
|
+
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
6106
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
6113
6107
|
exports = module.exports = {};
|
|
6114
6108
|
const re = exports.re = [];
|
|
6115
6109
|
const safeRe = exports.safeRe = [];
|
|
6116
6110
|
const src = exports.src = [];
|
|
6111
|
+
const safeSrc = exports.safeSrc = [];
|
|
6117
6112
|
const t = exports.t = {};
|
|
6118
6113
|
let R = 0;
|
|
6119
6114
|
const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
|
|
@@ -6141,6 +6136,7 @@ var __webpack_modules__ = {
|
|
|
6141
6136
|
debug(name, index, value);
|
|
6142
6137
|
t[name] = index;
|
|
6143
6138
|
src[index] = value;
|
|
6139
|
+
safeSrc[index] = safe;
|
|
6144
6140
|
re[index] = new RegExp(value, isGlobal ? 'g' : void 0);
|
|
6145
6141
|
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : void 0);
|
|
6146
6142
|
};
|
|
@@ -6191,8 +6187,8 @@ var __webpack_modules__ = {
|
|
|
6191
6187
|
createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
|
|
6192
6188
|
createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
|
|
6193
6189
|
},
|
|
6194
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6195
|
-
const Range = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
6190
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6191
|
+
const Range = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js");
|
|
6196
6192
|
const validRange = (range, options)=>{
|
|
6197
6193
|
try {
|
|
6198
6194
|
return new Range(range, options).range || '*';
|
|
@@ -6202,361 +6198,6 @@ var __webpack_modules__ = {
|
|
|
6202
6198
|
};
|
|
6203
6199
|
module.exports = validRange;
|
|
6204
6200
|
},
|
|
6205
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6206
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
6207
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
6208
|
-
const { safeRe: re, safeSrc: src, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
6209
|
-
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
6210
|
-
const { compareIdentifiers } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js");
|
|
6211
|
-
class SemVer {
|
|
6212
|
-
constructor(version, options){
|
|
6213
|
-
options = parseOptions(options);
|
|
6214
|
-
if (version instanceof SemVer) if (!!options.loose === version.loose && !!options.includePrerelease === version.includePrerelease) return version;
|
|
6215
|
-
else version = version.version;
|
|
6216
|
-
else if ('string' != typeof version) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
6217
|
-
if (version.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
6218
|
-
debug('SemVer', version, options);
|
|
6219
|
-
this.options = options;
|
|
6220
|
-
this.loose = !!options.loose;
|
|
6221
|
-
this.includePrerelease = !!options.includePrerelease;
|
|
6222
|
-
const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
6223
|
-
if (!m) throw new TypeError(`Invalid Version: ${version}`);
|
|
6224
|
-
this.raw = version;
|
|
6225
|
-
this.major = +m[1];
|
|
6226
|
-
this.minor = +m[2];
|
|
6227
|
-
this.patch = +m[3];
|
|
6228
|
-
if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError('Invalid major version');
|
|
6229
|
-
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError('Invalid minor version');
|
|
6230
|
-
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError('Invalid patch version');
|
|
6231
|
-
if (m[4]) this.prerelease = m[4].split('.').map((id)=>{
|
|
6232
|
-
if (/^[0-9]+$/.test(id)) {
|
|
6233
|
-
const num = +id;
|
|
6234
|
-
if (num >= 0 && num < MAX_SAFE_INTEGER) return num;
|
|
6235
|
-
}
|
|
6236
|
-
return id;
|
|
6237
|
-
});
|
|
6238
|
-
else this.prerelease = [];
|
|
6239
|
-
this.build = m[5] ? m[5].split('.') : [];
|
|
6240
|
-
this.format();
|
|
6241
|
-
}
|
|
6242
|
-
format() {
|
|
6243
|
-
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
6244
|
-
if (this.prerelease.length) this.version += `-${this.prerelease.join('.')}`;
|
|
6245
|
-
return this.version;
|
|
6246
|
-
}
|
|
6247
|
-
toString() {
|
|
6248
|
-
return this.version;
|
|
6249
|
-
}
|
|
6250
|
-
compare(other) {
|
|
6251
|
-
debug('SemVer.compare', this.version, this.options, other);
|
|
6252
|
-
if (!(other instanceof SemVer)) {
|
|
6253
|
-
if ('string' == typeof other && other === this.version) return 0;
|
|
6254
|
-
other = new SemVer(other, this.options);
|
|
6255
|
-
}
|
|
6256
|
-
if (other.version === this.version) return 0;
|
|
6257
|
-
return this.compareMain(other) || this.comparePre(other);
|
|
6258
|
-
}
|
|
6259
|
-
compareMain(other) {
|
|
6260
|
-
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6261
|
-
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
6262
|
-
}
|
|
6263
|
-
comparePre(other) {
|
|
6264
|
-
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6265
|
-
if (this.prerelease.length && !other.prerelease.length) return -1;
|
|
6266
|
-
if (!this.prerelease.length && other.prerelease.length) return 1;
|
|
6267
|
-
if (!this.prerelease.length && !other.prerelease.length) return 0;
|
|
6268
|
-
let i = 0;
|
|
6269
|
-
do {
|
|
6270
|
-
const a = this.prerelease[i];
|
|
6271
|
-
const b = other.prerelease[i];
|
|
6272
|
-
debug('prerelease compare', i, a, b);
|
|
6273
|
-
if (void 0 === a && void 0 === b) return 0;
|
|
6274
|
-
if (void 0 === b) return 1;
|
|
6275
|
-
if (void 0 === a) return -1;
|
|
6276
|
-
else if (a === b) continue;
|
|
6277
|
-
else return compareIdentifiers(a, b);
|
|
6278
|
-
}while (++i);
|
|
6279
|
-
}
|
|
6280
|
-
compareBuild(other) {
|
|
6281
|
-
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6282
|
-
let i = 0;
|
|
6283
|
-
do {
|
|
6284
|
-
const a = this.build[i];
|
|
6285
|
-
const b = other.build[i];
|
|
6286
|
-
debug('build compare', i, a, b);
|
|
6287
|
-
if (void 0 === a && void 0 === b) return 0;
|
|
6288
|
-
if (void 0 === b) return 1;
|
|
6289
|
-
if (void 0 === a) return -1;
|
|
6290
|
-
else if (a === b) continue;
|
|
6291
|
-
else return compareIdentifiers(a, b);
|
|
6292
|
-
}while (++i);
|
|
6293
|
-
}
|
|
6294
|
-
inc(release, identifier, identifierBase) {
|
|
6295
|
-
if (release.startsWith('pre')) {
|
|
6296
|
-
if (!identifier && false === identifierBase) throw new Error('invalid increment argument: identifier is empty');
|
|
6297
|
-
if (identifier) {
|
|
6298
|
-
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
|
|
6299
|
-
const match = `-${identifier}`.match(r);
|
|
6300
|
-
if (!match || match[1] !== identifier) throw new Error(`invalid identifier: ${identifier}`);
|
|
6301
|
-
}
|
|
6302
|
-
}
|
|
6303
|
-
switch(release){
|
|
6304
|
-
case 'premajor':
|
|
6305
|
-
this.prerelease.length = 0;
|
|
6306
|
-
this.patch = 0;
|
|
6307
|
-
this.minor = 0;
|
|
6308
|
-
this.major++;
|
|
6309
|
-
this.inc('pre', identifier, identifierBase);
|
|
6310
|
-
break;
|
|
6311
|
-
case 'preminor':
|
|
6312
|
-
this.prerelease.length = 0;
|
|
6313
|
-
this.patch = 0;
|
|
6314
|
-
this.minor++;
|
|
6315
|
-
this.inc('pre', identifier, identifierBase);
|
|
6316
|
-
break;
|
|
6317
|
-
case 'prepatch':
|
|
6318
|
-
this.prerelease.length = 0;
|
|
6319
|
-
this.inc('patch', identifier, identifierBase);
|
|
6320
|
-
this.inc('pre', identifier, identifierBase);
|
|
6321
|
-
break;
|
|
6322
|
-
case 'prerelease':
|
|
6323
|
-
if (0 === this.prerelease.length) this.inc('patch', identifier, identifierBase);
|
|
6324
|
-
this.inc('pre', identifier, identifierBase);
|
|
6325
|
-
break;
|
|
6326
|
-
case 'release':
|
|
6327
|
-
if (0 === this.prerelease.length) throw new Error(`version ${this.raw} is not a prerelease`);
|
|
6328
|
-
this.prerelease.length = 0;
|
|
6329
|
-
break;
|
|
6330
|
-
case 'major':
|
|
6331
|
-
if (0 !== this.minor || 0 !== this.patch || 0 === this.prerelease.length) this.major++;
|
|
6332
|
-
this.minor = 0;
|
|
6333
|
-
this.patch = 0;
|
|
6334
|
-
this.prerelease = [];
|
|
6335
|
-
break;
|
|
6336
|
-
case 'minor':
|
|
6337
|
-
if (0 !== this.patch || 0 === this.prerelease.length) this.minor++;
|
|
6338
|
-
this.patch = 0;
|
|
6339
|
-
this.prerelease = [];
|
|
6340
|
-
break;
|
|
6341
|
-
case 'patch':
|
|
6342
|
-
if (0 === this.prerelease.length) this.patch++;
|
|
6343
|
-
this.prerelease = [];
|
|
6344
|
-
break;
|
|
6345
|
-
case 'pre':
|
|
6346
|
-
{
|
|
6347
|
-
const base = Number(identifierBase) ? 1 : 0;
|
|
6348
|
-
if (0 === this.prerelease.length) this.prerelease = [
|
|
6349
|
-
base
|
|
6350
|
-
];
|
|
6351
|
-
else {
|
|
6352
|
-
let i = this.prerelease.length;
|
|
6353
|
-
while(--i >= 0)if ('number' == typeof this.prerelease[i]) {
|
|
6354
|
-
this.prerelease[i]++;
|
|
6355
|
-
i = -2;
|
|
6356
|
-
}
|
|
6357
|
-
if (-1 === i) {
|
|
6358
|
-
if (identifier === this.prerelease.join('.') && false === identifierBase) throw new Error('invalid increment argument: identifier already exists');
|
|
6359
|
-
this.prerelease.push(base);
|
|
6360
|
-
}
|
|
6361
|
-
}
|
|
6362
|
-
if (identifier) {
|
|
6363
|
-
let prerelease = [
|
|
6364
|
-
identifier,
|
|
6365
|
-
base
|
|
6366
|
-
];
|
|
6367
|
-
if (false === identifierBase) prerelease = [
|
|
6368
|
-
identifier
|
|
6369
|
-
];
|
|
6370
|
-
if (0 === compareIdentifiers(this.prerelease[0], identifier)) {
|
|
6371
|
-
if (isNaN(this.prerelease[1])) this.prerelease = prerelease;
|
|
6372
|
-
} else this.prerelease = prerelease;
|
|
6373
|
-
}
|
|
6374
|
-
break;
|
|
6375
|
-
}
|
|
6376
|
-
default:
|
|
6377
|
-
throw new Error(`invalid increment argument: ${release}`);
|
|
6378
|
-
}
|
|
6379
|
-
this.raw = this.format();
|
|
6380
|
-
if (this.build.length) this.raw += `+${this.build.join('.')}`;
|
|
6381
|
-
return this;
|
|
6382
|
-
}
|
|
6383
|
-
}
|
|
6384
|
-
module.exports = SemVer;
|
|
6385
|
-
},
|
|
6386
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6387
|
-
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
6388
|
-
const clean = (version, options)=>{
|
|
6389
|
-
const s = parse(version.trim().replace(/^[=v]+/, ''), options);
|
|
6390
|
-
return s ? s.version : null;
|
|
6391
|
-
};
|
|
6392
|
-
module.exports = clean;
|
|
6393
|
-
},
|
|
6394
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6395
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
6396
|
-
const parse = (version, options, throwErrors = false)=>{
|
|
6397
|
-
if (version instanceof SemVer) return version;
|
|
6398
|
-
try {
|
|
6399
|
-
return new SemVer(version, options);
|
|
6400
|
-
} catch (er) {
|
|
6401
|
-
if (!throwErrors) return null;
|
|
6402
|
-
throw er;
|
|
6403
|
-
}
|
|
6404
|
-
};
|
|
6405
|
-
module.exports = parse;
|
|
6406
|
-
},
|
|
6407
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6408
|
-
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
6409
|
-
const valid = (version, options)=>{
|
|
6410
|
-
const v = parse(version, options);
|
|
6411
|
-
return v ? v.version : null;
|
|
6412
|
-
};
|
|
6413
|
-
module.exports = valid;
|
|
6414
|
-
},
|
|
6415
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js": function(module) {
|
|
6416
|
-
const SEMVER_SPEC_VERSION = '2.0.0';
|
|
6417
|
-
const MAX_LENGTH = 256;
|
|
6418
|
-
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
6419
|
-
const MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
6420
|
-
const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
6421
|
-
const RELEASE_TYPES = [
|
|
6422
|
-
'major',
|
|
6423
|
-
'premajor',
|
|
6424
|
-
'minor',
|
|
6425
|
-
'preminor',
|
|
6426
|
-
'patch',
|
|
6427
|
-
'prepatch',
|
|
6428
|
-
'prerelease'
|
|
6429
|
-
];
|
|
6430
|
-
module.exports = {
|
|
6431
|
-
MAX_LENGTH,
|
|
6432
|
-
MAX_SAFE_COMPONENT_LENGTH,
|
|
6433
|
-
MAX_SAFE_BUILD_LENGTH,
|
|
6434
|
-
MAX_SAFE_INTEGER,
|
|
6435
|
-
RELEASE_TYPES,
|
|
6436
|
-
SEMVER_SPEC_VERSION,
|
|
6437
|
-
FLAG_INCLUDE_PRERELEASE: 1,
|
|
6438
|
-
FLAG_LOOSE: 2
|
|
6439
|
-
};
|
|
6440
|
-
},
|
|
6441
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js": function(module) {
|
|
6442
|
-
const debug = 'object' == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error('SEMVER', ...args) : ()=>{};
|
|
6443
|
-
module.exports = debug;
|
|
6444
|
-
},
|
|
6445
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js": function(module) {
|
|
6446
|
-
const numeric = /^[0-9]+$/;
|
|
6447
|
-
const compareIdentifiers = (a, b)=>{
|
|
6448
|
-
const anum = numeric.test(a);
|
|
6449
|
-
const bnum = numeric.test(b);
|
|
6450
|
-
if (anum && bnum) {
|
|
6451
|
-
a *= 1;
|
|
6452
|
-
b *= 1;
|
|
6453
|
-
}
|
|
6454
|
-
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
6455
|
-
};
|
|
6456
|
-
const rcompareIdentifiers = (a, b)=>compareIdentifiers(b, a);
|
|
6457
|
-
module.exports = {
|
|
6458
|
-
compareIdentifiers,
|
|
6459
|
-
rcompareIdentifiers
|
|
6460
|
-
};
|
|
6461
|
-
},
|
|
6462
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js": function(module) {
|
|
6463
|
-
const looseOption = Object.freeze({
|
|
6464
|
-
loose: true
|
|
6465
|
-
});
|
|
6466
|
-
const emptyOpts = Object.freeze({});
|
|
6467
|
-
const parseOptions = (options)=>{
|
|
6468
|
-
if (!options) return emptyOpts;
|
|
6469
|
-
if ('object' != typeof options) return looseOption;
|
|
6470
|
-
return options;
|
|
6471
|
-
};
|
|
6472
|
-
module.exports = parseOptions;
|
|
6473
|
-
},
|
|
6474
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js": function(module, exports, __webpack_require__) {
|
|
6475
|
-
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
6476
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
6477
|
-
exports = module.exports = {};
|
|
6478
|
-
const re = exports.re = [];
|
|
6479
|
-
const safeRe = exports.safeRe = [];
|
|
6480
|
-
const src = exports.src = [];
|
|
6481
|
-
const safeSrc = exports.safeSrc = [];
|
|
6482
|
-
const t = exports.t = {};
|
|
6483
|
-
let R = 0;
|
|
6484
|
-
const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
|
|
6485
|
-
const safeRegexReplacements = [
|
|
6486
|
-
[
|
|
6487
|
-
'\\s',
|
|
6488
|
-
1
|
|
6489
|
-
],
|
|
6490
|
-
[
|
|
6491
|
-
'\\d',
|
|
6492
|
-
MAX_LENGTH
|
|
6493
|
-
],
|
|
6494
|
-
[
|
|
6495
|
-
LETTERDASHNUMBER,
|
|
6496
|
-
MAX_SAFE_BUILD_LENGTH
|
|
6497
|
-
]
|
|
6498
|
-
];
|
|
6499
|
-
const makeSafeRegex = (value)=>{
|
|
6500
|
-
for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
|
|
6501
|
-
return value;
|
|
6502
|
-
};
|
|
6503
|
-
const createToken = (name, value, isGlobal)=>{
|
|
6504
|
-
const safe = makeSafeRegex(value);
|
|
6505
|
-
const index = R++;
|
|
6506
|
-
debug(name, index, value);
|
|
6507
|
-
t[name] = index;
|
|
6508
|
-
src[index] = value;
|
|
6509
|
-
safeSrc[index] = safe;
|
|
6510
|
-
re[index] = new RegExp(value, isGlobal ? 'g' : void 0);
|
|
6511
|
-
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : void 0);
|
|
6512
|
-
};
|
|
6513
|
-
createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*');
|
|
6514
|
-
createToken('NUMERICIDENTIFIERLOOSE', '\\d+');
|
|
6515
|
-
createToken('NONNUMERICIDENTIFIER', `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
6516
|
-
createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
6517
|
-
createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
6518
|
-
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
6519
|
-
createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
6520
|
-
createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
6521
|
-
createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
6522
|
-
createToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`);
|
|
6523
|
-
createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
6524
|
-
createToken('FULLPLAIN', `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
6525
|
-
createToken('FULL', `^${src[t.FULLPLAIN]}$`);
|
|
6526
|
-
createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
6527
|
-
createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`);
|
|
6528
|
-
createToken('GTLT', '((?:<|>)?=?)');
|
|
6529
|
-
createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
6530
|
-
createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
6531
|
-
createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
6532
|
-
createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
6533
|
-
createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
6534
|
-
createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6535
|
-
createToken('COERCEPLAIN', `(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
6536
|
-
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
6537
|
-
createToken('COERCEFULL', src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + "(?:$|[^\\d])");
|
|
6538
|
-
createToken('COERCERTL', src[t.COERCE], true);
|
|
6539
|
-
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
|
6540
|
-
createToken('LONETILDE', '(?:~>?)');
|
|
6541
|
-
createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
6542
|
-
exports.tildeTrimReplace = '$1~';
|
|
6543
|
-
createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
6544
|
-
createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6545
|
-
createToken('LONECARET', '(?:\\^)');
|
|
6546
|
-
createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
6547
|
-
exports.caretTrimReplace = '$1^';
|
|
6548
|
-
createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
6549
|
-
createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6550
|
-
createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
6551
|
-
createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
6552
|
-
createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
6553
|
-
exports.comparatorTrimReplace = '$1$2$3';
|
|
6554
|
-
createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*\$`);
|
|
6555
|
-
createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*\$`);
|
|
6556
|
-
createToken('STAR', '(<|>)?=?\\s*\\*');
|
|
6557
|
-
createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
|
|
6558
|
-
createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
|
|
6559
|
-
},
|
|
6560
6201
|
"../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6561
6202
|
const shebangRegex = __webpack_require__("../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js");
|
|
6562
6203
|
module.exports = (string = '')=>{
|
|
@@ -10390,9 +10031,6 @@ var __webpack_modules__ = {
|
|
|
10390
10031
|
path: function(module) {
|
|
10391
10032
|
module.exports = __WEBPACK_EXTERNAL_MODULE_path__;
|
|
10392
10033
|
},
|
|
10393
|
-
tty: function(module) {
|
|
10394
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE_tty__;
|
|
10395
|
-
},
|
|
10396
10034
|
url: function(module) {
|
|
10397
10035
|
module.exports = __WEBPACK_EXTERNAL_MODULE_url__;
|
|
10398
10036
|
},
|
|
@@ -12997,7 +12635,7 @@ const openConsole = async (port, listeningListener)=>{
|
|
|
12997
12635
|
}, listeningListener);
|
|
12998
12636
|
};
|
|
12999
12637
|
var external_fs_ = __webpack_require__("fs");
|
|
13000
|
-
var valid = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
12638
|
+
var valid = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js");
|
|
13001
12639
|
var valid_default = /*#__PURE__*/ __webpack_require__.n(valid);
|
|
13002
12640
|
let isDockerCached;
|
|
13003
12641
|
function hasDockerEnv() {
|
|
@@ -19934,13 +19572,25 @@ const init_init = async ()=>{
|
|
|
19934
19572
|
options: [
|
|
19935
19573
|
{
|
|
19936
19574
|
value: {
|
|
19575
|
+
name: "bare",
|
|
19937
19576
|
dependencies: [],
|
|
19938
19577
|
devDependencies: [
|
|
19939
19578
|
"@hot-updater/bare"
|
|
19940
19579
|
]
|
|
19941
19580
|
},
|
|
19942
|
-
|
|
19943
|
-
|
|
19581
|
+
hint: "React Native CLI",
|
|
19582
|
+
label: "Bare"
|
|
19583
|
+
},
|
|
19584
|
+
{
|
|
19585
|
+
value: {
|
|
19586
|
+
name: "rnef",
|
|
19587
|
+
dependencies: [],
|
|
19588
|
+
devDependencies: [
|
|
19589
|
+
"@hot-updater/rnef"
|
|
19590
|
+
]
|
|
19591
|
+
},
|
|
19592
|
+
hint: "React Native Enterprise Framework by Callstack",
|
|
19593
|
+
label: "RNEF"
|
|
19944
19594
|
}
|
|
19945
19595
|
]
|
|
19946
19596
|
});
|
|
@@ -19985,36 +19635,45 @@ const init_init = async ()=>{
|
|
|
19985
19635
|
else if (e instanceof Error) __WEBPACK_EXTERNAL_MODULE__clack_prompts_3cae1695__.log.error(e.message);
|
|
19986
19636
|
process.exit(1);
|
|
19987
19637
|
}
|
|
19638
|
+
const build = buildPluginPackage.name;
|
|
19988
19639
|
switch(provider){
|
|
19989
19640
|
case "supabase":
|
|
19990
19641
|
{
|
|
19991
19642
|
const supabase = await import("@hot-updater/supabase/iac");
|
|
19992
|
-
await supabase.runInit(
|
|
19643
|
+
await supabase.runInit({
|
|
19644
|
+
build
|
|
19645
|
+
});
|
|
19993
19646
|
break;
|
|
19994
19647
|
}
|
|
19995
19648
|
case "cloudflare":
|
|
19996
19649
|
{
|
|
19997
19650
|
const cloudflare = await import("@hot-updater/cloudflare/iac");
|
|
19998
|
-
await cloudflare.runInit(
|
|
19651
|
+
await cloudflare.runInit({
|
|
19652
|
+
build
|
|
19653
|
+
});
|
|
19999
19654
|
break;
|
|
20000
19655
|
}
|
|
20001
19656
|
case "aws":
|
|
20002
19657
|
{
|
|
20003
19658
|
const aws = await import("@hot-updater/aws/iac");
|
|
20004
|
-
await aws.runInit(
|
|
19659
|
+
await aws.runInit({
|
|
19660
|
+
build
|
|
19661
|
+
});
|
|
20005
19662
|
break;
|
|
20006
19663
|
}
|
|
20007
19664
|
case "firebase":
|
|
20008
19665
|
{
|
|
20009
19666
|
const firebase = await import("@hot-updater/firebase/iac");
|
|
20010
|
-
await firebase.runInit(
|
|
19667
|
+
await firebase.runInit({
|
|
19668
|
+
build
|
|
19669
|
+
});
|
|
20011
19670
|
break;
|
|
20012
19671
|
}
|
|
20013
19672
|
default:
|
|
20014
19673
|
throw new Error("Invalid provider");
|
|
20015
19674
|
}
|
|
20016
19675
|
};
|
|
20017
|
-
var picocolors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.
|
|
19676
|
+
var picocolors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
20018
19677
|
var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
|
|
20019
19678
|
const DEFAULT_CHANNEL = "production";
|
|
20020
19679
|
const program = new __WEBPACK_EXTERNAL_MODULE_commander__.Command();
|