hot-updater 0.12.4 → 0.12.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/config.cjs +3 -5
- package/dist/index.cjs +393 -73
- package/dist/index.js +393 -73
- package/dist/plugins/babel.cjs +5 -11
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1225,7 +1225,7 @@ var __webpack_modules__ = {
|
|
|
1225
1225
|
const { ignoreList } = map;
|
|
1226
1226
|
if (null == ignoreList) return false;
|
|
1227
1227
|
const index = sourceIndex(map, source);
|
|
1228
|
-
return -1
|
|
1228
|
+
return -1 === index ? false : ignoreList.includes(index);
|
|
1229
1229
|
}
|
|
1230
1230
|
function presortedDecodedMap(map, mapUrl) {
|
|
1231
1231
|
const tracer = new TraceMap(clone(map, []), mapUrl);
|
|
@@ -2367,7 +2367,7 @@ var __webpack_modules__ = {
|
|
|
2367
2367
|
exports.inspectOpts = Object.keys(process.env).filter((key)=>/^debug_/i.test(key)).reduce((obj, key)=>{
|
|
2368
2368
|
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k)=>k.toUpperCase());
|
|
2369
2369
|
let val = process.env[key];
|
|
2370
|
-
val =
|
|
2370
|
+
val = /^(yes|on|true|enabled)$/i.test(val) ? true : /^(no|off|false|disabled)$/i.test(val) ? false : 'null' === val ? null : Number(val);
|
|
2371
2371
|
obj[prop] = val;
|
|
2372
2372
|
return obj;
|
|
2373
2373
|
}, {});
|
|
@@ -2984,8 +2984,7 @@ var __webpack_modules__ = {
|
|
|
2984
2984
|
"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2985
2985
|
__webpack_require__("fs");
|
|
2986
2986
|
var core;
|
|
2987
|
-
|
|
2988
|
-
else core = __webpack_require__("../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js");
|
|
2987
|
+
core = 'win32' === process.platform || global.TESTING_WINDOWS ? __webpack_require__("../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js") : __webpack_require__("../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js");
|
|
2989
2988
|
module.exports = isexe;
|
|
2990
2989
|
isexe.sync = sync;
|
|
2991
2990
|
function isexe(path, options, cb) {
|
|
@@ -3027,7 +3026,7 @@ var __webpack_modules__ = {
|
|
|
3027
3026
|
var fs = __webpack_require__("fs");
|
|
3028
3027
|
function isexe(path, options, cb) {
|
|
3029
3028
|
fs.stat(path, function(er, stat) {
|
|
3030
|
-
cb(er,
|
|
3029
|
+
cb(er, er ? false : checkStat(stat, options));
|
|
3031
3030
|
});
|
|
3032
3031
|
}
|
|
3033
3032
|
function sync(path, options) {
|
|
@@ -3071,7 +3070,7 @@ var __webpack_modules__ = {
|
|
|
3071
3070
|
}
|
|
3072
3071
|
function isexe(path, options, cb) {
|
|
3073
3072
|
fs.stat(path, function(er, stat) {
|
|
3074
|
-
cb(er,
|
|
3073
|
+
cb(er, er ? false : checkStat(stat, path, options));
|
|
3075
3074
|
});
|
|
3076
3075
|
}
|
|
3077
3076
|
function sync(path, options) {
|
|
@@ -5221,7 +5220,7 @@ var __webpack_modules__ = {
|
|
|
5221
5220
|
this.unixPermissions = null;
|
|
5222
5221
|
this.dosPermissions = null;
|
|
5223
5222
|
var madeBy = this.versionMadeBy >> 8;
|
|
5224
|
-
this.dir = !!(0x0010 & this.externalFileAttributes)
|
|
5223
|
+
this.dir = !!(0x0010 & this.externalFileAttributes);
|
|
5225
5224
|
if (madeBy === MADE_BY_DOS) this.dosPermissions = 0x3F & this.externalFileAttributes;
|
|
5226
5225
|
if (madeBy === MADE_BY_UNIX) this.unixPermissions = this.externalFileAttributes >> 16 & 0xFFFF;
|
|
5227
5226
|
if (!this.dir && "/" === this.fileNameStr.slice(-1)) this.dir = true;
|
|
@@ -5680,8 +5679,8 @@ var __webpack_modules__ = {
|
|
|
5680
5679
|
}
|
|
5681
5680
|
},
|
|
5682
5681
|
"../../node_modules/.pnpm/normalize-package-data@6.0.2/node_modules/normalize-package-data/lib/fixer.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5683
|
-
var isValidSemver = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5684
|
-
var cleanSemver = __webpack_require__("../../node_modules/.pnpm/semver@7.
|
|
5682
|
+
var isValidSemver = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js");
|
|
5683
|
+
var cleanSemver = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js");
|
|
5685
5684
|
var validateLicense = __webpack_require__("../../node_modules/.pnpm/validate-npm-package-license@3.0.4/node_modules/validate-npm-package-license/index.js");
|
|
5686
5685
|
var hostedGitInfo = __webpack_require__("../../node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/index.js");
|
|
5687
5686
|
var moduleBuiltin = __webpack_require__("node:module");
|
|
@@ -7163,7 +7162,7 @@ var __webpack_modules__ = {
|
|
|
7163
7162
|
s.lit_bufsize = 1 << memLevel + 6;
|
|
7164
7163
|
s.pending_buf_size = 4 * s.lit_bufsize;
|
|
7165
7164
|
s.pending_buf = new utils.Buf8(s.pending_buf_size);
|
|
7166
|
-
s.d_buf =
|
|
7165
|
+
s.d_buf = +s.lit_bufsize;
|
|
7167
7166
|
s.l_buf = 3 * s.lit_bufsize;
|
|
7168
7167
|
s.level = level;
|
|
7169
7168
|
s.strategy = strategy;
|
|
@@ -11669,14 +11668,6 @@ var __webpack_modules__ = {
|
|
|
11669
11668
|
}
|
|
11670
11669
|
module.exports = SemVer;
|
|
11671
11670
|
},
|
|
11672
|
-
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
11673
|
-
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");
|
|
11674
|
-
const clean = (version, options)=>{
|
|
11675
|
-
const s = parse(version.trim().replace(/^[=v]+/, ''), options);
|
|
11676
|
-
return s ? s.version : null;
|
|
11677
|
-
};
|
|
11678
|
-
module.exports = clean;
|
|
11679
|
-
},
|
|
11680
11671
|
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
11681
11672
|
const eq = __webpack_require__("../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js");
|
|
11682
11673
|
const neq = __webpack_require__("../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js");
|
|
@@ -11749,27 +11740,6 @@ var __webpack_modules__ = {
|
|
|
11749
11740
|
const neq = (a, b, loose)=>0 !== compare(a, b, loose);
|
|
11750
11741
|
module.exports = neq;
|
|
11751
11742
|
},
|
|
11752
|
-
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
11753
|
-
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");
|
|
11754
|
-
const parse = (version, options, throwErrors = false)=>{
|
|
11755
|
-
if (version instanceof SemVer) return version;
|
|
11756
|
-
try {
|
|
11757
|
-
return new SemVer(version, options);
|
|
11758
|
-
} catch (er) {
|
|
11759
|
-
if (!throwErrors) return null;
|
|
11760
|
-
throw er;
|
|
11761
|
-
}
|
|
11762
|
-
};
|
|
11763
|
-
module.exports = parse;
|
|
11764
|
-
},
|
|
11765
|
-
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
11766
|
-
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");
|
|
11767
|
-
const valid = (version, options)=>{
|
|
11768
|
-
const v = parse(version, options);
|
|
11769
|
-
return v ? v.version : null;
|
|
11770
|
-
};
|
|
11771
|
-
module.exports = valid;
|
|
11772
|
-
},
|
|
11773
11743
|
"../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js": function(module) {
|
|
11774
11744
|
const SEMVER_SPEC_VERSION = '2.0.0';
|
|
11775
11745
|
const MAX_LENGTH = 256;
|
|
@@ -11806,8 +11776,8 @@ var __webpack_modules__ = {
|
|
|
11806
11776
|
const anum = numeric.test(a);
|
|
11807
11777
|
const bnum = numeric.test(b);
|
|
11808
11778
|
if (anum && bnum) {
|
|
11809
|
-
a
|
|
11810
|
-
b
|
|
11779
|
+
a *= 1;
|
|
11780
|
+
b *= 1;
|
|
11811
11781
|
}
|
|
11812
11782
|
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
11813
11783
|
};
|
|
@@ -11954,6 +11924,362 @@ var __webpack_modules__ = {
|
|
|
11954
11924
|
};
|
|
11955
11925
|
module.exports = validRange;
|
|
11956
11926
|
},
|
|
11927
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
11928
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
11929
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js");
|
|
11930
|
+
const { safeRe: re, safeSrc: src, t } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js");
|
|
11931
|
+
const parseOptions = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js");
|
|
11932
|
+
const { compareIdentifiers } = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js");
|
|
11933
|
+
class SemVer {
|
|
11934
|
+
constructor(version, options){
|
|
11935
|
+
options = parseOptions(options);
|
|
11936
|
+
if (version instanceof SemVer) {
|
|
11937
|
+
if (!!options.loose === version.loose && !!options.includePrerelease === version.includePrerelease) return version;
|
|
11938
|
+
version = version.version;
|
|
11939
|
+
} else if ('string' != typeof version) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
11940
|
+
if (version.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
11941
|
+
debug('SemVer', version, options);
|
|
11942
|
+
this.options = options;
|
|
11943
|
+
this.loose = !!options.loose;
|
|
11944
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
11945
|
+
const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
11946
|
+
if (!m) throw new TypeError(`Invalid Version: ${version}`);
|
|
11947
|
+
this.raw = version;
|
|
11948
|
+
this.major = +m[1];
|
|
11949
|
+
this.minor = +m[2];
|
|
11950
|
+
this.patch = +m[3];
|
|
11951
|
+
if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError('Invalid major version');
|
|
11952
|
+
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError('Invalid minor version');
|
|
11953
|
+
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError('Invalid patch version');
|
|
11954
|
+
if (m[4]) this.prerelease = m[4].split('.').map((id)=>{
|
|
11955
|
+
if (/^[0-9]+$/.test(id)) {
|
|
11956
|
+
const num = +id;
|
|
11957
|
+
if (num >= 0 && num < MAX_SAFE_INTEGER) return num;
|
|
11958
|
+
}
|
|
11959
|
+
return id;
|
|
11960
|
+
});
|
|
11961
|
+
else this.prerelease = [];
|
|
11962
|
+
this.build = m[5] ? m[5].split('.') : [];
|
|
11963
|
+
this.format();
|
|
11964
|
+
}
|
|
11965
|
+
format() {
|
|
11966
|
+
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
11967
|
+
if (this.prerelease.length) this.version += `-${this.prerelease.join('.')}`;
|
|
11968
|
+
return this.version;
|
|
11969
|
+
}
|
|
11970
|
+
toString() {
|
|
11971
|
+
return this.version;
|
|
11972
|
+
}
|
|
11973
|
+
compare(other) {
|
|
11974
|
+
debug('SemVer.compare', this.version, this.options, other);
|
|
11975
|
+
if (!(other instanceof SemVer)) {
|
|
11976
|
+
if ('string' == typeof other && other === this.version) return 0;
|
|
11977
|
+
other = new SemVer(other, this.options);
|
|
11978
|
+
}
|
|
11979
|
+
if (other.version === this.version) return 0;
|
|
11980
|
+
return this.compareMain(other) || this.comparePre(other);
|
|
11981
|
+
}
|
|
11982
|
+
compareMain(other) {
|
|
11983
|
+
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
11984
|
+
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
11985
|
+
}
|
|
11986
|
+
comparePre(other) {
|
|
11987
|
+
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
11988
|
+
if (this.prerelease.length && !other.prerelease.length) return -1;
|
|
11989
|
+
if (!this.prerelease.length && other.prerelease.length) return 1;
|
|
11990
|
+
if (!this.prerelease.length && !other.prerelease.length) return 0;
|
|
11991
|
+
let i = 0;
|
|
11992
|
+
do {
|
|
11993
|
+
const a = this.prerelease[i];
|
|
11994
|
+
const b = other.prerelease[i];
|
|
11995
|
+
debug('prerelease compare', i, a, b);
|
|
11996
|
+
if (void 0 === a && void 0 === b) return 0;
|
|
11997
|
+
if (void 0 === b) return 1;
|
|
11998
|
+
if (void 0 === a) return -1;
|
|
11999
|
+
else if (a === b) continue;
|
|
12000
|
+
else return compareIdentifiers(a, b);
|
|
12001
|
+
}while (++i);
|
|
12002
|
+
}
|
|
12003
|
+
compareBuild(other) {
|
|
12004
|
+
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
12005
|
+
let i = 0;
|
|
12006
|
+
do {
|
|
12007
|
+
const a = this.build[i];
|
|
12008
|
+
const b = other.build[i];
|
|
12009
|
+
debug('build compare', i, a, b);
|
|
12010
|
+
if (void 0 === a && void 0 === b) return 0;
|
|
12011
|
+
if (void 0 === b) return 1;
|
|
12012
|
+
if (void 0 === a) return -1;
|
|
12013
|
+
else if (a === b) continue;
|
|
12014
|
+
else return compareIdentifiers(a, b);
|
|
12015
|
+
}while (++i);
|
|
12016
|
+
}
|
|
12017
|
+
inc(release, identifier, identifierBase) {
|
|
12018
|
+
if (release.startsWith('pre')) {
|
|
12019
|
+
if (!identifier && false === identifierBase) throw new Error('invalid increment argument: identifier is empty');
|
|
12020
|
+
if (identifier) {
|
|
12021
|
+
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
|
|
12022
|
+
const match = `-${identifier}`.match(r);
|
|
12023
|
+
if (!match || match[1] !== identifier) throw new Error(`invalid identifier: ${identifier}`);
|
|
12024
|
+
}
|
|
12025
|
+
}
|
|
12026
|
+
switch(release){
|
|
12027
|
+
case 'premajor':
|
|
12028
|
+
this.prerelease.length = 0;
|
|
12029
|
+
this.patch = 0;
|
|
12030
|
+
this.minor = 0;
|
|
12031
|
+
this.major++;
|
|
12032
|
+
this.inc('pre', identifier, identifierBase);
|
|
12033
|
+
break;
|
|
12034
|
+
case 'preminor':
|
|
12035
|
+
this.prerelease.length = 0;
|
|
12036
|
+
this.patch = 0;
|
|
12037
|
+
this.minor++;
|
|
12038
|
+
this.inc('pre', identifier, identifierBase);
|
|
12039
|
+
break;
|
|
12040
|
+
case 'prepatch':
|
|
12041
|
+
this.prerelease.length = 0;
|
|
12042
|
+
this.inc('patch', identifier, identifierBase);
|
|
12043
|
+
this.inc('pre', identifier, identifierBase);
|
|
12044
|
+
break;
|
|
12045
|
+
case 'prerelease':
|
|
12046
|
+
if (0 === this.prerelease.length) this.inc('patch', identifier, identifierBase);
|
|
12047
|
+
this.inc('pre', identifier, identifierBase);
|
|
12048
|
+
break;
|
|
12049
|
+
case 'release':
|
|
12050
|
+
if (0 === this.prerelease.length) throw new Error(`version ${this.raw} is not a prerelease`);
|
|
12051
|
+
this.prerelease.length = 0;
|
|
12052
|
+
break;
|
|
12053
|
+
case 'major':
|
|
12054
|
+
if (0 !== this.minor || 0 !== this.patch || 0 === this.prerelease.length) this.major++;
|
|
12055
|
+
this.minor = 0;
|
|
12056
|
+
this.patch = 0;
|
|
12057
|
+
this.prerelease = [];
|
|
12058
|
+
break;
|
|
12059
|
+
case 'minor':
|
|
12060
|
+
if (0 !== this.patch || 0 === this.prerelease.length) this.minor++;
|
|
12061
|
+
this.patch = 0;
|
|
12062
|
+
this.prerelease = [];
|
|
12063
|
+
break;
|
|
12064
|
+
case 'patch':
|
|
12065
|
+
if (0 === this.prerelease.length) this.patch++;
|
|
12066
|
+
this.prerelease = [];
|
|
12067
|
+
break;
|
|
12068
|
+
case 'pre':
|
|
12069
|
+
{
|
|
12070
|
+
const base = Number(identifierBase) ? 1 : 0;
|
|
12071
|
+
if (0 === this.prerelease.length) this.prerelease = [
|
|
12072
|
+
base
|
|
12073
|
+
];
|
|
12074
|
+
else {
|
|
12075
|
+
let i = this.prerelease.length;
|
|
12076
|
+
while(--i >= 0)if ('number' == typeof this.prerelease[i]) {
|
|
12077
|
+
this.prerelease[i]++;
|
|
12078
|
+
i = -2;
|
|
12079
|
+
}
|
|
12080
|
+
if (-1 === i) {
|
|
12081
|
+
if (identifier === this.prerelease.join('.') && false === identifierBase) throw new Error('invalid increment argument: identifier already exists');
|
|
12082
|
+
this.prerelease.push(base);
|
|
12083
|
+
}
|
|
12084
|
+
}
|
|
12085
|
+
if (identifier) {
|
|
12086
|
+
let prerelease = [
|
|
12087
|
+
identifier,
|
|
12088
|
+
base
|
|
12089
|
+
];
|
|
12090
|
+
if (false === identifierBase) prerelease = [
|
|
12091
|
+
identifier
|
|
12092
|
+
];
|
|
12093
|
+
if (0 === compareIdentifiers(this.prerelease[0], identifier)) {
|
|
12094
|
+
if (isNaN(this.prerelease[1])) this.prerelease = prerelease;
|
|
12095
|
+
} else this.prerelease = prerelease;
|
|
12096
|
+
}
|
|
12097
|
+
break;
|
|
12098
|
+
}
|
|
12099
|
+
default:
|
|
12100
|
+
throw new Error(`invalid increment argument: ${release}`);
|
|
12101
|
+
}
|
|
12102
|
+
this.raw = this.format();
|
|
12103
|
+
if (this.build.length) this.raw += `+${this.build.join('.')}`;
|
|
12104
|
+
return this;
|
|
12105
|
+
}
|
|
12106
|
+
}
|
|
12107
|
+
module.exports = SemVer;
|
|
12108
|
+
},
|
|
12109
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
12110
|
+
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
12111
|
+
const clean = (version, options)=>{
|
|
12112
|
+
const s = parse(version.trim().replace(/^[=v]+/, ''), options);
|
|
12113
|
+
return s ? s.version : null;
|
|
12114
|
+
};
|
|
12115
|
+
module.exports = clean;
|
|
12116
|
+
},
|
|
12117
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
12118
|
+
const SemVer = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js");
|
|
12119
|
+
const parse = (version, options, throwErrors = false)=>{
|
|
12120
|
+
if (version instanceof SemVer) return version;
|
|
12121
|
+
try {
|
|
12122
|
+
return new SemVer(version, options);
|
|
12123
|
+
} catch (er) {
|
|
12124
|
+
if (!throwErrors) return null;
|
|
12125
|
+
throw er;
|
|
12126
|
+
}
|
|
12127
|
+
};
|
|
12128
|
+
module.exports = parse;
|
|
12129
|
+
},
|
|
12130
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
12131
|
+
const parse = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js");
|
|
12132
|
+
const valid = (version, options)=>{
|
|
12133
|
+
const v = parse(version, options);
|
|
12134
|
+
return v ? v.version : null;
|
|
12135
|
+
};
|
|
12136
|
+
module.exports = valid;
|
|
12137
|
+
},
|
|
12138
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js": function(module) {
|
|
12139
|
+
const SEMVER_SPEC_VERSION = '2.0.0';
|
|
12140
|
+
const MAX_LENGTH = 256;
|
|
12141
|
+
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
12142
|
+
const MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
12143
|
+
const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
12144
|
+
const RELEASE_TYPES = [
|
|
12145
|
+
'major',
|
|
12146
|
+
'premajor',
|
|
12147
|
+
'minor',
|
|
12148
|
+
'preminor',
|
|
12149
|
+
'patch',
|
|
12150
|
+
'prepatch',
|
|
12151
|
+
'prerelease'
|
|
12152
|
+
];
|
|
12153
|
+
module.exports = {
|
|
12154
|
+
MAX_LENGTH,
|
|
12155
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
12156
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
12157
|
+
MAX_SAFE_INTEGER,
|
|
12158
|
+
RELEASE_TYPES,
|
|
12159
|
+
SEMVER_SPEC_VERSION,
|
|
12160
|
+
FLAG_INCLUDE_PRERELEASE: 1,
|
|
12161
|
+
FLAG_LOOSE: 2
|
|
12162
|
+
};
|
|
12163
|
+
},
|
|
12164
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js": function(module) {
|
|
12165
|
+
const debug = 'object' == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error('SEMVER', ...args) : ()=>{};
|
|
12166
|
+
module.exports = debug;
|
|
12167
|
+
},
|
|
12168
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js": function(module) {
|
|
12169
|
+
const numeric = /^[0-9]+$/;
|
|
12170
|
+
const compareIdentifiers = (a, b)=>{
|
|
12171
|
+
const anum = numeric.test(a);
|
|
12172
|
+
const bnum = numeric.test(b);
|
|
12173
|
+
if (anum && bnum) {
|
|
12174
|
+
a *= 1;
|
|
12175
|
+
b *= 1;
|
|
12176
|
+
}
|
|
12177
|
+
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
12178
|
+
};
|
|
12179
|
+
const rcompareIdentifiers = (a, b)=>compareIdentifiers(b, a);
|
|
12180
|
+
module.exports = {
|
|
12181
|
+
compareIdentifiers,
|
|
12182
|
+
rcompareIdentifiers
|
|
12183
|
+
};
|
|
12184
|
+
},
|
|
12185
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js": function(module) {
|
|
12186
|
+
const looseOption = Object.freeze({
|
|
12187
|
+
loose: true
|
|
12188
|
+
});
|
|
12189
|
+
const emptyOpts = Object.freeze({});
|
|
12190
|
+
const parseOptions = (options)=>{
|
|
12191
|
+
if (!options) return emptyOpts;
|
|
12192
|
+
if ('object' != typeof options) return looseOption;
|
|
12193
|
+
return options;
|
|
12194
|
+
};
|
|
12195
|
+
module.exports = parseOptions;
|
|
12196
|
+
},
|
|
12197
|
+
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js": function(module, exports, __webpack_require__) {
|
|
12198
|
+
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");
|
|
12199
|
+
const debug = __webpack_require__("../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js");
|
|
12200
|
+
exports = module.exports = {};
|
|
12201
|
+
const re = exports.re = [];
|
|
12202
|
+
const safeRe = exports.safeRe = [];
|
|
12203
|
+
const src = exports.src = [];
|
|
12204
|
+
const safeSrc = exports.safeSrc = [];
|
|
12205
|
+
const t = exports.t = {};
|
|
12206
|
+
let R = 0;
|
|
12207
|
+
const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
|
|
12208
|
+
const safeRegexReplacements = [
|
|
12209
|
+
[
|
|
12210
|
+
'\\s',
|
|
12211
|
+
1
|
|
12212
|
+
],
|
|
12213
|
+
[
|
|
12214
|
+
'\\d',
|
|
12215
|
+
MAX_LENGTH
|
|
12216
|
+
],
|
|
12217
|
+
[
|
|
12218
|
+
LETTERDASHNUMBER,
|
|
12219
|
+
MAX_SAFE_BUILD_LENGTH
|
|
12220
|
+
]
|
|
12221
|
+
];
|
|
12222
|
+
const makeSafeRegex = (value1)=>{
|
|
12223
|
+
for (const [token, max] of safeRegexReplacements)value1 = value1.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
|
|
12224
|
+
return value1;
|
|
12225
|
+
};
|
|
12226
|
+
const createToken = (name, value1, isGlobal)=>{
|
|
12227
|
+
const safe = makeSafeRegex(value1);
|
|
12228
|
+
const index = R++;
|
|
12229
|
+
debug(name, index, value1);
|
|
12230
|
+
t[name] = index;
|
|
12231
|
+
src[index] = value1;
|
|
12232
|
+
safeSrc[index] = safe;
|
|
12233
|
+
re[index] = new RegExp(value1, isGlobal ? 'g' : void 0);
|
|
12234
|
+
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : void 0);
|
|
12235
|
+
};
|
|
12236
|
+
createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*');
|
|
12237
|
+
createToken('NUMERICIDENTIFIERLOOSE', '\\d+');
|
|
12238
|
+
createToken('NONNUMERICIDENTIFIER', `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
12239
|
+
createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
12240
|
+
createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
12241
|
+
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
12242
|
+
createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
12243
|
+
createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
12244
|
+
createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
12245
|
+
createToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`);
|
|
12246
|
+
createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
12247
|
+
createToken('FULLPLAIN', `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
12248
|
+
createToken('FULL', `^${src[t.FULLPLAIN]}$`);
|
|
12249
|
+
createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
12250
|
+
createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`);
|
|
12251
|
+
createToken('GTLT', '((?:<|>)?=?)');
|
|
12252
|
+
createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
12253
|
+
createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
12254
|
+
createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
12255
|
+
createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
12256
|
+
createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
12257
|
+
createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
12258
|
+
createToken('COERCEPLAIN', `(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
12259
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
12260
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + "(?:$|[^\\d])");
|
|
12261
|
+
createToken('COERCERTL', src[t.COERCE], true);
|
|
12262
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true);
|
|
12263
|
+
createToken('LONETILDE', '(?:~>?)');
|
|
12264
|
+
createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
12265
|
+
exports.tildeTrimReplace = '$1~';
|
|
12266
|
+
createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
12267
|
+
createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
12268
|
+
createToken('LONECARET', '(?:\\^)');
|
|
12269
|
+
createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
12270
|
+
exports.caretTrimReplace = '$1^';
|
|
12271
|
+
createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
12272
|
+
createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
12273
|
+
createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
12274
|
+
createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
12275
|
+
createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
12276
|
+
exports.comparatorTrimReplace = '$1$2$3';
|
|
12277
|
+
createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*\$`);
|
|
12278
|
+
createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*\$`);
|
|
12279
|
+
createToken('STAR', '(<|>)?=?\\s*\\*');
|
|
12280
|
+
createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
|
|
12281
|
+
createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
|
|
12282
|
+
},
|
|
11957
12283
|
"../../node_modules/.pnpm/setimmediate@1.0.5/node_modules/setimmediate/setImmediate.js": function() {
|
|
11958
12284
|
(function(global1, undefined) {
|
|
11959
12285
|
"use strict";
|
|
@@ -12519,7 +12845,7 @@ var __webpack_modules__ = {
|
|
|
12519
12845
|
};
|
|
12520
12846
|
module.exports = function(identifier, options) {
|
|
12521
12847
|
options = options || {};
|
|
12522
|
-
var upgrade = void 0 === options.upgrade
|
|
12848
|
+
var upgrade = void 0 === options.upgrade ? true : !!options.upgrade;
|
|
12523
12849
|
function postprocess(value1) {
|
|
12524
12850
|
return upgrade ? upgradeGPLs(value1) : value1;
|
|
12525
12851
|
}
|
|
@@ -13283,7 +13609,7 @@ var __webpack_modules__ = {
|
|
|
13283
13609
|
var jsTokens = __webpack_require__("../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js");
|
|
13284
13610
|
var helperValidatorIdentifier = __webpack_require__("../../node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/index.js");
|
|
13285
13611
|
function isColorSupported() {
|
|
13286
|
-
return
|
|
13612
|
+
return "object" == typeof process && ("0" === process.env.FORCE_COLOR || "false" === process.env.FORCE_COLOR) ? false : picocolors.isColorSupported;
|
|
13287
13613
|
}
|
|
13288
13614
|
const compose = (f, g)=>(v)=>f(g(v));
|
|
13289
13615
|
function buildDefs(colors) {
|
|
@@ -16559,7 +16885,7 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
16559
16885
|
function TSEnumBody(node) {
|
|
16560
16886
|
printBraced(this, node, ()=>{
|
|
16561
16887
|
var _this$shouldPrintTrai;
|
|
16562
|
-
return this.printList(node.members, null
|
|
16888
|
+
return this.printList(node.members, null != (_this$shouldPrintTrai = this.shouldPrintTrailingComma("}")) ? _this$shouldPrintTrai : true, true, true);
|
|
16563
16889
|
});
|
|
16564
16890
|
}
|
|
16565
16891
|
function TSEnumMember(node) {
|
|
@@ -17801,7 +18127,7 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
17801
18127
|
this._indentInnerComments = false;
|
|
17802
18128
|
}
|
|
17803
18129
|
printSequence(nodes, indent, trailingCommentsLineOffset, addNewlines) {
|
|
17804
|
-
this.printJoin(nodes, true, null != indent
|
|
18130
|
+
this.printJoin(nodes, true, null != indent ? indent : false, void 0, void 0, addNewlines, void 0, trailingCommentsLineOffset);
|
|
17805
18131
|
}
|
|
17806
18132
|
printList(items, printTrailingSeparator, statement, indent, separator, iterator) {
|
|
17807
18133
|
this.printJoin(items, statement, indent, null != separator ? separator : commaSeparator, printTrailingSeparator, void 0, iterator);
|
|
@@ -20276,9 +20602,9 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
20276
20602
|
++tokenTypeCounter;
|
|
20277
20603
|
tokenLabels.push(name);
|
|
20278
20604
|
tokenBinops.push(null != (_options$binop = options.binop) ? _options$binop : -1);
|
|
20279
|
-
tokenBeforeExprs.push(null != (_options$beforeExpr = options.beforeExpr)
|
|
20280
|
-
tokenStartsExprs.push(null != (_options$startsExpr = options.startsExpr)
|
|
20281
|
-
tokenPrefixes.push(null != (_options$prefix = options.prefix)
|
|
20605
|
+
tokenBeforeExprs.push(null != (_options$beforeExpr = options.beforeExpr) ? _options$beforeExpr : false);
|
|
20606
|
+
tokenStartsExprs.push(null != (_options$startsExpr = options.startsExpr) ? _options$startsExpr : false);
|
|
20607
|
+
tokenPrefixes.push(null != (_options$prefix = options.prefix) ? _options$prefix : false);
|
|
20282
20608
|
tokenTypes.push(new ExportedTokenType(name, options));
|
|
20283
20609
|
return tokenTypeCounter;
|
|
20284
20610
|
}
|
|
@@ -20288,9 +20614,9 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
20288
20614
|
keywords$1.set(name, tokenTypeCounter);
|
|
20289
20615
|
tokenLabels.push(name);
|
|
20290
20616
|
tokenBinops.push(null != (_options$binop2 = options.binop) ? _options$binop2 : -1);
|
|
20291
|
-
tokenBeforeExprs.push(null != (_options$beforeExpr2 = options.beforeExpr)
|
|
20292
|
-
tokenStartsExprs.push(null != (_options$startsExpr2 = options.startsExpr)
|
|
20293
|
-
tokenPrefixes.push(null != (_options$prefix2 = options.prefix)
|
|
20617
|
+
tokenBeforeExprs.push(null != (_options$beforeExpr2 = options.beforeExpr) ? _options$beforeExpr2 : false);
|
|
20618
|
+
tokenStartsExprs.push(null != (_options$startsExpr2 = options.startsExpr) ? _options$startsExpr2 : false);
|
|
20619
|
+
tokenPrefixes.push(null != (_options$prefix2 = options.prefix) ? _options$prefix2 : false);
|
|
20294
20620
|
tokenTypes.push(new ExportedTokenType("name", options));
|
|
20295
20621
|
return tokenTypeCounter;
|
|
20296
20622
|
}
|
|
@@ -22239,7 +22565,7 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
22239
22565
|
else this.flags &= -2;
|
|
22240
22566
|
}
|
|
22241
22567
|
init({ strictMode, sourceType, startIndex, startLine, startColumn }) {
|
|
22242
|
-
this.strict = false
|
|
22568
|
+
this.strict = false === strictMode ? false : true === strictMode ? true : "module" === sourceType;
|
|
22243
22569
|
this.startIndex = startIndex;
|
|
22244
22570
|
this.curLine = startLine;
|
|
22245
22571
|
this.lineStart = -startColumn;
|
|
@@ -26206,7 +26532,7 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
26206
26532
|
UnwrappedAdjacentJSXElements: "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"
|
|
26207
26533
|
});
|
|
26208
26534
|
function isFragment(object) {
|
|
26209
|
-
return
|
|
26535
|
+
return object ? "JSXOpeningFragment" === object.type || "JSXClosingFragment" === object.type : false;
|
|
26210
26536
|
}
|
|
26211
26537
|
function getQualifiedJSXName(object) {
|
|
26212
26538
|
if ("JSXIdentifier" === object.type) return object.name;
|
|
@@ -69403,12 +69729,8 @@ function __webpack_require__(moduleId) {
|
|
|
69403
69729
|
return module.exports;
|
|
69404
69730
|
}
|
|
69405
69731
|
(()=>{
|
|
69406
|
-
__webpack_require__.n =
|
|
69407
|
-
var getter = module && module.__esModule ?
|
|
69408
|
-
return module['default'];
|
|
69409
|
-
} : function() {
|
|
69410
|
-
return module;
|
|
69411
|
-
};
|
|
69732
|
+
__webpack_require__.n = (module)=>{
|
|
69733
|
+
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
69412
69734
|
__webpack_require__.d(getter, {
|
|
69413
69735
|
a: getter
|
|
69414
69736
|
});
|
|
@@ -69416,7 +69738,7 @@ function __webpack_require__(moduleId) {
|
|
|
69416
69738
|
};
|
|
69417
69739
|
})();
|
|
69418
69740
|
(()=>{
|
|
69419
|
-
__webpack_require__.d =
|
|
69741
|
+
__webpack_require__.d = (exports, definition)=>{
|
|
69420
69742
|
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
|
|
69421
69743
|
enumerable: true,
|
|
69422
69744
|
get: definition[key]
|
|
@@ -69424,9 +69746,7 @@ function __webpack_require__(moduleId) {
|
|
|
69424
69746
|
};
|
|
69425
69747
|
})();
|
|
69426
69748
|
(()=>{
|
|
69427
|
-
__webpack_require__.o =
|
|
69428
|
-
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
69429
|
-
};
|
|
69749
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
69430
69750
|
})();
|
|
69431
69751
|
var external_stream_ = __webpack_require__("stream");
|
|
69432
69752
|
var RequestError = class extends Error {
|
|
@@ -69860,7 +70180,7 @@ const isWsl = ()=>{
|
|
|
69860
70180
|
return true;
|
|
69861
70181
|
}
|
|
69862
70182
|
try {
|
|
69863
|
-
return
|
|
70183
|
+
return __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__["default"].readFileSync('/proc/version', 'utf8').toLowerCase().includes('microsoft') ? !isInsideContainer() : false;
|
|
69864
70184
|
} catch {
|
|
69865
70185
|
return false;
|
|
69866
70186
|
}
|
|
@@ -71170,7 +71490,7 @@ const preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutive
|
|
|
71170
71490
|
let isLastLastCharPreserved = false;
|
|
71171
71491
|
for(let index = 0; index < string.length; index++){
|
|
71172
71492
|
const character = string[index];
|
|
71173
|
-
isLastLastCharPreserved =
|
|
71493
|
+
isLastLastCharPreserved = index > 2 ? '-' === string[index - 3] : true;
|
|
71174
71494
|
if (isLastCharLower && UPPERCASE.test(character)) {
|
|
71175
71495
|
string = string.slice(0, index) + '-' + string.slice(index);
|
|
71176
71496
|
isLastCharLower = false;
|
|
@@ -72662,8 +72982,8 @@ const fallbackSymbols = {
|
|
|
72662
72982
|
...specialFallbackSymbols
|
|
72663
72983
|
};
|
|
72664
72984
|
const shouldUseMain = isUnicodeSupported();
|
|
72665
|
-
const
|
|
72666
|
-
const
|
|
72985
|
+
const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
72986
|
+
const node_modules_figures = figures;
|
|
72667
72987
|
Object.entries(specialMainSymbols);
|
|
72668
72988
|
const hasColors = __WEBPACK_EXTERNAL_MODULE_node_tty_c64aab7e__["default"]?.WriteStream?.prototype?.hasColors?.() ?? false;
|
|
72669
72989
|
const format = (open, close)=>{
|
|
@@ -72741,8 +73061,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
|
|
|
72741
73061
|
const serializeTimestamp = (timestamp)=>`${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
|
|
72742
73062
|
const padField = (field, padding)=>String(field).padStart(padding, '0');
|
|
72743
73063
|
const getFinalIcon = ({ failed, reject })=>{
|
|
72744
|
-
if (!failed) return
|
|
72745
|
-
return reject ?
|
|
73064
|
+
if (!failed) return node_modules_figures.tick;
|
|
73065
|
+
return reject ? node_modules_figures.cross : node_modules_figures.warning;
|
|
72746
73066
|
};
|
|
72747
73067
|
const ICONS = {
|
|
72748
73068
|
command: ({ piped })=>piped ? '|' : '$',
|
|
@@ -73587,7 +73907,7 @@ const onMessage = async ({ anyProcess, channel, isSubprocess, ipcEmitter }, wrap
|
|
|
73587
73907
|
if (incomingMessages.length > 1) return;
|
|
73588
73908
|
while(incomingMessages.length > 0){
|
|
73589
73909
|
await waitForOutgoingMessages(anyProcess, ipcEmitter, wrappedMessage);
|
|
73590
|
-
await __WEBPACK_EXTERNAL_MODULE_node_timers_promises_aedbf14c__.scheduler
|
|
73910
|
+
await __WEBPACK_EXTERNAL_MODULE_node_timers_promises_aedbf14c__.scheduler["yield"]();
|
|
73591
73911
|
const message = await handleStrictRequest({
|
|
73592
73912
|
wrappedMessage: incomingMessages[0],
|
|
73593
73913
|
anyProcess,
|
|
@@ -73856,7 +74176,7 @@ const startIpc = async ({ anyProcess, channel, isSubprocess, ipc })=>{
|
|
|
73856
74176
|
return;
|
|
73857
74177
|
}
|
|
73858
74178
|
getIpcEmitter(anyProcess, channel, isSubprocess);
|
|
73859
|
-
await __WEBPACK_EXTERNAL_MODULE_node_timers_promises_aedbf14c__.scheduler
|
|
74179
|
+
await __WEBPACK_EXTERNAL_MODULE_node_timers_promises_aedbf14c__.scheduler["yield"]();
|
|
73860
74180
|
};
|
|
73861
74181
|
let cancelListening = false;
|
|
73862
74182
|
const handleAbort = (wrappedMessage)=>{
|
|
@@ -79185,8 +79505,8 @@ const deployWorker = async (oauth_token, accountId, { d1DatabaseId, d1DatabaseNa
|
|
|
79185
79505
|
cwd
|
|
79186
79506
|
]
|
|
79187
79507
|
});
|
|
79188
|
-
const
|
|
79189
|
-
const { tmpDir, removeTmpDir } = await (0, __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.copyDirToTmp)(
|
|
79508
|
+
const wranglerTemplateDir = external_path_["default"].dirname(workerPath);
|
|
79509
|
+
const { tmpDir, removeTmpDir } = await (0, __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.copyDirToTmp)(wranglerTemplateDir);
|
|
79190
79510
|
try {
|
|
79191
79511
|
const { createWrangler } = await import("@hot-updater/cloudflare/utils");
|
|
79192
79512
|
const wranglerConfig = JSON.parse(await __WEBPACK_EXTERNAL_MODULE_fs_promises_400951f8__["default"].readFile(external_path_["default"].join(tmpDir, "wrangler.json"), "utf-8"));
|