hot-updater 0.16.3 → 0.16.4
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 +5 -3
- package/dist/index.cjs +207 -285
- package/dist/index.js +192 -277
- package/dist/plugins/babel.cjs +109 -127
- package/dist/plugins/babel.js +102 -124
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1032,10 +1032,7 @@ var __webpack_modules__ = {
|
|
|
1032
1032
|
if (nodeFilter) {
|
|
1033
1033
|
node = nodeFilter(node);
|
|
1034
1034
|
if (!node) return;
|
|
1035
|
-
if ('string' == typeof node)
|
|
1036
|
-
buf.push(node);
|
|
1037
|
-
return;
|
|
1038
|
-
}
|
|
1035
|
+
if ('string' == typeof node) return void buf.push(node);
|
|
1039
1036
|
}
|
|
1040
1037
|
switch(node.nodeType){
|
|
1041
1038
|
case ELEMENT_NODE:
|
|
@@ -3981,11 +3978,11 @@ var __webpack_modules__ = {
|
|
|
3981
3978
|
return parts.join('');
|
|
3982
3979
|
}
|
|
3983
3980
|
},
|
|
3984
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
3981
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3985
3982
|
"use strict";
|
|
3986
3983
|
const cp = __webpack_require__("child_process");
|
|
3987
|
-
const parse = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.
|
|
3988
|
-
const enoent = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.
|
|
3984
|
+
const parse = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js");
|
|
3985
|
+
const enoent = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js");
|
|
3989
3986
|
function spawn(command, args, options) {
|
|
3990
3987
|
const parsed = parse(command, args, options);
|
|
3991
3988
|
const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
|
|
@@ -4004,7 +4001,7 @@ var __webpack_modules__ = {
|
|
|
4004
4001
|
module.exports._parse = parse;
|
|
4005
4002
|
module.exports._enoent = enoent;
|
|
4006
4003
|
},
|
|
4007
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
4004
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js": function(module) {
|
|
4008
4005
|
"use strict";
|
|
4009
4006
|
const isWin = 'win32' === process.platform;
|
|
4010
4007
|
function notFoundError(original, syscall) {
|
|
@@ -4021,7 +4018,7 @@ var __webpack_modules__ = {
|
|
|
4021
4018
|
const originalEmit = cp.emit;
|
|
4022
4019
|
cp.emit = function(name, arg1) {
|
|
4023
4020
|
if ('exit' === name) {
|
|
4024
|
-
const err = verifyENOENT(arg1, parsed
|
|
4021
|
+
const err = verifyENOENT(arg1, parsed);
|
|
4025
4022
|
if (err) return originalEmit.call(cp, 'error', err);
|
|
4026
4023
|
}
|
|
4027
4024
|
return originalEmit.apply(cp, arguments);
|
|
@@ -4042,12 +4039,12 @@ var __webpack_modules__ = {
|
|
|
4042
4039
|
notFoundError
|
|
4043
4040
|
};
|
|
4044
4041
|
},
|
|
4045
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
4042
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4046
4043
|
"use strict";
|
|
4047
4044
|
const path = __webpack_require__("path");
|
|
4048
|
-
const resolveCommand = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.
|
|
4049
|
-
const escape = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.
|
|
4050
|
-
const readShebang = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.
|
|
4045
|
+
const resolveCommand = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js");
|
|
4046
|
+
const escape = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js");
|
|
4047
|
+
const readShebang = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js");
|
|
4051
4048
|
const isWin = 'win32' === process.platform;
|
|
4052
4049
|
const isExecutableRegExp = /\.(?:com|exe)$/i;
|
|
4053
4050
|
const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
@@ -4105,7 +4102,7 @@ var __webpack_modules__ = {
|
|
|
4105
4102
|
}
|
|
4106
4103
|
module.exports = parse;
|
|
4107
4104
|
},
|
|
4108
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
4105
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js": function(module) {
|
|
4109
4106
|
"use strict";
|
|
4110
4107
|
const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
4111
4108
|
function escapeCommand(arg) {
|
|
@@ -4114,8 +4111,8 @@ var __webpack_modules__ = {
|
|
|
4114
4111
|
}
|
|
4115
4112
|
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
4116
4113
|
arg = `${arg}`;
|
|
4117
|
-
arg = arg.replace(/(
|
|
4118
|
-
arg = arg.replace(/(
|
|
4114
|
+
arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
|
|
4115
|
+
arg = arg.replace(/(?=(\\+?)?)\1$/, '$1$1');
|
|
4119
4116
|
arg = `"${arg}"`;
|
|
4120
4117
|
arg = arg.replace(metaCharsRegExp, '^$1');
|
|
4121
4118
|
if (doubleEscapeMetaChars) arg = arg.replace(metaCharsRegExp, '^$1');
|
|
@@ -4124,7 +4121,7 @@ var __webpack_modules__ = {
|
|
|
4124
4121
|
module.exports.command = escapeCommand;
|
|
4125
4122
|
module.exports.argument = escapeArgument;
|
|
4126
4123
|
},
|
|
4127
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
4124
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4128
4125
|
"use strict";
|
|
4129
4126
|
const fs = __webpack_require__("fs");
|
|
4130
4127
|
const shebangCommand = __webpack_require__("../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js");
|
|
@@ -4141,7 +4138,7 @@ var __webpack_modules__ = {
|
|
|
4141
4138
|
}
|
|
4142
4139
|
module.exports = readShebang;
|
|
4143
4140
|
},
|
|
4144
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
4141
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4145
4142
|
"use strict";
|
|
4146
4143
|
const path = __webpack_require__("path");
|
|
4147
4144
|
const which = __webpack_require__("../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js");
|
|
@@ -4603,10 +4600,8 @@ var __webpack_modules__ = {
|
|
|
4603
4600
|
const proto = arg.slice(0, firstColon + 1);
|
|
4604
4601
|
if (Object.prototype.hasOwnProperty.call(protocols, proto)) return arg;
|
|
4605
4602
|
const firstAt = arg.indexOf('@');
|
|
4606
|
-
if (firstAt > -1) {
|
|
4607
|
-
|
|
4608
|
-
return arg;
|
|
4609
|
-
}
|
|
4603
|
+
if (firstAt > -1) if (firstAt > firstColon) return `git+ssh://${arg}`;
|
|
4604
|
+
else return arg;
|
|
4610
4605
|
const doubleSlash = arg.indexOf('//');
|
|
4611
4606
|
if (doubleSlash === firstColon + 1) return arg;
|
|
4612
4607
|
return `${arg.slice(0, firstColon + 1)}//${arg.slice(firstColon + 1)}`;
|
|
@@ -4951,26 +4946,21 @@ var __webpack_modules__ = {
|
|
|
4951
4946
|
url: hosted.bugs()
|
|
4952
4947
|
};
|
|
4953
4948
|
} else if (data.bugs) {
|
|
4954
|
-
if ('string' == typeof data.bugs) {
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
} else {
|
|
4949
|
+
if ('string' == typeof data.bugs) if (isEmail(data.bugs)) data.bugs = {
|
|
4950
|
+
email: data.bugs
|
|
4951
|
+
};
|
|
4952
|
+
else if (url.parse(data.bugs).protocol) data.bugs = {
|
|
4953
|
+
url: data.bugs
|
|
4954
|
+
};
|
|
4955
|
+
else this.warn('nonEmailUrlBugsString');
|
|
4956
|
+
else {
|
|
4963
4957
|
bugsTypos(data.bugs, this.warn);
|
|
4964
4958
|
var oldBugs = data.bugs;
|
|
4965
4959
|
data.bugs = {};
|
|
4966
|
-
if (oldBugs.url)
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
if (oldBugs.email) {
|
|
4971
|
-
if ('string' == typeof oldBugs.email && isEmail(oldBugs.email)) data.bugs.email = oldBugs.email;
|
|
4972
|
-
else this.warn('nonEmailBugsEmailField');
|
|
4973
|
-
}
|
|
4960
|
+
if (oldBugs.url) if ('string' == typeof oldBugs.url && url.parse(oldBugs.url).protocol) data.bugs.url = oldBugs.url;
|
|
4961
|
+
else this.warn('nonUrlBugsUrlField');
|
|
4962
|
+
if (oldBugs.email) if ('string' == typeof oldBugs.email && isEmail(oldBugs.email)) data.bugs.email = oldBugs.email;
|
|
4963
|
+
else this.warn('nonEmailBugsEmailField');
|
|
4974
4964
|
}
|
|
4975
4965
|
if (!data.bugs.email && !data.bugs.url) {
|
|
4976
4966
|
delete data.bugs;
|
|
@@ -5446,10 +5436,8 @@ var __webpack_modules__ = {
|
|
|
5446
5436
|
}
|
|
5447
5437
|
constructor(comp, options){
|
|
5448
5438
|
options = parseOptions(options);
|
|
5449
|
-
if (comp instanceof Comparator)
|
|
5450
|
-
|
|
5451
|
-
comp = comp.value;
|
|
5452
|
-
}
|
|
5439
|
+
if (comp instanceof Comparator) if (!!options.loose === comp.loose) return comp;
|
|
5440
|
+
else comp = comp.value;
|
|
5453
5441
|
comp = comp.trim().split(/\s+/).join(' ');
|
|
5454
5442
|
debug('comparator', comp, options);
|
|
5455
5443
|
this.options = options;
|
|
@@ -5515,10 +5503,8 @@ var __webpack_modules__ = {
|
|
|
5515
5503
|
class Range {
|
|
5516
5504
|
constructor(range, options){
|
|
5517
5505
|
options = parseOptions(options);
|
|
5518
|
-
if (range instanceof Range)
|
|
5519
|
-
|
|
5520
|
-
return new Range(range.raw, options);
|
|
5521
|
-
}
|
|
5506
|
+
if (range instanceof Range) if (!!options.loose === range.loose && !!options.includePrerelease === range.includePrerelease) return range;
|
|
5507
|
+
else return new Range(range.raw, options);
|
|
5522
5508
|
if (range instanceof Comparator) {
|
|
5523
5509
|
this.raw = range.value;
|
|
5524
5510
|
this.set = [
|
|
@@ -5777,10 +5763,9 @@ var __webpack_modules__ = {
|
|
|
5777
5763
|
class SemVer {
|
|
5778
5764
|
constructor(version, options){
|
|
5779
5765
|
options = parseOptions(options);
|
|
5780
|
-
if (version instanceof SemVer)
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
} else if ('string' != typeof version) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
5766
|
+
if (version instanceof SemVer) if (!!options.loose === version.loose && !!options.includePrerelease === version.includePrerelease) return version;
|
|
5767
|
+
else version = version.version;
|
|
5768
|
+
else if ('string' != typeof version) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
5784
5769
|
if (version.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
5785
5770
|
debug('SemVer', version, options);
|
|
5786
5771
|
this.options = options;
|
|
@@ -6204,10 +6189,9 @@ var __webpack_modules__ = {
|
|
|
6204
6189
|
class SemVer {
|
|
6205
6190
|
constructor(version, options){
|
|
6206
6191
|
options = parseOptions(options);
|
|
6207
|
-
if (version instanceof SemVer)
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
} else if ('string' != typeof version) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
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}".`);
|
|
6211
6195
|
if (version.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
6212
6196
|
debug('SemVer', version, options);
|
|
6213
6197
|
this.options = options;
|
|
@@ -7351,10 +7335,8 @@ var __webpack_modules__ = {
|
|
|
7351
7335
|
isexe(p + ext, {
|
|
7352
7336
|
pathExt: pathExtExe
|
|
7353
7337
|
}, (er, is)=>{
|
|
7354
|
-
if (!er && is)
|
|
7355
|
-
|
|
7356
|
-
found.push(p + ext);
|
|
7357
|
-
}
|
|
7338
|
+
if (!er && is) if (!opt.all) return resolve(p + ext);
|
|
7339
|
+
else found.push(p + ext);
|
|
7358
7340
|
return resolve(subStep(p, i, ii + 1));
|
|
7359
7341
|
});
|
|
7360
7342
|
});
|
|
@@ -7375,10 +7357,8 @@ var __webpack_modules__ = {
|
|
|
7375
7357
|
const is = isexe.sync(cur, {
|
|
7376
7358
|
pathExt: pathExtExe
|
|
7377
7359
|
});
|
|
7378
|
-
if (is)
|
|
7379
|
-
|
|
7380
|
-
found.push(cur);
|
|
7381
|
-
}
|
|
7360
|
+
if (is) if (!opt.all) return cur;
|
|
7361
|
+
else found.push(cur);
|
|
7382
7362
|
} catch (ex) {}
|
|
7383
7363
|
}
|
|
7384
7364
|
}
|
|
@@ -7433,7 +7413,7 @@ var __webpack_modules__ = {
|
|
|
7433
7413
|
else for(i = 0, len = sources.length; i < len; i++){
|
|
7434
7414
|
source = sources[i];
|
|
7435
7415
|
if (null != source) {
|
|
7436
|
-
for(key in source)if (
|
|
7416
|
+
for(key in source)if (hasProp.call(source, key)) target[key] = source[key];
|
|
7437
7417
|
}
|
|
7438
7418
|
}
|
|
7439
7419
|
return target;
|
|
@@ -7452,7 +7432,7 @@ var __webpack_modules__ = {
|
|
|
7452
7432
|
isEmpty = function(val) {
|
|
7453
7433
|
var key;
|
|
7454
7434
|
if (isArray(val)) return !val.length;
|
|
7455
|
-
for(key in val)if (
|
|
7435
|
+
for(key in val)if (hasProp.call(val, key)) return false;
|
|
7456
7436
|
return true;
|
|
7457
7437
|
};
|
|
7458
7438
|
isPlainObject = function(val) {
|
|
@@ -8319,7 +8299,7 @@ var __webpack_modules__ = {
|
|
|
8319
8299
|
case NodeType.Element:
|
|
8320
8300
|
attributes = {};
|
|
8321
8301
|
ref = node.attribs;
|
|
8322
|
-
for(attName in ref)if (
|
|
8302
|
+
for(attName in ref)if (hasProp.call(ref, attName)) {
|
|
8323
8303
|
att = ref[attName];
|
|
8324
8304
|
attributes[attName] = att.value;
|
|
8325
8305
|
}
|
|
@@ -8392,7 +8372,7 @@ var __webpack_modules__ = {
|
|
|
8392
8372
|
if (!this.currentNode || this.currentNode.children) throw new Error("att() can only be used immediately after an ele() call in callback mode. " + this.debugInfo(name));
|
|
8393
8373
|
if (null != name) name = getValue(name);
|
|
8394
8374
|
if (isObject(name)) {
|
|
8395
|
-
for(attName in name)if (
|
|
8375
|
+
for(attName in name)if (hasProp.call(name, attName)) {
|
|
8396
8376
|
attValue = name[attName];
|
|
8397
8377
|
this.attribute(attName, attValue);
|
|
8398
8378
|
}
|
|
@@ -8441,7 +8421,7 @@ var __webpack_modules__ = {
|
|
|
8441
8421
|
this.instruction(insTarget);
|
|
8442
8422
|
}
|
|
8443
8423
|
else if (isObject(target)) {
|
|
8444
|
-
for(insTarget in target)if (
|
|
8424
|
+
for(insTarget in target)if (hasProp.call(target, insTarget)) {
|
|
8445
8425
|
insValue = target[insTarget];
|
|
8446
8426
|
this.instruction(insTarget, insValue);
|
|
8447
8427
|
}
|
|
@@ -8536,7 +8516,7 @@ var __webpack_modules__ = {
|
|
|
8536
8516
|
this.writerOptions.state = WriterState.OpenTag;
|
|
8537
8517
|
chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + '<' + node.name;
|
|
8538
8518
|
ref = node.attribs;
|
|
8539
|
-
for(name in ref)if (
|
|
8519
|
+
for(name in ref)if (hasProp.call(ref, name)) {
|
|
8540
8520
|
att = ref[name];
|
|
8541
8521
|
chunk += this.writer.attribute(att, this.writerOptions, this.currentLevel);
|
|
8542
8522
|
}
|
|
@@ -8708,7 +8688,7 @@ var __webpack_modules__ = {
|
|
|
8708
8688
|
if (clonedSelf.isRoot) clonedSelf.documentObject = null;
|
|
8709
8689
|
clonedSelf.attribs = {};
|
|
8710
8690
|
ref = this.attribs;
|
|
8711
|
-
for(attName in ref)if (
|
|
8691
|
+
for(attName in ref)if (hasProp.call(ref, attName)) {
|
|
8712
8692
|
att = ref[attName];
|
|
8713
8693
|
clonedSelf.attribs[attName] = att.clone();
|
|
8714
8694
|
}
|
|
@@ -8725,7 +8705,7 @@ var __webpack_modules__ = {
|
|
|
8725
8705
|
var attName, attValue;
|
|
8726
8706
|
if (null != name) name = getValue(name);
|
|
8727
8707
|
if (isObject(name)) {
|
|
8728
|
-
for(attName in name)if (
|
|
8708
|
+
for(attName in name)if (hasProp.call(name, attName)) {
|
|
8729
8709
|
attValue = name[attName];
|
|
8730
8710
|
this.attribute(attName, attValue);
|
|
8731
8711
|
}
|
|
@@ -9000,27 +8980,25 @@ var __webpack_modules__ = {
|
|
|
9000
8980
|
}
|
|
9001
8981
|
else if (isFunction(name)) lastChild = this.element(name.apply());
|
|
9002
8982
|
else if (isObject(name)) {
|
|
9003
|
-
for(key in name)if (
|
|
8983
|
+
for(key in name)if (hasProp.call(name, key)) {
|
|
9004
8984
|
val = name[key];
|
|
9005
8985
|
if (isFunction(val)) val = val.apply();
|
|
9006
8986
|
if (!this.options.ignoreDecorators && this.stringify.convertAttKey && 0 === key.indexOf(this.stringify.convertAttKey)) lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val);
|
|
9007
8987
|
else if (!this.options.separateArrayItems && Array.isArray(val) && isEmpty(val)) lastChild = this.dummy();
|
|
9008
8988
|
else if (isObject(val) && isEmpty(val)) lastChild = this.element(key);
|
|
9009
|
-
else if (this.options.keepNullNodes || null != val) {
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
} else lastChild = this.element(key, val);
|
|
9023
|
-
} else lastChild = this.dummy();
|
|
8989
|
+
else if (this.options.keepNullNodes || null != val) if (!this.options.separateArrayItems && Array.isArray(val)) for(k = 0, len1 = val.length; k < len1; k++){
|
|
8990
|
+
item = val[k];
|
|
8991
|
+
childNode = {};
|
|
8992
|
+
childNode[key] = item;
|
|
8993
|
+
lastChild = this.element(childNode);
|
|
8994
|
+
}
|
|
8995
|
+
else if (isObject(val)) if (!this.options.ignoreDecorators && this.stringify.convertTextKey && 0 === key.indexOf(this.stringify.convertTextKey)) lastChild = this.element(val);
|
|
8996
|
+
else {
|
|
8997
|
+
lastChild = this.element(key);
|
|
8998
|
+
lastChild.element(val);
|
|
8999
|
+
}
|
|
9000
|
+
else lastChild = this.element(key, val);
|
|
9001
|
+
else lastChild = this.dummy();
|
|
9024
9002
|
}
|
|
9025
9003
|
} else lastChild = this.options.keepNullNodes || null !== text ? !this.options.ignoreDecorators && this.stringify.convertTextKey && 0 === name.indexOf(this.stringify.convertTextKey) ? this.text(text) : !this.options.ignoreDecorators && this.stringify.convertCDataKey && 0 === name.indexOf(this.stringify.convertCDataKey) ? this.cdata(text) : !this.options.ignoreDecorators && this.stringify.convertCommentKey && 0 === name.indexOf(this.stringify.convertCommentKey) ? this.comment(text) : !this.options.ignoreDecorators && this.stringify.convertRawKey && 0 === name.indexOf(this.stringify.convertRawKey) ? this.raw(text) : !this.options.ignoreDecorators && this.stringify.convertPIKey && 0 === name.indexOf(this.stringify.convertPIKey) ? this.instruction(name.substr(this.stringify.convertPIKey.length), text) : this.node(name, attributes, text) : this.dummy();
|
|
9026
9004
|
if (null == lastChild) throw new Error("Could not create any elements with: " + name + ". " + this.debugInfo());
|
|
@@ -9135,7 +9113,7 @@ var __webpack_modules__ = {
|
|
|
9135
9113
|
this.instruction(insTarget);
|
|
9136
9114
|
}
|
|
9137
9115
|
else if (isObject(target)) {
|
|
9138
|
-
for(insTarget in target)if (
|
|
9116
|
+
for(insTarget in target)if (hasProp.call(target, insTarget)) {
|
|
9139
9117
|
insValue = target[insTarget];
|
|
9140
9118
|
this.instruction(insTarget, insValue);
|
|
9141
9119
|
}
|
|
@@ -9201,8 +9179,8 @@ var __webpack_modules__ = {
|
|
|
9201
9179
|
root() {
|
|
9202
9180
|
var node;
|
|
9203
9181
|
node = this;
|
|
9204
|
-
while(node)
|
|
9205
|
-
|
|
9182
|
+
while(node)if (node.type === NodeType.Document) return node.rootObject;
|
|
9183
|
+
else {
|
|
9206
9184
|
if (node.isRoot) return node;
|
|
9207
9185
|
node = node.parent;
|
|
9208
9186
|
}
|
|
@@ -9210,10 +9188,8 @@ var __webpack_modules__ = {
|
|
|
9210
9188
|
document() {
|
|
9211
9189
|
var node;
|
|
9212
9190
|
node = this;
|
|
9213
|
-
while(node)
|
|
9214
|
-
|
|
9215
|
-
node = node.parent;
|
|
9216
|
-
}
|
|
9191
|
+
while(node)if (node.type === NodeType.Document) return node;
|
|
9192
|
+
else node = node.parent;
|
|
9217
9193
|
}
|
|
9218
9194
|
end(options) {
|
|
9219
9195
|
return this.document().end(options);
|
|
@@ -9669,7 +9645,7 @@ var __webpack_modules__ = {
|
|
|
9669
9645
|
if (options.pretty && options.width > 0) {
|
|
9670
9646
|
len = r.length;
|
|
9671
9647
|
ref = node.attribs;
|
|
9672
|
-
for(name in ref)if (
|
|
9648
|
+
for(name in ref)if (hasProp.call(ref, name)) {
|
|
9673
9649
|
att = ref[name];
|
|
9674
9650
|
ratt = this.attribute(att, options, level);
|
|
9675
9651
|
attLen = ratt.length;
|
|
@@ -9685,7 +9661,7 @@ var __webpack_modules__ = {
|
|
|
9685
9661
|
}
|
|
9686
9662
|
} else {
|
|
9687
9663
|
ref1 = node.attribs;
|
|
9688
|
-
for(name in ref1)if (
|
|
9664
|
+
for(name in ref1)if (hasProp.call(ref1, name)) {
|
|
9689
9665
|
att = ref1[name];
|
|
9690
9666
|
r += this.attribute(att, options, level);
|
|
9691
9667
|
}
|
|
@@ -9695,16 +9671,15 @@ var __webpack_modules__ = {
|
|
|
9695
9671
|
firstChildNode = 0 === childNodeCount ? null : node.children[0];
|
|
9696
9672
|
if (0 === childNodeCount || node.children.every(function(e) {
|
|
9697
9673
|
return (e.type === NodeType.Text || e.type === NodeType.Raw || e.type === NodeType.CData) && '' === e.value;
|
|
9698
|
-
})) {
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
} else if (options.pretty && 1 === childNodeCount && (firstChildNode.type === NodeType.Text || firstChildNode.type === NodeType.Raw || firstChildNode.type === NodeType.CData) && null != firstChildNode.value) {
|
|
9674
|
+
})) if (options.allowEmpty) {
|
|
9675
|
+
this.stream.write('>');
|
|
9676
|
+
options.state = WriterState.CloseTag;
|
|
9677
|
+
this.stream.write('</' + node.name + '>');
|
|
9678
|
+
} else {
|
|
9679
|
+
options.state = WriterState.CloseTag;
|
|
9680
|
+
this.stream.write(options.spaceBeforeSlash + '/>');
|
|
9681
|
+
}
|
|
9682
|
+
else if (options.pretty && 1 === childNodeCount && (firstChildNode.type === NodeType.Text || firstChildNode.type === NodeType.Raw || firstChildNode.type === NodeType.CData) && null != firstChildNode.value) {
|
|
9708
9683
|
this.stream.write('>');
|
|
9709
9684
|
options.state = WriterState.InsideTag;
|
|
9710
9685
|
options.suppressPrettyCount++;
|
|
@@ -9787,7 +9762,7 @@ var __webpack_modules__ = {
|
|
|
9787
9762
|
this.options = options;
|
|
9788
9763
|
if (!this.options.version) this.options.version = '1.0';
|
|
9789
9764
|
ref = options.stringify || {};
|
|
9790
|
-
for(key in ref)if (
|
|
9765
|
+
for(key in ref)if (hasProp.call(ref, key)) {
|
|
9791
9766
|
value = ref[key];
|
|
9792
9767
|
this[key] = value;
|
|
9793
9768
|
}
|
|
@@ -9999,7 +9974,7 @@ var __webpack_modules__ = {
|
|
|
9999
9974
|
options || (options = {});
|
|
10000
9975
|
this.options = options;
|
|
10001
9976
|
ref = options.writer || {};
|
|
10002
|
-
for(key in ref)if (
|
|
9977
|
+
for(key in ref)if (hasProp.call(ref, key)) {
|
|
10003
9978
|
value = ref[key];
|
|
10004
9979
|
this["_" + key] = this[key];
|
|
10005
9980
|
this[key] = value;
|
|
@@ -10126,7 +10101,7 @@ var __webpack_modules__ = {
|
|
|
10126
10101
|
if (options.pretty && options.width > 0) {
|
|
10127
10102
|
len = r.length;
|
|
10128
10103
|
ref = node.attribs;
|
|
10129
|
-
for(name in ref)if (
|
|
10104
|
+
for(name in ref)if (hasProp.call(ref, name)) {
|
|
10130
10105
|
att = ref[name];
|
|
10131
10106
|
ratt = this.attribute(att, options, level);
|
|
10132
10107
|
attLen = ratt.length;
|
|
@@ -10142,7 +10117,7 @@ var __webpack_modules__ = {
|
|
|
10142
10117
|
}
|
|
10143
10118
|
} else {
|
|
10144
10119
|
ref1 = node.attribs;
|
|
10145
|
-
for(name in ref1)if (
|
|
10120
|
+
for(name in ref1)if (hasProp.call(ref1, name)) {
|
|
10146
10121
|
att = ref1[name];
|
|
10147
10122
|
r += this.attribute(att, options, level);
|
|
10148
10123
|
}
|
|
@@ -10151,16 +10126,15 @@ var __webpack_modules__ = {
|
|
|
10151
10126
|
firstChildNode = 0 === childNodeCount ? null : node.children[0];
|
|
10152
10127
|
if (0 === childNodeCount || node.children.every(function(e) {
|
|
10153
10128
|
return (e.type === NodeType.Text || e.type === NodeType.Raw || e.type === NodeType.CData) && '' === e.value;
|
|
10154
|
-
})) {
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
} else if (options.pretty && 1 === childNodeCount && (firstChildNode.type === NodeType.Text || firstChildNode.type === NodeType.Raw || firstChildNode.type === NodeType.CData) && null != firstChildNode.value) {
|
|
10129
|
+
})) if (options.allowEmpty) {
|
|
10130
|
+
r += '>';
|
|
10131
|
+
options.state = WriterState.CloseTag;
|
|
10132
|
+
r += '</' + node.name + '>' + this.endline(node, options, level);
|
|
10133
|
+
} else {
|
|
10134
|
+
options.state = WriterState.CloseTag;
|
|
10135
|
+
r += options.spaceBeforeSlash + '/>' + this.endline(node, options, level);
|
|
10136
|
+
}
|
|
10137
|
+
else if (options.pretty && 1 === childNodeCount && (firstChildNode.type === NodeType.Text || firstChildNode.type === NodeType.Raw || firstChildNode.type === NodeType.CData) && null != firstChildNode.value) {
|
|
10164
10138
|
r += '>';
|
|
10165
10139
|
options.state = WriterState.InsideTag;
|
|
10166
10140
|
options.suppressPrettyCount++;
|
|
@@ -10417,19 +10391,27 @@ var __webpack_modules__ = {
|
|
|
10417
10391
|
},
|
|
10418
10392
|
"@hot-updater/aws/iac": function(module) {
|
|
10419
10393
|
"use strict";
|
|
10420
|
-
module.exports = import("@hot-updater/aws/iac")
|
|
10394
|
+
module.exports = import("@hot-updater/aws/iac").then(function(module) {
|
|
10395
|
+
return module;
|
|
10396
|
+
});
|
|
10421
10397
|
},
|
|
10422
10398
|
"@hot-updater/cloudflare/iac": function(module) {
|
|
10423
10399
|
"use strict";
|
|
10424
|
-
module.exports = import("@hot-updater/cloudflare/iac")
|
|
10400
|
+
module.exports = import("@hot-updater/cloudflare/iac").then(function(module) {
|
|
10401
|
+
return module;
|
|
10402
|
+
});
|
|
10425
10403
|
},
|
|
10426
10404
|
"@hot-updater/firebase/iac": function(module) {
|
|
10427
10405
|
"use strict";
|
|
10428
|
-
module.exports = import("@hot-updater/firebase/iac")
|
|
10406
|
+
module.exports = import("@hot-updater/firebase/iac").then(function(module) {
|
|
10407
|
+
return module;
|
|
10408
|
+
});
|
|
10429
10409
|
},
|
|
10430
10410
|
"@hot-updater/supabase/iac": function(module) {
|
|
10431
10411
|
"use strict";
|
|
10432
|
-
module.exports = import("@hot-updater/supabase/iac")
|
|
10412
|
+
module.exports = import("@hot-updater/supabase/iac").then(function(module) {
|
|
10413
|
+
return module;
|
|
10414
|
+
});
|
|
10433
10415
|
},
|
|
10434
10416
|
"../../node_modules/.pnpm/@babel+code-frame@7.26.2/node_modules/@babel/code-frame/lib/index.js": function(__unused_webpack_module, exports1, __webpack_require__) {
|
|
10435
10417
|
"use strict";
|
|
@@ -10524,33 +10506,31 @@ var __webpack_modules__ = {
|
|
|
10524
10506
|
const markerLines = {};
|
|
10525
10507
|
if (lineDiff) for(let i = 0; i <= lineDiff; i++){
|
|
10526
10508
|
const lineNumber = i + startLine;
|
|
10527
|
-
if (startColumn) {
|
|
10528
|
-
|
|
10529
|
-
|
|
10530
|
-
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
|
|
10534
|
-
|
|
10509
|
+
if (startColumn) if (0 === i) {
|
|
10510
|
+
const sourceLength = source[lineNumber - 1].length;
|
|
10511
|
+
markerLines[lineNumber] = [
|
|
10512
|
+
startColumn,
|
|
10513
|
+
sourceLength - startColumn + 1
|
|
10514
|
+
];
|
|
10515
|
+
} else if (i === lineDiff) markerLines[lineNumber] = [
|
|
10516
|
+
0,
|
|
10517
|
+
endColumn
|
|
10518
|
+
];
|
|
10519
|
+
else {
|
|
10520
|
+
const sourceLength = source[lineNumber - i].length;
|
|
10521
|
+
markerLines[lineNumber] = [
|
|
10535
10522
|
0,
|
|
10536
|
-
|
|
10523
|
+
sourceLength
|
|
10537
10524
|
];
|
|
10538
|
-
|
|
10539
|
-
|
|
10540
|
-
markerLines[lineNumber] = [
|
|
10541
|
-
0,
|
|
10542
|
-
sourceLength
|
|
10543
|
-
];
|
|
10544
|
-
}
|
|
10545
|
-
} else markerLines[lineNumber] = true;
|
|
10525
|
+
}
|
|
10526
|
+
else markerLines[lineNumber] = true;
|
|
10546
10527
|
}
|
|
10547
|
-
else if (startColumn === endColumn)
|
|
10548
|
-
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
} else markerLines[startLine] = [
|
|
10528
|
+
else if (startColumn === endColumn) if (startColumn) markerLines[startLine] = [
|
|
10529
|
+
startColumn,
|
|
10530
|
+
0
|
|
10531
|
+
];
|
|
10532
|
+
else markerLines[startLine] = true;
|
|
10533
|
+
else markerLines[startLine] = [
|
|
10554
10534
|
startColumn,
|
|
10555
10535
|
endColumn - startColumn
|
|
10556
10536
|
];
|
|
@@ -12023,13 +12003,11 @@ var __webpack_modules__ = {
|
|
|
12023
12003
|
};
|
|
12024
12004
|
this.#requireSize = (k, v, size, sizeCalculation)=>{
|
|
12025
12005
|
if (this.#isBackgroundFetch(v)) return 0;
|
|
12026
|
-
if (!isPosInt(size)) {
|
|
12027
|
-
if (sizeCalculation)
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
} else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
|
|
12032
|
-
}
|
|
12006
|
+
if (!isPosInt(size)) if (sizeCalculation) {
|
|
12007
|
+
if ('function' != typeof sizeCalculation) throw new TypeError('sizeCalculation must be a function');
|
|
12008
|
+
size = sizeCalculation(v, k);
|
|
12009
|
+
if (!isPosInt(size)) throw new TypeError('sizeCalculation return invalid (expect positive integer)');
|
|
12010
|
+
} else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
|
|
12033
12011
|
return size;
|
|
12034
12012
|
};
|
|
12035
12013
|
this.#addItemSize = (index, size, status)=>{
|
|
@@ -12052,7 +12030,7 @@ var __webpack_modules__ = {
|
|
|
12052
12030
|
return 0;
|
|
12053
12031
|
};
|
|
12054
12032
|
*#indexes({ allowStale = this.allowStale } = {}) {
|
|
12055
|
-
if (this.#size) for(let i = this.#tail
|
|
12033
|
+
if (this.#size) for(let i = this.#tail; true;){
|
|
12056
12034
|
if (!this.#isValidIndex(i)) break;
|
|
12057
12035
|
if (allowStale || !this.#isStale(i)) yield i;
|
|
12058
12036
|
if (i === this.#head) break;
|
|
@@ -12060,7 +12038,7 @@ var __webpack_modules__ = {
|
|
|
12060
12038
|
}
|
|
12061
12039
|
}
|
|
12062
12040
|
*#rindexes({ allowStale = this.allowStale } = {}) {
|
|
12063
|
-
if (this.#size) for(let i = this.#head
|
|
12041
|
+
if (this.#size) for(let i = this.#head; true;){
|
|
12064
12042
|
if (!this.#isValidIndex(i)) break;
|
|
12065
12043
|
if (allowStale || !this.#isStale(i)) yield i;
|
|
12066
12044
|
if (i === this.#tail) break;
|
|
@@ -12362,23 +12340,18 @@ var __webpack_modules__ = {
|
|
|
12362
12340
|
const cb = (v, updateCache = false)=>{
|
|
12363
12341
|
const { aborted } = ac.signal;
|
|
12364
12342
|
const ignoreAbort = options.ignoreFetchAbort && void 0 !== v;
|
|
12365
|
-
if (options.status) {
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
} else options.status.fetchResolved = true;
|
|
12371
|
-
}
|
|
12343
|
+
if (options.status) if (aborted && !updateCache) {
|
|
12344
|
+
options.status.fetchAborted = true;
|
|
12345
|
+
options.status.fetchError = ac.signal.reason;
|
|
12346
|
+
if (ignoreAbort) options.status.fetchAbortIgnored = true;
|
|
12347
|
+
} else options.status.fetchResolved = true;
|
|
12372
12348
|
if (aborted && !ignoreAbort && !updateCache) return fetchFail(ac.signal.reason);
|
|
12373
12349
|
const bf = p;
|
|
12374
|
-
if (this.#valList[index] === p)
|
|
12375
|
-
|
|
12376
|
-
|
|
12377
|
-
|
|
12378
|
-
|
|
12379
|
-
if (options.status) options.status.fetchUpdated = true;
|
|
12380
|
-
this.set(k, v, fetchOpts.options);
|
|
12381
|
-
}
|
|
12350
|
+
if (this.#valList[index] === p) if (void 0 === v) if (bf.__staleWhileFetching) this.#valList[index] = bf.__staleWhileFetching;
|
|
12351
|
+
else this.delete(k);
|
|
12352
|
+
else {
|
|
12353
|
+
if (options.status) options.status.fetchUpdated = true;
|
|
12354
|
+
this.set(k, v, fetchOpts.options);
|
|
12382
12355
|
}
|
|
12383
12356
|
return v;
|
|
12384
12357
|
};
|
|
@@ -12792,10 +12765,7 @@ var __webpack_exports__ = {};
|
|
|
12792
12765
|
};
|
|
12793
12766
|
function writeFromReadableStream(stream, writable) {
|
|
12794
12767
|
if (stream.locked) throw new TypeError("ReadableStream is locked.");
|
|
12795
|
-
if (writable.destroyed)
|
|
12796
|
-
stream.cancel();
|
|
12797
|
-
return;
|
|
12798
|
-
}
|
|
12768
|
+
if (writable.destroyed) return void stream.cancel();
|
|
12799
12769
|
const reader = stream.getReader();
|
|
12800
12770
|
writable.on("close", cancel);
|
|
12801
12771
|
writable.on("error", cancel);
|
|
@@ -12954,16 +12924,14 @@ var __webpack_exports__ = {};
|
|
|
12954
12924
|
}
|
|
12955
12925
|
};
|
|
12956
12926
|
var responseViaResponseObject = async (res, outgoing, options = {})=>{
|
|
12957
|
-
if (res instanceof Promise) {
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
else res = await res.catch(handleFetchError);
|
|
12966
|
-
}
|
|
12927
|
+
if (res instanceof Promise) if (options.errorHandler) try {
|
|
12928
|
+
res = await res;
|
|
12929
|
+
} catch (err) {
|
|
12930
|
+
const errRes = await options.errorHandler(err);
|
|
12931
|
+
if (!errRes) return;
|
|
12932
|
+
res = errRes;
|
|
12933
|
+
}
|
|
12934
|
+
else res = await res.catch(handleFetchError);
|
|
12967
12935
|
if (cacheKey in res) return responseViaCache(res, outgoing);
|
|
12968
12936
|
const resHeaderRecord = buildOutgoingHttpHeaders(res.headers);
|
|
12969
12937
|
const internalBody = getInternalBody(res);
|
|
@@ -13388,10 +13356,7 @@ var __webpack_exports__ = {};
|
|
|
13388
13356
|
if (options.wait) return new Promise((resolve, reject)=>{
|
|
13389
13357
|
subprocess.once('error', reject);
|
|
13390
13358
|
subprocess.once('close', (exitCode)=>{
|
|
13391
|
-
if (!options.allowNonzeroExitCode && exitCode > 0) {
|
|
13392
|
-
reject(new Error(`Exited with code ${exitCode}`));
|
|
13393
|
-
return;
|
|
13394
|
-
}
|
|
13359
|
+
if (!options.allowNonzeroExitCode && exitCode > 0) return void reject(new Error(`Exited with code ${exitCode}`));
|
|
13395
13360
|
resolve(subprocess);
|
|
13396
13361
|
});
|
|
13397
13362
|
});
|
|
@@ -13626,7 +13591,7 @@ var __webpack_exports__ = {};
|
|
|
13626
13591
|
name: relative.replace(/\\/g, "/")
|
|
13627
13592
|
});
|
|
13628
13593
|
}
|
|
13629
|
-
for(const bundleBase in bundleCandidates)if (
|
|
13594
|
+
for(const bundleBase in bundleCandidates)if (bundleCandidates[bundleBase]) targets.push({
|
|
13630
13595
|
path: bundleCandidates[bundleBase],
|
|
13631
13596
|
name: bundleBase.replace(/\\/g, "/")
|
|
13632
13597
|
});
|
|
@@ -13781,10 +13746,7 @@ var __webpack_exports__ = {};
|
|
|
13781
13746
|
];
|
|
13782
13747
|
const platform = options.platform ?? (options.interactive ? await getPlatform("Which platform do you want to deploy?") : null);
|
|
13783
13748
|
if (prompts_namespaceObject.isCancel(platform)) return;
|
|
13784
|
-
if (!platform)
|
|
13785
|
-
prompts_namespaceObject.log.error("Platform not found. -p <ios | android> or --platform <ios | android>");
|
|
13786
|
-
return;
|
|
13787
|
-
}
|
|
13749
|
+
if (!platform) return void prompts_namespaceObject.log.error("Platform not found. -p <ios | android> or --platform <ios | android>");
|
|
13788
13750
|
const channel = options.channel;
|
|
13789
13751
|
const config = await (0, plugin_core_namespaceObject.loadConfig)({
|
|
13790
13752
|
platform,
|
|
@@ -13805,10 +13767,7 @@ var __webpack_exports__ = {};
|
|
|
13805
13767
|
}) : null);
|
|
13806
13768
|
const outputPath = options.bundleOutputPath ?? cwd;
|
|
13807
13769
|
if (prompts_namespaceObject.isCancel(targetAppVersion)) return;
|
|
13808
|
-
if (!targetAppVersion)
|
|
13809
|
-
prompts_namespaceObject.log.error("Target app version not found. -t <targetAppVersion> semver format (e.g. 1.0.0, 1.x.x)");
|
|
13810
|
-
return;
|
|
13811
|
-
}
|
|
13770
|
+
if (!targetAppVersion) return void prompts_namespaceObject.log.error("Target app version not found. -t <targetAppVersion> semver format (e.g. 1.0.0, 1.x.x)");
|
|
13812
13771
|
prompts_namespaceObject.log.info(`Target app version: ${valid_default()(targetAppVersion)}`);
|
|
13813
13772
|
let bundleId = null;
|
|
13814
13773
|
let fileHash;
|
|
@@ -14726,7 +14685,7 @@ Please set the "stdio" option to ensure that file descriptor exists.`);
|
|
|
14726
14685
|
verboseInfo
|
|
14727
14686
|
};
|
|
14728
14687
|
};
|
|
14729
|
-
var cross_spawn = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.
|
|
14688
|
+
var cross_spawn = __webpack_require__("../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js");
|
|
14730
14689
|
function pathKey(options = {}) {
|
|
14731
14690
|
const { env = process.env, platform = process.platform } = options;
|
|
14732
14691
|
if ('win32' !== platform) return 'PATH';
|
|
@@ -15721,14 +15680,8 @@ Please set this option with "pipe" instead.`;
|
|
|
15721
15680
|
const startIpc = async ({ anyProcess, channel, isSubprocess, ipc })=>{
|
|
15722
15681
|
if (cancelListening) return;
|
|
15723
15682
|
cancelListening = true;
|
|
15724
|
-
if (!ipc)
|
|
15725
|
-
|
|
15726
|
-
return;
|
|
15727
|
-
}
|
|
15728
|
-
if (null === channel) {
|
|
15729
|
-
abortOnDisconnect();
|
|
15730
|
-
return;
|
|
15731
|
-
}
|
|
15683
|
+
if (!ipc) return void throwOnMissingParent();
|
|
15684
|
+
if (null === channel) return void abortOnDisconnect();
|
|
15732
15685
|
getIpcEmitter(anyProcess, channel, isSubprocess);
|
|
15733
15686
|
await external_node_timers_promises_namespaceObject.scheduler["yield"]();
|
|
15734
15687
|
};
|
|
@@ -16179,10 +16132,7 @@ Please rename it to one of: ${correctEncodings}.`);
|
|
|
16179
16132
|
const appendChunk = ({ convertedChunk, state, getSize, truncateChunk, addChunk, maxBuffer })=>{
|
|
16180
16133
|
const chunkSize = getSize(convertedChunk);
|
|
16181
16134
|
const newLength = state.length + chunkSize;
|
|
16182
|
-
if (newLength <= maxBuffer)
|
|
16183
|
-
addNewChunk(convertedChunk, state, addChunk, newLength);
|
|
16184
|
-
return;
|
|
16185
|
-
}
|
|
16135
|
+
if (newLength <= maxBuffer) return void addNewChunk(convertedChunk, state, addChunk, newLength);
|
|
16186
16136
|
const truncatedChunk = truncateChunk(convertedChunk, maxBuffer - state.length);
|
|
16187
16137
|
if (void 0 !== truncatedChunk) addNewChunk(truncatedChunk, state, addChunk, maxBuffer);
|
|
16188
16138
|
throw new MaxBufferError();
|
|
@@ -16535,31 +16485,29 @@ Please rename it to one of: ${correctEncodings}.`);
|
|
|
16535
16485
|
add(Number(parsed.hours), 'hour', 'h');
|
|
16536
16486
|
}
|
|
16537
16487
|
add(Number(parsed.minutes), 'minute', 'm');
|
|
16538
|
-
if (!options.hideSeconds) {
|
|
16539
|
-
|
|
16540
|
-
|
|
16541
|
-
|
|
16542
|
-
|
|
16543
|
-
|
|
16544
|
-
|
|
16545
|
-
|
|
16546
|
-
|
|
16547
|
-
|
|
16548
|
-
add(nanoseconds, 'nanosecond', 'ns');
|
|
16549
|
-
} else {
|
|
16550
|
-
const millisecondsAndBelow = milliseconds + microseconds / 1000 + nanoseconds / 1e6;
|
|
16551
|
-
const millisecondsDecimalDigits = 'number' == typeof options.millisecondsDecimalDigits ? options.millisecondsDecimalDigits : 0;
|
|
16552
|
-
const roundedMilliseconds = millisecondsAndBelow >= 1 ? Math.round(millisecondsAndBelow) : Math.ceil(millisecondsAndBelow);
|
|
16553
|
-
const millisecondsString = millisecondsDecimalDigits ? millisecondsAndBelow.toFixed(millisecondsDecimalDigits) : roundedMilliseconds;
|
|
16554
|
-
add(Number.parseFloat(millisecondsString), 'millisecond', 'ms', millisecondsString);
|
|
16555
|
-
}
|
|
16488
|
+
if (!options.hideSeconds) if (options.separateMilliseconds || options.formatSubMilliseconds || !options.colonNotation && milliseconds < 1000) {
|
|
16489
|
+
const seconds = Number(parsed.seconds);
|
|
16490
|
+
const milliseconds = Number(parsed.milliseconds);
|
|
16491
|
+
const microseconds = Number(parsed.microseconds);
|
|
16492
|
+
const nanoseconds = Number(parsed.nanoseconds);
|
|
16493
|
+
add(seconds, 'second', 's');
|
|
16494
|
+
if (options.formatSubMilliseconds) {
|
|
16495
|
+
add(milliseconds, 'millisecond', 'ms');
|
|
16496
|
+
add(microseconds, 'microsecond', 'µs');
|
|
16497
|
+
add(nanoseconds, 'nanosecond', 'ns');
|
|
16556
16498
|
} else {
|
|
16557
|
-
const
|
|
16558
|
-
const
|
|
16559
|
-
const
|
|
16560
|
-
const
|
|
16561
|
-
add(Number.parseFloat(
|
|
16499
|
+
const millisecondsAndBelow = milliseconds + microseconds / 1000 + nanoseconds / 1e6;
|
|
16500
|
+
const millisecondsDecimalDigits = 'number' == typeof options.millisecondsDecimalDigits ? options.millisecondsDecimalDigits : 0;
|
|
16501
|
+
const roundedMilliseconds = millisecondsAndBelow >= 1 ? Math.round(millisecondsAndBelow) : Math.ceil(millisecondsAndBelow);
|
|
16502
|
+
const millisecondsString = millisecondsDecimalDigits ? millisecondsAndBelow.toFixed(millisecondsDecimalDigits) : roundedMilliseconds;
|
|
16503
|
+
add(Number.parseFloat(millisecondsString), 'millisecond', 'ms', millisecondsString);
|
|
16562
16504
|
}
|
|
16505
|
+
} else {
|
|
16506
|
+
const seconds = (isBigInt ? Number(milliseconds % ONE_DAY_IN_MILLISECONDS) : milliseconds) / 1000 % 60;
|
|
16507
|
+
const secondsDecimalDigits = 'number' == typeof options.secondsDecimalDigits ? options.secondsDecimalDigits : 1;
|
|
16508
|
+
const secondsFixed = floorDecimals(seconds, secondsDecimalDigits);
|
|
16509
|
+
const secondsString = options.keepDecimalsOnWholeSeconds ? secondsFixed : secondsFixed.replace(/\.0+$/, '');
|
|
16510
|
+
add(Number.parseFloat(secondsString), 'second', 's', secondsString);
|
|
16563
16511
|
}
|
|
16564
16512
|
if (0 === result.length) return sign + '0' + (options.verbose ? ' milliseconds' : 'ms');
|
|
16565
16513
|
const separator = options.colonNotation ? ':' : ' ';
|
|
@@ -17015,16 +16963,13 @@ Please rename it to one of: ${correctEncodings}.`);
|
|
|
17015
16963
|
const getDuplicateStream = ({ stdioItem: { type, value, optionName }, direction, fileDescriptors, isSync })=>{
|
|
17016
16964
|
const otherStdioItems = getOtherStdioItems(fileDescriptors, type);
|
|
17017
16965
|
if (0 === otherStdioItems.length) return;
|
|
17018
|
-
if (isSync) {
|
|
17019
|
-
|
|
17020
|
-
|
|
17021
|
-
|
|
17022
|
-
|
|
17023
|
-
|
|
17024
|
-
|
|
17025
|
-
});
|
|
17026
|
-
return;
|
|
17027
|
-
}
|
|
16966
|
+
if (isSync) return void validateDuplicateStreamSync({
|
|
16967
|
+
otherStdioItems,
|
|
16968
|
+
type,
|
|
16969
|
+
value,
|
|
16970
|
+
optionName,
|
|
16971
|
+
direction
|
|
16972
|
+
});
|
|
17028
16973
|
if (SPECIAL_DUPLICATE_TYPES.has(type)) return getDuplicateStreamInstance({
|
|
17029
16974
|
otherStdioItems,
|
|
17030
16975
|
type,
|
|
@@ -17300,10 +17245,7 @@ For example, you can use the \`pathToFileURL()\` method of the \`url\` core modu
|
|
|
17300
17245
|
};
|
|
17301
17246
|
};
|
|
17302
17247
|
const splitGenerator = function*(state, preserveNewlines, chunk) {
|
|
17303
|
-
if ('string' != typeof chunk)
|
|
17304
|
-
yield chunk;
|
|
17305
|
-
return;
|
|
17306
|
-
}
|
|
17248
|
+
if ('string' != typeof chunk) return void (yield chunk);
|
|
17307
17249
|
let { previousChunks } = state;
|
|
17308
17250
|
let start = -1;
|
|
17309
17251
|
for(let end = 0; end < chunk.length; end += 1)if ('\n' === chunk[end]) {
|
|
@@ -17332,10 +17274,7 @@ For example, you can use the \`pathToFileURL()\` method of the \`url\` core modu
|
|
|
17332
17274
|
};
|
|
17333
17275
|
const appendNewlineGenerator = function*({ isWindowsNewline = false }, chunk) {
|
|
17334
17276
|
const { unixNewline, windowsNewline, LF, concatBytes } = 'string' == typeof chunk ? linesStringInfo : linesUint8ArrayInfo;
|
|
17335
|
-
if (chunk.at(-1) === LF)
|
|
17336
|
-
yield chunk;
|
|
17337
|
-
return;
|
|
17338
|
-
}
|
|
17277
|
+
if (chunk.at(-1) === LF) return void (yield chunk);
|
|
17339
17278
|
const newline = isWindowsNewline ? windowsNewline : unixNewline;
|
|
17340
17279
|
yield concatBytes(chunk, newline);
|
|
17341
17280
|
};
|
|
@@ -17415,10 +17354,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
17415
17354
|
}
|
|
17416
17355
|
});
|
|
17417
17356
|
const transformChunk = async function*(chunk, generators, index) {
|
|
17418
|
-
if (index === generators.length)
|
|
17419
|
-
yield chunk;
|
|
17420
|
-
return;
|
|
17421
|
-
}
|
|
17357
|
+
if (index === generators.length) return void (yield chunk);
|
|
17422
17358
|
const { transform = identityGenerator } = generators[index];
|
|
17423
17359
|
for await (const transformedChunk of transform(chunk))yield* transformChunk(transformedChunk, generators, index + 1);
|
|
17424
17360
|
};
|
|
@@ -17430,10 +17366,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
17430
17366
|
for await (const finalChunk of final())yield* transformChunk(finalChunk, generators, index + 1);
|
|
17431
17367
|
};
|
|
17432
17368
|
const destroyTransform = (0, external_node_util_namespaceObject.callbackify)(async ({ currentIterable }, error)=>{
|
|
17433
|
-
if (void 0 !== currentIterable)
|
|
17434
|
-
await (error ? currentIterable.throw(error) : currentIterable.return());
|
|
17435
|
-
return;
|
|
17436
|
-
}
|
|
17369
|
+
if (void 0 !== currentIterable) return void await (error ? currentIterable.throw(error) : currentIterable.return());
|
|
17437
17370
|
if (error) throw error;
|
|
17438
17371
|
});
|
|
17439
17372
|
const identityGenerator = function*(chunk) {
|
|
@@ -17454,10 +17387,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
17454
17387
|
...finalChunksSync(generators)
|
|
17455
17388
|
];
|
|
17456
17389
|
const transformChunkSync = function*(chunk, generators, index) {
|
|
17457
|
-
if (index === generators.length)
|
|
17458
|
-
yield chunk;
|
|
17459
|
-
return;
|
|
17460
|
-
}
|
|
17390
|
+
if (index === generators.length) return void (yield chunk);
|
|
17461
17391
|
const { transform = run_sync_identityGenerator } = generators[index];
|
|
17462
17392
|
for (const transformedChunk of transform(chunk))yield* transformChunkSync(transformedChunk, generators, index + 1);
|
|
17463
17393
|
};
|
|
@@ -18295,10 +18225,8 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
18295
18225
|
controller.abort();
|
|
18296
18226
|
updateMaxListeners(passThroughStream, -PASSTHROUGH_LISTENERS_PER_STREAM);
|
|
18297
18227
|
}
|
|
18298
|
-
if (streams.size > 0 && streams.size === ended.size + aborted.size)
|
|
18299
|
-
|
|
18300
|
-
else endStream(passThroughStream);
|
|
18301
|
-
}
|
|
18228
|
+
if (streams.size > 0 && streams.size === ended.size + aborted.size) if (0 === ended.size && aborted.size > 0) abortStream(passThroughStream);
|
|
18229
|
+
else endStream(passThroughStream);
|
|
18302
18230
|
};
|
|
18303
18231
|
const afterMergedStreamFinished = async (onFinished, stream, { signal })=>{
|
|
18304
18232
|
try {
|
|
@@ -19028,13 +18956,10 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
19028
18956
|
verboseInfo,
|
|
19029
18957
|
streamInfo
|
|
19030
18958
|
});
|
|
19031
|
-
if (!buffer)
|
|
19032
|
-
|
|
19033
|
-
|
|
19034
|
-
|
|
19035
|
-
]);
|
|
19036
|
-
return;
|
|
19037
|
-
}
|
|
18959
|
+
if (!buffer) return void await Promise.all([
|
|
18960
|
+
resumeStream(stream),
|
|
18961
|
+
logPromise
|
|
18962
|
+
]);
|
|
19038
18963
|
const stripFinalNewlineValue = getStripFinalNewline(stripFinalNewline, fdNumber);
|
|
19039
18964
|
const iterable = iterateForResult({
|
|
19040
18965
|
stream,
|
|
@@ -19170,10 +19095,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
19170
19095
|
const waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline, verboseInfo, streamInfo })=>{
|
|
19171
19096
|
if (!stream) return;
|
|
19172
19097
|
const onStreamEnd = waitForStream(stream, fdNumber, streamInfo);
|
|
19173
|
-
if (isInputFileDescriptor(streamInfo, fdNumber))
|
|
19174
|
-
await onStreamEnd;
|
|
19175
|
-
return;
|
|
19176
|
-
}
|
|
19098
|
+
if (isInputFileDescriptor(streamInfo, fdNumber)) return void await onStreamEnd;
|
|
19177
19099
|
const [output] = await Promise.all([
|
|
19178
19100
|
getStreamOutput({
|
|
19179
19101
|
stream,
|
|
@@ -20071,10 +19993,11 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
20071
19993
|
value: {
|
|
20072
19994
|
dependencies: [],
|
|
20073
19995
|
devDependencies: [
|
|
20074
|
-
"@hot-updater/
|
|
19996
|
+
"@hot-updater/bare"
|
|
20075
19997
|
]
|
|
20076
19998
|
},
|
|
20077
|
-
label: "
|
|
19999
|
+
label: "Bare",
|
|
20000
|
+
hint: "React Native CLI"
|
|
20078
20001
|
}
|
|
20079
20002
|
]
|
|
20080
20003
|
});
|
|
@@ -20183,8 +20106,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
20183
20106
|
});
|
|
20184
20107
|
program.parse(process.argv);
|
|
20185
20108
|
})();
|
|
20186
|
-
var
|
|
20187
|
-
|
|
20188
|
-
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
20109
|
+
for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
20110
|
+
Object.defineProperty(exports, '__esModule', {
|
|
20189
20111
|
value: true
|
|
20190
20112
|
});
|