hot-updater 0.16.5 → 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 +112 -463
- package/dist/index.js +112 -463
- package/dist/plugins/babel.cjs +58 -41
- package/dist/plugins/babel.js +58 -41
- package/package.json +9 -5
package/dist/index.cjs
CHANGED
|
@@ -5154,51 +5154,6 @@ var __webpack_modules__ = {
|
|
|
5154
5154
|
module.exports = pathKey;
|
|
5155
5155
|
module.exports["default"] = pathKey;
|
|
5156
5156
|
},
|
|
5157
|
-
"../../node_modules/.pnpm/picocolors@1.0.0/node_modules/picocolors/picocolors.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5158
|
-
let tty = __webpack_require__("tty");
|
|
5159
|
-
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);
|
|
5160
|
-
let formatter = (open, close, replace = open)=>(input)=>{
|
|
5161
|
-
let string = "" + input;
|
|
5162
|
-
let index = string.indexOf(close, open.length);
|
|
5163
|
-
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
|
|
5164
|
-
};
|
|
5165
|
-
let replaceClose = (string, close, replace, index)=>{
|
|
5166
|
-
let start = string.substring(0, index) + replace;
|
|
5167
|
-
let end = string.substring(index + close.length);
|
|
5168
|
-
let nextIndex = end.indexOf(close);
|
|
5169
|
-
return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end;
|
|
5170
|
-
};
|
|
5171
|
-
let createColors = (enabled = isColorSupported)=>({
|
|
5172
|
-
isColorSupported: enabled,
|
|
5173
|
-
reset: enabled ? (s)=>`\x1b[0m${s}\x1b[0m` : String,
|
|
5174
|
-
bold: enabled ? formatter("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m") : String,
|
|
5175
|
-
dim: enabled ? formatter("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m") : String,
|
|
5176
|
-
italic: enabled ? formatter("\x1b[3m", "\x1b[23m") : String,
|
|
5177
|
-
underline: enabled ? formatter("\x1b[4m", "\x1b[24m") : String,
|
|
5178
|
-
inverse: enabled ? formatter("\x1b[7m", "\x1b[27m") : String,
|
|
5179
|
-
hidden: enabled ? formatter("\x1b[8m", "\x1b[28m") : String,
|
|
5180
|
-
strikethrough: enabled ? formatter("\x1b[9m", "\x1b[29m") : String,
|
|
5181
|
-
black: enabled ? formatter("\x1b[30m", "\x1b[39m") : String,
|
|
5182
|
-
red: enabled ? formatter("\x1b[31m", "\x1b[39m") : String,
|
|
5183
|
-
green: enabled ? formatter("\x1b[32m", "\x1b[39m") : String,
|
|
5184
|
-
yellow: enabled ? formatter("\x1b[33m", "\x1b[39m") : String,
|
|
5185
|
-
blue: enabled ? formatter("\x1b[34m", "\x1b[39m") : String,
|
|
5186
|
-
magenta: enabled ? formatter("\x1b[35m", "\x1b[39m") : String,
|
|
5187
|
-
cyan: enabled ? formatter("\x1b[36m", "\x1b[39m") : String,
|
|
5188
|
-
white: enabled ? formatter("\x1b[37m", "\x1b[39m") : String,
|
|
5189
|
-
gray: enabled ? formatter("\x1b[90m", "\x1b[39m") : String,
|
|
5190
|
-
bgBlack: enabled ? formatter("\x1b[40m", "\x1b[49m") : String,
|
|
5191
|
-
bgRed: enabled ? formatter("\x1b[41m", "\x1b[49m") : String,
|
|
5192
|
-
bgGreen: enabled ? formatter("\x1b[42m", "\x1b[49m") : String,
|
|
5193
|
-
bgYellow: enabled ? formatter("\x1b[43m", "\x1b[49m") : String,
|
|
5194
|
-
bgBlue: enabled ? formatter("\x1b[44m", "\x1b[49m") : String,
|
|
5195
|
-
bgMagenta: enabled ? formatter("\x1b[45m", "\x1b[49m") : String,
|
|
5196
|
-
bgCyan: enabled ? formatter("\x1b[46m", "\x1b[49m") : String,
|
|
5197
|
-
bgWhite: enabled ? formatter("\x1b[47m", "\x1b[49m") : String
|
|
5198
|
-
});
|
|
5199
|
-
module.exports = createColors();
|
|
5200
|
-
module.exports.createColors = createColors;
|
|
5201
|
-
},
|
|
5202
5157
|
"../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": function(module) {
|
|
5203
5158
|
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
5204
5159
|
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);
|
|
@@ -5428,7 +5383,7 @@ var __webpack_modules__ = {
|
|
|
5428
5383
|
else throw new Error('Invalid PLIST tag ' + node.nodeName);
|
|
5429
5384
|
}
|
|
5430
5385
|
},
|
|
5431
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5386
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5432
5387
|
const ANY = Symbol('SemVer ANY');
|
|
5433
5388
|
class Comparator {
|
|
5434
5389
|
static get ANY() {
|
|
@@ -5491,14 +5446,14 @@ var __webpack_modules__ = {
|
|
|
5491
5446
|
}
|
|
5492
5447
|
}
|
|
5493
5448
|
module.exports = Comparator;
|
|
5494
|
-
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5495
|
-
const { safeRe: re, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5496
|
-
const cmp = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5497
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5498
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5499
|
-
const Range = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5449
|
+
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
5450
|
+
const { safeRe: re, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
5451
|
+
const cmp = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js");
|
|
5452
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
5453
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
5454
|
+
const Range = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js");
|
|
5500
5455
|
},
|
|
5501
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5456
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5502
5457
|
const SPACE_CHARACTERS = /\s+/g;
|
|
5503
5458
|
class Range {
|
|
5504
5459
|
constructor(range, options){
|
|
@@ -5610,14 +5565,14 @@ var __webpack_modules__ = {
|
|
|
5610
5565
|
}
|
|
5611
5566
|
}
|
|
5612
5567
|
module.exports = Range;
|
|
5613
|
-
const LRU = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5568
|
+
const LRU = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js");
|
|
5614
5569
|
const cache = new LRU();
|
|
5615
|
-
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5616
|
-
const Comparator = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5617
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5618
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5619
|
-
const { safeRe: re, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5620
|
-
const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5570
|
+
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
5571
|
+
const Comparator = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js");
|
|
5572
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
5573
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
5574
|
+
const { safeRe: re, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
5575
|
+
const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
5621
5576
|
const isNullSet = (c)=>'<0.0.0-0' === c.value;
|
|
5622
5577
|
const isAny = (c)=>'' === c.value;
|
|
5623
5578
|
const isSatisfiable = (comparators, options)=>{
|
|
@@ -5754,12 +5709,12 @@ var __webpack_modules__ = {
|
|
|
5754
5709
|
return true;
|
|
5755
5710
|
};
|
|
5756
5711
|
},
|
|
5757
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5758
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5759
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5760
|
-
const { safeRe: re, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5761
|
-
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5762
|
-
const { compareIdentifiers } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5712
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5713
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
5714
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
5715
|
+
const { safeRe: re, safeSrc: src, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
5716
|
+
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
5717
|
+
const { compareIdentifiers } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js");
|
|
5763
5718
|
class SemVer {
|
|
5764
5719
|
constructor(version, options){
|
|
5765
5720
|
options = parseOptions(options);
|
|
@@ -5844,6 +5799,14 @@ var __webpack_modules__ = {
|
|
|
5844
5799
|
}while (++i);
|
|
5845
5800
|
}
|
|
5846
5801
|
inc(release, identifier, identifierBase) {
|
|
5802
|
+
if (release.startsWith('pre')) {
|
|
5803
|
+
if (!identifier && false === identifierBase) throw new Error('invalid increment argument: identifier is empty');
|
|
5804
|
+
if (identifier) {
|
|
5805
|
+
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
|
|
5806
|
+
const match = `-${identifier}`.match(r);
|
|
5807
|
+
if (!match || match[1] !== identifier) throw new Error(`invalid identifier: ${identifier}`);
|
|
5808
|
+
}
|
|
5809
|
+
}
|
|
5847
5810
|
switch(release){
|
|
5848
5811
|
case 'premajor':
|
|
5849
5812
|
this.prerelease.length = 0;
|
|
@@ -5867,6 +5830,10 @@ var __webpack_modules__ = {
|
|
|
5867
5830
|
if (0 === this.prerelease.length) this.inc('patch', identifier, identifierBase);
|
|
5868
5831
|
this.inc('pre', identifier, identifierBase);
|
|
5869
5832
|
break;
|
|
5833
|
+
case 'release':
|
|
5834
|
+
if (0 === this.prerelease.length) throw new Error(`version ${this.raw} is not a prerelease`);
|
|
5835
|
+
this.prerelease.length = 0;
|
|
5836
|
+
break;
|
|
5870
5837
|
case 'major':
|
|
5871
5838
|
if (0 !== this.minor || 0 !== this.patch || 0 === this.prerelease.length) this.major++;
|
|
5872
5839
|
this.minor = 0;
|
|
@@ -5885,7 +5852,6 @@ var __webpack_modules__ = {
|
|
|
5885
5852
|
case 'pre':
|
|
5886
5853
|
{
|
|
5887
5854
|
const base = Number(identifierBase) ? 1 : 0;
|
|
5888
|
-
if (!identifier && false === identifierBase) throw new Error('invalid increment argument: identifier is empty');
|
|
5889
5855
|
if (0 === this.prerelease.length) this.prerelease = [
|
|
5890
5856
|
base
|
|
5891
5857
|
];
|
|
@@ -5924,13 +5890,21 @@ var __webpack_modules__ = {
|
|
|
5924
5890
|
}
|
|
5925
5891
|
module.exports = SemVer;
|
|
5926
5892
|
},
|
|
5927
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5928
|
-
const
|
|
5929
|
-
const
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5893
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5894
|
+
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
5895
|
+
const clean = (version, options)=>{
|
|
5896
|
+
const s = parse(version.trim().replace(/^[=v]+/, ''), options);
|
|
5897
|
+
return s ? s.version : null;
|
|
5898
|
+
};
|
|
5899
|
+
module.exports = clean;
|
|
5900
|
+
},
|
|
5901
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5902
|
+
const eq = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js");
|
|
5903
|
+
const neq = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js");
|
|
5904
|
+
const gt = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js");
|
|
5905
|
+
const gte = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js");
|
|
5906
|
+
const lt = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js");
|
|
5907
|
+
const lte = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js");
|
|
5934
5908
|
const cmp = (a, op, b, loose)=>{
|
|
5935
5909
|
switch(op){
|
|
5936
5910
|
case '===':
|
|
@@ -5961,42 +5935,63 @@ var __webpack_modules__ = {
|
|
|
5961
5935
|
};
|
|
5962
5936
|
module.exports = cmp;
|
|
5963
5937
|
},
|
|
5964
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5965
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5938
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5939
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
5966
5940
|
const compare = (a, b, loose)=>new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
5967
5941
|
module.exports = compare;
|
|
5968
5942
|
},
|
|
5969
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5970
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5943
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5944
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
5971
5945
|
const eq = (a, b, loose)=>0 === compare(a, b, loose);
|
|
5972
5946
|
module.exports = eq;
|
|
5973
5947
|
},
|
|
5974
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5975
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5948
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5949
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
5976
5950
|
const gt = (a, b, loose)=>compare(a, b, loose) > 0;
|
|
5977
5951
|
module.exports = gt;
|
|
5978
5952
|
},
|
|
5979
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5980
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5953
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5954
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
5981
5955
|
const gte = (a, b, loose)=>compare(a, b, loose) >= 0;
|
|
5982
5956
|
module.exports = gte;
|
|
5983
5957
|
},
|
|
5984
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5985
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5958
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5959
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
5986
5960
|
const lt = (a, b, loose)=>compare(a, b, loose) < 0;
|
|
5987
5961
|
module.exports = lt;
|
|
5988
5962
|
},
|
|
5989
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5990
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5963
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5964
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
5991
5965
|
const lte = (a, b, loose)=>compare(a, b, loose) <= 0;
|
|
5992
5966
|
module.exports = lte;
|
|
5993
5967
|
},
|
|
5994
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5995
|
-
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5968
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5969
|
+
const compare = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js");
|
|
5996
5970
|
const neq = (a, b, loose)=>0 !== compare(a, b, loose);
|
|
5997
5971
|
module.exports = neq;
|
|
5998
5972
|
},
|
|
5999
|
-
"../../node_modules/.pnpm/semver@7.
|
|
5973
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5974
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
5975
|
+
const parse = (version, options, throwErrors = false)=>{
|
|
5976
|
+
if (version instanceof SemVer) return version;
|
|
5977
|
+
try {
|
|
5978
|
+
return new SemVer(version, options);
|
|
5979
|
+
} catch (er) {
|
|
5980
|
+
if (!throwErrors) return null;
|
|
5981
|
+
throw er;
|
|
5982
|
+
}
|
|
5983
|
+
};
|
|
5984
|
+
module.exports = parse;
|
|
5985
|
+
},
|
|
5986
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5987
|
+
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
5988
|
+
const valid = (version, options)=>{
|
|
5989
|
+
const v = parse(version, options);
|
|
5990
|
+
return v ? v.version : null;
|
|
5991
|
+
};
|
|
5992
|
+
module.exports = valid;
|
|
5993
|
+
},
|
|
5994
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js": function(module) {
|
|
6000
5995
|
const SEMVER_SPEC_VERSION = '2.0.0';
|
|
6001
5996
|
const MAX_LENGTH = 256;
|
|
6002
5997
|
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -6022,11 +6017,11 @@ var __webpack_modules__ = {
|
|
|
6022
6017
|
FLAG_LOOSE: 2
|
|
6023
6018
|
};
|
|
6024
6019
|
},
|
|
6025
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6020
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js": function(module) {
|
|
6026
6021
|
const debug = 'object' == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error('SEMVER', ...args) : ()=>{};
|
|
6027
6022
|
module.exports = debug;
|
|
6028
6023
|
},
|
|
6029
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6024
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js": function(module) {
|
|
6030
6025
|
const numeric = /^[0-9]+$/;
|
|
6031
6026
|
const compareIdentifiers = (a, b)=>{
|
|
6032
6027
|
const anum = numeric.test(a);
|
|
@@ -6043,7 +6038,7 @@ var __webpack_modules__ = {
|
|
|
6043
6038
|
rcompareIdentifiers
|
|
6044
6039
|
};
|
|
6045
6040
|
},
|
|
6046
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6041
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js": function(module) {
|
|
6047
6042
|
class LRUCache {
|
|
6048
6043
|
constructor(){
|
|
6049
6044
|
this.max = 1000;
|
|
@@ -6073,7 +6068,7 @@ var __webpack_modules__ = {
|
|
|
6073
6068
|
}
|
|
6074
6069
|
module.exports = LRUCache;
|
|
6075
6070
|
},
|
|
6076
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6071
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js": function(module) {
|
|
6077
6072
|
const looseOption = Object.freeze({
|
|
6078
6073
|
loose: true
|
|
6079
6074
|
});
|
|
@@ -6085,13 +6080,14 @@ var __webpack_modules__ = {
|
|
|
6085
6080
|
};
|
|
6086
6081
|
module.exports = parseOptions;
|
|
6087
6082
|
},
|
|
6088
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6089
|
-
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
6090
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
6083
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js": function(module, exports1, __webpack_require__) {
|
|
6084
|
+
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");
|
|
6085
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
6091
6086
|
exports1 = module.exports = {};
|
|
6092
6087
|
const re = exports1.re = [];
|
|
6093
6088
|
const safeRe = exports1.safeRe = [];
|
|
6094
6089
|
const src = exports1.src = [];
|
|
6090
|
+
const safeSrc = exports1.safeSrc = [];
|
|
6095
6091
|
const t = exports1.t = {};
|
|
6096
6092
|
let R = 0;
|
|
6097
6093
|
const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
|
|
@@ -6119,6 +6115,7 @@ var __webpack_modules__ = {
|
|
|
6119
6115
|
debug(name, index, value);
|
|
6120
6116
|
t[name] = index;
|
|
6121
6117
|
src[index] = value;
|
|
6118
|
+
safeSrc[index] = safe;
|
|
6122
6119
|
re[index] = new RegExp(value, isGlobal ? 'g' : void 0);
|
|
6123
6120
|
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : void 0);
|
|
6124
6121
|
};
|
|
@@ -6169,8 +6166,8 @@ var __webpack_modules__ = {
|
|
|
6169
6166
|
createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
|
|
6170
6167
|
createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
|
|
6171
6168
|
},
|
|
6172
|
-
"../../node_modules/.pnpm/semver@7.
|
|
6173
|
-
const Range = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
6169
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6170
|
+
const Range = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js");
|
|
6174
6171
|
const validRange = (range, options)=>{
|
|
6175
6172
|
try {
|
|
6176
6173
|
return new Range(range, options).range || '*';
|
|
@@ -6180,361 +6177,6 @@ var __webpack_modules__ = {
|
|
|
6180
6177
|
};
|
|
6181
6178
|
module.exports = validRange;
|
|
6182
6179
|
},
|
|
6183
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6184
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
6185
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
6186
|
-
const { safeRe: re, safeSrc: src, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
6187
|
-
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
6188
|
-
const { compareIdentifiers } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js");
|
|
6189
|
-
class SemVer {
|
|
6190
|
-
constructor(version, options){
|
|
6191
|
-
options = parseOptions(options);
|
|
6192
|
-
if (version instanceof SemVer) if (!!options.loose === version.loose && !!options.includePrerelease === version.includePrerelease) return version;
|
|
6193
|
-
else version = version.version;
|
|
6194
|
-
else if ('string' != typeof version) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
6195
|
-
if (version.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
6196
|
-
debug('SemVer', version, options);
|
|
6197
|
-
this.options = options;
|
|
6198
|
-
this.loose = !!options.loose;
|
|
6199
|
-
this.includePrerelease = !!options.includePrerelease;
|
|
6200
|
-
const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
6201
|
-
if (!m) throw new TypeError(`Invalid Version: ${version}`);
|
|
6202
|
-
this.raw = version;
|
|
6203
|
-
this.major = +m[1];
|
|
6204
|
-
this.minor = +m[2];
|
|
6205
|
-
this.patch = +m[3];
|
|
6206
|
-
if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError('Invalid major version');
|
|
6207
|
-
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError('Invalid minor version');
|
|
6208
|
-
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError('Invalid patch version');
|
|
6209
|
-
if (m[4]) this.prerelease = m[4].split('.').map((id)=>{
|
|
6210
|
-
if (/^[0-9]+$/.test(id)) {
|
|
6211
|
-
const num = +id;
|
|
6212
|
-
if (num >= 0 && num < MAX_SAFE_INTEGER) return num;
|
|
6213
|
-
}
|
|
6214
|
-
return id;
|
|
6215
|
-
});
|
|
6216
|
-
else this.prerelease = [];
|
|
6217
|
-
this.build = m[5] ? m[5].split('.') : [];
|
|
6218
|
-
this.format();
|
|
6219
|
-
}
|
|
6220
|
-
format() {
|
|
6221
|
-
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
6222
|
-
if (this.prerelease.length) this.version += `-${this.prerelease.join('.')}`;
|
|
6223
|
-
return this.version;
|
|
6224
|
-
}
|
|
6225
|
-
toString() {
|
|
6226
|
-
return this.version;
|
|
6227
|
-
}
|
|
6228
|
-
compare(other) {
|
|
6229
|
-
debug('SemVer.compare', this.version, this.options, other);
|
|
6230
|
-
if (!(other instanceof SemVer)) {
|
|
6231
|
-
if ('string' == typeof other && other === this.version) return 0;
|
|
6232
|
-
other = new SemVer(other, this.options);
|
|
6233
|
-
}
|
|
6234
|
-
if (other.version === this.version) return 0;
|
|
6235
|
-
return this.compareMain(other) || this.comparePre(other);
|
|
6236
|
-
}
|
|
6237
|
-
compareMain(other) {
|
|
6238
|
-
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6239
|
-
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
6240
|
-
}
|
|
6241
|
-
comparePre(other) {
|
|
6242
|
-
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6243
|
-
if (this.prerelease.length && !other.prerelease.length) return -1;
|
|
6244
|
-
if (!this.prerelease.length && other.prerelease.length) return 1;
|
|
6245
|
-
if (!this.prerelease.length && !other.prerelease.length) return 0;
|
|
6246
|
-
let i = 0;
|
|
6247
|
-
do {
|
|
6248
|
-
const a = this.prerelease[i];
|
|
6249
|
-
const b = other.prerelease[i];
|
|
6250
|
-
debug('prerelease compare', i, a, b);
|
|
6251
|
-
if (void 0 === a && void 0 === b) return 0;
|
|
6252
|
-
if (void 0 === b) return 1;
|
|
6253
|
-
if (void 0 === a) return -1;
|
|
6254
|
-
else if (a === b) continue;
|
|
6255
|
-
else return compareIdentifiers(a, b);
|
|
6256
|
-
}while (++i);
|
|
6257
|
-
}
|
|
6258
|
-
compareBuild(other) {
|
|
6259
|
-
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6260
|
-
let i = 0;
|
|
6261
|
-
do {
|
|
6262
|
-
const a = this.build[i];
|
|
6263
|
-
const b = other.build[i];
|
|
6264
|
-
debug('build compare', i, a, b);
|
|
6265
|
-
if (void 0 === a && void 0 === b) return 0;
|
|
6266
|
-
if (void 0 === b) return 1;
|
|
6267
|
-
if (void 0 === a) return -1;
|
|
6268
|
-
else if (a === b) continue;
|
|
6269
|
-
else return compareIdentifiers(a, b);
|
|
6270
|
-
}while (++i);
|
|
6271
|
-
}
|
|
6272
|
-
inc(release, identifier, identifierBase) {
|
|
6273
|
-
if (release.startsWith('pre')) {
|
|
6274
|
-
if (!identifier && false === identifierBase) throw new Error('invalid increment argument: identifier is empty');
|
|
6275
|
-
if (identifier) {
|
|
6276
|
-
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
|
|
6277
|
-
const match = `-${identifier}`.match(r);
|
|
6278
|
-
if (!match || match[1] !== identifier) throw new Error(`invalid identifier: ${identifier}`);
|
|
6279
|
-
}
|
|
6280
|
-
}
|
|
6281
|
-
switch(release){
|
|
6282
|
-
case 'premajor':
|
|
6283
|
-
this.prerelease.length = 0;
|
|
6284
|
-
this.patch = 0;
|
|
6285
|
-
this.minor = 0;
|
|
6286
|
-
this.major++;
|
|
6287
|
-
this.inc('pre', identifier, identifierBase);
|
|
6288
|
-
break;
|
|
6289
|
-
case 'preminor':
|
|
6290
|
-
this.prerelease.length = 0;
|
|
6291
|
-
this.patch = 0;
|
|
6292
|
-
this.minor++;
|
|
6293
|
-
this.inc('pre', identifier, identifierBase);
|
|
6294
|
-
break;
|
|
6295
|
-
case 'prepatch':
|
|
6296
|
-
this.prerelease.length = 0;
|
|
6297
|
-
this.inc('patch', identifier, identifierBase);
|
|
6298
|
-
this.inc('pre', identifier, identifierBase);
|
|
6299
|
-
break;
|
|
6300
|
-
case 'prerelease':
|
|
6301
|
-
if (0 === this.prerelease.length) this.inc('patch', identifier, identifierBase);
|
|
6302
|
-
this.inc('pre', identifier, identifierBase);
|
|
6303
|
-
break;
|
|
6304
|
-
case 'release':
|
|
6305
|
-
if (0 === this.prerelease.length) throw new Error(`version ${this.raw} is not a prerelease`);
|
|
6306
|
-
this.prerelease.length = 0;
|
|
6307
|
-
break;
|
|
6308
|
-
case 'major':
|
|
6309
|
-
if (0 !== this.minor || 0 !== this.patch || 0 === this.prerelease.length) this.major++;
|
|
6310
|
-
this.minor = 0;
|
|
6311
|
-
this.patch = 0;
|
|
6312
|
-
this.prerelease = [];
|
|
6313
|
-
break;
|
|
6314
|
-
case 'minor':
|
|
6315
|
-
if (0 !== this.patch || 0 === this.prerelease.length) this.minor++;
|
|
6316
|
-
this.patch = 0;
|
|
6317
|
-
this.prerelease = [];
|
|
6318
|
-
break;
|
|
6319
|
-
case 'patch':
|
|
6320
|
-
if (0 === this.prerelease.length) this.patch++;
|
|
6321
|
-
this.prerelease = [];
|
|
6322
|
-
break;
|
|
6323
|
-
case 'pre':
|
|
6324
|
-
{
|
|
6325
|
-
const base = Number(identifierBase) ? 1 : 0;
|
|
6326
|
-
if (0 === this.prerelease.length) this.prerelease = [
|
|
6327
|
-
base
|
|
6328
|
-
];
|
|
6329
|
-
else {
|
|
6330
|
-
let i = this.prerelease.length;
|
|
6331
|
-
while(--i >= 0)if ('number' == typeof this.prerelease[i]) {
|
|
6332
|
-
this.prerelease[i]++;
|
|
6333
|
-
i = -2;
|
|
6334
|
-
}
|
|
6335
|
-
if (-1 === i) {
|
|
6336
|
-
if (identifier === this.prerelease.join('.') && false === identifierBase) throw new Error('invalid increment argument: identifier already exists');
|
|
6337
|
-
this.prerelease.push(base);
|
|
6338
|
-
}
|
|
6339
|
-
}
|
|
6340
|
-
if (identifier) {
|
|
6341
|
-
let prerelease = [
|
|
6342
|
-
identifier,
|
|
6343
|
-
base
|
|
6344
|
-
];
|
|
6345
|
-
if (false === identifierBase) prerelease = [
|
|
6346
|
-
identifier
|
|
6347
|
-
];
|
|
6348
|
-
if (0 === compareIdentifiers(this.prerelease[0], identifier)) {
|
|
6349
|
-
if (isNaN(this.prerelease[1])) this.prerelease = prerelease;
|
|
6350
|
-
} else this.prerelease = prerelease;
|
|
6351
|
-
}
|
|
6352
|
-
break;
|
|
6353
|
-
}
|
|
6354
|
-
default:
|
|
6355
|
-
throw new Error(`invalid increment argument: ${release}`);
|
|
6356
|
-
}
|
|
6357
|
-
this.raw = this.format();
|
|
6358
|
-
if (this.build.length) this.raw += `+${this.build.join('.')}`;
|
|
6359
|
-
return this;
|
|
6360
|
-
}
|
|
6361
|
-
}
|
|
6362
|
-
module.exports = SemVer;
|
|
6363
|
-
},
|
|
6364
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6365
|
-
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
6366
|
-
const clean = (version, options)=>{
|
|
6367
|
-
const s = parse(version.trim().replace(/^[=v]+/, ''), options);
|
|
6368
|
-
return s ? s.version : null;
|
|
6369
|
-
};
|
|
6370
|
-
module.exports = clean;
|
|
6371
|
-
},
|
|
6372
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6373
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
6374
|
-
const parse = (version, options, throwErrors = false)=>{
|
|
6375
|
-
if (version instanceof SemVer) return version;
|
|
6376
|
-
try {
|
|
6377
|
-
return new SemVer(version, options);
|
|
6378
|
-
} catch (er) {
|
|
6379
|
-
if (!throwErrors) return null;
|
|
6380
|
-
throw er;
|
|
6381
|
-
}
|
|
6382
|
-
};
|
|
6383
|
-
module.exports = parse;
|
|
6384
|
-
},
|
|
6385
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6386
|
-
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
6387
|
-
const valid = (version, options)=>{
|
|
6388
|
-
const v = parse(version, options);
|
|
6389
|
-
return v ? v.version : null;
|
|
6390
|
-
};
|
|
6391
|
-
module.exports = valid;
|
|
6392
|
-
},
|
|
6393
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js": function(module) {
|
|
6394
|
-
const SEMVER_SPEC_VERSION = '2.0.0';
|
|
6395
|
-
const MAX_LENGTH = 256;
|
|
6396
|
-
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
6397
|
-
const MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
6398
|
-
const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
6399
|
-
const RELEASE_TYPES = [
|
|
6400
|
-
'major',
|
|
6401
|
-
'premajor',
|
|
6402
|
-
'minor',
|
|
6403
|
-
'preminor',
|
|
6404
|
-
'patch',
|
|
6405
|
-
'prepatch',
|
|
6406
|
-
'prerelease'
|
|
6407
|
-
];
|
|
6408
|
-
module.exports = {
|
|
6409
|
-
MAX_LENGTH,
|
|
6410
|
-
MAX_SAFE_COMPONENT_LENGTH,
|
|
6411
|
-
MAX_SAFE_BUILD_LENGTH,
|
|
6412
|
-
MAX_SAFE_INTEGER,
|
|
6413
|
-
RELEASE_TYPES,
|
|
6414
|
-
SEMVER_SPEC_VERSION,
|
|
6415
|
-
FLAG_INCLUDE_PRERELEASE: 1,
|
|
6416
|
-
FLAG_LOOSE: 2
|
|
6417
|
-
};
|
|
6418
|
-
},
|
|
6419
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js": function(module) {
|
|
6420
|
-
const debug = 'object' == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error('SEMVER', ...args) : ()=>{};
|
|
6421
|
-
module.exports = debug;
|
|
6422
|
-
},
|
|
6423
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js": function(module) {
|
|
6424
|
-
const numeric = /^[0-9]+$/;
|
|
6425
|
-
const compareIdentifiers = (a, b)=>{
|
|
6426
|
-
const anum = numeric.test(a);
|
|
6427
|
-
const bnum = numeric.test(b);
|
|
6428
|
-
if (anum && bnum) {
|
|
6429
|
-
a *= 1;
|
|
6430
|
-
b *= 1;
|
|
6431
|
-
}
|
|
6432
|
-
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
6433
|
-
};
|
|
6434
|
-
const rcompareIdentifiers = (a, b)=>compareIdentifiers(b, a);
|
|
6435
|
-
module.exports = {
|
|
6436
|
-
compareIdentifiers,
|
|
6437
|
-
rcompareIdentifiers
|
|
6438
|
-
};
|
|
6439
|
-
},
|
|
6440
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js": function(module) {
|
|
6441
|
-
const looseOption = Object.freeze({
|
|
6442
|
-
loose: true
|
|
6443
|
-
});
|
|
6444
|
-
const emptyOpts = Object.freeze({});
|
|
6445
|
-
const parseOptions = (options)=>{
|
|
6446
|
-
if (!options) return emptyOpts;
|
|
6447
|
-
if ('object' != typeof options) return looseOption;
|
|
6448
|
-
return options;
|
|
6449
|
-
};
|
|
6450
|
-
module.exports = parseOptions;
|
|
6451
|
-
},
|
|
6452
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js": function(module, exports1, __webpack_require__) {
|
|
6453
|
-
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");
|
|
6454
|
-
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
6455
|
-
exports1 = module.exports = {};
|
|
6456
|
-
const re = exports1.re = [];
|
|
6457
|
-
const safeRe = exports1.safeRe = [];
|
|
6458
|
-
const src = exports1.src = [];
|
|
6459
|
-
const safeSrc = exports1.safeSrc = [];
|
|
6460
|
-
const t = exports1.t = {};
|
|
6461
|
-
let R = 0;
|
|
6462
|
-
const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
|
|
6463
|
-
const safeRegexReplacements = [
|
|
6464
|
-
[
|
|
6465
|
-
'\\s',
|
|
6466
|
-
1
|
|
6467
|
-
],
|
|
6468
|
-
[
|
|
6469
|
-
'\\d',
|
|
6470
|
-
MAX_LENGTH
|
|
6471
|
-
],
|
|
6472
|
-
[
|
|
6473
|
-
LETTERDASHNUMBER,
|
|
6474
|
-
MAX_SAFE_BUILD_LENGTH
|
|
6475
|
-
]
|
|
6476
|
-
];
|
|
6477
|
-
const makeSafeRegex = (value)=>{
|
|
6478
|
-
for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
|
|
6479
|
-
return value;
|
|
6480
|
-
};
|
|
6481
|
-
const createToken = (name, value, isGlobal)=>{
|
|
6482
|
-
const safe = makeSafeRegex(value);
|
|
6483
|
-
const index = R++;
|
|
6484
|
-
debug(name, index, value);
|
|
6485
|
-
t[name] = index;
|
|
6486
|
-
src[index] = value;
|
|
6487
|
-
safeSrc[index] = safe;
|
|
6488
|
-
re[index] = new RegExp(value, isGlobal ? 'g' : void 0);
|
|
6489
|
-
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : void 0);
|
|
6490
|
-
};
|
|
6491
|
-
createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*');
|
|
6492
|
-
createToken('NUMERICIDENTIFIERLOOSE', '\\d+');
|
|
6493
|
-
createToken('NONNUMERICIDENTIFIER', `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
6494
|
-
createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
6495
|
-
createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
6496
|
-
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
6497
|
-
createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
6498
|
-
createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
6499
|
-
createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
6500
|
-
createToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`);
|
|
6501
|
-
createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
6502
|
-
createToken('FULLPLAIN', `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
6503
|
-
createToken('FULL', `^${src[t.FULLPLAIN]}$`);
|
|
6504
|
-
createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
6505
|
-
createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`);
|
|
6506
|
-
createToken('GTLT', '((?:<|>)?=?)');
|
|
6507
|
-
createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
6508
|
-
createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
6509
|
-
createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
6510
|
-
createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
6511
|
-
createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
6512
|
-
createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6513
|
-
createToken('COERCEPLAIN', `(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
6514
|
-
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
6515
|
-
createToken('COERCEFULL', src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + "(?:$|[^\\d])");
|
|
6516
|
-
createToken('COERCERTL', src[t.COERCE], true);
|
|
6517
|
-
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
|
6518
|
-
createToken('LONETILDE', '(?:~>?)');
|
|
6519
|
-
createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
6520
|
-
exports1.tildeTrimReplace = '$1~';
|
|
6521
|
-
createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
6522
|
-
createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6523
|
-
createToken('LONECARET', '(?:\\^)');
|
|
6524
|
-
createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
6525
|
-
exports1.caretTrimReplace = '$1^';
|
|
6526
|
-
createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
6527
|
-
createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6528
|
-
createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
6529
|
-
createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
6530
|
-
createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
6531
|
-
exports1.comparatorTrimReplace = '$1$2$3';
|
|
6532
|
-
createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*\$`);
|
|
6533
|
-
createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*\$`);
|
|
6534
|
-
createToken('STAR', '(<|>)?=?\\s*\\*');
|
|
6535
|
-
createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
|
|
6536
|
-
createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
|
|
6537
|
-
},
|
|
6538
6180
|
"../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6539
6181
|
"use strict";
|
|
6540
6182
|
const shebangRegex = __webpack_require__("../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js");
|
|
@@ -10377,10 +10019,6 @@ var __webpack_modules__ = {
|
|
|
10377
10019
|
"use strict";
|
|
10378
10020
|
module.exports = require("path");
|
|
10379
10021
|
},
|
|
10380
|
-
tty: function(module) {
|
|
10381
|
-
"use strict";
|
|
10382
|
-
module.exports = require("tty");
|
|
10383
|
-
},
|
|
10384
10022
|
url: function(module) {
|
|
10385
10023
|
"use strict";
|
|
10386
10024
|
module.exports = require("url");
|
|
@@ -13033,7 +12671,7 @@ var __webpack_exports__ = {};
|
|
|
13033
12671
|
};
|
|
13034
12672
|
var external_fs_ = __webpack_require__("fs");
|
|
13035
12673
|
var external_fs_default = /*#__PURE__*/ __webpack_require__.n(external_fs_);
|
|
13036
|
-
var valid = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
12674
|
+
var valid = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js");
|
|
13037
12675
|
var valid_default = /*#__PURE__*/ __webpack_require__.n(valid);
|
|
13038
12676
|
const external_node_process_namespaceObject = require("node:process");
|
|
13039
12677
|
const external_node_buffer_namespaceObject = require("node:buffer");
|
|
@@ -19991,6 +19629,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
19991
19629
|
options: [
|
|
19992
19630
|
{
|
|
19993
19631
|
value: {
|
|
19632
|
+
name: "bare",
|
|
19994
19633
|
dependencies: [],
|
|
19995
19634
|
devDependencies: [
|
|
19996
19635
|
"@hot-updater/bare"
|
|
@@ -20001,6 +19640,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
20001
19640
|
},
|
|
20002
19641
|
{
|
|
20003
19642
|
value: {
|
|
19643
|
+
name: "rnef",
|
|
20004
19644
|
dependencies: [],
|
|
20005
19645
|
devDependencies: [
|
|
20006
19646
|
"@hot-updater/rnef"
|
|
@@ -20052,29 +19692,38 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
20052
19692
|
else if (e instanceof Error) prompts_namespaceObject.log.error(e.message);
|
|
20053
19693
|
process.exit(1);
|
|
20054
19694
|
}
|
|
19695
|
+
const build = buildPluginPackage.name;
|
|
20055
19696
|
switch(provider){
|
|
20056
19697
|
case "supabase":
|
|
20057
19698
|
{
|
|
20058
19699
|
const supabase = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "@hot-updater/supabase/iac"));
|
|
20059
|
-
await supabase.runInit(
|
|
19700
|
+
await supabase.runInit({
|
|
19701
|
+
build
|
|
19702
|
+
});
|
|
20060
19703
|
break;
|
|
20061
19704
|
}
|
|
20062
19705
|
case "cloudflare":
|
|
20063
19706
|
{
|
|
20064
19707
|
const cloudflare = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "@hot-updater/cloudflare/iac"));
|
|
20065
|
-
await cloudflare.runInit(
|
|
19708
|
+
await cloudflare.runInit({
|
|
19709
|
+
build
|
|
19710
|
+
});
|
|
20066
19711
|
break;
|
|
20067
19712
|
}
|
|
20068
19713
|
case "aws":
|
|
20069
19714
|
{
|
|
20070
19715
|
const aws = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "@hot-updater/aws/iac"));
|
|
20071
|
-
await aws.runInit(
|
|
19716
|
+
await aws.runInit({
|
|
19717
|
+
build
|
|
19718
|
+
});
|
|
20072
19719
|
break;
|
|
20073
19720
|
}
|
|
20074
19721
|
case "firebase":
|
|
20075
19722
|
{
|
|
20076
19723
|
const firebase = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "@hot-updater/firebase/iac"));
|
|
20077
|
-
await firebase.runInit(
|
|
19724
|
+
await firebase.runInit({
|
|
19725
|
+
build
|
|
19726
|
+
});
|
|
20078
19727
|
break;
|
|
20079
19728
|
}
|
|
20080
19729
|
default:
|
|
@@ -20082,7 +19731,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
20082
19731
|
}
|
|
20083
19732
|
};
|
|
20084
19733
|
const external_commander_namespaceObject = require("commander");
|
|
20085
|
-
var picocolors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.
|
|
19734
|
+
var picocolors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
|
|
20086
19735
|
var picocolors_default = /*#__PURE__*/ __webpack_require__.n(picocolors);
|
|
20087
19736
|
const DEFAULT_CHANNEL = "production";
|
|
20088
19737
|
const program = new external_commander_namespaceObject.Command();
|