@coana-tech/cli 14.12.38 → 14.12.40
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/cli.mjs +696 -578
- package/package.json +1 -1
- package/repos/coana-tech/alucard/alucard.jar +0 -0
- package/repos/coana-tech/goana/bin/goana-darwin-amd64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-darwin-arm64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-linux-amd64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-linux-arm64.gz +0 -0
- package/repos/coana-tech/mambalade/dist/mambalade-0.3.12-py3-none-any.whl +0 -0
package/cli.mjs
CHANGED
|
@@ -3936,8 +3936,8 @@ var require_levels = __commonJS({
|
|
|
3936
3936
|
var require_align = __commonJS({
|
|
3937
3937
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/align.js"(exports2, module2) {
|
|
3938
3938
|
"use strict";
|
|
3939
|
-
var
|
|
3940
|
-
module2.exports =
|
|
3939
|
+
var format6 = require_format();
|
|
3940
|
+
module2.exports = format6((info) => {
|
|
3941
3941
|
info.message = ` ${info.message}`;
|
|
3942
3942
|
return info;
|
|
3943
3943
|
});
|
|
@@ -3948,9 +3948,9 @@ var require_align = __commonJS({
|
|
|
3948
3948
|
var require_errors = __commonJS({
|
|
3949
3949
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/errors.js"(exports2, module2) {
|
|
3950
3950
|
"use strict";
|
|
3951
|
-
var
|
|
3951
|
+
var format6 = require_format();
|
|
3952
3952
|
var { LEVEL, MESSAGE } = require_triple_beam();
|
|
3953
|
-
module2.exports =
|
|
3953
|
+
module2.exports = format6((einfo, { stack: stack2, cause }) => {
|
|
3954
3954
|
if (einfo instanceof Error) {
|
|
3955
3955
|
const info = Object.assign({}, einfo, {
|
|
3956
3956
|
level: einfo.level,
|
|
@@ -4086,7 +4086,7 @@ var require_cli2 = __commonJS({
|
|
|
4086
4086
|
var require_combine = __commonJS({
|
|
4087
4087
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/combine.js"(exports2, module2) {
|
|
4088
4088
|
"use strict";
|
|
4089
|
-
var
|
|
4089
|
+
var format6 = require_format();
|
|
4090
4090
|
function cascade(formats) {
|
|
4091
4091
|
if (!formats.every(isValidFormat)) {
|
|
4092
4092
|
return;
|
|
@@ -4113,7 +4113,7 @@ var require_combine = __commonJS({
|
|
|
4113
4113
|
return true;
|
|
4114
4114
|
}
|
|
4115
4115
|
module2.exports = (...formats) => {
|
|
4116
|
-
const combinedFormat =
|
|
4116
|
+
const combinedFormat = format6(cascade(formats));
|
|
4117
4117
|
const instance = combinedFormat();
|
|
4118
4118
|
instance.Format = combinedFormat.Format;
|
|
4119
4119
|
return instance;
|
|
@@ -4710,7 +4710,7 @@ ${originalIndentation}`;
|
|
|
4710
4710
|
var require_json = __commonJS({
|
|
4711
4711
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/json.js"(exports2, module2) {
|
|
4712
4712
|
"use strict";
|
|
4713
|
-
var
|
|
4713
|
+
var format6 = require_format();
|
|
4714
4714
|
var { MESSAGE } = require_triple_beam();
|
|
4715
4715
|
var stringify3 = require_safe_stable_stringify();
|
|
4716
4716
|
function replacer(key, value) {
|
|
@@ -4718,7 +4718,7 @@ var require_json = __commonJS({
|
|
|
4718
4718
|
return value.toString();
|
|
4719
4719
|
return value;
|
|
4720
4720
|
}
|
|
4721
|
-
module2.exports =
|
|
4721
|
+
module2.exports = format6((info, opts) => {
|
|
4722
4722
|
const jsonStringify = stringify3.configure(opts);
|
|
4723
4723
|
info[MESSAGE] = jsonStringify(info, opts.replacer || replacer, opts.space);
|
|
4724
4724
|
return info;
|
|
@@ -4730,8 +4730,8 @@ var require_json = __commonJS({
|
|
|
4730
4730
|
var require_label = __commonJS({
|
|
4731
4731
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/label.js"(exports2, module2) {
|
|
4732
4732
|
"use strict";
|
|
4733
|
-
var
|
|
4734
|
-
module2.exports =
|
|
4733
|
+
var format6 = require_format();
|
|
4734
|
+
module2.exports = format6((info, opts) => {
|
|
4735
4735
|
if (opts.message) {
|
|
4736
4736
|
info.message = `[${opts.label}] ${info.message}`;
|
|
4737
4737
|
return info;
|
|
@@ -4746,10 +4746,10 @@ var require_label = __commonJS({
|
|
|
4746
4746
|
var require_logstash = __commonJS({
|
|
4747
4747
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/logstash.js"(exports2, module2) {
|
|
4748
4748
|
"use strict";
|
|
4749
|
-
var
|
|
4749
|
+
var format6 = require_format();
|
|
4750
4750
|
var { MESSAGE } = require_triple_beam();
|
|
4751
4751
|
var jsonStringify = require_safe_stable_stringify();
|
|
4752
|
-
module2.exports =
|
|
4752
|
+
module2.exports = format6((info) => {
|
|
4753
4753
|
const logstash = {};
|
|
4754
4754
|
if (info.message) {
|
|
4755
4755
|
logstash["@message"] = info.message;
|
|
@@ -4770,7 +4770,7 @@ var require_logstash = __commonJS({
|
|
|
4770
4770
|
var require_metadata = __commonJS({
|
|
4771
4771
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/metadata.js"(exports2, module2) {
|
|
4772
4772
|
"use strict";
|
|
4773
|
-
var
|
|
4773
|
+
var format6 = require_format();
|
|
4774
4774
|
function fillExcept(info, fillExceptKeys, metadataKey) {
|
|
4775
4775
|
const savedKeys = fillExceptKeys.reduce((acc, key) => {
|
|
4776
4776
|
acc[key] = info[key];
|
|
@@ -4795,7 +4795,7 @@ var require_metadata = __commonJS({
|
|
|
4795
4795
|
}, {});
|
|
4796
4796
|
return info;
|
|
4797
4797
|
}
|
|
4798
|
-
module2.exports =
|
|
4798
|
+
module2.exports = format6((info, opts = {}) => {
|
|
4799
4799
|
let metadataKey = "metadata";
|
|
4800
4800
|
if (opts.key) {
|
|
4801
4801
|
metadataKey = opts.key;
|
|
@@ -4827,7 +4827,7 @@ var require_ms = __commonJS({
|
|
|
4827
4827
|
var h = m4 * 60;
|
|
4828
4828
|
var d4 = h * 24;
|
|
4829
4829
|
var w = d4 * 7;
|
|
4830
|
-
var
|
|
4830
|
+
var y10 = d4 * 365.25;
|
|
4831
4831
|
module2.exports = function(val2, options) {
|
|
4832
4832
|
options = options || {};
|
|
4833
4833
|
var type = typeof val2;
|
|
@@ -4859,7 +4859,7 @@ var require_ms = __commonJS({
|
|
|
4859
4859
|
case "yrs":
|
|
4860
4860
|
case "yr":
|
|
4861
4861
|
case "y":
|
|
4862
|
-
return n2 *
|
|
4862
|
+
return n2 * y10;
|
|
4863
4863
|
case "weeks":
|
|
4864
4864
|
case "week":
|
|
4865
4865
|
case "w":
|
|
@@ -4939,9 +4939,9 @@ var require_ms = __commonJS({
|
|
|
4939
4939
|
var require_ms2 = __commonJS({
|
|
4940
4940
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/ms.js"(exports2, module2) {
|
|
4941
4941
|
"use strict";
|
|
4942
|
-
var
|
|
4942
|
+
var format6 = require_format();
|
|
4943
4943
|
var ms = require_ms();
|
|
4944
|
-
module2.exports =
|
|
4944
|
+
module2.exports = format6((info) => {
|
|
4945
4945
|
const curr = +/* @__PURE__ */ new Date();
|
|
4946
4946
|
exports2.diff = curr - (exports2.prevTime || curr);
|
|
4947
4947
|
exports2.prevTime = curr;
|
|
@@ -4956,9 +4956,9 @@ var require_pretty_print = __commonJS({
|
|
|
4956
4956
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/pretty-print.js"(exports2, module2) {
|
|
4957
4957
|
"use strict";
|
|
4958
4958
|
var inspect = __require("util").inspect;
|
|
4959
|
-
var
|
|
4959
|
+
var format6 = require_format();
|
|
4960
4960
|
var { LEVEL, MESSAGE, SPLAT } = require_triple_beam();
|
|
4961
|
-
module2.exports =
|
|
4961
|
+
module2.exports = format6((info, opts = {}) => {
|
|
4962
4962
|
const stripped = Object.assign({}, info);
|
|
4963
4963
|
delete stripped[LEVEL];
|
|
4964
4964
|
delete stripped[MESSAGE];
|
|
@@ -4992,10 +4992,10 @@ var require_printf = __commonJS({
|
|
|
4992
4992
|
var require_simple = __commonJS({
|
|
4993
4993
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/simple.js"(exports2, module2) {
|
|
4994
4994
|
"use strict";
|
|
4995
|
-
var
|
|
4995
|
+
var format6 = require_format();
|
|
4996
4996
|
var { MESSAGE } = require_triple_beam();
|
|
4997
4997
|
var jsonStringify = require_safe_stable_stringify();
|
|
4998
|
-
module2.exports =
|
|
4998
|
+
module2.exports = format6((info) => {
|
|
4999
4999
|
const stringifiedRest = jsonStringify(Object.assign({}, info, {
|
|
5000
5000
|
level: void 0,
|
|
5001
5001
|
message: void 0,
|
|
@@ -5361,7 +5361,7 @@ var require_fecha_umd = __commonJS({
|
|
|
5361
5361
|
var setGlobalDateMasks = function(masks) {
|
|
5362
5362
|
return assign(globalMasks, masks);
|
|
5363
5363
|
};
|
|
5364
|
-
var
|
|
5364
|
+
var format6 = function(dateObj, mask, i18n) {
|
|
5365
5365
|
if (mask === void 0) {
|
|
5366
5366
|
mask = globalMasks["default"];
|
|
5367
5367
|
}
|
|
@@ -5388,14 +5388,14 @@ var require_fecha_umd = __commonJS({
|
|
|
5388
5388
|
return literals.shift();
|
|
5389
5389
|
});
|
|
5390
5390
|
};
|
|
5391
|
-
function parse12(dateStr,
|
|
5391
|
+
function parse12(dateStr, format7, i18n) {
|
|
5392
5392
|
if (i18n === void 0) {
|
|
5393
5393
|
i18n = {};
|
|
5394
5394
|
}
|
|
5395
|
-
if (typeof
|
|
5395
|
+
if (typeof format7 !== "string") {
|
|
5396
5396
|
throw new Error("Invalid format in fecha parse");
|
|
5397
5397
|
}
|
|
5398
|
-
|
|
5398
|
+
format7 = globalMasks[format7] || format7;
|
|
5399
5399
|
if (dateStr.length > 1e3) {
|
|
5400
5400
|
return null;
|
|
5401
5401
|
}
|
|
@@ -5413,7 +5413,7 @@ var require_fecha_umd = __commonJS({
|
|
|
5413
5413
|
};
|
|
5414
5414
|
var parseInfo = [];
|
|
5415
5415
|
var literals = [];
|
|
5416
|
-
var newFormat =
|
|
5416
|
+
var newFormat = format7.replace(literal, function($0, $1) {
|
|
5417
5417
|
literals.push(regexEscape($1));
|
|
5418
5418
|
return "@@@";
|
|
5419
5419
|
});
|
|
@@ -5482,7 +5482,7 @@ var require_fecha_umd = __commonJS({
|
|
|
5482
5482
|
return dateTZ;
|
|
5483
5483
|
}
|
|
5484
5484
|
var fecha = {
|
|
5485
|
-
format:
|
|
5485
|
+
format: format6,
|
|
5486
5486
|
parse: parse12,
|
|
5487
5487
|
defaultI18n,
|
|
5488
5488
|
setGlobalDateI18n,
|
|
@@ -5490,7 +5490,7 @@ var require_fecha_umd = __commonJS({
|
|
|
5490
5490
|
};
|
|
5491
5491
|
exports3.assign = assign;
|
|
5492
5492
|
exports3.default = fecha;
|
|
5493
|
-
exports3.format =
|
|
5493
|
+
exports3.format = format6;
|
|
5494
5494
|
exports3.parse = parse12;
|
|
5495
5495
|
exports3.defaultI18n = defaultI18n;
|
|
5496
5496
|
exports3.setGlobalDateI18n = setGlobalDateI18n;
|
|
@@ -5505,8 +5505,8 @@ var require_timestamp = __commonJS({
|
|
|
5505
5505
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/timestamp.js"(exports2, module2) {
|
|
5506
5506
|
"use strict";
|
|
5507
5507
|
var fecha = require_fecha_umd();
|
|
5508
|
-
var
|
|
5509
|
-
module2.exports =
|
|
5508
|
+
var format6 = require_format();
|
|
5509
|
+
module2.exports = format6((info, opts = {}) => {
|
|
5510
5510
|
if (opts.format) {
|
|
5511
5511
|
info.timestamp = typeof opts.format === "function" ? opts.format() : fecha.format(/* @__PURE__ */ new Date(), opts.format);
|
|
5512
5512
|
}
|
|
@@ -5526,9 +5526,9 @@ var require_uncolorize = __commonJS({
|
|
|
5526
5526
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/uncolorize.js"(exports2, module2) {
|
|
5527
5527
|
"use strict";
|
|
5528
5528
|
var colors = require_safe();
|
|
5529
|
-
var
|
|
5529
|
+
var format6 = require_format();
|
|
5530
5530
|
var { MESSAGE } = require_triple_beam();
|
|
5531
|
-
module2.exports =
|
|
5531
|
+
module2.exports = format6((info, opts) => {
|
|
5532
5532
|
if (opts.level !== false) {
|
|
5533
5533
|
info.level = colors.strip(info.level);
|
|
5534
5534
|
}
|
|
@@ -5547,10 +5547,10 @@ var require_uncolorize = __commonJS({
|
|
|
5547
5547
|
var require_logform = __commonJS({
|
|
5548
5548
|
"../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/index.js"(exports2) {
|
|
5549
5549
|
"use strict";
|
|
5550
|
-
var
|
|
5550
|
+
var format6 = exports2.format = require_format();
|
|
5551
5551
|
exports2.levels = require_levels();
|
|
5552
5552
|
function exposeFormat(name, requireFormat) {
|
|
5553
|
-
Object.defineProperty(
|
|
5553
|
+
Object.defineProperty(format6, name, {
|
|
5554
5554
|
get() {
|
|
5555
5555
|
return requireFormat();
|
|
5556
5556
|
},
|
|
@@ -5615,17 +5615,17 @@ var require_logform = __commonJS({
|
|
|
5615
5615
|
var require_common = __commonJS({
|
|
5616
5616
|
"../../node_modules/.pnpm/winston@3.14.2/node_modules/winston/lib/winston/common.js"(exports2) {
|
|
5617
5617
|
"use strict";
|
|
5618
|
-
var { format:
|
|
5618
|
+
var { format: format6 } = __require("util");
|
|
5619
5619
|
exports2.warn = {
|
|
5620
5620
|
deprecated(prop2) {
|
|
5621
5621
|
return () => {
|
|
5622
|
-
throw new Error(
|
|
5622
|
+
throw new Error(format6("{ %s } was removed in winston@3.0.0.", prop2));
|
|
5623
5623
|
};
|
|
5624
5624
|
},
|
|
5625
5625
|
useFormat(prop2) {
|
|
5626
5626
|
return () => {
|
|
5627
5627
|
throw new Error([
|
|
5628
|
-
|
|
5628
|
+
format6("{ %s } was removed in winston@3.0.0.", prop2),
|
|
5629
5629
|
"Use a custom winston.format = winston.format(function) instead."
|
|
5630
5630
|
].join("\n"));
|
|
5631
5631
|
};
|
|
@@ -10069,16 +10069,16 @@ var require_conversions = __commonJS({
|
|
|
10069
10069
|
var b = rgb[2] / 255;
|
|
10070
10070
|
var c4;
|
|
10071
10071
|
var m4;
|
|
10072
|
-
var
|
|
10072
|
+
var y10;
|
|
10073
10073
|
var k2;
|
|
10074
10074
|
k2 = Math.min(1 - r3, 1 - g, 1 - b);
|
|
10075
10075
|
c4 = (1 - r3 - k2) / (1 - k2) || 0;
|
|
10076
10076
|
m4 = (1 - g - k2) / (1 - k2) || 0;
|
|
10077
|
-
|
|
10078
|
-
return [c4 * 100, m4 * 100,
|
|
10077
|
+
y10 = (1 - b - k2) / (1 - k2) || 0;
|
|
10078
|
+
return [c4 * 100, m4 * 100, y10 * 100, k2 * 100];
|
|
10079
10079
|
};
|
|
10080
|
-
function comparativeDistance(x2,
|
|
10081
|
-
return Math.pow(x2[0] -
|
|
10080
|
+
function comparativeDistance(x2, y10) {
|
|
10081
|
+
return Math.pow(x2[0] - y10[0], 2) + Math.pow(x2[1] - y10[1], 2) + Math.pow(x2[2] - y10[2], 2);
|
|
10082
10082
|
}
|
|
10083
10083
|
convert.rgb.keyword = function(rgb) {
|
|
10084
10084
|
var reversed = reverseKeywords[rgb];
|
|
@@ -10110,27 +10110,27 @@ var require_conversions = __commonJS({
|
|
|
10110
10110
|
g = g > 0.04045 ? Math.pow((g + 0.055) / 1.055, 2.4) : g / 12.92;
|
|
10111
10111
|
b = b > 0.04045 ? Math.pow((b + 0.055) / 1.055, 2.4) : b / 12.92;
|
|
10112
10112
|
var x2 = r3 * 0.4124 + g * 0.3576 + b * 0.1805;
|
|
10113
|
-
var
|
|
10113
|
+
var y10 = r3 * 0.2126 + g * 0.7152 + b * 0.0722;
|
|
10114
10114
|
var z = r3 * 0.0193 + g * 0.1192 + b * 0.9505;
|
|
10115
|
-
return [x2 * 100,
|
|
10115
|
+
return [x2 * 100, y10 * 100, z * 100];
|
|
10116
10116
|
};
|
|
10117
10117
|
convert.rgb.lab = function(rgb) {
|
|
10118
10118
|
var xyz = convert.rgb.xyz(rgb);
|
|
10119
10119
|
var x2 = xyz[0];
|
|
10120
|
-
var
|
|
10120
|
+
var y10 = xyz[1];
|
|
10121
10121
|
var z = xyz[2];
|
|
10122
10122
|
var l7;
|
|
10123
10123
|
var a5;
|
|
10124
10124
|
var b;
|
|
10125
10125
|
x2 /= 95.047;
|
|
10126
|
-
|
|
10126
|
+
y10 /= 100;
|
|
10127
10127
|
z /= 108.883;
|
|
10128
10128
|
x2 = x2 > 8856e-6 ? Math.pow(x2, 1 / 3) : 7.787 * x2 + 16 / 116;
|
|
10129
|
-
|
|
10129
|
+
y10 = y10 > 8856e-6 ? Math.pow(y10, 1 / 3) : 7.787 * y10 + 16 / 116;
|
|
10130
10130
|
z = z > 8856e-6 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116;
|
|
10131
|
-
l7 = 116 *
|
|
10132
|
-
a5 = 500 * (x2 -
|
|
10133
|
-
b = 200 * (
|
|
10131
|
+
l7 = 116 * y10 - 16;
|
|
10132
|
+
a5 = 500 * (x2 - y10);
|
|
10133
|
+
b = 200 * (y10 - z);
|
|
10134
10134
|
return [l7, a5, b];
|
|
10135
10135
|
};
|
|
10136
10136
|
convert.hsl.rgb = function(hsl) {
|
|
@@ -10194,10 +10194,10 @@ var require_conversions = __commonJS({
|
|
|
10194
10194
|
var s6 = hsv[1] / 100;
|
|
10195
10195
|
var v = hsv[2] / 100;
|
|
10196
10196
|
var hi = Math.floor(h) % 6;
|
|
10197
|
-
var
|
|
10197
|
+
var f6 = h - Math.floor(h);
|
|
10198
10198
|
var p3 = 255 * v * (1 - s6);
|
|
10199
|
-
var q3 = 255 * v * (1 - s6 *
|
|
10200
|
-
var t4 = 255 * v * (1 - s6 * (1 -
|
|
10199
|
+
var q3 = 255 * v * (1 - s6 * f6);
|
|
10200
|
+
var t4 = 255 * v * (1 - s6 * (1 - f6));
|
|
10201
10201
|
v *= 255;
|
|
10202
10202
|
switch (hi) {
|
|
10203
10203
|
case 0:
|
|
@@ -10237,7 +10237,7 @@ var require_conversions = __commonJS({
|
|
|
10237
10237
|
var ratio = wh + bl;
|
|
10238
10238
|
var i7;
|
|
10239
10239
|
var v;
|
|
10240
|
-
var
|
|
10240
|
+
var f6;
|
|
10241
10241
|
var n2;
|
|
10242
10242
|
if (ratio > 1) {
|
|
10243
10243
|
wh /= ratio;
|
|
@@ -10245,11 +10245,11 @@ var require_conversions = __commonJS({
|
|
|
10245
10245
|
}
|
|
10246
10246
|
i7 = Math.floor(6 * h);
|
|
10247
10247
|
v = 1 - bl;
|
|
10248
|
-
|
|
10248
|
+
f6 = 6 * h - i7;
|
|
10249
10249
|
if ((i7 & 1) !== 0) {
|
|
10250
|
-
|
|
10250
|
+
f6 = 1 - f6;
|
|
10251
10251
|
}
|
|
10252
|
-
n2 = wh +
|
|
10252
|
+
n2 = wh + f6 * (v - wh);
|
|
10253
10253
|
var r3;
|
|
10254
10254
|
var g;
|
|
10255
10255
|
var b;
|
|
@@ -10292,26 +10292,26 @@ var require_conversions = __commonJS({
|
|
|
10292
10292
|
convert.cmyk.rgb = function(cmyk) {
|
|
10293
10293
|
var c4 = cmyk[0] / 100;
|
|
10294
10294
|
var m4 = cmyk[1] / 100;
|
|
10295
|
-
var
|
|
10295
|
+
var y10 = cmyk[2] / 100;
|
|
10296
10296
|
var k2 = cmyk[3] / 100;
|
|
10297
10297
|
var r3;
|
|
10298
10298
|
var g;
|
|
10299
10299
|
var b;
|
|
10300
10300
|
r3 = 1 - Math.min(1, c4 * (1 - k2) + k2);
|
|
10301
10301
|
g = 1 - Math.min(1, m4 * (1 - k2) + k2);
|
|
10302
|
-
b = 1 - Math.min(1,
|
|
10302
|
+
b = 1 - Math.min(1, y10 * (1 - k2) + k2);
|
|
10303
10303
|
return [r3 * 255, g * 255, b * 255];
|
|
10304
10304
|
};
|
|
10305
10305
|
convert.xyz.rgb = function(xyz) {
|
|
10306
10306
|
var x2 = xyz[0] / 100;
|
|
10307
|
-
var
|
|
10307
|
+
var y10 = xyz[1] / 100;
|
|
10308
10308
|
var z = xyz[2] / 100;
|
|
10309
10309
|
var r3;
|
|
10310
10310
|
var g;
|
|
10311
10311
|
var b;
|
|
10312
|
-
r3 = x2 * 3.2406 +
|
|
10313
|
-
g = x2 * -0.9689 +
|
|
10314
|
-
b = x2 * 0.0557 +
|
|
10312
|
+
r3 = x2 * 3.2406 + y10 * -1.5372 + z * -0.4986;
|
|
10313
|
+
g = x2 * -0.9689 + y10 * 1.8758 + z * 0.0415;
|
|
10314
|
+
b = x2 * 0.0557 + y10 * -0.204 + z * 1.057;
|
|
10315
10315
|
r3 = r3 > 31308e-7 ? 1.055 * Math.pow(r3, 1 / 2.4) - 0.055 : r3 * 12.92;
|
|
10316
10316
|
g = g > 31308e-7 ? 1.055 * Math.pow(g, 1 / 2.4) - 0.055 : g * 12.92;
|
|
10317
10317
|
b = b > 31308e-7 ? 1.055 * Math.pow(b, 1 / 2.4) - 0.055 : b * 12.92;
|
|
@@ -10322,20 +10322,20 @@ var require_conversions = __commonJS({
|
|
|
10322
10322
|
};
|
|
10323
10323
|
convert.xyz.lab = function(xyz) {
|
|
10324
10324
|
var x2 = xyz[0];
|
|
10325
|
-
var
|
|
10325
|
+
var y10 = xyz[1];
|
|
10326
10326
|
var z = xyz[2];
|
|
10327
10327
|
var l7;
|
|
10328
10328
|
var a5;
|
|
10329
10329
|
var b;
|
|
10330
10330
|
x2 /= 95.047;
|
|
10331
|
-
|
|
10331
|
+
y10 /= 100;
|
|
10332
10332
|
z /= 108.883;
|
|
10333
10333
|
x2 = x2 > 8856e-6 ? Math.pow(x2, 1 / 3) : 7.787 * x2 + 16 / 116;
|
|
10334
|
-
|
|
10334
|
+
y10 = y10 > 8856e-6 ? Math.pow(y10, 1 / 3) : 7.787 * y10 + 16 / 116;
|
|
10335
10335
|
z = z > 8856e-6 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116;
|
|
10336
|
-
l7 = 116 *
|
|
10337
|
-
a5 = 500 * (x2 -
|
|
10338
|
-
b = 200 * (
|
|
10336
|
+
l7 = 116 * y10 - 16;
|
|
10337
|
+
a5 = 500 * (x2 - y10);
|
|
10338
|
+
b = 200 * (y10 - z);
|
|
10339
10339
|
return [l7, a5, b];
|
|
10340
10340
|
};
|
|
10341
10341
|
convert.lab.xyz = function(lab) {
|
|
@@ -10343,21 +10343,21 @@ var require_conversions = __commonJS({
|
|
|
10343
10343
|
var a5 = lab[1];
|
|
10344
10344
|
var b = lab[2];
|
|
10345
10345
|
var x2;
|
|
10346
|
-
var
|
|
10346
|
+
var y10;
|
|
10347
10347
|
var z;
|
|
10348
|
-
|
|
10349
|
-
x2 = a5 / 500 +
|
|
10350
|
-
z =
|
|
10351
|
-
var y22 = Math.pow(
|
|
10348
|
+
y10 = (l7 + 16) / 116;
|
|
10349
|
+
x2 = a5 / 500 + y10;
|
|
10350
|
+
z = y10 - b / 200;
|
|
10351
|
+
var y22 = Math.pow(y10, 3);
|
|
10352
10352
|
var x22 = Math.pow(x2, 3);
|
|
10353
10353
|
var z2 = Math.pow(z, 3);
|
|
10354
|
-
|
|
10354
|
+
y10 = y22 > 8856e-6 ? y22 : (y10 - 16 / 116) / 7.787;
|
|
10355
10355
|
x2 = x22 > 8856e-6 ? x22 : (x2 - 16 / 116) / 7.787;
|
|
10356
10356
|
z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787;
|
|
10357
10357
|
x2 *= 95.047;
|
|
10358
|
-
|
|
10358
|
+
y10 *= 100;
|
|
10359
10359
|
z *= 108.883;
|
|
10360
|
-
return [x2,
|
|
10360
|
+
return [x2, y10, z];
|
|
10361
10361
|
};
|
|
10362
10362
|
convert.lab.lch = function(lab) {
|
|
10363
10363
|
var l7 = lab[0];
|
|
@@ -10500,26 +10500,26 @@ var require_conversions = __commonJS({
|
|
|
10500
10500
|
var s6 = hsl[1] / 100;
|
|
10501
10501
|
var l7 = hsl[2] / 100;
|
|
10502
10502
|
var c4 = 1;
|
|
10503
|
-
var
|
|
10503
|
+
var f6 = 0;
|
|
10504
10504
|
if (l7 < 0.5) {
|
|
10505
10505
|
c4 = 2 * s6 * l7;
|
|
10506
10506
|
} else {
|
|
10507
10507
|
c4 = 2 * s6 * (1 - l7);
|
|
10508
10508
|
}
|
|
10509
10509
|
if (c4 < 1) {
|
|
10510
|
-
|
|
10510
|
+
f6 = (l7 - 0.5 * c4) / (1 - c4);
|
|
10511
10511
|
}
|
|
10512
|
-
return [hsl[0], c4 * 100,
|
|
10512
|
+
return [hsl[0], c4 * 100, f6 * 100];
|
|
10513
10513
|
};
|
|
10514
10514
|
convert.hsv.hcg = function(hsv) {
|
|
10515
10515
|
var s6 = hsv[1] / 100;
|
|
10516
10516
|
var v = hsv[2] / 100;
|
|
10517
10517
|
var c4 = s6 * v;
|
|
10518
|
-
var
|
|
10518
|
+
var f6 = 0;
|
|
10519
10519
|
if (c4 < 1) {
|
|
10520
|
-
|
|
10520
|
+
f6 = (v - c4) / (1 - c4);
|
|
10521
10521
|
}
|
|
10522
|
-
return [hsv[0], c4 * 100,
|
|
10522
|
+
return [hsv[0], c4 * 100, f6 * 100];
|
|
10523
10523
|
};
|
|
10524
10524
|
convert.hcg.rgb = function(hcg) {
|
|
10525
10525
|
var h = hcg[0] / 360;
|
|
@@ -10575,11 +10575,11 @@ var require_conversions = __commonJS({
|
|
|
10575
10575
|
var c4 = hcg[1] / 100;
|
|
10576
10576
|
var g = hcg[2] / 100;
|
|
10577
10577
|
var v = c4 + g * (1 - c4);
|
|
10578
|
-
var
|
|
10578
|
+
var f6 = 0;
|
|
10579
10579
|
if (v > 0) {
|
|
10580
|
-
|
|
10580
|
+
f6 = c4 / v;
|
|
10581
10581
|
}
|
|
10582
|
-
return [hcg[0],
|
|
10582
|
+
return [hcg[0], f6 * 100, v * 100];
|
|
10583
10583
|
};
|
|
10584
10584
|
convert.hcg.hsl = function(hcg) {
|
|
10585
10585
|
var c4 = hcg[1] / 100;
|
|
@@ -10622,17 +10622,17 @@ var require_conversions = __commonJS({
|
|
|
10622
10622
|
convert.gray.hsl = convert.gray.hsv = function(args2) {
|
|
10623
10623
|
return [0, 0, args2[0]];
|
|
10624
10624
|
};
|
|
10625
|
-
convert.gray.hwb = function(
|
|
10626
|
-
return [0, 100,
|
|
10625
|
+
convert.gray.hwb = function(gray2) {
|
|
10626
|
+
return [0, 100, gray2[0]];
|
|
10627
10627
|
};
|
|
10628
|
-
convert.gray.cmyk = function(
|
|
10629
|
-
return [0, 0, 0,
|
|
10628
|
+
convert.gray.cmyk = function(gray2) {
|
|
10629
|
+
return [0, 0, 0, gray2[0]];
|
|
10630
10630
|
};
|
|
10631
|
-
convert.gray.lab = function(
|
|
10632
|
-
return [
|
|
10631
|
+
convert.gray.lab = function(gray2) {
|
|
10632
|
+
return [gray2[0], 0, 0];
|
|
10633
10633
|
};
|
|
10634
|
-
convert.gray.hex = function(
|
|
10635
|
-
var val2 = Math.round(
|
|
10634
|
+
convert.gray.hex = function(gray2) {
|
|
10635
|
+
var val2 = Math.round(gray2[0] / 100 * 255) & 255;
|
|
10636
10636
|
var integer = (val2 << 16) + (val2 << 8) + val2;
|
|
10637
10637
|
var string = integer.toString(16).toUpperCase();
|
|
10638
10638
|
return "000000".substring(string.length) + string;
|
|
@@ -11215,14 +11215,14 @@ var require_kuler = __commonJS({
|
|
|
11215
11215
|
return [parseInt(r3, 16), parseInt(g, 16), parseInt(b, 16)];
|
|
11216
11216
|
};
|
|
11217
11217
|
Kuler.prototype.rgb = function rgb(r3, g, b) {
|
|
11218
|
-
var
|
|
11219
|
-
return this.ansi(
|
|
11218
|
+
var red2 = r3 / 255 * 5, green2 = g / 255 * 5, blue2 = b / 255 * 5;
|
|
11219
|
+
return this.ansi(red2, green2, blue2);
|
|
11220
11220
|
};
|
|
11221
11221
|
Kuler.prototype.ansi = function ansi(r3, g, b) {
|
|
11222
|
-
var
|
|
11223
|
-
return 16 +
|
|
11222
|
+
var red2 = Math.round(r3), green2 = Math.round(g), blue2 = Math.round(b);
|
|
11223
|
+
return 16 + red2 * 36 + green2 * 6 + blue2;
|
|
11224
11224
|
};
|
|
11225
|
-
Kuler.prototype.reset = function
|
|
11225
|
+
Kuler.prototype.reset = function reset2() {
|
|
11226
11226
|
return this.prefix + "39;49" + this.suffix;
|
|
11227
11227
|
};
|
|
11228
11228
|
Kuler.prototype.style = function style(color) {
|
|
@@ -11312,10 +11312,10 @@ var require_console2 = __commonJS({
|
|
|
11312
11312
|
var require_development = __commonJS({
|
|
11313
11313
|
"../../node_modules/.pnpm/@dabh+diagnostics@2.0.3/node_modules/@dabh/diagnostics/node/development.js"(exports2, module2) {
|
|
11314
11314
|
var create2 = require_diagnostics();
|
|
11315
|
-
var
|
|
11315
|
+
var tty2 = __require("tty").isatty(1);
|
|
11316
11316
|
var diagnostics = create2(function dev(namespace2, options) {
|
|
11317
11317
|
options = options || {};
|
|
11318
|
-
options.colors = "colors" in options ? options.colors :
|
|
11318
|
+
options.colors = "colors" in options ? options.colors : tty2;
|
|
11319
11319
|
options.namespace = namespace2;
|
|
11320
11320
|
options.prod = false;
|
|
11321
11321
|
options.dev = true;
|
|
@@ -13201,7 +13201,7 @@ var require_logger = __commonJS({
|
|
|
13201
13201
|
*/
|
|
13202
13202
|
configure({
|
|
13203
13203
|
silent,
|
|
13204
|
-
format:
|
|
13204
|
+
format: format6,
|
|
13205
13205
|
defaultMeta,
|
|
13206
13206
|
levels,
|
|
13207
13207
|
level = "info",
|
|
@@ -13220,7 +13220,7 @@ var require_logger = __commonJS({
|
|
|
13220
13220
|
this.clear();
|
|
13221
13221
|
}
|
|
13222
13222
|
this.silent = silent;
|
|
13223
|
-
this.format =
|
|
13223
|
+
this.format = format6 || this.format || require_json()();
|
|
13224
13224
|
this.defaultMeta = defaultMeta || null;
|
|
13225
13225
|
this.levels = levels || this.levels || config3.npm.levels;
|
|
13226
13226
|
this.level = level;
|
|
@@ -21380,11 +21380,11 @@ var require_conversions2 = __commonJS({
|
|
|
21380
21380
|
const k2 = Math.min(1 - r3, 1 - g, 1 - b);
|
|
21381
21381
|
const c4 = (1 - r3 - k2) / (1 - k2) || 0;
|
|
21382
21382
|
const m4 = (1 - g - k2) / (1 - k2) || 0;
|
|
21383
|
-
const
|
|
21384
|
-
return [c4 * 100, m4 * 100,
|
|
21383
|
+
const y10 = (1 - b - k2) / (1 - k2) || 0;
|
|
21384
|
+
return [c4 * 100, m4 * 100, y10 * 100, k2 * 100];
|
|
21385
21385
|
};
|
|
21386
|
-
function comparativeDistance(x2,
|
|
21387
|
-
return (x2[0] -
|
|
21386
|
+
function comparativeDistance(x2, y10) {
|
|
21387
|
+
return (x2[0] - y10[0]) ** 2 + (x2[1] - y10[1]) ** 2 + (x2[2] - y10[2]) ** 2;
|
|
21388
21388
|
}
|
|
21389
21389
|
convert.rgb.keyword = function(rgb) {
|
|
21390
21390
|
const reversed = reverseKeywords[rgb];
|
|
@@ -21414,24 +21414,24 @@ var require_conversions2 = __commonJS({
|
|
|
21414
21414
|
g = g > 0.04045 ? ((g + 0.055) / 1.055) ** 2.4 : g / 12.92;
|
|
21415
21415
|
b = b > 0.04045 ? ((b + 0.055) / 1.055) ** 2.4 : b / 12.92;
|
|
21416
21416
|
const x2 = r3 * 0.4124 + g * 0.3576 + b * 0.1805;
|
|
21417
|
-
const
|
|
21417
|
+
const y10 = r3 * 0.2126 + g * 0.7152 + b * 0.0722;
|
|
21418
21418
|
const z = r3 * 0.0193 + g * 0.1192 + b * 0.9505;
|
|
21419
|
-
return [x2 * 100,
|
|
21419
|
+
return [x2 * 100, y10 * 100, z * 100];
|
|
21420
21420
|
};
|
|
21421
21421
|
convert.rgb.lab = function(rgb) {
|
|
21422
21422
|
const xyz = convert.rgb.xyz(rgb);
|
|
21423
21423
|
let x2 = xyz[0];
|
|
21424
|
-
let
|
|
21424
|
+
let y10 = xyz[1];
|
|
21425
21425
|
let z = xyz[2];
|
|
21426
21426
|
x2 /= 95.047;
|
|
21427
|
-
|
|
21427
|
+
y10 /= 100;
|
|
21428
21428
|
z /= 108.883;
|
|
21429
21429
|
x2 = x2 > 8856e-6 ? x2 ** (1 / 3) : 7.787 * x2 + 16 / 116;
|
|
21430
|
-
|
|
21430
|
+
y10 = y10 > 8856e-6 ? y10 ** (1 / 3) : 7.787 * y10 + 16 / 116;
|
|
21431
21431
|
z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
|
|
21432
|
-
const l7 = 116 *
|
|
21433
|
-
const a5 = 500 * (x2 -
|
|
21434
|
-
const b = 200 * (
|
|
21432
|
+
const l7 = 116 * y10 - 16;
|
|
21433
|
+
const a5 = 500 * (x2 - y10);
|
|
21434
|
+
const b = 200 * (y10 - z);
|
|
21435
21435
|
return [l7, a5, b];
|
|
21436
21436
|
};
|
|
21437
21437
|
convert.hsl.rgb = function(hsl) {
|
|
@@ -21491,10 +21491,10 @@ var require_conversions2 = __commonJS({
|
|
|
21491
21491
|
const s6 = hsv[1] / 100;
|
|
21492
21492
|
let v = hsv[2] / 100;
|
|
21493
21493
|
const hi = Math.floor(h) % 6;
|
|
21494
|
-
const
|
|
21494
|
+
const f6 = h - Math.floor(h);
|
|
21495
21495
|
const p3 = 255 * v * (1 - s6);
|
|
21496
|
-
const q3 = 255 * v * (1 - s6 *
|
|
21497
|
-
const t4 = 255 * v * (1 - s6 * (1 -
|
|
21496
|
+
const q3 = 255 * v * (1 - s6 * f6);
|
|
21497
|
+
const t4 = 255 * v * (1 - s6 * (1 - f6));
|
|
21498
21498
|
v *= 255;
|
|
21499
21499
|
switch (hi) {
|
|
21500
21500
|
case 0:
|
|
@@ -21531,18 +21531,18 @@ var require_conversions2 = __commonJS({
|
|
|
21531
21531
|
let wh = hwb[1] / 100;
|
|
21532
21532
|
let bl = hwb[2] / 100;
|
|
21533
21533
|
const ratio = wh + bl;
|
|
21534
|
-
let
|
|
21534
|
+
let f6;
|
|
21535
21535
|
if (ratio > 1) {
|
|
21536
21536
|
wh /= ratio;
|
|
21537
21537
|
bl /= ratio;
|
|
21538
21538
|
}
|
|
21539
21539
|
const i7 = Math.floor(6 * h);
|
|
21540
21540
|
const v = 1 - bl;
|
|
21541
|
-
|
|
21541
|
+
f6 = 6 * h - i7;
|
|
21542
21542
|
if ((i7 & 1) !== 0) {
|
|
21543
|
-
|
|
21543
|
+
f6 = 1 - f6;
|
|
21544
21544
|
}
|
|
21545
|
-
const n2 = wh +
|
|
21545
|
+
const n2 = wh + f6 * (v - wh);
|
|
21546
21546
|
let r3;
|
|
21547
21547
|
let g;
|
|
21548
21548
|
let b;
|
|
@@ -21585,23 +21585,23 @@ var require_conversions2 = __commonJS({
|
|
|
21585
21585
|
convert.cmyk.rgb = function(cmyk) {
|
|
21586
21586
|
const c4 = cmyk[0] / 100;
|
|
21587
21587
|
const m4 = cmyk[1] / 100;
|
|
21588
|
-
const
|
|
21588
|
+
const y10 = cmyk[2] / 100;
|
|
21589
21589
|
const k2 = cmyk[3] / 100;
|
|
21590
21590
|
const r3 = 1 - Math.min(1, c4 * (1 - k2) + k2);
|
|
21591
21591
|
const g = 1 - Math.min(1, m4 * (1 - k2) + k2);
|
|
21592
|
-
const b = 1 - Math.min(1,
|
|
21592
|
+
const b = 1 - Math.min(1, y10 * (1 - k2) + k2);
|
|
21593
21593
|
return [r3 * 255, g * 255, b * 255];
|
|
21594
21594
|
};
|
|
21595
21595
|
convert.xyz.rgb = function(xyz) {
|
|
21596
21596
|
const x2 = xyz[0] / 100;
|
|
21597
|
-
const
|
|
21597
|
+
const y10 = xyz[1] / 100;
|
|
21598
21598
|
const z = xyz[2] / 100;
|
|
21599
21599
|
let r3;
|
|
21600
21600
|
let g;
|
|
21601
21601
|
let b;
|
|
21602
|
-
r3 = x2 * 3.2406 +
|
|
21603
|
-
g = x2 * -0.9689 +
|
|
21604
|
-
b = x2 * 0.0557 +
|
|
21602
|
+
r3 = x2 * 3.2406 + y10 * -1.5372 + z * -0.4986;
|
|
21603
|
+
g = x2 * -0.9689 + y10 * 1.8758 + z * 0.0415;
|
|
21604
|
+
b = x2 * 0.0557 + y10 * -0.204 + z * 1.057;
|
|
21605
21605
|
r3 = r3 > 31308e-7 ? 1.055 * r3 ** (1 / 2.4) - 0.055 : r3 * 12.92;
|
|
21606
21606
|
g = g > 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : g * 12.92;
|
|
21607
21607
|
b = b > 31308e-7 ? 1.055 * b ** (1 / 2.4) - 0.055 : b * 12.92;
|
|
@@ -21612,17 +21612,17 @@ var require_conversions2 = __commonJS({
|
|
|
21612
21612
|
};
|
|
21613
21613
|
convert.xyz.lab = function(xyz) {
|
|
21614
21614
|
let x2 = xyz[0];
|
|
21615
|
-
let
|
|
21615
|
+
let y10 = xyz[1];
|
|
21616
21616
|
let z = xyz[2];
|
|
21617
21617
|
x2 /= 95.047;
|
|
21618
|
-
|
|
21618
|
+
y10 /= 100;
|
|
21619
21619
|
z /= 108.883;
|
|
21620
21620
|
x2 = x2 > 8856e-6 ? x2 ** (1 / 3) : 7.787 * x2 + 16 / 116;
|
|
21621
|
-
|
|
21621
|
+
y10 = y10 > 8856e-6 ? y10 ** (1 / 3) : 7.787 * y10 + 16 / 116;
|
|
21622
21622
|
z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
|
|
21623
|
-
const l7 = 116 *
|
|
21624
|
-
const a5 = 500 * (x2 -
|
|
21625
|
-
const b = 200 * (
|
|
21623
|
+
const l7 = 116 * y10 - 16;
|
|
21624
|
+
const a5 = 500 * (x2 - y10);
|
|
21625
|
+
const b = 200 * (y10 - z);
|
|
21626
21626
|
return [l7, a5, b];
|
|
21627
21627
|
};
|
|
21628
21628
|
convert.lab.xyz = function(lab) {
|
|
@@ -21630,21 +21630,21 @@ var require_conversions2 = __commonJS({
|
|
|
21630
21630
|
const a5 = lab[1];
|
|
21631
21631
|
const b = lab[2];
|
|
21632
21632
|
let x2;
|
|
21633
|
-
let
|
|
21633
|
+
let y10;
|
|
21634
21634
|
let z;
|
|
21635
|
-
|
|
21636
|
-
x2 = a5 / 500 +
|
|
21637
|
-
z =
|
|
21638
|
-
const y22 =
|
|
21635
|
+
y10 = (l7 + 16) / 116;
|
|
21636
|
+
x2 = a5 / 500 + y10;
|
|
21637
|
+
z = y10 - b / 200;
|
|
21638
|
+
const y22 = y10 ** 3;
|
|
21639
21639
|
const x22 = x2 ** 3;
|
|
21640
21640
|
const z2 = z ** 3;
|
|
21641
|
-
|
|
21641
|
+
y10 = y22 > 8856e-6 ? y22 : (y10 - 16 / 116) / 7.787;
|
|
21642
21642
|
x2 = x22 > 8856e-6 ? x22 : (x2 - 16 / 116) / 7.787;
|
|
21643
21643
|
z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787;
|
|
21644
21644
|
x2 *= 95.047;
|
|
21645
|
-
|
|
21645
|
+
y10 *= 100;
|
|
21646
21646
|
z *= 108.883;
|
|
21647
|
-
return [x2,
|
|
21647
|
+
return [x2, y10, z];
|
|
21648
21648
|
};
|
|
21649
21649
|
convert.lab.lch = function(lab) {
|
|
21650
21650
|
const l7 = lab[0];
|
|
@@ -21780,21 +21780,21 @@ var require_conversions2 = __commonJS({
|
|
|
21780
21780
|
const s6 = hsl[1] / 100;
|
|
21781
21781
|
const l7 = hsl[2] / 100;
|
|
21782
21782
|
const c4 = l7 < 0.5 ? 2 * s6 * l7 : 2 * s6 * (1 - l7);
|
|
21783
|
-
let
|
|
21783
|
+
let f6 = 0;
|
|
21784
21784
|
if (c4 < 1) {
|
|
21785
|
-
|
|
21785
|
+
f6 = (l7 - 0.5 * c4) / (1 - c4);
|
|
21786
21786
|
}
|
|
21787
|
-
return [hsl[0], c4 * 100,
|
|
21787
|
+
return [hsl[0], c4 * 100, f6 * 100];
|
|
21788
21788
|
};
|
|
21789
21789
|
convert.hsv.hcg = function(hsv) {
|
|
21790
21790
|
const s6 = hsv[1] / 100;
|
|
21791
21791
|
const v = hsv[2] / 100;
|
|
21792
21792
|
const c4 = s6 * v;
|
|
21793
|
-
let
|
|
21793
|
+
let f6 = 0;
|
|
21794
21794
|
if (c4 < 1) {
|
|
21795
|
-
|
|
21795
|
+
f6 = (v - c4) / (1 - c4);
|
|
21796
21796
|
}
|
|
21797
|
-
return [hsv[0], c4 * 100,
|
|
21797
|
+
return [hsv[0], c4 * 100, f6 * 100];
|
|
21798
21798
|
};
|
|
21799
21799
|
convert.hcg.rgb = function(hcg) {
|
|
21800
21800
|
const h = hcg[0] / 360;
|
|
@@ -21850,11 +21850,11 @@ var require_conversions2 = __commonJS({
|
|
|
21850
21850
|
const c4 = hcg[1] / 100;
|
|
21851
21851
|
const g = hcg[2] / 100;
|
|
21852
21852
|
const v = c4 + g * (1 - c4);
|
|
21853
|
-
let
|
|
21853
|
+
let f6 = 0;
|
|
21854
21854
|
if (v > 0) {
|
|
21855
|
-
|
|
21855
|
+
f6 = c4 / v;
|
|
21856
21856
|
}
|
|
21857
|
-
return [hcg[0],
|
|
21857
|
+
return [hcg[0], f6 * 100, v * 100];
|
|
21858
21858
|
};
|
|
21859
21859
|
convert.hcg.hsl = function(hcg) {
|
|
21860
21860
|
const c4 = hcg[1] / 100;
|
|
@@ -21898,17 +21898,17 @@ var require_conversions2 = __commonJS({
|
|
|
21898
21898
|
return [0, 0, args2[0]];
|
|
21899
21899
|
};
|
|
21900
21900
|
convert.gray.hsv = convert.gray.hsl;
|
|
21901
|
-
convert.gray.hwb = function(
|
|
21902
|
-
return [0, 100,
|
|
21901
|
+
convert.gray.hwb = function(gray2) {
|
|
21902
|
+
return [0, 100, gray2[0]];
|
|
21903
21903
|
};
|
|
21904
|
-
convert.gray.cmyk = function(
|
|
21905
|
-
return [0, 0, 0,
|
|
21904
|
+
convert.gray.cmyk = function(gray2) {
|
|
21905
|
+
return [0, 0, 0, gray2[0]];
|
|
21906
21906
|
};
|
|
21907
|
-
convert.gray.lab = function(
|
|
21908
|
-
return [
|
|
21907
|
+
convert.gray.lab = function(gray2) {
|
|
21908
|
+
return [gray2[0], 0, 0];
|
|
21909
21909
|
};
|
|
21910
|
-
convert.gray.hex = function(
|
|
21911
|
-
const val2 = Math.round(
|
|
21910
|
+
convert.gray.hex = function(gray2) {
|
|
21911
|
+
const val2 = Math.round(gray2[0] / 100 * 255) & 255;
|
|
21912
21912
|
const integer = (val2 << 16) + (val2 << 8) + val2;
|
|
21913
21913
|
const string = integer.toString(16).toUpperCase();
|
|
21914
21914
|
return "000000".substring(string.length) + string;
|
|
@@ -22211,7 +22211,7 @@ var require_supports_color = __commonJS({
|
|
|
22211
22211
|
"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports2, module2) {
|
|
22212
22212
|
"use strict";
|
|
22213
22213
|
var os2 = __require("os");
|
|
22214
|
-
var
|
|
22214
|
+
var tty2 = __require("tty");
|
|
22215
22215
|
var hasFlag = require_has_flag2();
|
|
22216
22216
|
var { env } = process;
|
|
22217
22217
|
var forceColor;
|
|
@@ -22302,8 +22302,8 @@ var require_supports_color = __commonJS({
|
|
|
22302
22302
|
}
|
|
22303
22303
|
module2.exports = {
|
|
22304
22304
|
supportsColor: getSupportLevel,
|
|
22305
|
-
stdout: translateLevel(supportsColor(true,
|
|
22306
|
-
stderr: translateLevel(supportsColor(true,
|
|
22305
|
+
stdout: translateLevel(supportsColor(true, tty2.isatty(1))),
|
|
22306
|
+
stderr: translateLevel(supportsColor(true, tty2.isatty(2)))
|
|
22307
22307
|
};
|
|
22308
22308
|
}
|
|
22309
22309
|
});
|
|
@@ -22432,14 +22432,14 @@ var require_templates = __commonJS({
|
|
|
22432
22432
|
const styles = [];
|
|
22433
22433
|
const chunks = [];
|
|
22434
22434
|
let chunk = [];
|
|
22435
|
-
temporary.replace(TEMPLATE_REGEX, (m4, escapeCharacter,
|
|
22435
|
+
temporary.replace(TEMPLATE_REGEX, (m4, escapeCharacter, inverse2, style, close, character) => {
|
|
22436
22436
|
if (escapeCharacter) {
|
|
22437
22437
|
chunk.push(unescape3(escapeCharacter));
|
|
22438
22438
|
} else if (style) {
|
|
22439
22439
|
const string = chunk.join("");
|
|
22440
22440
|
chunk = [];
|
|
22441
22441
|
chunks.push(styles.length === 0 ? string : buildStyle(chalk, styles)(string));
|
|
22442
|
-
styles.push({ inverse, styles: parseStyle(style) });
|
|
22442
|
+
styles.push({ inverse: inverse2, styles: parseStyle(style) });
|
|
22443
22443
|
} else if (close) {
|
|
22444
22444
|
if (styles.length === 0) {
|
|
22445
22445
|
throw new Error("Found extraneous } in Chalk template literal");
|
|
@@ -26407,10 +26407,10 @@ var require_rules = __commonJS({
|
|
|
26407
26407
|
t: "fallback",
|
|
26408
26408
|
chunk: null
|
|
26409
26409
|
};
|
|
26410
|
-
function compareChunksByValue(x2,
|
|
26411
|
-
if (typeof x2.chunk === "string" && typeof
|
|
26410
|
+
function compareChunksByValue(x2, y10) {
|
|
26411
|
+
if (typeof x2.chunk === "string" && typeof y10.chunk === "string") {
|
|
26412
26412
|
const xChunk = x2.chunk;
|
|
26413
|
-
const yChunk =
|
|
26413
|
+
const yChunk = y10.chunk;
|
|
26414
26414
|
if (yChunk < xChunk) {
|
|
26415
26415
|
return 1;
|
|
26416
26416
|
} else if (xChunk < yChunk) {
|
|
@@ -26419,10 +26419,10 @@ var require_rules = __commonJS({
|
|
|
26419
26419
|
}
|
|
26420
26420
|
return 0;
|
|
26421
26421
|
}
|
|
26422
|
-
function compareChunksByInclusion(x2,
|
|
26423
|
-
if (typeof x2.chunk === "string" && typeof
|
|
26422
|
+
function compareChunksByInclusion(x2, y10) {
|
|
26423
|
+
if (typeof x2.chunk === "string" && typeof y10.chunk === "string") {
|
|
26424
26424
|
const xChunk = x2.chunk;
|
|
26425
|
-
const yChunk =
|
|
26425
|
+
const yChunk = y10.chunk;
|
|
26426
26426
|
if (yChunk.startsWith(xChunk)) {
|
|
26427
26427
|
return 1;
|
|
26428
26428
|
} else if (xChunk.startsWith(yChunk)) {
|
|
@@ -26451,8 +26451,8 @@ var require_rules = __commonJS({
|
|
|
26451
26451
|
otherRules.push(rule);
|
|
26452
26452
|
}
|
|
26453
26453
|
}
|
|
26454
|
-
chunkRules.sort((x2,
|
|
26455
|
-
chunkRules.sort((x2,
|
|
26454
|
+
chunkRules.sort((x2, y10) => compareChunksByValue(x2, y10));
|
|
26455
|
+
chunkRules.sort((x2, y10) => compareChunksByInclusion(x2, y10));
|
|
26456
26456
|
const res = [...numberRules, ...chunkRules, ...otherRules, ...fallbackRules];
|
|
26457
26457
|
return res;
|
|
26458
26458
|
}
|
|
@@ -27239,11 +27239,11 @@ var require_lib = __commonJS({
|
|
|
27239
27239
|
inotify_dispatch(listeners[e.id], e);
|
|
27240
27240
|
inotify_dispatch(listeners[EVENT_ALL], e);
|
|
27241
27241
|
},
|
|
27242
|
-
__listener(listeners,
|
|
27242
|
+
__listener(listeners, f6, scope) {
|
|
27243
27243
|
let i7 = listeners.length;
|
|
27244
27244
|
while (--i7 >= 0) {
|
|
27245
27245
|
const l7 = listeners[i7];
|
|
27246
|
-
if (l7[0] ===
|
|
27246
|
+
if (l7[0] === f6 && l7[1] === scope) {
|
|
27247
27247
|
break;
|
|
27248
27248
|
}
|
|
27249
27249
|
}
|
|
@@ -27349,23 +27349,23 @@ var require_lib2 = __commonJS({
|
|
|
27349
27349
|
var getKey = (k2) => typeof k2 === "function" ? k2 : (x2) => x2[k2];
|
|
27350
27350
|
function compareByKey(a5, cmp = compare) {
|
|
27351
27351
|
const k2 = getKey(a5);
|
|
27352
|
-
return (x2,
|
|
27352
|
+
return (x2, y10) => cmp(k2(x2), k2(y10));
|
|
27353
27353
|
}
|
|
27354
27354
|
function compareByKeys2(a5, b, cmpA = compare, cmpB = compare) {
|
|
27355
27355
|
const ka = getKey(a5);
|
|
27356
27356
|
const kb = getKey(b);
|
|
27357
|
-
return (x2,
|
|
27358
|
-
let res = cmpA(ka(x2), ka(
|
|
27359
|
-
return res === 0 ? cmpB(kb(x2), kb(
|
|
27357
|
+
return (x2, y10) => {
|
|
27358
|
+
let res = cmpA(ka(x2), ka(y10));
|
|
27359
|
+
return res === 0 ? cmpB(kb(x2), kb(y10)) : res;
|
|
27360
27360
|
};
|
|
27361
27361
|
}
|
|
27362
27362
|
function compareByKeys3(a5, b, c4, cmpA = compare, cmpB = compare, cmpC = compare) {
|
|
27363
27363
|
const ka = getKey(a5);
|
|
27364
27364
|
const kb = getKey(b);
|
|
27365
27365
|
const kc = getKey(c4);
|
|
27366
|
-
return (x2,
|
|
27367
|
-
let res = cmpA(ka(x2), ka(
|
|
27368
|
-
return res === 0 ? (res = cmpB(kb(x2), kb(
|
|
27366
|
+
return (x2, y10) => {
|
|
27367
|
+
let res = cmpA(ka(x2), ka(y10));
|
|
27368
|
+
return res === 0 ? (res = cmpB(kb(x2), kb(y10))) === 0 ? cmpC(kc(x2), kc(y10)) : res : res;
|
|
27369
27369
|
};
|
|
27370
27370
|
}
|
|
27371
27371
|
function compareByKeys4(a5, b, c4, d4, cmpA = compare, cmpB = compare, cmpC = compare, cmpD = compare) {
|
|
@@ -27373,9 +27373,9 @@ var require_lib2 = __commonJS({
|
|
|
27373
27373
|
const kb = getKey(b);
|
|
27374
27374
|
const kc = getKey(c4);
|
|
27375
27375
|
const kd = getKey(d4);
|
|
27376
|
-
return (x2,
|
|
27377
|
-
let res = cmpA(ka(x2), ka(
|
|
27378
|
-
return res === 0 ? (res = cmpB(kb(x2), kb(
|
|
27376
|
+
return (x2, y10) => {
|
|
27377
|
+
let res = cmpA(ka(x2), ka(y10));
|
|
27378
|
+
return res === 0 ? (res = cmpB(kb(x2), kb(y10))) === 0 ? (res = cmpC(kc(x2), kc(y10))) === 0 ? cmpD(kd(x2), kd(y10)) : res : res : res;
|
|
27379
27379
|
};
|
|
27380
27380
|
}
|
|
27381
27381
|
var compareNumAsc = (a5, b) => a5 - b;
|
|
@@ -27666,7 +27666,7 @@ var require_lib5 = __commonJS({
|
|
|
27666
27666
|
throw new OutOfBoundsError(index2);
|
|
27667
27667
|
};
|
|
27668
27668
|
var ensureIndex = (index2, min, max) => (index2 < min || index2 >= max) && outOfBounds(index2);
|
|
27669
|
-
var ensureIndex2 = (x2,
|
|
27669
|
+
var ensureIndex2 = (x2, y10, maxX, maxY) => (x2 < 0 || x2 >= maxX || y10 < 0 || y10 >= maxY) && outOfBounds([x2, y10]);
|
|
27670
27670
|
var UnsupportedOperationError = defError(() => "unsupported operation");
|
|
27671
27671
|
var unsupported = (msg) => {
|
|
27672
27672
|
throw new UnsupportedOperationError(msg);
|
|
@@ -28277,7 +28277,7 @@ var require_lib8 = __commonJS({
|
|
|
28277
28277
|
return lb;
|
|
28278
28278
|
}
|
|
28279
28279
|
let x2 = 0;
|
|
28280
|
-
let
|
|
28280
|
+
let y10;
|
|
28281
28281
|
let minDist;
|
|
28282
28282
|
let d0;
|
|
28283
28283
|
let d1;
|
|
@@ -28294,8 +28294,8 @@ var require_lib8 = __commonJS({
|
|
|
28294
28294
|
return d02 < d12 || d23 < d12 ? d02 > d23 ? d23 + 1 : d02 + 1 : equiv2(ay2, bx) ? d12 : d12 + 1;
|
|
28295
28295
|
};
|
|
28296
28296
|
const vector = [];
|
|
28297
|
-
for (
|
|
28298
|
-
vector.push(
|
|
28297
|
+
for (y10 = 0; y10 < la; y10++) {
|
|
28298
|
+
vector.push(y10 + 1, a5[offset + y10]);
|
|
28299
28299
|
}
|
|
28300
28300
|
const len = vector.length - 1;
|
|
28301
28301
|
const lb3 = lb - 3;
|
|
@@ -28306,15 +28306,15 @@ var require_lib8 = __commonJS({
|
|
|
28306
28306
|
bx3 = b[offset + (d32 = x2 + 3)];
|
|
28307
28307
|
dd = x2 += 4;
|
|
28308
28308
|
minDist = Infinity;
|
|
28309
|
-
for (
|
|
28310
|
-
dy = vector[
|
|
28311
|
-
ay = vector[
|
|
28309
|
+
for (y10 = 0; y10 < len; y10 += 2) {
|
|
28310
|
+
dy = vector[y10];
|
|
28311
|
+
ay = vector[y10 + 1];
|
|
28312
28312
|
d0 = _min(dy, d0, d1, bx0, ay);
|
|
28313
28313
|
d1 = _min(d0, d1, d22, bx1, ay);
|
|
28314
28314
|
d22 = _min(d1, d22, d32, bx2, ay);
|
|
28315
28315
|
dd = _min(d22, d32, dd, bx3, ay);
|
|
28316
28316
|
dd < minDist && (minDist = dd);
|
|
28317
|
-
vector[
|
|
28317
|
+
vector[y10] = dd;
|
|
28318
28318
|
d32 = d22;
|
|
28319
28319
|
d22 = d1;
|
|
28320
28320
|
d1 = d0;
|
|
@@ -28327,9 +28327,9 @@ var require_lib8 = __commonJS({
|
|
|
28327
28327
|
bx0 = b[offset + (d0 = x2)];
|
|
28328
28328
|
dd = ++x2;
|
|
28329
28329
|
minDist = Infinity;
|
|
28330
|
-
for (
|
|
28331
|
-
dy = vector[
|
|
28332
|
-
vector[
|
|
28330
|
+
for (y10 = 0; y10 < len; y10 += 2) {
|
|
28331
|
+
dy = vector[y10];
|
|
28332
|
+
vector[y10] = dd = _min(dy, d0, dd, bx0, vector[y10 + 1]);
|
|
28333
28333
|
dd < minDist && (minDist = dd);
|
|
28334
28334
|
d0 = dy;
|
|
28335
28335
|
}
|
|
@@ -28344,10 +28344,10 @@ var require_lib8 = __commonJS({
|
|
|
28344
28344
|
};
|
|
28345
28345
|
var first2 = (buf) => buf[0];
|
|
28346
28346
|
var peek = (buf) => buf[buf.length - 1];
|
|
28347
|
-
var swap = (arr, x2,
|
|
28347
|
+
var swap = (arr, x2, y10) => {
|
|
28348
28348
|
const t4 = arr[x2];
|
|
28349
|
-
arr[x2] = arr[
|
|
28350
|
-
arr[
|
|
28349
|
+
arr[x2] = arr[y10];
|
|
28350
|
+
arr[y10] = t4;
|
|
28351
28351
|
};
|
|
28352
28352
|
var multiSwap = (...xs) => {
|
|
28353
28353
|
const [b, c4, d4] = xs;
|
|
@@ -28356,28 +28356,28 @@ var require_lib8 = __commonJS({
|
|
|
28356
28356
|
case 0:
|
|
28357
28357
|
return swap;
|
|
28358
28358
|
case 1:
|
|
28359
|
-
return (a5, x2,
|
|
28360
|
-
swap(a5, x2,
|
|
28361
|
-
swap(b, x2,
|
|
28359
|
+
return (a5, x2, y10) => {
|
|
28360
|
+
swap(a5, x2, y10);
|
|
28361
|
+
swap(b, x2, y10);
|
|
28362
28362
|
};
|
|
28363
28363
|
case 2:
|
|
28364
|
-
return (a5, x2,
|
|
28365
|
-
swap(a5, x2,
|
|
28366
|
-
swap(b, x2,
|
|
28367
|
-
swap(c4, x2,
|
|
28364
|
+
return (a5, x2, y10) => {
|
|
28365
|
+
swap(a5, x2, y10);
|
|
28366
|
+
swap(b, x2, y10);
|
|
28367
|
+
swap(c4, x2, y10);
|
|
28368
28368
|
};
|
|
28369
28369
|
case 3:
|
|
28370
|
-
return (a5, x2,
|
|
28371
|
-
swap(a5, x2,
|
|
28372
|
-
swap(b, x2,
|
|
28373
|
-
swap(c4, x2,
|
|
28374
|
-
swap(d4, x2,
|
|
28370
|
+
return (a5, x2, y10) => {
|
|
28371
|
+
swap(a5, x2, y10);
|
|
28372
|
+
swap(b, x2, y10);
|
|
28373
|
+
swap(c4, x2, y10);
|
|
28374
|
+
swap(d4, x2, y10);
|
|
28375
28375
|
};
|
|
28376
28376
|
default:
|
|
28377
|
-
return (a5, x2,
|
|
28378
|
-
swap(a5, x2,
|
|
28377
|
+
return (a5, x2, y10) => {
|
|
28378
|
+
swap(a5, x2, y10);
|
|
28379
28379
|
for (let i7 = n2; --i7 >= 0; )
|
|
28380
|
-
swap(xs[i7], x2,
|
|
28380
|
+
swap(xs[i7], x2, y10);
|
|
28381
28381
|
};
|
|
28382
28382
|
}
|
|
28383
28383
|
};
|
|
@@ -28434,7 +28434,7 @@ var require_lib8 = __commonJS({
|
|
|
28434
28434
|
return j < 0;
|
|
28435
28435
|
};
|
|
28436
28436
|
var swizzle = (order) => {
|
|
28437
|
-
const [a5, b, c4, d4, e,
|
|
28437
|
+
const [a5, b, c4, d4, e, f6, g, h] = order;
|
|
28438
28438
|
switch (order.length) {
|
|
28439
28439
|
case 0:
|
|
28440
28440
|
return () => [];
|
|
@@ -28449,11 +28449,11 @@ var require_lib8 = __commonJS({
|
|
|
28449
28449
|
case 5:
|
|
28450
28450
|
return (x2) => [x2[a5], x2[b], x2[c4], x2[d4], x2[e]];
|
|
28451
28451
|
case 6:
|
|
28452
|
-
return (x2) => [x2[a5], x2[b], x2[c4], x2[d4], x2[e], x2[
|
|
28452
|
+
return (x2) => [x2[a5], x2[b], x2[c4], x2[d4], x2[e], x2[f6]];
|
|
28453
28453
|
case 7:
|
|
28454
|
-
return (x2) => [x2[a5], x2[b], x2[c4], x2[d4], x2[e], x2[
|
|
28454
|
+
return (x2) => [x2[a5], x2[b], x2[c4], x2[d4], x2[e], x2[f6], x2[g]];
|
|
28455
28455
|
case 8:
|
|
28456
|
-
return (x2) => [x2[a5], x2[b], x2[c4], x2[d4], x2[e], x2[
|
|
28456
|
+
return (x2) => [x2[a5], x2[b], x2[c4], x2[d4], x2[e], x2[f6], x2[g], x2[h]];
|
|
28457
28457
|
default:
|
|
28458
28458
|
return (x2) => {
|
|
28459
28459
|
const res = [];
|
|
@@ -32161,9 +32161,9 @@ var require_tokenizer = __commonJS({
|
|
|
32161
32161
|
function isNonAscii(cp3) {
|
|
32162
32162
|
return 128 <= cp3 && cp3 <= 55295 || 57344 <= cp3 && cp3 <= 1114111;
|
|
32163
32163
|
}
|
|
32164
|
-
function isValidDate(
|
|
32165
|
-
if (
|
|
32166
|
-
const maxDayOfMonth = m4 === 2 ?
|
|
32164
|
+
function isValidDate(y10, m4, d4) {
|
|
32165
|
+
if (y10 >= 0 && m4 <= 12 && m4 >= 1 && d4 >= 1) {
|
|
32166
|
+
const maxDayOfMonth = m4 === 2 ? y10 & 3 || !(y10 % 25) && y10 & 15 ? 28 : 29 : 30 + (m4 + (m4 >> 3) & 1);
|
|
32167
32167
|
return d4 <= maxDayOfMonth;
|
|
32168
32168
|
}
|
|
32169
32169
|
return false;
|
|
@@ -36450,11 +36450,11 @@ var require_picomatch = __commonJS({
|
|
|
36450
36450
|
return { isMatch: false, output: "" };
|
|
36451
36451
|
}
|
|
36452
36452
|
const opts = options || {};
|
|
36453
|
-
const
|
|
36453
|
+
const format6 = opts.format || (posix3 ? utils.toPosixSlashes : null);
|
|
36454
36454
|
let match2 = input === glob2;
|
|
36455
|
-
let output = match2 &&
|
|
36455
|
+
let output = match2 && format6 ? format6(input) : input;
|
|
36456
36456
|
if (match2 === false) {
|
|
36457
|
-
output =
|
|
36457
|
+
output = format6 ? format6(input) : input;
|
|
36458
36458
|
match2 = output === glob2;
|
|
36459
36459
|
}
|
|
36460
36460
|
if (match2 === false || opts.capture === true) {
|
|
@@ -46881,7 +46881,7 @@ var require_ms3 = __commonJS({
|
|
|
46881
46881
|
var h = m4 * 60;
|
|
46882
46882
|
var d4 = h * 24;
|
|
46883
46883
|
var w = d4 * 7;
|
|
46884
|
-
var
|
|
46884
|
+
var y10 = d4 * 365.25;
|
|
46885
46885
|
module2.exports = function(val2, options) {
|
|
46886
46886
|
options = options || {};
|
|
46887
46887
|
var type = typeof val2;
|
|
@@ -46913,7 +46913,7 @@ var require_ms3 = __commonJS({
|
|
|
46913
46913
|
case "yrs":
|
|
46914
46914
|
case "yr":
|
|
46915
46915
|
case "y":
|
|
46916
|
-
return n2 *
|
|
46916
|
+
return n2 * y10;
|
|
46917
46917
|
case "weeks":
|
|
46918
46918
|
case "week":
|
|
46919
46919
|
case "w":
|
|
@@ -47037,12 +47037,12 @@ var require_common2 = __commonJS({
|
|
|
47037
47037
|
args2.unshift("%O");
|
|
47038
47038
|
}
|
|
47039
47039
|
let index2 = 0;
|
|
47040
|
-
args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match2,
|
|
47040
|
+
args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match2, format6) => {
|
|
47041
47041
|
if (match2 === "%%") {
|
|
47042
47042
|
return "%";
|
|
47043
47043
|
}
|
|
47044
47044
|
index2++;
|
|
47045
|
-
const formatter = createDebug.formatters[
|
|
47045
|
+
const formatter = createDebug.formatters[format6];
|
|
47046
47046
|
if (typeof formatter === "function") {
|
|
47047
47047
|
const val2 = args2[index2];
|
|
47048
47048
|
match2 = formatter.call(self2, val2);
|
|
@@ -47326,7 +47326,7 @@ var require_supports_color2 = __commonJS({
|
|
|
47326
47326
|
"../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js"(exports2, module2) {
|
|
47327
47327
|
"use strict";
|
|
47328
47328
|
var os2 = __require("os");
|
|
47329
|
-
var
|
|
47329
|
+
var tty2 = __require("tty");
|
|
47330
47330
|
var hasFlag = require_has_flag2();
|
|
47331
47331
|
var { env } = process;
|
|
47332
47332
|
var flagForceColor;
|
|
@@ -47429,8 +47429,8 @@ var require_supports_color2 = __commonJS({
|
|
|
47429
47429
|
}
|
|
47430
47430
|
module2.exports = {
|
|
47431
47431
|
supportsColor: getSupportLevel,
|
|
47432
|
-
stdout: getSupportLevel({ isTTY:
|
|
47433
|
-
stderr: getSupportLevel({ isTTY:
|
|
47432
|
+
stdout: getSupportLevel({ isTTY: tty2.isatty(1) }),
|
|
47433
|
+
stderr: getSupportLevel({ isTTY: tty2.isatty(2) })
|
|
47434
47434
|
};
|
|
47435
47435
|
}
|
|
47436
47436
|
});
|
|
@@ -47438,7 +47438,7 @@ var require_supports_color2 = __commonJS({
|
|
|
47438
47438
|
// ../../node_modules/.pnpm/debug@4.3.4_supports-color@8.1.1/node_modules/debug/src/node.js
|
|
47439
47439
|
var require_node3 = __commonJS({
|
|
47440
47440
|
"../../node_modules/.pnpm/debug@4.3.4_supports-color@8.1.1/node_modules/debug/src/node.js"(exports2, module2) {
|
|
47441
|
-
var
|
|
47441
|
+
var tty2 = __require("tty");
|
|
47442
47442
|
var util5 = __require("util");
|
|
47443
47443
|
exports2.init = init2;
|
|
47444
47444
|
exports2.log = log2;
|
|
@@ -47556,7 +47556,7 @@ var require_node3 = __commonJS({
|
|
|
47556
47556
|
return obj;
|
|
47557
47557
|
}, {});
|
|
47558
47558
|
function useColors() {
|
|
47559
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) :
|
|
47559
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
47560
47560
|
}
|
|
47561
47561
|
function formatArgs(args2) {
|
|
47562
47562
|
const { namespace: name, useColors: useColors2 } = this;
|
|
@@ -48729,11 +48729,11 @@ var require_brace_expansion = __commonJS({
|
|
|
48729
48729
|
function isPadded(el) {
|
|
48730
48730
|
return /^-?0\d/.test(el);
|
|
48731
48731
|
}
|
|
48732
|
-
function lte(i7,
|
|
48733
|
-
return i7 <=
|
|
48732
|
+
function lte(i7, y10) {
|
|
48733
|
+
return i7 <= y10;
|
|
48734
48734
|
}
|
|
48735
|
-
function gte2(i7,
|
|
48736
|
-
return i7 >=
|
|
48735
|
+
function gte2(i7, y10) {
|
|
48736
|
+
return i7 >= y10;
|
|
48737
48737
|
}
|
|
48738
48738
|
function expand2(str, isTop) {
|
|
48739
48739
|
var expansions = [];
|
|
@@ -48775,18 +48775,18 @@ var require_brace_expansion = __commonJS({
|
|
|
48775
48775
|
var N;
|
|
48776
48776
|
if (isSequence) {
|
|
48777
48777
|
var x2 = numeric(n2[0]);
|
|
48778
|
-
var
|
|
48778
|
+
var y10 = numeric(n2[1]);
|
|
48779
48779
|
var width = Math.max(n2[0].length, n2[1].length);
|
|
48780
48780
|
var incr = n2.length == 3 ? Math.abs(numeric(n2[2])) : 1;
|
|
48781
48781
|
var test2 = lte;
|
|
48782
|
-
var reverse =
|
|
48782
|
+
var reverse = y10 < x2;
|
|
48783
48783
|
if (reverse) {
|
|
48784
48784
|
incr *= -1;
|
|
48785
48785
|
test2 = gte2;
|
|
48786
48786
|
}
|
|
48787
48787
|
var pad = n2.some(isPadded);
|
|
48788
48788
|
N = [];
|
|
48789
|
-
for (var i7 = x2; test2(i7,
|
|
48789
|
+
for (var i7 = x2; test2(i7, y10); i7 += incr) {
|
|
48790
48790
|
var c4;
|
|
48791
48791
|
if (isAlphaSequence) {
|
|
48792
48792
|
c4 = String.fromCharCode(i7);
|
|
@@ -51827,8 +51827,8 @@ var require_includesWith = __commonJS({
|
|
|
51827
51827
|
// ../../node_modules/.pnpm/@pnpm+ramda@0.28.1/node_modules/@pnpm/ramda/src/internal/_functionName.js
|
|
51828
51828
|
var require_functionName = __commonJS({
|
|
51829
51829
|
"../../node_modules/.pnpm/@pnpm+ramda@0.28.1/node_modules/@pnpm/ramda/src/internal/_functionName.js"(exports2, module2) {
|
|
51830
|
-
function _functionName(
|
|
51831
|
-
var match2 = String(
|
|
51830
|
+
function _functionName(f6) {
|
|
51831
|
+
var match2 = String(f6).match(/^function (\w*)/);
|
|
51832
51832
|
return match2 == null ? "" : match2[1];
|
|
51833
51833
|
}
|
|
51834
51834
|
module2.exports = _functionName;
|
|
@@ -52864,7 +52864,7 @@ var require_individual = __commonJS({
|
|
|
52864
52864
|
var require_format2 = __commonJS({
|
|
52865
52865
|
"../../node_modules/.pnpm/bole@5.0.19/node_modules/bole/format.js"(exports2, module2) {
|
|
52866
52866
|
var utilformat = __require("util").format;
|
|
52867
|
-
function
|
|
52867
|
+
function format6(a1, a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) {
|
|
52868
52868
|
if (a16 !== void 0) {
|
|
52869
52869
|
return utilformat(a1, a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16);
|
|
52870
52870
|
}
|
|
@@ -52912,7 +52912,7 @@ var require_format2 = __commonJS({
|
|
|
52912
52912
|
}
|
|
52913
52913
|
return a1;
|
|
52914
52914
|
}
|
|
52915
|
-
module2.exports =
|
|
52915
|
+
module2.exports = format6;
|
|
52916
52916
|
}
|
|
52917
52917
|
});
|
|
52918
52918
|
|
|
@@ -52922,7 +52922,7 @@ var require_bole = __commonJS({
|
|
|
52922
52922
|
"use strict";
|
|
52923
52923
|
var _stringify = require_fast_safe_stringify();
|
|
52924
52924
|
var individual = require_individual()("$$bole", { fastTime: false });
|
|
52925
|
-
var
|
|
52925
|
+
var format6 = require_format2();
|
|
52926
52926
|
var levels = "debug info warn error".split(" ");
|
|
52927
52927
|
var os2 = __require("os");
|
|
52928
52928
|
var pid = process.pid;
|
|
@@ -53017,7 +53017,7 @@ var require_bole = __commonJS({
|
|
|
53017
53017
|
let stringified;
|
|
53018
53018
|
let message2;
|
|
53019
53019
|
if (typeof inp === "string" || inp == null) {
|
|
53020
|
-
if (!(message2 =
|
|
53020
|
+
if (!(message2 = format6(inp, a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
|
|
53021
53021
|
message2 = void 0;
|
|
53022
53022
|
}
|
|
53023
53023
|
} else {
|
|
@@ -53025,17 +53025,17 @@ var require_bole = __commonJS({
|
|
|
53025
53025
|
if (typeof a22 === "object") {
|
|
53026
53026
|
objectToOut(a22, out);
|
|
53027
53027
|
errorToOut(inp, out);
|
|
53028
|
-
if (!(message2 =
|
|
53028
|
+
if (!(message2 = format6(a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
|
|
53029
53029
|
message2 = void 0;
|
|
53030
53030
|
}
|
|
53031
53031
|
} else {
|
|
53032
53032
|
errorToOut(inp, out);
|
|
53033
|
-
if (!(message2 =
|
|
53033
|
+
if (!(message2 = format6(a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
|
|
53034
53034
|
message2 = void 0;
|
|
53035
53035
|
}
|
|
53036
53036
|
}
|
|
53037
53037
|
} else {
|
|
53038
|
-
if (!(message2 =
|
|
53038
|
+
if (!(message2 = format6(a22, a32, a42, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16))) {
|
|
53039
53039
|
message2 = void 0;
|
|
53040
53040
|
}
|
|
53041
53041
|
}
|
|
@@ -53100,7 +53100,7 @@ var require_bole = __commonJS({
|
|
|
53100
53100
|
}
|
|
53101
53101
|
return bole;
|
|
53102
53102
|
};
|
|
53103
|
-
bole.reset = function
|
|
53103
|
+
bole.reset = function reset2() {
|
|
53104
53104
|
for (const level of levels) {
|
|
53105
53105
|
individual[level].splice(0, individual[level].length);
|
|
53106
53106
|
}
|
|
@@ -57971,12 +57971,12 @@ var require_common4 = __commonJS({
|
|
|
57971
57971
|
args2.unshift("%O");
|
|
57972
57972
|
}
|
|
57973
57973
|
let index2 = 0;
|
|
57974
|
-
args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match2,
|
|
57974
|
+
args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match2, format6) => {
|
|
57975
57975
|
if (match2 === "%%") {
|
|
57976
57976
|
return "%";
|
|
57977
57977
|
}
|
|
57978
57978
|
index2++;
|
|
57979
|
-
const formatter = createDebug.formatters[
|
|
57979
|
+
const formatter = createDebug.formatters[format6];
|
|
57980
57980
|
if (typeof formatter === "function") {
|
|
57981
57981
|
const val2 = args2[index2];
|
|
57982
57982
|
match2 = formatter.call(self2, val2);
|
|
@@ -58273,7 +58273,7 @@ var require_browser2 = __commonJS({
|
|
|
58273
58273
|
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js
|
|
58274
58274
|
var require_node4 = __commonJS({
|
|
58275
58275
|
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports2, module2) {
|
|
58276
|
-
var
|
|
58276
|
+
var tty2 = __require("tty");
|
|
58277
58277
|
var util5 = __require("util");
|
|
58278
58278
|
exports2.init = init2;
|
|
58279
58279
|
exports2.log = log2;
|
|
@@ -58391,7 +58391,7 @@ var require_node4 = __commonJS({
|
|
|
58391
58391
|
return obj;
|
|
58392
58392
|
}, {});
|
|
58393
58393
|
function useColors() {
|
|
58394
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) :
|
|
58394
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
58395
58395
|
}
|
|
58396
58396
|
function formatArgs(args2) {
|
|
58397
58397
|
const { namespace: name, useColors: useColors2 } = this;
|
|
@@ -58716,8 +58716,8 @@ var require_depd = __commonJS({
|
|
|
58716
58716
|
process.emit("deprecation", err);
|
|
58717
58717
|
return;
|
|
58718
58718
|
}
|
|
58719
|
-
var
|
|
58720
|
-
var output =
|
|
58719
|
+
var format6 = process.stderr.isTTY ? formatColor : formatPlain;
|
|
58720
|
+
var output = format6.call(this, msg, caller, stack2.slice(i7));
|
|
58721
58721
|
process.stderr.write(output + "\n", "utf8");
|
|
58722
58722
|
}
|
|
58723
58723
|
function callSiteLocation(callSite) {
|
|
@@ -59160,7 +59160,7 @@ var require_agent = __commonJS({
|
|
|
59160
59160
|
reqTimeoutListenerCount
|
|
59161
59161
|
);
|
|
59162
59162
|
if (debug.enabled) {
|
|
59163
|
-
debug("timeout listeners: %s", socket.listeners("timeout").map((
|
|
59163
|
+
debug("timeout listeners: %s", socket.listeners("timeout").map((f6) => f6.name).join(", "));
|
|
59164
59164
|
}
|
|
59165
59165
|
agent.timeoutSocketCount++;
|
|
59166
59166
|
const name = agent.getName(options);
|
|
@@ -59303,7 +59303,7 @@ var require_lru_cache = __commonJS({
|
|
|
59303
59303
|
this.aborted = true;
|
|
59304
59304
|
const e = { type, target: this };
|
|
59305
59305
|
this.onabort(e);
|
|
59306
|
-
this._listeners.forEach((
|
|
59306
|
+
this._listeners.forEach((f6) => f6(e), this);
|
|
59307
59307
|
}
|
|
59308
59308
|
}
|
|
59309
59309
|
onabort() {
|
|
@@ -59315,7 +59315,7 @@ var require_lru_cache = __commonJS({
|
|
|
59315
59315
|
}
|
|
59316
59316
|
removeEventListener(ev, fn2) {
|
|
59317
59317
|
if (ev === "abort") {
|
|
59318
|
-
this._listeners = this._listeners.filter((
|
|
59318
|
+
this._listeners = this._listeners.filter((f6) => f6 !== fn2);
|
|
59319
59319
|
}
|
|
59320
59320
|
}
|
|
59321
59321
|
};
|
|
@@ -65578,9 +65578,9 @@ var require_xmap = __commonJS({
|
|
|
65578
65578
|
var _curry2 = require_curry2();
|
|
65579
65579
|
var _xfBase = require_xfBase();
|
|
65580
65580
|
var XMap = /* @__PURE__ */ function() {
|
|
65581
|
-
function XMap2(
|
|
65581
|
+
function XMap2(f6, xf) {
|
|
65582
65582
|
this.xf = xf;
|
|
65583
|
-
this.f =
|
|
65583
|
+
this.f = f6;
|
|
65584
65584
|
}
|
|
65585
65585
|
XMap2.prototype["@@transducer/init"] = _xfBase.init;
|
|
65586
65586
|
XMap2.prototype["@@transducer/result"] = _xfBase.result;
|
|
@@ -65589,8 +65589,8 @@ var require_xmap = __commonJS({
|
|
|
65589
65589
|
};
|
|
65590
65590
|
return XMap2;
|
|
65591
65591
|
}();
|
|
65592
|
-
var _xmap = /* @__PURE__ */ _curry2(function _xmap2(
|
|
65593
|
-
return new XMap(
|
|
65592
|
+
var _xmap = /* @__PURE__ */ _curry2(function _xmap2(f6, xf) {
|
|
65593
|
+
return new XMap(f6, xf);
|
|
65594
65594
|
});
|
|
65595
65595
|
module2.exports = _xmap;
|
|
65596
65596
|
}
|
|
@@ -69017,14 +69017,14 @@ var require_bool2 = __commonJS({
|
|
|
69017
69017
|
var require_stringifyNumber = __commonJS({
|
|
69018
69018
|
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports2) {
|
|
69019
69019
|
"use strict";
|
|
69020
|
-
function stringifyNumber({ format:
|
|
69020
|
+
function stringifyNumber({ format: format6, minFractionDigits, tag, value }) {
|
|
69021
69021
|
if (typeof value === "bigint")
|
|
69022
69022
|
return String(value);
|
|
69023
69023
|
const num = typeof value === "number" ? value : Number(value);
|
|
69024
69024
|
if (!isFinite(num))
|
|
69025
69025
|
return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
|
|
69026
69026
|
let n2 = JSON.stringify(value);
|
|
69027
|
-
if (!
|
|
69027
|
+
if (!format6 && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n2)) {
|
|
69028
69028
|
let i7 = n2.indexOf(".");
|
|
69029
69029
|
if (i7 < 0) {
|
|
69030
69030
|
i7 = n2.length;
|
|
@@ -69513,9 +69513,9 @@ var require_float3 = __commonJS({
|
|
|
69513
69513
|
const node = new Scalar.Scalar(parseFloat(str.replace(/_/g, "")));
|
|
69514
69514
|
const dot = str.indexOf(".");
|
|
69515
69515
|
if (dot !== -1) {
|
|
69516
|
-
const
|
|
69517
|
-
if (
|
|
69518
|
-
node.minFractionDigits =
|
|
69516
|
+
const f6 = str.substring(dot + 1).replace(/_/g, "");
|
|
69517
|
+
if (f6[f6.length - 1] === "0")
|
|
69518
|
+
node.minFractionDigits = f6.length;
|
|
69519
69519
|
}
|
|
69520
69520
|
return node;
|
|
69521
69521
|
},
|
|
@@ -84189,23 +84189,23 @@ var require_lockfile = __commonJS({
|
|
|
84189
84189
|
function(module3, exports3, __webpack_require__) {
|
|
84190
84190
|
"use strict";
|
|
84191
84191
|
var NODE_ENV = process.env.NODE_ENV;
|
|
84192
|
-
var invariant = function(condition,
|
|
84192
|
+
var invariant = function(condition, format6, a5, b, c4, d4, e, f6) {
|
|
84193
84193
|
if (NODE_ENV !== "production") {
|
|
84194
|
-
if (
|
|
84194
|
+
if (format6 === void 0) {
|
|
84195
84195
|
throw new Error("invariant requires an error message argument");
|
|
84196
84196
|
}
|
|
84197
84197
|
}
|
|
84198
84198
|
if (!condition) {
|
|
84199
84199
|
var error;
|
|
84200
|
-
if (
|
|
84200
|
+
if (format6 === void 0) {
|
|
84201
84201
|
error = new Error(
|
|
84202
84202
|
"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."
|
|
84203
84203
|
);
|
|
84204
84204
|
} else {
|
|
84205
|
-
var args2 = [a5, b, c4, d4, e,
|
|
84205
|
+
var args2 = [a5, b, c4, d4, e, f6];
|
|
84206
84206
|
var argIndex = 0;
|
|
84207
84207
|
error = new Error(
|
|
84208
|
-
|
|
84208
|
+
format6.replace(/%s/g, function() {
|
|
84209
84209
|
return args2[argIndex++];
|
|
84210
84210
|
})
|
|
84211
84211
|
);
|
|
@@ -85781,8 +85781,8 @@ var require_lockfile = __commonJS({
|
|
|
85781
85781
|
minimatch2.match = function(list, pattern, options) {
|
|
85782
85782
|
options = options || {};
|
|
85783
85783
|
var mm = new Minimatch2(pattern, options);
|
|
85784
|
-
list = list.filter(function(
|
|
85785
|
-
return mm.match(
|
|
85784
|
+
list = list.filter(function(f6) {
|
|
85785
|
+
return mm.match(f6);
|
|
85786
85786
|
});
|
|
85787
85787
|
if (mm.options.nonull && !list.length) {
|
|
85788
85788
|
list.push(pattern);
|
|
@@ -85790,28 +85790,28 @@ var require_lockfile = __commonJS({
|
|
|
85790
85790
|
return list;
|
|
85791
85791
|
};
|
|
85792
85792
|
Minimatch2.prototype.match = match2;
|
|
85793
|
-
function match2(
|
|
85794
|
-
this.debug("match",
|
|
85793
|
+
function match2(f6, partial) {
|
|
85794
|
+
this.debug("match", f6, this.pattern);
|
|
85795
85795
|
if (this.comment) return false;
|
|
85796
|
-
if (this.empty) return
|
|
85797
|
-
if (
|
|
85796
|
+
if (this.empty) return f6 === "";
|
|
85797
|
+
if (f6 === "/" && partial) return true;
|
|
85798
85798
|
var options = this.options;
|
|
85799
85799
|
if (path2.sep !== "/") {
|
|
85800
|
-
|
|
85800
|
+
f6 = f6.split(path2.sep).join("/");
|
|
85801
85801
|
}
|
|
85802
|
-
|
|
85803
|
-
this.debug(this.pattern, "split",
|
|
85802
|
+
f6 = f6.split(slashSplit);
|
|
85803
|
+
this.debug(this.pattern, "split", f6);
|
|
85804
85804
|
var set = this.set;
|
|
85805
85805
|
this.debug(this.pattern, "set", set);
|
|
85806
85806
|
var filename;
|
|
85807
85807
|
var i7;
|
|
85808
|
-
for (i7 =
|
|
85809
|
-
filename =
|
|
85808
|
+
for (i7 = f6.length - 1; i7 >= 0; i7--) {
|
|
85809
|
+
filename = f6[i7];
|
|
85810
85810
|
if (filename) break;
|
|
85811
85811
|
}
|
|
85812
85812
|
for (i7 = 0; i7 < set.length; i7++) {
|
|
85813
85813
|
var pattern = set[i7];
|
|
85814
|
-
var file =
|
|
85814
|
+
var file = f6;
|
|
85815
85815
|
if (options.matchBase && pattern.length === 1) {
|
|
85816
85816
|
file = [filename];
|
|
85817
85817
|
}
|
|
@@ -85834,11 +85834,11 @@ var require_lockfile = __commonJS({
|
|
|
85834
85834
|
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
85835
85835
|
this.debug("matchOne loop");
|
|
85836
85836
|
var p3 = pattern[pi];
|
|
85837
|
-
var
|
|
85838
|
-
this.debug(pattern, p3,
|
|
85837
|
+
var f6 = file[fi];
|
|
85838
|
+
this.debug(pattern, p3, f6);
|
|
85839
85839
|
if (p3 === false) return false;
|
|
85840
85840
|
if (p3 === GLOBSTAR2) {
|
|
85841
|
-
this.debug("GLOBSTAR", [pattern, p3,
|
|
85841
|
+
this.debug("GLOBSTAR", [pattern, p3, f6]);
|
|
85842
85842
|
var fr = fi;
|
|
85843
85843
|
var pr = pi + 1;
|
|
85844
85844
|
if (pr === pl) {
|
|
@@ -85872,14 +85872,14 @@ var require_lockfile = __commonJS({
|
|
|
85872
85872
|
var hit;
|
|
85873
85873
|
if (typeof p3 === "string") {
|
|
85874
85874
|
if (options.nocase) {
|
|
85875
|
-
hit =
|
|
85875
|
+
hit = f6.toLowerCase() === p3.toLowerCase();
|
|
85876
85876
|
} else {
|
|
85877
|
-
hit =
|
|
85877
|
+
hit = f6 === p3;
|
|
85878
85878
|
}
|
|
85879
|
-
this.debug("string match", p3,
|
|
85879
|
+
this.debug("string match", p3, f6, hit);
|
|
85880
85880
|
} else {
|
|
85881
|
-
hit =
|
|
85882
|
-
this.debug("pattern match", p3,
|
|
85881
|
+
hit = f6.match(p3);
|
|
85882
|
+
this.debug("pattern match", p3, f6, hit);
|
|
85883
85883
|
}
|
|
85884
85884
|
if (!hit) return false;
|
|
85885
85885
|
}
|
|
@@ -85921,25 +85921,25 @@ var require_lockfile = __commonJS({
|
|
|
85921
85921
|
});
|
|
85922
85922
|
});
|
|
85923
85923
|
function once8(fn2) {
|
|
85924
|
-
var
|
|
85925
|
-
if (
|
|
85926
|
-
|
|
85927
|
-
return
|
|
85924
|
+
var f6 = function() {
|
|
85925
|
+
if (f6.called) return f6.value;
|
|
85926
|
+
f6.called = true;
|
|
85927
|
+
return f6.value = fn2.apply(this, arguments);
|
|
85928
85928
|
};
|
|
85929
|
-
|
|
85930
|
-
return
|
|
85929
|
+
f6.called = false;
|
|
85930
|
+
return f6;
|
|
85931
85931
|
}
|
|
85932
85932
|
function onceStrict(fn2) {
|
|
85933
|
-
var
|
|
85934
|
-
if (
|
|
85935
|
-
throw new Error(
|
|
85936
|
-
|
|
85937
|
-
return
|
|
85933
|
+
var f6 = function() {
|
|
85934
|
+
if (f6.called)
|
|
85935
|
+
throw new Error(f6.onceError);
|
|
85936
|
+
f6.called = true;
|
|
85937
|
+
return f6.value = fn2.apply(this, arguments);
|
|
85938
85938
|
};
|
|
85939
85939
|
var name = fn2.name || "Function wrapped with `once`";
|
|
85940
|
-
|
|
85941
|
-
|
|
85942
|
-
return
|
|
85940
|
+
f6.onceError = name + " shouldn't be called more than once";
|
|
85941
|
+
f6.called = false;
|
|
85942
|
+
return f6;
|
|
85943
85943
|
}
|
|
85944
85944
|
},
|
|
85945
85945
|
,
|
|
@@ -86198,8 +86198,8 @@ var require_lockfile = __commonJS({
|
|
|
86198
86198
|
Glob2.prototype._mark = function(p3) {
|
|
86199
86199
|
return common.mark(this, p3);
|
|
86200
86200
|
};
|
|
86201
|
-
Glob2.prototype._makeAbs = function(
|
|
86202
|
-
return common.makeAbs(this,
|
|
86201
|
+
Glob2.prototype._makeAbs = function(f6) {
|
|
86202
|
+
return common.makeAbs(this, f6);
|
|
86203
86203
|
};
|
|
86204
86204
|
Glob2.prototype.abort = function() {
|
|
86205
86205
|
this.aborted = true;
|
|
@@ -86433,14 +86433,14 @@ var require_lockfile = __commonJS({
|
|
|
86433
86433
|
this.cache[abs] = entries;
|
|
86434
86434
|
return cb(null, entries);
|
|
86435
86435
|
};
|
|
86436
|
-
Glob2.prototype._readdirError = function(
|
|
86436
|
+
Glob2.prototype._readdirError = function(f6, er, cb) {
|
|
86437
86437
|
if (this.aborted)
|
|
86438
86438
|
return;
|
|
86439
86439
|
switch (er.code) {
|
|
86440
86440
|
case "ENOTSUP":
|
|
86441
86441
|
// https://github.com/isaacs/node-glob/issues/205
|
|
86442
86442
|
case "ENOTDIR":
|
|
86443
|
-
var abs = this._makeAbs(
|
|
86443
|
+
var abs = this._makeAbs(f6);
|
|
86444
86444
|
this.cache[abs] = "FILE";
|
|
86445
86445
|
if (abs === this.cwdAbs) {
|
|
86446
86446
|
var error = new Error(er.code + " invalid cwd " + this.cwd);
|
|
@@ -86455,10 +86455,10 @@ var require_lockfile = __commonJS({
|
|
|
86455
86455
|
case "ELOOP":
|
|
86456
86456
|
case "ENAMETOOLONG":
|
|
86457
86457
|
case "UNKNOWN":
|
|
86458
|
-
this.cache[this._makeAbs(
|
|
86458
|
+
this.cache[this._makeAbs(f6)] = false;
|
|
86459
86459
|
break;
|
|
86460
86460
|
default:
|
|
86461
|
-
this.cache[this._makeAbs(
|
|
86461
|
+
this.cache[this._makeAbs(f6)] = false;
|
|
86462
86462
|
if (this.strict) {
|
|
86463
86463
|
this.emit("error", er);
|
|
86464
86464
|
this.abort();
|
|
@@ -86523,10 +86523,10 @@ var require_lockfile = __commonJS({
|
|
|
86523
86523
|
this._emitMatch(index2, prefix);
|
|
86524
86524
|
cb();
|
|
86525
86525
|
};
|
|
86526
|
-
Glob2.prototype._stat = function(
|
|
86527
|
-
var abs = this._makeAbs(
|
|
86528
|
-
var needDir =
|
|
86529
|
-
if (
|
|
86526
|
+
Glob2.prototype._stat = function(f6, cb) {
|
|
86527
|
+
var abs = this._makeAbs(f6);
|
|
86528
|
+
var needDir = f6.slice(-1) === "/";
|
|
86529
|
+
if (f6.length > this.maxLength)
|
|
86530
86530
|
return cb();
|
|
86531
86531
|
if (!this.stat && ownProp(this.cache, abs)) {
|
|
86532
86532
|
var c4 = this.cache[abs];
|
|
@@ -86558,21 +86558,21 @@ var require_lockfile = __commonJS({
|
|
|
86558
86558
|
if (lstat2 && lstat2.isSymbolicLink()) {
|
|
86559
86559
|
return fs.stat(abs, function(er2, stat5) {
|
|
86560
86560
|
if (er2)
|
|
86561
|
-
self2._stat2(
|
|
86561
|
+
self2._stat2(f6, abs, null, lstat2, cb);
|
|
86562
86562
|
else
|
|
86563
|
-
self2._stat2(
|
|
86563
|
+
self2._stat2(f6, abs, er2, stat5, cb);
|
|
86564
86564
|
});
|
|
86565
86565
|
} else {
|
|
86566
|
-
self2._stat2(
|
|
86566
|
+
self2._stat2(f6, abs, er, lstat2, cb);
|
|
86567
86567
|
}
|
|
86568
86568
|
}
|
|
86569
86569
|
};
|
|
86570
|
-
Glob2.prototype._stat2 = function(
|
|
86570
|
+
Glob2.prototype._stat2 = function(f6, abs, er, stat4, cb) {
|
|
86571
86571
|
if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
|
|
86572
86572
|
this.statCache[abs] = false;
|
|
86573
86573
|
return cb();
|
|
86574
86574
|
}
|
|
86575
|
-
var needDir =
|
|
86575
|
+
var needDir = f6.slice(-1) === "/";
|
|
86576
86576
|
this.statCache[abs] = stat4;
|
|
86577
86577
|
if (abs.slice(-1) === "/" && stat4 && !stat4.isDirectory())
|
|
86578
86578
|
return cb(null, false, stat4);
|
|
@@ -87417,10 +87417,10 @@ var require_lockfile = __commonJS({
|
|
|
87417
87417
|
args2.unshift("%O");
|
|
87418
87418
|
}
|
|
87419
87419
|
var index2 = 0;
|
|
87420
|
-
args2[0] = args2[0].replace(/%([a-zA-Z%])/g, function(match2,
|
|
87420
|
+
args2[0] = args2[0].replace(/%([a-zA-Z%])/g, function(match2, format6) {
|
|
87421
87421
|
if (match2 === "%%") return match2;
|
|
87422
87422
|
index2++;
|
|
87423
|
-
var formatter = exports3.formatters[
|
|
87423
|
+
var formatter = exports3.formatters[format6];
|
|
87424
87424
|
if ("function" === typeof formatter) {
|
|
87425
87425
|
var val2 = args2[index2];
|
|
87426
87426
|
match2 = formatter.call(self2, val2);
|
|
@@ -87721,16 +87721,16 @@ var require_lockfile = __commonJS({
|
|
|
87721
87721
|
}
|
|
87722
87722
|
return m4;
|
|
87723
87723
|
}
|
|
87724
|
-
function makeAbs(self2,
|
|
87725
|
-
var abs =
|
|
87726
|
-
if (
|
|
87727
|
-
abs = path2.join(self2.root,
|
|
87728
|
-
} else if (isAbsolute(
|
|
87729
|
-
abs =
|
|
87724
|
+
function makeAbs(self2, f6) {
|
|
87725
|
+
var abs = f6;
|
|
87726
|
+
if (f6.charAt(0) === "/") {
|
|
87727
|
+
abs = path2.join(self2.root, f6);
|
|
87728
|
+
} else if (isAbsolute(f6) || f6 === "") {
|
|
87729
|
+
abs = f6;
|
|
87730
87730
|
} else if (self2.changedCwd) {
|
|
87731
|
-
abs = path2.resolve(self2.cwd,
|
|
87731
|
+
abs = path2.resolve(self2.cwd, f6);
|
|
87732
87732
|
} else {
|
|
87733
|
-
abs = path2.resolve(
|
|
87733
|
+
abs = path2.resolve(f6);
|
|
87734
87734
|
}
|
|
87735
87735
|
if (process.platform === "win32")
|
|
87736
87736
|
abs = abs.replace(/\\/g, "/");
|
|
@@ -87758,9 +87758,9 @@ var require_lockfile = __commonJS({
|
|
|
87758
87758
|
var fs = __webpack_require__(3);
|
|
87759
87759
|
var _0777 = parseInt("0777", 8);
|
|
87760
87760
|
module3.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP;
|
|
87761
|
-
function mkdirP(p3, opts,
|
|
87761
|
+
function mkdirP(p3, opts, f6, made) {
|
|
87762
87762
|
if (typeof opts === "function") {
|
|
87763
|
-
|
|
87763
|
+
f6 = opts;
|
|
87764
87764
|
opts = {};
|
|
87765
87765
|
} else if (!opts || typeof opts !== "object") {
|
|
87766
87766
|
opts = { mode: opts };
|
|
@@ -87771,7 +87771,7 @@ var require_lockfile = __commonJS({
|
|
|
87771
87771
|
mode = _0777 & ~process.umask();
|
|
87772
87772
|
}
|
|
87773
87773
|
if (!made) made = null;
|
|
87774
|
-
var cb =
|
|
87774
|
+
var cb = f6 || function() {
|
|
87775
87775
|
};
|
|
87776
87776
|
p3 = path2.resolve(p3);
|
|
87777
87777
|
xfs.mkdir(p3, mode, function(er) {
|
|
@@ -88372,11 +88372,11 @@ ${indent2}`);
|
|
|
88372
88372
|
function isPadded(el) {
|
|
88373
88373
|
return /^-?0\d/.test(el);
|
|
88374
88374
|
}
|
|
88375
|
-
function lte(i7,
|
|
88376
|
-
return i7 <=
|
|
88375
|
+
function lte(i7, y10) {
|
|
88376
|
+
return i7 <= y10;
|
|
88377
88377
|
}
|
|
88378
|
-
function gte2(i7,
|
|
88379
|
-
return i7 >=
|
|
88378
|
+
function gte2(i7, y10) {
|
|
88379
|
+
return i7 >= y10;
|
|
88380
88380
|
}
|
|
88381
88381
|
function expand2(str, isTop) {
|
|
88382
88382
|
var expansions = [];
|
|
@@ -88413,18 +88413,18 @@ ${indent2}`);
|
|
|
88413
88413
|
var N;
|
|
88414
88414
|
if (isSequence) {
|
|
88415
88415
|
var x2 = numeric(n2[0]);
|
|
88416
|
-
var
|
|
88416
|
+
var y10 = numeric(n2[1]);
|
|
88417
88417
|
var width = Math.max(n2[0].length, n2[1].length);
|
|
88418
88418
|
var incr = n2.length == 3 ? Math.abs(numeric(n2[2])) : 1;
|
|
88419
88419
|
var test2 = lte;
|
|
88420
|
-
var reverse =
|
|
88420
|
+
var reverse = y10 < x2;
|
|
88421
88421
|
if (reverse) {
|
|
88422
88422
|
incr *= -1;
|
|
88423
88423
|
test2 = gte2;
|
|
88424
88424
|
}
|
|
88425
88425
|
var pad = n2.some(isPadded);
|
|
88426
88426
|
N = [];
|
|
88427
|
-
for (var i7 = x2; test2(i7,
|
|
88427
|
+
for (var i7 = x2; test2(i7, y10); i7 += incr) {
|
|
88428
88428
|
var c4;
|
|
88429
88429
|
if (isAlphaSequence) {
|
|
88430
88430
|
c4 = String.fromCharCode(i7);
|
|
@@ -88593,16 +88593,16 @@ ${indent2}`);
|
|
|
88593
88593
|
var iterFn = ITERATOR ? function() {
|
|
88594
88594
|
return iterable;
|
|
88595
88595
|
} : getIterFn(iterable);
|
|
88596
|
-
var
|
|
88596
|
+
var f6 = ctx(fn2, that, entries ? 2 : 1);
|
|
88597
88597
|
var index2 = 0;
|
|
88598
88598
|
var length, step, iterator, result;
|
|
88599
88599
|
if (typeof iterFn != "function") throw TypeError(iterable + " is not iterable!");
|
|
88600
88600
|
if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index2; index2++) {
|
|
88601
|
-
result = entries ?
|
|
88601
|
+
result = entries ? f6(anObject(step = iterable[index2])[0], step[1]) : f6(iterable[index2]);
|
|
88602
88602
|
if (result === BREAK || result === RETURN) return result;
|
|
88603
88603
|
}
|
|
88604
88604
|
else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done; ) {
|
|
88605
|
-
result = call(iterator,
|
|
88605
|
+
result = call(iterator, f6, step.value, entries);
|
|
88606
88606
|
if (result === BREAK || result === RETURN) return result;
|
|
88607
88607
|
}
|
|
88608
88608
|
};
|
|
@@ -89510,7 +89510,7 @@ ${indent2}`);
|
|
|
89510
89510
|
/* 213 */
|
|
89511
89511
|
/***/
|
|
89512
89512
|
function(module3, exports3, __webpack_require__) {
|
|
89513
|
-
var
|
|
89513
|
+
var tty2 = __webpack_require__(79);
|
|
89514
89514
|
var util5 = __webpack_require__(2);
|
|
89515
89515
|
exports3 = module3.exports = __webpack_require__(112);
|
|
89516
89516
|
exports3.init = init2;
|
|
@@ -89619,7 +89619,7 @@ ${indent2}`);
|
|
|
89619
89619
|
return obj;
|
|
89620
89620
|
}, {});
|
|
89621
89621
|
function useColors() {
|
|
89622
|
-
return "colors" in exports3.inspectOpts ? Boolean(exports3.inspectOpts.colors) :
|
|
89622
|
+
return "colors" in exports3.inspectOpts ? Boolean(exports3.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
89623
89623
|
}
|
|
89624
89624
|
exports3.formatters.o = function(v) {
|
|
89625
89625
|
this.inspectOpts.colors = this.useColors;
|
|
@@ -90102,12 +90102,12 @@ ${indent2}`);
|
|
|
90102
90102
|
this.cache[abs] = entries;
|
|
90103
90103
|
return entries;
|
|
90104
90104
|
};
|
|
90105
|
-
GlobSync.prototype._readdirError = function(
|
|
90105
|
+
GlobSync.prototype._readdirError = function(f6, er) {
|
|
90106
90106
|
switch (er.code) {
|
|
90107
90107
|
case "ENOTSUP":
|
|
90108
90108
|
// https://github.com/isaacs/node-glob/issues/205
|
|
90109
90109
|
case "ENOTDIR":
|
|
90110
|
-
var abs = this._makeAbs(
|
|
90110
|
+
var abs = this._makeAbs(f6);
|
|
90111
90111
|
this.cache[abs] = "FILE";
|
|
90112
90112
|
if (abs === this.cwdAbs) {
|
|
90113
90113
|
var error = new Error(er.code + " invalid cwd " + this.cwd);
|
|
@@ -90121,10 +90121,10 @@ ${indent2}`);
|
|
|
90121
90121
|
case "ELOOP":
|
|
90122
90122
|
case "ENAMETOOLONG":
|
|
90123
90123
|
case "UNKNOWN":
|
|
90124
|
-
this.cache[this._makeAbs(
|
|
90124
|
+
this.cache[this._makeAbs(f6)] = false;
|
|
90125
90125
|
break;
|
|
90126
90126
|
default:
|
|
90127
|
-
this.cache[this._makeAbs(
|
|
90127
|
+
this.cache[this._makeAbs(f6)] = false;
|
|
90128
90128
|
if (this.strict)
|
|
90129
90129
|
throw er;
|
|
90130
90130
|
if (!this.silent)
|
|
@@ -90174,10 +90174,10 @@ ${indent2}`);
|
|
|
90174
90174
|
prefix = prefix.replace(/\\/g, "/");
|
|
90175
90175
|
this._emitMatch(index2, prefix);
|
|
90176
90176
|
};
|
|
90177
|
-
GlobSync.prototype._stat = function(
|
|
90178
|
-
var abs = this._makeAbs(
|
|
90179
|
-
var needDir =
|
|
90180
|
-
if (
|
|
90177
|
+
GlobSync.prototype._stat = function(f6) {
|
|
90178
|
+
var abs = this._makeAbs(f6);
|
|
90179
|
+
var needDir = f6.slice(-1) === "/";
|
|
90180
|
+
if (f6.length > this.maxLength)
|
|
90181
90181
|
return false;
|
|
90182
90182
|
if (!this.stat && ownProp(this.cache, abs)) {
|
|
90183
90183
|
var c4 = this.cache[abs];
|
|
@@ -90222,8 +90222,8 @@ ${indent2}`);
|
|
|
90222
90222
|
GlobSync.prototype._mark = function(p3) {
|
|
90223
90223
|
return common.mark(this, p3);
|
|
90224
90224
|
};
|
|
90225
|
-
GlobSync.prototype._makeAbs = function(
|
|
90226
|
-
return common.makeAbs(this,
|
|
90225
|
+
GlobSync.prototype._makeAbs = function(f6) {
|
|
90226
|
+
return common.makeAbs(this, f6);
|
|
90227
90227
|
};
|
|
90228
90228
|
},
|
|
90229
90229
|
,
|
|
@@ -90326,7 +90326,7 @@ ${indent2}`);
|
|
|
90326
90326
|
var m4 = s6 * 60;
|
|
90327
90327
|
var h = m4 * 60;
|
|
90328
90328
|
var d4 = h * 24;
|
|
90329
|
-
var
|
|
90329
|
+
var y10 = d4 * 365.25;
|
|
90330
90330
|
module3.exports = function(val2, options) {
|
|
90331
90331
|
options = options || {};
|
|
90332
90332
|
var type = typeof val2;
|
|
@@ -90358,7 +90358,7 @@ ${indent2}`);
|
|
|
90358
90358
|
case "yrs":
|
|
90359
90359
|
case "yr":
|
|
90360
90360
|
case "y":
|
|
90361
|
-
return n2 *
|
|
90361
|
+
return n2 * y10;
|
|
90362
90362
|
case "days":
|
|
90363
90363
|
case "day":
|
|
90364
90364
|
case "d":
|
|
@@ -90611,8 +90611,8 @@ ${indent2}`);
|
|
|
90611
90611
|
if (n2 === 0)
|
|
90612
90612
|
return options.rmdir(p3, cb);
|
|
90613
90613
|
var errState;
|
|
90614
|
-
files.forEach(function(
|
|
90615
|
-
rimraf(path2.join(p3,
|
|
90614
|
+
files.forEach(function(f6) {
|
|
90615
|
+
rimraf(path2.join(p3, f6), options, function(er2) {
|
|
90616
90616
|
if (errState)
|
|
90617
90617
|
return;
|
|
90618
90618
|
if (er2)
|
|
@@ -90688,8 +90688,8 @@ ${indent2}`);
|
|
|
90688
90688
|
function rmkidsSync(p3, options) {
|
|
90689
90689
|
assert7(p3);
|
|
90690
90690
|
assert7(options);
|
|
90691
|
-
options.readdirSync(p3).forEach(function(
|
|
90692
|
-
rimrafSync(path2.join(p3,
|
|
90691
|
+
options.readdirSync(p3).forEach(function(f6) {
|
|
90692
|
+
rimrafSync(path2.join(p3, f6), options);
|
|
90693
90693
|
});
|
|
90694
90694
|
var retries = isWindows ? 100 : 1;
|
|
90695
90695
|
var i7 = 0;
|
|
@@ -91283,7 +91283,7 @@ var require_fill_range = __commonJS({
|
|
|
91283
91283
|
let padded = zeros(startString) || zeros(endString) || zeros(stepString);
|
|
91284
91284
|
let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;
|
|
91285
91285
|
let toNumber = padded === false && stringify3(start, end2, options) === false;
|
|
91286
|
-
let
|
|
91286
|
+
let format6 = options.transform || transform3(toNumber);
|
|
91287
91287
|
if (options.toRegex && step === 1) {
|
|
91288
91288
|
return toRange(toMaxLen(start, maxLen), toMaxLen(end2, maxLen), true, options);
|
|
91289
91289
|
}
|
|
@@ -91295,7 +91295,7 @@ var require_fill_range = __commonJS({
|
|
|
91295
91295
|
if (options.toRegex === true && step > 1) {
|
|
91296
91296
|
push(a5);
|
|
91297
91297
|
} else {
|
|
91298
|
-
range.push(pad(
|
|
91298
|
+
range.push(pad(format6(a5, index2), maxLen, toNumber));
|
|
91299
91299
|
}
|
|
91300
91300
|
a5 = descending ? a5 - step : a5 + step;
|
|
91301
91301
|
index2++;
|
|
@@ -91309,7 +91309,7 @@ var require_fill_range = __commonJS({
|
|
|
91309
91309
|
if (!isNumber4(start) && start.length > 1 || !isNumber4(end2) && end2.length > 1) {
|
|
91310
91310
|
return invalidRange(start, end2, options);
|
|
91311
91311
|
}
|
|
91312
|
-
let
|
|
91312
|
+
let format6 = options.transform || ((val2) => String.fromCharCode(val2));
|
|
91313
91313
|
let a5 = `${start}`.charCodeAt(0);
|
|
91314
91314
|
let b = `${end2}`.charCodeAt(0);
|
|
91315
91315
|
let descending = a5 > b;
|
|
@@ -91321,7 +91321,7 @@ var require_fill_range = __commonJS({
|
|
|
91321
91321
|
let range = [];
|
|
91322
91322
|
let index2 = 0;
|
|
91323
91323
|
while (descending ? a5 >= b : a5 <= b) {
|
|
91324
|
-
range.push(
|
|
91324
|
+
range.push(format6(a5, index2));
|
|
91325
91325
|
a5 = descending ? a5 - step : a5 + step;
|
|
91326
91326
|
index2++;
|
|
91327
91327
|
}
|
|
@@ -93340,11 +93340,11 @@ var require_picomatch3 = __commonJS({
|
|
|
93340
93340
|
return { isMatch: false, output: "" };
|
|
93341
93341
|
}
|
|
93342
93342
|
const opts = options || {};
|
|
93343
|
-
const
|
|
93343
|
+
const format6 = opts.format || (posix3 ? utils.toPosixSlashes : null);
|
|
93344
93344
|
let match2 = input === glob2;
|
|
93345
|
-
let output = match2 &&
|
|
93345
|
+
let output = match2 && format6 ? format6(input) : input;
|
|
93346
93346
|
if (match2 === false) {
|
|
93347
|
-
output =
|
|
93347
|
+
output = format6 ? format6(input) : input;
|
|
93348
93348
|
match2 = output === glob2;
|
|
93349
93349
|
}
|
|
93350
93350
|
if (match2 === false || opts.capture === true) {
|
|
@@ -99526,7 +99526,7 @@ var require_request = __commonJS({
|
|
|
99526
99526
|
upgrade,
|
|
99527
99527
|
headersTimeout,
|
|
99528
99528
|
bodyTimeout,
|
|
99529
|
-
reset,
|
|
99529
|
+
reset: reset2,
|
|
99530
99530
|
throwOnError,
|
|
99531
99531
|
expectContinue
|
|
99532
99532
|
}, handler) {
|
|
@@ -99551,7 +99551,7 @@ var require_request = __commonJS({
|
|
|
99551
99551
|
if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) {
|
|
99552
99552
|
throw new InvalidArgumentError2("invalid bodyTimeout");
|
|
99553
99553
|
}
|
|
99554
|
-
if (
|
|
99554
|
+
if (reset2 != null && typeof reset2 !== "boolean") {
|
|
99555
99555
|
throw new InvalidArgumentError2("invalid reset");
|
|
99556
99556
|
}
|
|
99557
99557
|
if (expectContinue != null && typeof expectContinue !== "boolean") {
|
|
@@ -99601,7 +99601,7 @@ var require_request = __commonJS({
|
|
|
99601
99601
|
this.origin = origin2;
|
|
99602
99602
|
this.idempotent = idempotent == null ? method === "HEAD" || method === "GET" : idempotent;
|
|
99603
99603
|
this.blocking = blocking == null ? false : blocking;
|
|
99604
|
-
this.reset =
|
|
99604
|
+
this.reset = reset2 == null ? null : reset2;
|
|
99605
99605
|
this.host = null;
|
|
99606
99606
|
this.contentLength = null;
|
|
99607
99607
|
this.contentType = null;
|
|
@@ -101847,7 +101847,7 @@ var require_client = __commonJS({
|
|
|
101847
101847
|
writeH2(client, client[kHTTP2Session], request);
|
|
101848
101848
|
return;
|
|
101849
101849
|
}
|
|
101850
|
-
const { body, method, path: path2, host, upgrade, headers, blocking, reset } = request;
|
|
101850
|
+
const { body, method, path: path2, host, upgrade, headers, blocking, reset: reset2 } = request;
|
|
101851
101851
|
const expectsPayload = method === "PUT" || method === "POST" || method === "PATCH";
|
|
101852
101852
|
if (body && typeof body.read === "function") {
|
|
101853
101853
|
body.read(0);
|
|
@@ -101888,8 +101888,8 @@ var require_client = __commonJS({
|
|
|
101888
101888
|
if (upgrade || method === "CONNECT") {
|
|
101889
101889
|
socket[kReset] = true;
|
|
101890
101890
|
}
|
|
101891
|
-
if (
|
|
101892
|
-
socket[kReset] =
|
|
101891
|
+
if (reset2 != null) {
|
|
101892
|
+
socket[kReset] = reset2;
|
|
101893
101893
|
}
|
|
101894
101894
|
if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) {
|
|
101895
101895
|
socket[kReset] = true;
|
|
@@ -112993,11 +112993,11 @@ var require_brace_expansion2 = __commonJS({
|
|
|
112993
112993
|
function isPadded(el) {
|
|
112994
112994
|
return /^-?0\d/.test(el);
|
|
112995
112995
|
}
|
|
112996
|
-
function lte(i7,
|
|
112997
|
-
return i7 <=
|
|
112996
|
+
function lte(i7, y10) {
|
|
112997
|
+
return i7 <= y10;
|
|
112998
112998
|
}
|
|
112999
|
-
function gte2(i7,
|
|
113000
|
-
return i7 >=
|
|
112999
|
+
function gte2(i7, y10) {
|
|
113000
|
+
return i7 >= y10;
|
|
113001
113001
|
}
|
|
113002
113002
|
function expand2(str, isTop) {
|
|
113003
113003
|
var expansions = [];
|
|
@@ -113034,18 +113034,18 @@ var require_brace_expansion2 = __commonJS({
|
|
|
113034
113034
|
var N;
|
|
113035
113035
|
if (isSequence) {
|
|
113036
113036
|
var x2 = numeric(n2[0]);
|
|
113037
|
-
var
|
|
113037
|
+
var y10 = numeric(n2[1]);
|
|
113038
113038
|
var width = Math.max(n2[0].length, n2[1].length);
|
|
113039
113039
|
var incr = n2.length == 3 ? Math.abs(numeric(n2[2])) : 1;
|
|
113040
113040
|
var test2 = lte;
|
|
113041
|
-
var reverse =
|
|
113041
|
+
var reverse = y10 < x2;
|
|
113042
113042
|
if (reverse) {
|
|
113043
113043
|
incr *= -1;
|
|
113044
113044
|
test2 = gte2;
|
|
113045
113045
|
}
|
|
113046
113046
|
var pad = n2.some(isPadded);
|
|
113047
113047
|
N = [];
|
|
113048
|
-
for (var i7 = x2; test2(i7,
|
|
113048
|
+
for (var i7 = x2; test2(i7, y10); i7 += incr) {
|
|
113049
113049
|
var c4;
|
|
113050
113050
|
if (isAlphaSequence) {
|
|
113051
113051
|
c4 = String.fromCharCode(i7);
|
|
@@ -113540,37 +113540,37 @@ var require_minimatch = __commonJS({
|
|
|
113540
113540
|
minimatch2.match = function(list, pattern, options) {
|
|
113541
113541
|
options = options || {};
|
|
113542
113542
|
var mm = new Minimatch2(pattern, options);
|
|
113543
|
-
list = list.filter(function(
|
|
113544
|
-
return mm.match(
|
|
113543
|
+
list = list.filter(function(f6) {
|
|
113544
|
+
return mm.match(f6);
|
|
113545
113545
|
});
|
|
113546
113546
|
if (mm.options.nonull && !list.length) {
|
|
113547
113547
|
list.push(pattern);
|
|
113548
113548
|
}
|
|
113549
113549
|
return list;
|
|
113550
113550
|
};
|
|
113551
|
-
Minimatch2.prototype.match = function match2(
|
|
113551
|
+
Minimatch2.prototype.match = function match2(f6, partial) {
|
|
113552
113552
|
if (typeof partial === "undefined") partial = this.partial;
|
|
113553
|
-
this.debug("match",
|
|
113553
|
+
this.debug("match", f6, this.pattern);
|
|
113554
113554
|
if (this.comment) return false;
|
|
113555
|
-
if (this.empty) return
|
|
113556
|
-
if (
|
|
113555
|
+
if (this.empty) return f6 === "";
|
|
113556
|
+
if (f6 === "/" && partial) return true;
|
|
113557
113557
|
var options = this.options;
|
|
113558
113558
|
if (path2.sep !== "/") {
|
|
113559
|
-
|
|
113559
|
+
f6 = f6.split(path2.sep).join("/");
|
|
113560
113560
|
}
|
|
113561
|
-
|
|
113562
|
-
this.debug(this.pattern, "split",
|
|
113561
|
+
f6 = f6.split(slashSplit);
|
|
113562
|
+
this.debug(this.pattern, "split", f6);
|
|
113563
113563
|
var set = this.set;
|
|
113564
113564
|
this.debug(this.pattern, "set", set);
|
|
113565
113565
|
var filename;
|
|
113566
113566
|
var i7;
|
|
113567
|
-
for (i7 =
|
|
113568
|
-
filename =
|
|
113567
|
+
for (i7 = f6.length - 1; i7 >= 0; i7--) {
|
|
113568
|
+
filename = f6[i7];
|
|
113569
113569
|
if (filename) break;
|
|
113570
113570
|
}
|
|
113571
113571
|
for (i7 = 0; i7 < set.length; i7++) {
|
|
113572
113572
|
var pattern = set[i7];
|
|
113573
|
-
var file =
|
|
113573
|
+
var file = f6;
|
|
113574
113574
|
if (options.matchBase && pattern.length === 1) {
|
|
113575
113575
|
file = [filename];
|
|
113576
113576
|
}
|
|
@@ -113593,11 +113593,11 @@ var require_minimatch = __commonJS({
|
|
|
113593
113593
|
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
113594
113594
|
this.debug("matchOne loop");
|
|
113595
113595
|
var p3 = pattern[pi];
|
|
113596
|
-
var
|
|
113597
|
-
this.debug(pattern, p3,
|
|
113596
|
+
var f6 = file[fi];
|
|
113597
|
+
this.debug(pattern, p3, f6);
|
|
113598
113598
|
if (p3 === false) return false;
|
|
113599
113599
|
if (p3 === GLOBSTAR2) {
|
|
113600
|
-
this.debug("GLOBSTAR", [pattern, p3,
|
|
113600
|
+
this.debug("GLOBSTAR", [pattern, p3, f6]);
|
|
113601
113601
|
var fr = fi;
|
|
113602
113602
|
var pr = pi + 1;
|
|
113603
113603
|
if (pr === pl) {
|
|
@@ -113630,11 +113630,11 @@ var require_minimatch = __commonJS({
|
|
|
113630
113630
|
}
|
|
113631
113631
|
var hit;
|
|
113632
113632
|
if (typeof p3 === "string") {
|
|
113633
|
-
hit =
|
|
113634
|
-
this.debug("string match", p3,
|
|
113633
|
+
hit = f6 === p3;
|
|
113634
|
+
this.debug("string match", p3, f6, hit);
|
|
113635
113635
|
} else {
|
|
113636
|
-
hit =
|
|
113637
|
-
this.debug("pattern match", p3,
|
|
113636
|
+
hit = f6.match(p3);
|
|
113637
|
+
this.debug("pattern match", p3, f6, hit);
|
|
113638
113638
|
}
|
|
113639
113639
|
if (!hit) return false;
|
|
113640
113640
|
}
|
|
@@ -113838,16 +113838,16 @@ var require_common6 = __commonJS({
|
|
|
113838
113838
|
}
|
|
113839
113839
|
return m4;
|
|
113840
113840
|
}
|
|
113841
|
-
function makeAbs(self2,
|
|
113842
|
-
var abs =
|
|
113843
|
-
if (
|
|
113844
|
-
abs = path2.join(self2.root,
|
|
113845
|
-
} else if (isAbsolute(
|
|
113846
|
-
abs =
|
|
113841
|
+
function makeAbs(self2, f6) {
|
|
113842
|
+
var abs = f6;
|
|
113843
|
+
if (f6.charAt(0) === "/") {
|
|
113844
|
+
abs = path2.join(self2.root, f6);
|
|
113845
|
+
} else if (isAbsolute(f6) || f6 === "") {
|
|
113846
|
+
abs = f6;
|
|
113847
113847
|
} else if (self2.changedCwd) {
|
|
113848
|
-
abs = path2.resolve(self2.cwd,
|
|
113848
|
+
abs = path2.resolve(self2.cwd, f6);
|
|
113849
113849
|
} else {
|
|
113850
|
-
abs = path2.resolve(
|
|
113850
|
+
abs = path2.resolve(f6);
|
|
113851
113851
|
}
|
|
113852
113852
|
if (process.platform === "win32")
|
|
113853
113853
|
abs = abs.replace(/\\/g, "/");
|
|
@@ -114099,12 +114099,12 @@ var require_sync = __commonJS({
|
|
|
114099
114099
|
this.cache[abs] = entries;
|
|
114100
114100
|
return entries;
|
|
114101
114101
|
};
|
|
114102
|
-
GlobSync.prototype._readdirError = function(
|
|
114102
|
+
GlobSync.prototype._readdirError = function(f6, er) {
|
|
114103
114103
|
switch (er.code) {
|
|
114104
114104
|
case "ENOTSUP":
|
|
114105
114105
|
// https://github.com/isaacs/node-glob/issues/205
|
|
114106
114106
|
case "ENOTDIR":
|
|
114107
|
-
var abs = this._makeAbs(
|
|
114107
|
+
var abs = this._makeAbs(f6);
|
|
114108
114108
|
this.cache[abs] = "FILE";
|
|
114109
114109
|
if (abs === this.cwdAbs) {
|
|
114110
114110
|
var error = new Error(er.code + " invalid cwd " + this.cwd);
|
|
@@ -114118,10 +114118,10 @@ var require_sync = __commonJS({
|
|
|
114118
114118
|
case "ELOOP":
|
|
114119
114119
|
case "ENAMETOOLONG":
|
|
114120
114120
|
case "UNKNOWN":
|
|
114121
|
-
this.cache[this._makeAbs(
|
|
114121
|
+
this.cache[this._makeAbs(f6)] = false;
|
|
114122
114122
|
break;
|
|
114123
114123
|
default:
|
|
114124
|
-
this.cache[this._makeAbs(
|
|
114124
|
+
this.cache[this._makeAbs(f6)] = false;
|
|
114125
114125
|
if (this.strict)
|
|
114126
114126
|
throw er;
|
|
114127
114127
|
if (!this.silent)
|
|
@@ -114171,10 +114171,10 @@ var require_sync = __commonJS({
|
|
|
114171
114171
|
prefix = prefix.replace(/\\/g, "/");
|
|
114172
114172
|
this._emitMatch(index2, prefix);
|
|
114173
114173
|
};
|
|
114174
|
-
GlobSync.prototype._stat = function(
|
|
114175
|
-
var abs = this._makeAbs(
|
|
114176
|
-
var needDir =
|
|
114177
|
-
if (
|
|
114174
|
+
GlobSync.prototype._stat = function(f6) {
|
|
114175
|
+
var abs = this._makeAbs(f6);
|
|
114176
|
+
var needDir = f6.slice(-1) === "/";
|
|
114177
|
+
if (f6.length > this.maxLength)
|
|
114178
114178
|
return false;
|
|
114179
114179
|
if (!this.stat && ownProp(this.cache, abs)) {
|
|
114180
114180
|
var c4 = this.cache[abs];
|
|
@@ -114219,8 +114219,8 @@ var require_sync = __commonJS({
|
|
|
114219
114219
|
GlobSync.prototype._mark = function(p3) {
|
|
114220
114220
|
return common.mark(this, p3);
|
|
114221
114221
|
};
|
|
114222
|
-
GlobSync.prototype._makeAbs = function(
|
|
114223
|
-
return common.makeAbs(this,
|
|
114222
|
+
GlobSync.prototype._makeAbs = function(f6) {
|
|
114223
|
+
return common.makeAbs(this, f6);
|
|
114224
114224
|
};
|
|
114225
114225
|
}
|
|
114226
114226
|
});
|
|
@@ -114276,25 +114276,25 @@ var require_once2 = __commonJS({
|
|
|
114276
114276
|
});
|
|
114277
114277
|
});
|
|
114278
114278
|
function once8(fn2) {
|
|
114279
|
-
var
|
|
114280
|
-
if (
|
|
114281
|
-
|
|
114282
|
-
return
|
|
114279
|
+
var f6 = function() {
|
|
114280
|
+
if (f6.called) return f6.value;
|
|
114281
|
+
f6.called = true;
|
|
114282
|
+
return f6.value = fn2.apply(this, arguments);
|
|
114283
114283
|
};
|
|
114284
|
-
|
|
114285
|
-
return
|
|
114284
|
+
f6.called = false;
|
|
114285
|
+
return f6;
|
|
114286
114286
|
}
|
|
114287
114287
|
function onceStrict(fn2) {
|
|
114288
|
-
var
|
|
114289
|
-
if (
|
|
114290
|
-
throw new Error(
|
|
114291
|
-
|
|
114292
|
-
return
|
|
114288
|
+
var f6 = function() {
|
|
114289
|
+
if (f6.called)
|
|
114290
|
+
throw new Error(f6.onceError);
|
|
114291
|
+
f6.called = true;
|
|
114292
|
+
return f6.value = fn2.apply(this, arguments);
|
|
114293
114293
|
};
|
|
114294
114294
|
var name = fn2.name || "Function wrapped with `once`";
|
|
114295
|
-
|
|
114296
|
-
|
|
114297
|
-
return
|
|
114295
|
+
f6.onceError = name + " shouldn't be called more than once";
|
|
114296
|
+
f6.called = false;
|
|
114297
|
+
return f6;
|
|
114298
114298
|
}
|
|
114299
114299
|
}
|
|
114300
114300
|
});
|
|
@@ -114510,8 +114510,8 @@ var require_glob = __commonJS({
|
|
|
114510
114510
|
Glob2.prototype._mark = function(p3) {
|
|
114511
114511
|
return common.mark(this, p3);
|
|
114512
114512
|
};
|
|
114513
|
-
Glob2.prototype._makeAbs = function(
|
|
114514
|
-
return common.makeAbs(this,
|
|
114513
|
+
Glob2.prototype._makeAbs = function(f6) {
|
|
114514
|
+
return common.makeAbs(this, f6);
|
|
114515
114515
|
};
|
|
114516
114516
|
Glob2.prototype.abort = function() {
|
|
114517
114517
|
this.aborted = true;
|
|
@@ -114747,14 +114747,14 @@ var require_glob = __commonJS({
|
|
|
114747
114747
|
this.cache[abs] = entries;
|
|
114748
114748
|
return cb(null, entries);
|
|
114749
114749
|
};
|
|
114750
|
-
Glob2.prototype._readdirError = function(
|
|
114750
|
+
Glob2.prototype._readdirError = function(f6, er, cb) {
|
|
114751
114751
|
if (this.aborted)
|
|
114752
114752
|
return;
|
|
114753
114753
|
switch (er.code) {
|
|
114754
114754
|
case "ENOTSUP":
|
|
114755
114755
|
// https://github.com/isaacs/node-glob/issues/205
|
|
114756
114756
|
case "ENOTDIR":
|
|
114757
|
-
var abs = this._makeAbs(
|
|
114757
|
+
var abs = this._makeAbs(f6);
|
|
114758
114758
|
this.cache[abs] = "FILE";
|
|
114759
114759
|
if (abs === this.cwdAbs) {
|
|
114760
114760
|
var error = new Error(er.code + " invalid cwd " + this.cwd);
|
|
@@ -114769,10 +114769,10 @@ var require_glob = __commonJS({
|
|
|
114769
114769
|
case "ELOOP":
|
|
114770
114770
|
case "ENAMETOOLONG":
|
|
114771
114771
|
case "UNKNOWN":
|
|
114772
|
-
this.cache[this._makeAbs(
|
|
114772
|
+
this.cache[this._makeAbs(f6)] = false;
|
|
114773
114773
|
break;
|
|
114774
114774
|
default:
|
|
114775
|
-
this.cache[this._makeAbs(
|
|
114775
|
+
this.cache[this._makeAbs(f6)] = false;
|
|
114776
114776
|
if (this.strict) {
|
|
114777
114777
|
this.emit("error", er);
|
|
114778
114778
|
this.abort();
|
|
@@ -114837,10 +114837,10 @@ var require_glob = __commonJS({
|
|
|
114837
114837
|
this._emitMatch(index2, prefix);
|
|
114838
114838
|
cb();
|
|
114839
114839
|
};
|
|
114840
|
-
Glob2.prototype._stat = function(
|
|
114841
|
-
var abs = this._makeAbs(
|
|
114842
|
-
var needDir =
|
|
114843
|
-
if (
|
|
114840
|
+
Glob2.prototype._stat = function(f6, cb) {
|
|
114841
|
+
var abs = this._makeAbs(f6);
|
|
114842
|
+
var needDir = f6.slice(-1) === "/";
|
|
114843
|
+
if (f6.length > this.maxLength)
|
|
114844
114844
|
return cb();
|
|
114845
114845
|
if (!this.stat && ownProp(this.cache, abs)) {
|
|
114846
114846
|
var c4 = this.cache[abs];
|
|
@@ -114872,21 +114872,21 @@ var require_glob = __commonJS({
|
|
|
114872
114872
|
if (lstat2 && lstat2.isSymbolicLink()) {
|
|
114873
114873
|
return self2.fs.stat(abs, function(er2, stat5) {
|
|
114874
114874
|
if (er2)
|
|
114875
|
-
self2._stat2(
|
|
114875
|
+
self2._stat2(f6, abs, null, lstat2, cb);
|
|
114876
114876
|
else
|
|
114877
|
-
self2._stat2(
|
|
114877
|
+
self2._stat2(f6, abs, er2, stat5, cb);
|
|
114878
114878
|
});
|
|
114879
114879
|
} else {
|
|
114880
|
-
self2._stat2(
|
|
114880
|
+
self2._stat2(f6, abs, er, lstat2, cb);
|
|
114881
114881
|
}
|
|
114882
114882
|
}
|
|
114883
114883
|
};
|
|
114884
|
-
Glob2.prototype._stat2 = function(
|
|
114884
|
+
Glob2.prototype._stat2 = function(f6, abs, er, stat4, cb) {
|
|
114885
114885
|
if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
|
|
114886
114886
|
this.statCache[abs] = false;
|
|
114887
114887
|
return cb();
|
|
114888
114888
|
}
|
|
114889
|
-
var needDir =
|
|
114889
|
+
var needDir = f6.slice(-1) === "/";
|
|
114890
114890
|
this.statCache[abs] = stat4;
|
|
114891
114891
|
if (abs.slice(-1) === "/" && stat4 && !stat4.isDirectory())
|
|
114892
114892
|
return cb(null, false, stat4);
|
|
@@ -115085,8 +115085,8 @@ var require_rimraf2 = __commonJS({
|
|
|
115085
115085
|
if (n2 === 0)
|
|
115086
115086
|
return options.rmdir(p3, cb);
|
|
115087
115087
|
let errState;
|
|
115088
|
-
files.forEach((
|
|
115089
|
-
rimraf(path2.join(p3,
|
|
115088
|
+
files.forEach((f6) => {
|
|
115089
|
+
rimraf(path2.join(p3, f6), options, (er2) => {
|
|
115090
115090
|
if (errState)
|
|
115091
115091
|
return;
|
|
115092
115092
|
if (er2)
|
|
@@ -115161,7 +115161,7 @@ var require_rimraf2 = __commonJS({
|
|
|
115161
115161
|
var rmkidsSync = (p3, options) => {
|
|
115162
115162
|
assert7(p3);
|
|
115163
115163
|
assert7(options);
|
|
115164
|
-
options.readdirSync(p3).forEach((
|
|
115164
|
+
options.readdirSync(p3).forEach((f6) => rimrafSync(path2.join(p3, f6), options));
|
|
115165
115165
|
const retries = isWindows ? 100 : 1;
|
|
115166
115166
|
let i7 = 0;
|
|
115167
115167
|
do {
|
|
@@ -118826,7 +118826,7 @@ var require_request3 = __commonJS({
|
|
|
118826
118826
|
upgrade,
|
|
118827
118827
|
headersTimeout,
|
|
118828
118828
|
bodyTimeout,
|
|
118829
|
-
reset,
|
|
118829
|
+
reset: reset2,
|
|
118830
118830
|
throwOnError,
|
|
118831
118831
|
expectContinue,
|
|
118832
118832
|
servername
|
|
@@ -118852,7 +118852,7 @@ var require_request3 = __commonJS({
|
|
|
118852
118852
|
if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) {
|
|
118853
118853
|
throw new InvalidArgumentError2("invalid bodyTimeout");
|
|
118854
118854
|
}
|
|
118855
|
-
if (
|
|
118855
|
+
if (reset2 != null && typeof reset2 !== "boolean") {
|
|
118856
118856
|
throw new InvalidArgumentError2("invalid reset");
|
|
118857
118857
|
}
|
|
118858
118858
|
if (expectContinue != null && typeof expectContinue !== "boolean") {
|
|
@@ -118902,7 +118902,7 @@ var require_request3 = __commonJS({
|
|
|
118902
118902
|
this.origin = origin2;
|
|
118903
118903
|
this.idempotent = idempotent == null ? method === "HEAD" || method === "GET" : idempotent;
|
|
118904
118904
|
this.blocking = blocking == null ? false : blocking;
|
|
118905
|
-
this.reset =
|
|
118905
|
+
this.reset = reset2 == null ? null : reset2;
|
|
118906
118906
|
this.host = null;
|
|
118907
118907
|
this.contentLength = null;
|
|
118908
118908
|
this.contentType = null;
|
|
@@ -123413,7 +123413,7 @@ var require_client_h1 = __commonJS({
|
|
|
123413
123413
|
return method !== "GET" && method !== "HEAD" && method !== "OPTIONS" && method !== "TRACE" && method !== "CONNECT";
|
|
123414
123414
|
}
|
|
123415
123415
|
function writeH1(client, request) {
|
|
123416
|
-
const { method, path: path2, host, upgrade, blocking, reset } = request;
|
|
123416
|
+
const { method, path: path2, host, upgrade, blocking, reset: reset2 } = request;
|
|
123417
123417
|
let { body, headers, contentLength } = request;
|
|
123418
123418
|
const expectsPayload = method === "PUT" || method === "POST" || method === "PATCH" || method === "QUERY" || method === "PROPFIND" || method === "PROPPATCH";
|
|
123419
123419
|
if (util5.isFormDataLike(body)) {
|
|
@@ -123470,8 +123470,8 @@ var require_client_h1 = __commonJS({
|
|
|
123470
123470
|
if (upgrade || method === "CONNECT") {
|
|
123471
123471
|
socket[kReset] = true;
|
|
123472
123472
|
}
|
|
123473
|
-
if (
|
|
123474
|
-
socket[kReset] =
|
|
123473
|
+
if (reset2 != null) {
|
|
123474
|
+
socket[kReset] = reset2;
|
|
123475
123475
|
}
|
|
123476
123476
|
if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) {
|
|
123477
123477
|
socket[kReset] = true;
|
|
@@ -136147,7 +136147,7 @@ var require_dist_node2 = __commonJS({
|
|
|
136147
136147
|
if (!isBinaryRequest) {
|
|
136148
136148
|
if (options.mediaType.format) {
|
|
136149
136149
|
headers.accept = headers.accept.split(/,/).map(
|
|
136150
|
-
(
|
|
136150
|
+
(format6) => format6.replace(
|
|
136151
136151
|
/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,
|
|
136152
136152
|
`application/vnd$1$2.${options.mediaType.format}`
|
|
136153
136153
|
)
|
|
@@ -136157,8 +136157,8 @@ var require_dist_node2 = __commonJS({
|
|
|
136157
136157
|
if (options.mediaType.previews?.length) {
|
|
136158
136158
|
const previewsFromAcceptHeader = headers.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g) || [];
|
|
136159
136159
|
headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => {
|
|
136160
|
-
const
|
|
136161
|
-
return `application/vnd.github.${preview}-preview${
|
|
136160
|
+
const format6 = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
|
|
136161
|
+
return `application/vnd.github.${preview}-preview${format6}`;
|
|
136162
136162
|
}).join(",");
|
|
136163
136163
|
}
|
|
136164
136164
|
}
|
|
@@ -142525,14 +142525,14 @@ var require_bool5 = __commonJS({
|
|
|
142525
142525
|
var require_stringifyNumber2 = __commonJS({
|
|
142526
142526
|
"../../node_modules/.pnpm/yaml@2.2.2/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports2) {
|
|
142527
142527
|
"use strict";
|
|
142528
|
-
function stringifyNumber({ format:
|
|
142528
|
+
function stringifyNumber({ format: format6, minFractionDigits, tag, value }) {
|
|
142529
142529
|
if (typeof value === "bigint")
|
|
142530
142530
|
return String(value);
|
|
142531
142531
|
const num = typeof value === "number" ? value : Number(value);
|
|
142532
142532
|
if (!isFinite(num))
|
|
142533
142533
|
return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
|
|
142534
142534
|
let n2 = JSON.stringify(value);
|
|
142535
|
-
if (!
|
|
142535
|
+
if (!format6 && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n2)) {
|
|
142536
142536
|
let i7 = n2.indexOf(".");
|
|
142537
142537
|
if (i7 < 0) {
|
|
142538
142538
|
i7 = n2.length;
|
|
@@ -143018,9 +143018,9 @@ var require_float6 = __commonJS({
|
|
|
143018
143018
|
const node = new Scalar.Scalar(parseFloat(str.replace(/_/g, "")));
|
|
143019
143019
|
const dot = str.indexOf(".");
|
|
143020
143020
|
if (dot !== -1) {
|
|
143021
|
-
const
|
|
143022
|
-
if (
|
|
143023
|
-
node.minFractionDigits =
|
|
143021
|
+
const f6 = str.substring(dot + 1).replace(/_/g, "");
|
|
143022
|
+
if (f6[f6.length - 1] === "0")
|
|
143023
|
+
node.minFractionDigits = f6.length;
|
|
143024
143024
|
}
|
|
143025
143025
|
return node;
|
|
143026
143026
|
},
|
|
@@ -162977,10 +162977,10 @@ var require_lib28 = __commonJS({
|
|
|
162977
162977
|
function sign(x2) {
|
|
162978
162978
|
return x2 < 0 ? -1 : 1;
|
|
162979
162979
|
}
|
|
162980
|
-
function modulo(x2,
|
|
162981
|
-
const signMightNotMatch = x2 %
|
|
162982
|
-
if (sign(
|
|
162983
|
-
return signMightNotMatch +
|
|
162980
|
+
function modulo(x2, y10) {
|
|
162981
|
+
const signMightNotMatch = x2 % y10;
|
|
162982
|
+
if (sign(y10) !== sign(signMightNotMatch)) {
|
|
162983
|
+
return signMightNotMatch + y10;
|
|
162984
162984
|
}
|
|
162985
162985
|
return signMightNotMatch;
|
|
162986
162986
|
}
|
|
@@ -163104,11 +163104,11 @@ var require_lib28 = __commonJS({
|
|
|
163104
163104
|
if (Object.is(x2, -0)) {
|
|
163105
163105
|
return x2;
|
|
163106
163106
|
}
|
|
163107
|
-
const
|
|
163108
|
-
if (!Number.isFinite(
|
|
163107
|
+
const y10 = Math.fround(x2);
|
|
163108
|
+
if (!Number.isFinite(y10)) {
|
|
163109
163109
|
throw makeException(TypeError, "is outside the range of a single-precision floating-point value", options);
|
|
163110
163110
|
}
|
|
163111
|
-
return
|
|
163111
|
+
return y10;
|
|
163112
163112
|
};
|
|
163113
163113
|
exports2["unrestricted float"] = (value, options = {}) => {
|
|
163114
163114
|
const x2 = toNumber(value, options);
|
|
@@ -185677,7 +185677,7 @@ var require_axios = __commonJS({
|
|
|
185677
185677
|
}
|
|
185678
185678
|
return deleted;
|
|
185679
185679
|
}
|
|
185680
|
-
normalize(
|
|
185680
|
+
normalize(format6) {
|
|
185681
185681
|
const self2 = this;
|
|
185682
185682
|
const headers = {};
|
|
185683
185683
|
utils$1.forEach(this, (value, header) => {
|
|
@@ -185687,7 +185687,7 @@ var require_axios = __commonJS({
|
|
|
185687
185687
|
delete self2[header];
|
|
185688
185688
|
return;
|
|
185689
185689
|
}
|
|
185690
|
-
const normalized =
|
|
185690
|
+
const normalized = format6 ? formatHeader2(header) : String(header).trim();
|
|
185691
185691
|
if (normalized !== header) {
|
|
185692
185692
|
delete self2[header];
|
|
185693
185693
|
}
|
|
@@ -189545,8 +189545,8 @@ var require_WebClient = __commonJS({
|
|
|
189545
189545
|
function reject(value) {
|
|
189546
189546
|
resume("throw", value);
|
|
189547
189547
|
}
|
|
189548
|
-
function settle2(
|
|
189549
|
-
if (
|
|
189548
|
+
function settle2(f6, v) {
|
|
189549
|
+
if (f6(v), q3.shift(), q3.length) resume(q3[0][0], q3[0][1]);
|
|
189550
189550
|
}
|
|
189551
189551
|
};
|
|
189552
189552
|
var __asyncValues = exports2 && exports2.__asyncValues || function(o7) {
|
|
@@ -190502,10 +190502,10 @@ function i4(...e) {
|
|
|
190502
190502
|
var p2 = (e, a5) => {
|
|
190503
190503
|
let n2 = /* @__PURE__ */ new Map();
|
|
190504
190504
|
for (let [d4, t4] of e.entries()) {
|
|
190505
|
-
let
|
|
190506
|
-
if (
|
|
190507
|
-
let r3 = n2.get(
|
|
190508
|
-
r3 === void 0 && (r3 = [], n2.set(
|
|
190505
|
+
let y10 = a5(t4, d4, e);
|
|
190506
|
+
if (y10 !== void 0) {
|
|
190507
|
+
let r3 = n2.get(y10);
|
|
190508
|
+
r3 === void 0 && (r3 = [], n2.set(y10, r3)), r3.push(t4);
|
|
190509
190509
|
}
|
|
190510
190510
|
}
|
|
190511
190511
|
return Object.fromEntries(n2);
|
|
@@ -190542,7 +190542,7 @@ function c(n2, e) {
|
|
|
190542
190542
|
let r3 = [...e];
|
|
190543
190543
|
for (let t4 of n2) {
|
|
190544
190544
|
let o7 = false;
|
|
190545
|
-
for (let [s6,
|
|
190545
|
+
for (let [s6, f6] of r3.entries()) if (u3(t4, f6)) {
|
|
190546
190546
|
o7 = true, r3.splice(s6, 1);
|
|
190547
190547
|
break;
|
|
190548
190548
|
}
|
|
@@ -190577,8 +190577,8 @@ function u4(...a5) {
|
|
|
190577
190577
|
return u2(o5, a5, l4);
|
|
190578
190578
|
}
|
|
190579
190579
|
var o5 = (a5, r3) => a5.flatMap(r3);
|
|
190580
|
-
var l4 = (a5) => (r3, t4,
|
|
190581
|
-
let n2 = a5(r3, t4,
|
|
190580
|
+
var l4 = (a5) => (r3, t4, y10) => {
|
|
190581
|
+
let n2 = a5(r3, t4, y10);
|
|
190582
190582
|
return Array.isArray(n2) ? { done: false, hasNext: true, hasMany: true, next: n2 } : { done: false, hasNext: true, next: n2 };
|
|
190583
190583
|
};
|
|
190584
190584
|
|
|
@@ -192435,11 +192435,11 @@ var NuGetRange = class _NuGetRange {
|
|
|
192435
192435
|
result += version3.toString();
|
|
192436
192436
|
return result;
|
|
192437
192437
|
}
|
|
192438
|
-
toStringFormat(
|
|
192439
|
-
if (
|
|
192438
|
+
toStringFormat(format6) {
|
|
192439
|
+
if (format6 === "N") {
|
|
192440
192440
|
return this.getNormalizedString();
|
|
192441
192441
|
}
|
|
192442
|
-
if (
|
|
192442
|
+
if (format6 === "S" || format6 === "A") {
|
|
192443
192443
|
if (this.minVersion && this.includeMinVersion && !this.maxVersion) {
|
|
192444
192444
|
if (this.isFloating) {
|
|
192445
192445
|
return this.minVersion.toString();
|
|
@@ -194396,7 +194396,7 @@ var MavenFixingManager = class {
|
|
|
194396
194396
|
if (pmInfo.packageManager !== "MAVEN") {
|
|
194397
194397
|
throw Error(`fixing data for package manager 'MAVEN' required, got ${pmInfo.packageManager}`);
|
|
194398
194398
|
}
|
|
194399
|
-
const validateFile = (
|
|
194399
|
+
const validateFile = (f6) => f6;
|
|
194400
194400
|
const dependencyTrees = fixingInfo.dependencyTrees;
|
|
194401
194401
|
const workspacePaths = Object.keys(fixes);
|
|
194402
194402
|
const directPatchResults = [];
|
|
@@ -195990,7 +195990,7 @@ var AxiosHeaders = class {
|
|
|
195990
195990
|
}
|
|
195991
195991
|
return deleted;
|
|
195992
195992
|
}
|
|
195993
|
-
normalize(
|
|
195993
|
+
normalize(format6) {
|
|
195994
195994
|
const self2 = this;
|
|
195995
195995
|
const headers = {};
|
|
195996
195996
|
utils_default.forEach(this, (value, header) => {
|
|
@@ -196000,7 +196000,7 @@ var AxiosHeaders = class {
|
|
|
196000
196000
|
delete self2[header];
|
|
196001
196001
|
return;
|
|
196002
196002
|
}
|
|
196003
|
-
const normalized =
|
|
196003
|
+
const normalized = format6 ? formatHeader(header) : String(header).trim();
|
|
196004
196004
|
if (normalized !== header) {
|
|
196005
196005
|
delete self2[header];
|
|
196006
196006
|
}
|
|
@@ -198778,8 +198778,8 @@ var MavenSocketUpgradeManager = class {
|
|
|
198778
198778
|
}
|
|
198779
198779
|
if (shouldAdd) manifestFileSet.add(resolve10(this.rootDir, manifestFile));
|
|
198780
198780
|
}
|
|
198781
|
-
const validateFile = (
|
|
198782
|
-
return manifestFileSet.has(
|
|
198781
|
+
const validateFile = (f6) => {
|
|
198782
|
+
return manifestFileSet.has(f6) ? f6 : void 0;
|
|
198783
198783
|
};
|
|
198784
198784
|
const updatePatchResults = await this.collectUpdatePatches(upgrades, artifacts, rangeStyle, validateFile);
|
|
198785
198785
|
const updatePatchSuccesses = extractSuccessfulPatches(updatePatchResults);
|
|
@@ -200106,54 +200106,54 @@ var minimatch = (p3, pattern, options = {}) => {
|
|
|
200106
200106
|
return new Minimatch(pattern, options).match(p3);
|
|
200107
200107
|
};
|
|
200108
200108
|
var starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
|
|
200109
|
-
var starDotExtTest = (ext2) => (
|
|
200110
|
-
var starDotExtTestDot = (ext2) => (
|
|
200109
|
+
var starDotExtTest = (ext2) => (f6) => !f6.startsWith(".") && f6.endsWith(ext2);
|
|
200110
|
+
var starDotExtTestDot = (ext2) => (f6) => f6.endsWith(ext2);
|
|
200111
200111
|
var starDotExtTestNocase = (ext2) => {
|
|
200112
200112
|
ext2 = ext2.toLowerCase();
|
|
200113
|
-
return (
|
|
200113
|
+
return (f6) => !f6.startsWith(".") && f6.toLowerCase().endsWith(ext2);
|
|
200114
200114
|
};
|
|
200115
200115
|
var starDotExtTestNocaseDot = (ext2) => {
|
|
200116
200116
|
ext2 = ext2.toLowerCase();
|
|
200117
|
-
return (
|
|
200117
|
+
return (f6) => f6.toLowerCase().endsWith(ext2);
|
|
200118
200118
|
};
|
|
200119
200119
|
var starDotStarRE = /^\*+\.\*+$/;
|
|
200120
|
-
var starDotStarTest = (
|
|
200121
|
-
var starDotStarTestDot = (
|
|
200120
|
+
var starDotStarTest = (f6) => !f6.startsWith(".") && f6.includes(".");
|
|
200121
|
+
var starDotStarTestDot = (f6) => f6 !== "." && f6 !== ".." && f6.includes(".");
|
|
200122
200122
|
var dotStarRE = /^\.\*+$/;
|
|
200123
|
-
var dotStarTest = (
|
|
200123
|
+
var dotStarTest = (f6) => f6 !== "." && f6 !== ".." && f6.startsWith(".");
|
|
200124
200124
|
var starRE = /^\*+$/;
|
|
200125
|
-
var starTest = (
|
|
200126
|
-
var starTestDot = (
|
|
200125
|
+
var starTest = (f6) => f6.length !== 0 && !f6.startsWith(".");
|
|
200126
|
+
var starTestDot = (f6) => f6.length !== 0 && f6 !== "." && f6 !== "..";
|
|
200127
200127
|
var qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
|
|
200128
200128
|
var qmarksTestNocase = ([$0, ext2 = ""]) => {
|
|
200129
200129
|
const noext = qmarksTestNoExt([$0]);
|
|
200130
200130
|
if (!ext2)
|
|
200131
200131
|
return noext;
|
|
200132
200132
|
ext2 = ext2.toLowerCase();
|
|
200133
|
-
return (
|
|
200133
|
+
return (f6) => noext(f6) && f6.toLowerCase().endsWith(ext2);
|
|
200134
200134
|
};
|
|
200135
200135
|
var qmarksTestNocaseDot = ([$0, ext2 = ""]) => {
|
|
200136
200136
|
const noext = qmarksTestNoExtDot([$0]);
|
|
200137
200137
|
if (!ext2)
|
|
200138
200138
|
return noext;
|
|
200139
200139
|
ext2 = ext2.toLowerCase();
|
|
200140
|
-
return (
|
|
200140
|
+
return (f6) => noext(f6) && f6.toLowerCase().endsWith(ext2);
|
|
200141
200141
|
};
|
|
200142
200142
|
var qmarksTestDot = ([$0, ext2 = ""]) => {
|
|
200143
200143
|
const noext = qmarksTestNoExtDot([$0]);
|
|
200144
|
-
return !ext2 ? noext : (
|
|
200144
|
+
return !ext2 ? noext : (f6) => noext(f6) && f6.endsWith(ext2);
|
|
200145
200145
|
};
|
|
200146
200146
|
var qmarksTest = ([$0, ext2 = ""]) => {
|
|
200147
200147
|
const noext = qmarksTestNoExt([$0]);
|
|
200148
|
-
return !ext2 ? noext : (
|
|
200148
|
+
return !ext2 ? noext : (f6) => noext(f6) && f6.endsWith(ext2);
|
|
200149
200149
|
};
|
|
200150
200150
|
var qmarksTestNoExt = ([$0]) => {
|
|
200151
200151
|
const len = $0.length;
|
|
200152
|
-
return (
|
|
200152
|
+
return (f6) => f6.length === len && !f6.startsWith(".");
|
|
200153
200153
|
};
|
|
200154
200154
|
var qmarksTestNoExtDot = ([$0]) => {
|
|
200155
200155
|
const len = $0.length;
|
|
200156
|
-
return (
|
|
200156
|
+
return (f6) => f6.length === len && f6 !== "." && f6 !== "..";
|
|
200157
200157
|
};
|
|
200158
200158
|
var defaultPlatform = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
|
|
200159
200159
|
var path = {
|
|
@@ -200220,7 +200220,7 @@ var makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe()
|
|
|
200220
200220
|
minimatch.makeRe = makeRe;
|
|
200221
200221
|
var match = (list, pattern, options = {}) => {
|
|
200222
200222
|
const mm = new Minimatch(pattern, options);
|
|
200223
|
-
list = list.filter((
|
|
200223
|
+
list = list.filter((f6) => mm.match(f6));
|
|
200224
200224
|
if (mm.options.nonull && !list.length) {
|
|
200225
200225
|
list.push(pattern);
|
|
200226
200226
|
}
|
|
@@ -200612,13 +200612,13 @@ var Minimatch = class {
|
|
|
200612
200612
|
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
200613
200613
|
this.debug("matchOne loop");
|
|
200614
200614
|
var p3 = pattern[pi];
|
|
200615
|
-
var
|
|
200616
|
-
this.debug(pattern, p3,
|
|
200615
|
+
var f6 = file[fi];
|
|
200616
|
+
this.debug(pattern, p3, f6);
|
|
200617
200617
|
if (p3 === false) {
|
|
200618
200618
|
return false;
|
|
200619
200619
|
}
|
|
200620
200620
|
if (p3 === GLOBSTAR) {
|
|
200621
|
-
this.debug("GLOBSTAR", [pattern, p3,
|
|
200621
|
+
this.debug("GLOBSTAR", [pattern, p3, f6]);
|
|
200622
200622
|
var fr = fi;
|
|
200623
200623
|
var pr = pi + 1;
|
|
200624
200624
|
if (pr === pl) {
|
|
@@ -200654,11 +200654,11 @@ var Minimatch = class {
|
|
|
200654
200654
|
}
|
|
200655
200655
|
let hit;
|
|
200656
200656
|
if (typeof p3 === "string") {
|
|
200657
|
-
hit =
|
|
200658
|
-
this.debug("string match", p3,
|
|
200657
|
+
hit = f6 === p3;
|
|
200658
|
+
this.debug("string match", p3, f6, hit);
|
|
200659
200659
|
} else {
|
|
200660
|
-
hit = p3.test(
|
|
200661
|
-
this.debug("pattern match", p3,
|
|
200660
|
+
hit = p3.test(f6);
|
|
200661
|
+
this.debug("pattern match", p3, f6, hit);
|
|
200662
200662
|
}
|
|
200663
200663
|
if (!hit)
|
|
200664
200664
|
return false;
|
|
@@ -200716,8 +200716,8 @@ var Minimatch = class {
|
|
|
200716
200716
|
let re = set.map((pattern) => {
|
|
200717
200717
|
const pp = pattern.map((p3) => {
|
|
200718
200718
|
if (p3 instanceof RegExp) {
|
|
200719
|
-
for (const
|
|
200720
|
-
flags.add(
|
|
200719
|
+
for (const f6 of p3.flags.split(""))
|
|
200720
|
+
flags.add(f6);
|
|
200721
200721
|
}
|
|
200722
200722
|
return typeof p3 === "string" ? regExpEscape2(p3) : p3 === GLOBSTAR ? GLOBSTAR : p3._src;
|
|
200723
200723
|
});
|
|
@@ -200762,22 +200762,22 @@ var Minimatch = class {
|
|
|
200762
200762
|
return p3.split(/\/+/);
|
|
200763
200763
|
}
|
|
200764
200764
|
}
|
|
200765
|
-
match(
|
|
200766
|
-
this.debug("match",
|
|
200765
|
+
match(f6, partial = this.partial) {
|
|
200766
|
+
this.debug("match", f6, this.pattern);
|
|
200767
200767
|
if (this.comment) {
|
|
200768
200768
|
return false;
|
|
200769
200769
|
}
|
|
200770
200770
|
if (this.empty) {
|
|
200771
|
-
return
|
|
200771
|
+
return f6 === "";
|
|
200772
200772
|
}
|
|
200773
|
-
if (
|
|
200773
|
+
if (f6 === "/" && partial) {
|
|
200774
200774
|
return true;
|
|
200775
200775
|
}
|
|
200776
200776
|
const options = this.options;
|
|
200777
200777
|
if (this.isWindows) {
|
|
200778
|
-
|
|
200778
|
+
f6 = f6.split("\\").join("/");
|
|
200779
200779
|
}
|
|
200780
|
-
const ff = this.slashSplit(
|
|
200780
|
+
const ff = this.slashSplit(f6);
|
|
200781
200781
|
this.debug(this.pattern, "split", ff);
|
|
200782
200782
|
const set = this.set;
|
|
200783
200783
|
this.debug(this.pattern, "set", set);
|
|
@@ -206206,13 +206206,13 @@ var NpmEcosystemFixingManager = class {
|
|
|
206206
206206
|
await this.applySecurityFixesSpecificPackageManager(fixes);
|
|
206207
206207
|
if (directDependenciesToBump.length === 0) return;
|
|
206208
206208
|
await applySeries(["prod", "dev"], async (type) => {
|
|
206209
|
-
const packagesOfType = directDependenciesToBump.filter((
|
|
206209
|
+
const packagesOfType = directDependenciesToBump.filter((f6) => directDependencyToPackageType[f6.dependencyName] === type).map((f6) => `${f6.dependencyName}@${f6.fixedVersion}`);
|
|
206210
206210
|
if (packagesOfType.length === 0) return;
|
|
206211
206211
|
await that.installSpecificPackages(workspacePath, type === "dev", packagesOfType);
|
|
206212
206212
|
});
|
|
206213
206213
|
}
|
|
206214
206214
|
async getDirectDependenciesToBump(_workspacePath, dependencyTree, fix) {
|
|
206215
|
-
return fix.filter((
|
|
206215
|
+
return fix.filter((f6) => dependencyTree.dependencies?.includes(f6.dependencyIdentifier));
|
|
206216
206216
|
}
|
|
206217
206217
|
};
|
|
206218
206218
|
|
|
@@ -206300,7 +206300,7 @@ var PnpmFixingManager = class extends NpmEcosystemFixingManager {
|
|
|
206300
206300
|
return lockFile;
|
|
206301
206301
|
}
|
|
206302
206302
|
async getDirectDependenciesToBump(workspacePath, dependencyTree, fix) {
|
|
206303
|
-
const directDepFixes = fix.filter((
|
|
206303
|
+
const directDepFixes = fix.filter((f6) => dependencyTree.dependencies?.includes(f6.dependencyIdentifier));
|
|
206304
206304
|
const lockFileYaml = await this.getLockFileYaml();
|
|
206305
206305
|
const wsImporters = lockFileYaml.importers[workspacePath];
|
|
206306
206306
|
const directDepsToBump = directDepFixes.filter((fix2) => {
|
|
@@ -206885,14 +206885,14 @@ var Cache = class _Cache {
|
|
|
206885
206885
|
}
|
|
206886
206886
|
// Converts key to lowercase before performing the set if absent
|
|
206887
206887
|
// Returns the associated value
|
|
206888
|
-
computeIfAbsent(key,
|
|
206888
|
+
computeIfAbsent(key, f6) {
|
|
206889
206889
|
const lowerKey = key.toLowerCase();
|
|
206890
|
-
this.cache[lowerKey] ??=
|
|
206890
|
+
this.cache[lowerKey] ??= f6();
|
|
206891
206891
|
return this.cache[lowerKey];
|
|
206892
206892
|
}
|
|
206893
|
-
compute(key,
|
|
206893
|
+
compute(key, f6) {
|
|
206894
206894
|
const lowerKey = key.toLowerCase();
|
|
206895
|
-
this.cache[lowerKey] ??=
|
|
206895
|
+
this.cache[lowerKey] ??= f6(this.cache[lowerKey]);
|
|
206896
206896
|
return this.cache[lowerKey];
|
|
206897
206897
|
}
|
|
206898
206898
|
putIfAbsent(key, value) {
|
|
@@ -207584,7 +207584,7 @@ var NuGetSocketUpgradeManager = class {
|
|
|
207584
207584
|
lockFileMatcher = (0, import_picomatch2.default)("packages.lock.json");
|
|
207585
207585
|
truthyValues = ["true", "yes", "on"];
|
|
207586
207586
|
async applySocketArtifactUpgrades(manifestFiles, upgrades, artifacts, rangeStyle) {
|
|
207587
|
-
if (manifestFiles.find((
|
|
207587
|
+
if (manifestFiles.find((f6) => this.lockFileMatcher(basename5(f6)))) {
|
|
207588
207588
|
throw Error(`Upgrading dependencies currently not supporte for NuGet projets with lockfiles`);
|
|
207589
207589
|
}
|
|
207590
207590
|
const caseInsensitiveManifestFileMap = new TransformMap((key) => key.toLowerCase());
|
|
@@ -207592,8 +207592,8 @@ var NuGetSocketUpgradeManager = class {
|
|
|
207592
207592
|
const fullPath = resolve18(this.rootDir, file);
|
|
207593
207593
|
caseInsensitiveManifestFileMap.set(fullPath, fullPath);
|
|
207594
207594
|
}
|
|
207595
|
-
const validateFile = (
|
|
207596
|
-
return caseInsensitiveManifestFileMap.get(
|
|
207595
|
+
const validateFile = (f6) => {
|
|
207596
|
+
return caseInsensitiveManifestFileMap.get(f6);
|
|
207597
207597
|
};
|
|
207598
207598
|
const preparePatchResults = await this.collectPreparePatches(manifestFiles, validateFile);
|
|
207599
207599
|
const preparePatchSuccesses = extractSuccessfulPatches(preparePatchResults);
|
|
@@ -209859,8 +209859,8 @@ function x(t4, ...o7) {
|
|
|
209859
209859
|
}
|
|
209860
209860
|
let a5 = [];
|
|
209861
209861
|
for (let i7 of n2) if (A(i7, a5, r3)) break;
|
|
209862
|
-
let { isSingle:
|
|
209863
|
-
n2 =
|
|
209862
|
+
let { isSingle: y10 } = r3.at(-1);
|
|
209863
|
+
n2 = y10 ? a5[0] : a5, p3 += r3.length;
|
|
209864
209864
|
}
|
|
209865
209865
|
return n2;
|
|
209866
209866
|
}
|
|
@@ -209868,8 +209868,8 @@ function A(t4, o7, n2) {
|
|
|
209868
209868
|
if (n2.length === 0) return o7.push(t4), false;
|
|
209869
209869
|
let u9 = t4, p3 = s4, e = false;
|
|
209870
209870
|
for (let [r3, a5] of n2.entries()) {
|
|
209871
|
-
let { index:
|
|
209872
|
-
if (i7.push(u9), p3 = a5(u9,
|
|
209871
|
+
let { index: y10, items: i7 } = a5;
|
|
209872
|
+
if (i7.push(u9), p3 = a5(u9, y10, i7), a5.index += 1, p3.hasNext) {
|
|
209873
209873
|
if (p3.hasMany ?? false) {
|
|
209874
209874
|
for (let l7 of p3.next) if (A(l7, o7, n2.slice(r3 + 1))) return true;
|
|
209875
209875
|
return e;
|
|
@@ -209957,9 +209957,9 @@ function m3(r3, n2) {
|
|
|
209957
209957
|
}
|
|
209958
209958
|
function u7(r3, n2, ...e) {
|
|
209959
209959
|
let o7 = typeof r3 == "function" ? r3 : r3[0], a5 = typeof r3 == "function" ? "asc" : r3[1], { [a5]: t4 } = T4, i7 = n2 === void 0 ? void 0 : u7(n2, ...e);
|
|
209960
|
-
return (
|
|
209961
|
-
let l7 = o7(
|
|
209962
|
-
return t4(l7, p3) ? 1 : t4(p3, l7) ? -1 : i7?.(
|
|
209960
|
+
return (y10, c4) => {
|
|
209961
|
+
let l7 = o7(y10), p3 = o7(c4);
|
|
209962
|
+
return t4(l7, p3) ? 1 : t4(p3, l7) ? -1 : i7?.(y10, c4) ?? 0;
|
|
209963
209963
|
};
|
|
209964
209964
|
}
|
|
209965
209965
|
function s5(r3) {
|
|
@@ -209980,14 +209980,29 @@ function c3(n2, r3) {
|
|
|
209980
209980
|
return o7;
|
|
209981
209981
|
}
|
|
209982
209982
|
|
|
209983
|
+
// ../../node_modules/.pnpm/remeda@2.14.0/node_modules/remeda/dist/chunk-RLZQTLGN.js
|
|
209984
|
+
function y8(...t4) {
|
|
209985
|
+
return u6(f5, t4);
|
|
209986
|
+
}
|
|
209987
|
+
function f5(t4, e) {
|
|
209988
|
+
if (!i6(e, 1)) return { ...t4 };
|
|
209989
|
+
if (!i6(e, 2)) {
|
|
209990
|
+
let { [e[0]]: r3, ...m4 } = t4;
|
|
209991
|
+
return m4;
|
|
209992
|
+
}
|
|
209993
|
+
let o7 = { ...t4 };
|
|
209994
|
+
for (let r3 of e) delete o7[r3];
|
|
209995
|
+
return o7;
|
|
209996
|
+
}
|
|
209997
|
+
|
|
209983
209998
|
// ../../node_modules/.pnpm/remeda@2.14.0/node_modules/remeda/dist/chunk-5KH5J3AC.js
|
|
209984
209999
|
function l6(...n2) {
|
|
209985
210000
|
return m3(u8, n2);
|
|
209986
210001
|
}
|
|
209987
|
-
function u8(n2,
|
|
210002
|
+
function u8(n2, y10) {
|
|
209988
210003
|
if (!i6(n2, 2)) return n2[0];
|
|
209989
210004
|
let [e] = n2, [, ...i7] = n2;
|
|
209990
|
-
for (let r3 of i7)
|
|
210005
|
+
for (let r3 of i7) y10(r3, e) < 0 && (e = r3);
|
|
209991
210006
|
return e;
|
|
209992
210007
|
}
|
|
209993
210008
|
|
|
@@ -210391,7 +210406,7 @@ ${vulnerabilityFixes.map((fix) => ` ${fix.dependencyName} (${fix.dependencyIdent
|
|
|
210391
210406
|
}
|
|
210392
210407
|
function computeInfoAboutOutdatedObjects(outdatedFixIds) {
|
|
210393
210408
|
return outdatedFixIds.map(([fix, fixes]) => `The original solution associated with fixId ${prettyStringFixDto(fix)} is outdated. Coana has found the updated solution:
|
|
210394
|
-
${fixes.fix.vulnerabilityFixes.map((
|
|
210409
|
+
${fixes.fix.vulnerabilityFixes.map((f6) => ` - ${f6.dependencyName} from v${f6.currentVersion} to v${f6.fixedVersion}`).join("\n")}`).join("\n\n");
|
|
210395
210410
|
}
|
|
210396
210411
|
async function verifyFixes(fixes, otherModulesCommunicator, rootPath) {
|
|
210397
210412
|
const pathsForEachFixIdData = fixes.map(({ vulnerabilityInstance: v }) => `${v.subprojectPath}/${v.workspacePath}-${v.ecosystem}`);
|
|
@@ -211683,6 +211698,76 @@ function init(open, close) {
|
|
|
211683
211698
|
}
|
|
211684
211699
|
var kleur_default = $;
|
|
211685
211700
|
|
|
211701
|
+
// ../../node_modules/.pnpm/yoctocolors@2.1.2/node_modules/yoctocolors/base.js
|
|
211702
|
+
import tty from "node:tty";
|
|
211703
|
+
var hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
|
|
211704
|
+
var format5 = (open, close) => {
|
|
211705
|
+
if (!hasColors) {
|
|
211706
|
+
return (input) => input;
|
|
211707
|
+
}
|
|
211708
|
+
const openCode = `\x1B[${open}m`;
|
|
211709
|
+
const closeCode = `\x1B[${close}m`;
|
|
211710
|
+
return (input) => {
|
|
211711
|
+
const string = input + "";
|
|
211712
|
+
let index2 = string.indexOf(closeCode);
|
|
211713
|
+
if (index2 === -1) {
|
|
211714
|
+
return openCode + string + closeCode;
|
|
211715
|
+
}
|
|
211716
|
+
let result = openCode;
|
|
211717
|
+
let lastIndex = 0;
|
|
211718
|
+
const reopenOnNestedClose = close === 22;
|
|
211719
|
+
const replaceCode = (reopenOnNestedClose ? closeCode : "") + openCode;
|
|
211720
|
+
while (index2 !== -1) {
|
|
211721
|
+
result += string.slice(lastIndex, index2) + replaceCode;
|
|
211722
|
+
lastIndex = index2 + closeCode.length;
|
|
211723
|
+
index2 = string.indexOf(closeCode, lastIndex);
|
|
211724
|
+
}
|
|
211725
|
+
result += string.slice(lastIndex) + closeCode;
|
|
211726
|
+
return result;
|
|
211727
|
+
};
|
|
211728
|
+
};
|
|
211729
|
+
var reset = format5(0, 0);
|
|
211730
|
+
var bold = format5(1, 22);
|
|
211731
|
+
var dim = format5(2, 22);
|
|
211732
|
+
var italic = format5(3, 23);
|
|
211733
|
+
var underline = format5(4, 24);
|
|
211734
|
+
var overline = format5(53, 55);
|
|
211735
|
+
var inverse = format5(7, 27);
|
|
211736
|
+
var hidden = format5(8, 28);
|
|
211737
|
+
var strikethrough = format5(9, 29);
|
|
211738
|
+
var black = format5(30, 39);
|
|
211739
|
+
var red = format5(31, 39);
|
|
211740
|
+
var green = format5(32, 39);
|
|
211741
|
+
var yellow = format5(33, 39);
|
|
211742
|
+
var blue = format5(34, 39);
|
|
211743
|
+
var magenta = format5(35, 39);
|
|
211744
|
+
var cyan = format5(36, 39);
|
|
211745
|
+
var white = format5(37, 39);
|
|
211746
|
+
var gray = format5(90, 39);
|
|
211747
|
+
var bgBlack = format5(40, 49);
|
|
211748
|
+
var bgRed = format5(41, 49);
|
|
211749
|
+
var bgGreen = format5(42, 49);
|
|
211750
|
+
var bgYellow = format5(43, 49);
|
|
211751
|
+
var bgBlue = format5(44, 49);
|
|
211752
|
+
var bgMagenta = format5(45, 49);
|
|
211753
|
+
var bgCyan = format5(46, 49);
|
|
211754
|
+
var bgWhite = format5(47, 49);
|
|
211755
|
+
var bgGray = format5(100, 49);
|
|
211756
|
+
var redBright = format5(91, 39);
|
|
211757
|
+
var greenBright = format5(92, 39);
|
|
211758
|
+
var yellowBright = format5(93, 39);
|
|
211759
|
+
var blueBright = format5(94, 39);
|
|
211760
|
+
var magentaBright = format5(95, 39);
|
|
211761
|
+
var cyanBright = format5(96, 39);
|
|
211762
|
+
var whiteBright = format5(97, 39);
|
|
211763
|
+
var bgRedBright = format5(101, 49);
|
|
211764
|
+
var bgGreenBright = format5(102, 49);
|
|
211765
|
+
var bgYellowBright = format5(103, 49);
|
|
211766
|
+
var bgBlueBright = format5(104, 49);
|
|
211767
|
+
var bgMagentaBright = format5(105, 49);
|
|
211768
|
+
var bgCyanBright = format5(106, 49);
|
|
211769
|
+
var bgWhiteBright = format5(107, 49);
|
|
211770
|
+
|
|
211686
211771
|
// dist/cli-core.js
|
|
211687
211772
|
var import_lodash15 = __toESM(require_lodash(), 1);
|
|
211688
211773
|
import os from "os";
|
|
@@ -212264,6 +212349,7 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
|
|
|
212264
212349
|
}
|
|
212265
212350
|
const artifactMap = new Map(artifacts.map((a5) => [a5.id, a5]));
|
|
212266
212351
|
const ecosystemToWorkspaceToAnalysisData = {};
|
|
212352
|
+
const ecosystemWorkspaceVulnIds = /* @__PURE__ */ new Set();
|
|
212267
212353
|
const ecosystemToWorkspaceToVulnerabilities = {};
|
|
212268
212354
|
const purlsFailedToFindWorkspace = /* @__PURE__ */ new Set();
|
|
212269
212355
|
for (const artifact of artifacts) {
|
|
@@ -212319,23 +212405,16 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
|
|
|
212319
212405
|
purlsFailedToFindWorkspace.add(purl);
|
|
212320
212406
|
}
|
|
212321
212407
|
for (const [workspace, manifestFiles2] of Object.entries(workspaceToManifestFiles)) {
|
|
212322
|
-
|
|
212323
|
-
|
|
212324
|
-
|
|
212325
|
-
|
|
212326
|
-
|
|
212327
|
-
|
|
212328
|
-
|
|
212329
|
-
|
|
212330
|
-
|
|
212331
|
-
|
|
212332
|
-
}
|
|
212333
|
-
};
|
|
212334
|
-
}
|
|
212335
|
-
const workspaceData = ecosystemToWorkspaceToAnalysisData[ecosystem][workspace];
|
|
212336
|
-
if (workspaceData.type === "socket") {
|
|
212337
|
-
workspaceData.data.artifacts.push(artifact);
|
|
212338
|
-
}
|
|
212408
|
+
const workspaceData = (ecosystemToWorkspaceToAnalysisData[ecosystem] ??= {})[workspace] ??= {
|
|
212409
|
+
type: "socket",
|
|
212410
|
+
data: {
|
|
212411
|
+
type: ecosystem,
|
|
212412
|
+
manifestFiles: manifestFiles2,
|
|
212413
|
+
artifacts: []
|
|
212414
|
+
}
|
|
212415
|
+
};
|
|
212416
|
+
workspaceData.type;
|
|
212417
|
+
workspaceData.data.artifacts.push(artifact);
|
|
212339
212418
|
}
|
|
212340
212419
|
if (artifact.vulnerabilities && artifact.vulnerabilities.length > 0) {
|
|
212341
212420
|
for (const workspace of Object.keys(workspaceToManifestFiles)) {
|
|
@@ -212351,7 +212430,11 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
|
|
|
212351
212430
|
ecosystem,
|
|
212352
212431
|
artifactId: artifact.id
|
|
212353
212432
|
};
|
|
212354
|
-
|
|
212433
|
+
const vulnId = `${ecosystem}-${workspace}-${vulnerability.url}`;
|
|
212434
|
+
if (!ecosystemWorkspaceVulnIds.has(vulnId)) {
|
|
212435
|
+
ecosystemWorkspaceVulnIds.add(vulnId);
|
|
212436
|
+
((ecosystemToWorkspaceToVulnerabilities[ecosystem] ??= {})[workspace] ??= []).push(vulnerability);
|
|
212437
|
+
}
|
|
212355
212438
|
}
|
|
212356
212439
|
}
|
|
212357
212440
|
}
|
|
@@ -212371,10 +212454,7 @@ ${mode === "reachability" ? "This means that we will not do a full reachability
|
|
|
212371
212454
|
}
|
|
212372
212455
|
}
|
|
212373
212456
|
function computeVulnChainDetails2(artifacts, vulnerableArtifactId) {
|
|
212374
|
-
const artifactMap =
|
|
212375
|
-
for (const artifact of artifacts) {
|
|
212376
|
-
artifactMap.set(artifact.id, artifact);
|
|
212377
|
-
}
|
|
212457
|
+
const artifactMap = new Map(artifacts.map((a5) => [a5.id, a5]));
|
|
212378
212458
|
const parentsMap = /* @__PURE__ */ new Map();
|
|
212379
212459
|
for (const artifact of artifacts) {
|
|
212380
212460
|
if (artifact.dependencies) {
|
|
@@ -212411,10 +212491,8 @@ function computeVulnChainDetails2(artifacts, vulnerableArtifactId) {
|
|
|
212411
212491
|
if (currentId === vulnerableArtifactId) {
|
|
212412
212492
|
newCurrentNode.vulnerable = true;
|
|
212413
212493
|
}
|
|
212414
|
-
if (currentArtifact.direct) {
|
|
212415
|
-
|
|
212416
|
-
res.children.push(currentId);
|
|
212417
|
-
}
|
|
212494
|
+
if (currentArtifact.direct && !res.children.includes(currentId)) {
|
|
212495
|
+
res.children.push(currentId);
|
|
212418
212496
|
}
|
|
212419
212497
|
visited.add(currentId);
|
|
212420
212498
|
if (parents4) {
|
|
@@ -226901,7 +226979,7 @@ var FixesTask = class {
|
|
|
226901
226979
|
);
|
|
226902
226980
|
return {
|
|
226903
226981
|
potentialVersionsForFix,
|
|
226904
|
-
vulnerabilityFixes: vulnerabilityFixes.filter((
|
|
226982
|
+
vulnerabilityFixes: vulnerabilityFixes.filter((f6) => f6.currentVersion !== f6.fixedVersion)
|
|
226905
226983
|
};
|
|
226906
226984
|
}
|
|
226907
226985
|
async chooseFixesFromPotentialVersionsForFix(vulnChainDetails, potentialVersionsForFix) {
|
|
@@ -227488,7 +227566,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
227488
227566
|
}
|
|
227489
227567
|
|
|
227490
227568
|
// dist/version.js
|
|
227491
|
-
var version2 = "14.12.
|
|
227569
|
+
var version2 = "14.12.40";
|
|
227492
227570
|
|
|
227493
227571
|
// dist/cli-core.js
|
|
227494
227572
|
var { mapValues, omit, partition, pick } = import_lodash15.default;
|
|
@@ -227656,8 +227734,19 @@ var CliCore = class {
|
|
|
227656
227734
|
if (subProjects.length > 0) {
|
|
227657
227735
|
this.dashboardAPI.registerSubprojects(subProjects, this.reportId, this.apiKey);
|
|
227658
227736
|
}
|
|
227737
|
+
const totalWorkspaces = Object.values(ecosystemToWorkspaceToAnalysisData).reduce((total, workspaces) => total + Object.keys(workspaces).length, 0);
|
|
227738
|
+
const totalEcosystemsCount = Object.keys(ecosystemToWorkspaceToAnalysisData).length;
|
|
227739
|
+
logger.info(bold(`Found ${totalWorkspaces} project${totalWorkspaces === 1 ? "" : "s"} across ${totalEcosystemsCount} ecosystem${totalEcosystemsCount === 1 ? "" : "s"} to analyze:`));
|
|
227740
|
+
Object.entries(ecosystemToWorkspaceToAnalysisData).forEach(([ecosystem, workspaceToAnalysisData]) => {
|
|
227741
|
+
const workspaces = Object.keys(workspaceToAnalysisData);
|
|
227742
|
+
logger.info(bold(` ${ecosystem} (${workspaces.length}):`));
|
|
227743
|
+
workspaces.forEach((workspace) => logger.info(bold(` ${workspace}`)));
|
|
227744
|
+
});
|
|
227659
227745
|
const vulnsWithResults = [];
|
|
227660
|
-
|
|
227746
|
+
const allEcosystems = Object.entries(ecosystemToWorkspaceToAnalysisData);
|
|
227747
|
+
const totalEcosystems = allEcosystems.length;
|
|
227748
|
+
let currentOverallWorkspace = 0;
|
|
227749
|
+
for (const [ecosystemIndex, [ecosystem, workspaceToAnalysisData]] of allEcosystems.entries()) {
|
|
227661
227750
|
this.sendProgress("RUN_ON_SUBPROJECT", true, this.rootWorkingDirectory);
|
|
227662
227751
|
const isEcosystemToAnalyze = !this.options.purlTypes || this.options.purlTypes.some((purlType) => getAdvisoryEcosystemFromPurlType(purlType) === ecosystem);
|
|
227663
227752
|
if (!isEcosystemToAnalyze) {
|
|
@@ -227671,7 +227760,11 @@ var CliCore = class {
|
|
|
227671
227760
|
otherModulesCommunicator,
|
|
227672
227761
|
this.rootWorkingDirectory,
|
|
227673
227762
|
ecosystem,
|
|
227674
|
-
["NPM", "PIP", "GO", "MAVEN", "NUGET", "RUST"].includes(ecosystem) && isEcosystemToAnalyze
|
|
227763
|
+
["NPM", "PIP", "GO", "MAVEN", "NUGET", "RUST"].includes(ecosystem) && isEcosystemToAnalyze,
|
|
227764
|
+
(workspaceName, workspaceNumber, totalWorkspacesForCurrentEcosystem) => {
|
|
227765
|
+
currentOverallWorkspace++;
|
|
227766
|
+
logger.info(bold(`Analyzing ecosystem ${ecosystem} for project ${workspaceName} (${workspaceNumber}/${totalWorkspacesForCurrentEcosystem}) - Overall progress: Project ${currentOverallWorkspace}/${totalWorkspaces}, ecosystem ${ecosystemIndex + 1}/${totalEcosystems}`));
|
|
227767
|
+
}
|
|
227675
227768
|
)).flat());
|
|
227676
227769
|
this.sendProgress("RUN_ON_SUBPROJECT", false, this.rootWorkingDirectory);
|
|
227677
227770
|
}
|
|
@@ -227915,8 +228008,11 @@ Subproject: ${subproject}`);
|
|
|
227915
228008
|
this.sendProgress("RUN_ON_SUBPROJECT", false, subProjAndWsPath.subprojectPath);
|
|
227916
228009
|
}
|
|
227917
228010
|
}
|
|
227918
|
-
async runReachabilityAnalysisForWorkspaces(workspacePathToDataForAnalysis, workspaceToVulnerabilities, workspaceToDirectDependencies, otherModulesCommunicator, subprojectPath, ecosystem, reachabilitySupported) {
|
|
227919
|
-
const
|
|
228011
|
+
async runReachabilityAnalysisForWorkspaces(workspacePathToDataForAnalysis, workspaceToVulnerabilities, workspaceToDirectDependencies, otherModulesCommunicator, subprojectPath, ecosystem, reachabilitySupported, analysisStarting) {
|
|
228012
|
+
const workspaces = Object.keys(workspacePathToDataForAnalysis);
|
|
228013
|
+
const totalWorkspaces = workspaces.length;
|
|
228014
|
+
const workspaceToAugmentedVulnerabilities = Object.fromEntries(await asyncMap(workspaces, async (workspacePath, index2) => {
|
|
228015
|
+
analysisStarting?.(workspacePath, index2 + 1, totalWorkspaces);
|
|
227920
228016
|
const vulnerabilities = workspaceToVulnerabilities[workspacePath] ?? [];
|
|
227921
228017
|
try {
|
|
227922
228018
|
const dataForAnalysis = workspacePathToDataForAnalysis[workspacePath];
|
|
@@ -228339,7 +228435,8 @@ async function computeFixesAndUpgradePurls(path2, options, logFile) {
|
|
|
228339
228435
|
}
|
|
228340
228436
|
const ghsaToVulnerableArtifactIdsToApply = options.applyFixesTo.includes("all") ? ghsaToVulnerableArtifactIds : Object.fromEntries(Object.entries(ghsaToVulnerableArtifactIds).filter(([ghsa]) => options.applyFixesTo.includes(ghsa)));
|
|
228341
228437
|
const computedFix = await useSocketComputeFixEndpoint(autofixRunId, artifacts, ghsaToVulnerableArtifactIdsToApply, {
|
|
228342
|
-
noMajorUpdates: options.disableMajorUpdates
|
|
228438
|
+
noMajorUpdates: options.disableMajorUpdates,
|
|
228439
|
+
minimumReleaseAgeInMinutes: options.minimumReleaseAgeInMinutes
|
|
228343
228440
|
});
|
|
228344
228441
|
if (computedFix.type !== "success") {
|
|
228345
228442
|
throw new Error(`No fix found for the given vulnerabilities`);
|
|
@@ -228531,7 +228628,7 @@ upgradePurls.name("upgrade-purls").argument("<path>", "File system path to the f
|
|
|
228531
228628
|
});
|
|
228532
228629
|
}).configureHelp({ sortOptions: true });
|
|
228533
228630
|
var computeFixesAndUpgradePurlsCmd = new Command();
|
|
228534
|
-
computeFixesAndUpgradePurlsCmd.name("compute-fixes-and-upgrade-purls").argument("<path>", "File system path to the folder containing the project").option("-a, --apply-fixes-to <ghsas...>", 'GHSA IDs to compute fixes for. Use "all" to compute fixes for all vulnerabilities.', []).option("--dry-run", "Show what changes would be made without actually making them", false).option("-g, --glob <pattern>", "Glob pattern to filter workspaces by absolute file path").option("-d, --debug", "Enable debug logging", false).option("-s, --silent", "Silence all debug/warning output", false).option("--silent-spinner", "Silence spinner", "CI" in process.env || !process.stdin.isTTY).option("--range-style <style>", 'Range style to use for the output. Currently only "pin" is supported and it only works for npm.').option("--disable-major-updates", "Do not suggest major updates. If only major update are available, the fix will not be applied.", false).option("-o, --output-file <file>", "Writes output to a JSON file").addOption(new Option("--run-without-docker", "Run package managers without using docker").default(process.env.RUN_WITHOUT_DOCKER === "true").hideHelp()).addOption(new Option("--manifests-tar-hash <hash>", "Hash of the tarball containing all manifest files already uploaded to Socket. If provided, Socket will be used for computing dependency trees.").hideHelp()).version(version2).action(async (path2, options) => {
|
|
228631
|
+
computeFixesAndUpgradePurlsCmd.name("compute-fixes-and-upgrade-purls").argument("<path>", "File system path to the folder containing the project").option("-a, --apply-fixes-to <ghsas...>", 'GHSA IDs to compute fixes for. Use "all" to compute fixes for all vulnerabilities.', []).option("--dry-run", "Show what changes would be made without actually making them", false).option("-g, --glob <pattern>", "Glob pattern to filter workspaces by absolute file path").option("-d, --debug", "Enable debug logging", false).option("-s, --silent", "Silence all debug/warning output", false).option("--silent-spinner", "Silence spinner", "CI" in process.env || !process.stdin.isTTY).option("--range-style <style>", 'Range style to use for the output. Currently only "pin" is supported and it only works for npm.').option("--disable-major-updates", "Do not suggest major updates. If only major update are available, the fix will not be applied.", false).option("-o, --output-file <file>", "Writes output to a JSON file").option("--minimum-release-age <minimumReleaseAge>", "Do not allow upgrades to package versions that are newer than minimumReleaseAge. Format is 2m, 5h, 3d or 1w").addOption(new Option("--run-without-docker", "Run package managers without using docker").default(process.env.RUN_WITHOUT_DOCKER === "true").hideHelp()).addOption(new Option("--manifests-tar-hash <hash>", "Hash of the tarball containing all manifest files already uploaded to Socket. If provided, Socket will be used for computing dependency trees.").hideHelp()).version(version2).action(async (path2, options) => {
|
|
228535
228632
|
process.env.DOCKER_IMAGE_TAG ??= version2;
|
|
228536
228633
|
if (options.outputFile && !options.outputFile.endsWith(".json")) {
|
|
228537
228634
|
throw new Error("Output file must have a .json extension");
|
|
@@ -228545,7 +228642,11 @@ computeFixesAndUpgradePurlsCmd.name("compute-fixes-and-upgrade-purls").argument(
|
|
|
228545
228642
|
await withTmpDirectory("compute-fixes-and-upgrade-purls", async (tmpDir) => {
|
|
228546
228643
|
const logFile = join28(tmpDir, "compute-fixes-and-upgrade-purls.log");
|
|
228547
228644
|
logger.initWinstonLogger(options.debug, logFile);
|
|
228548
|
-
const
|
|
228645
|
+
const optionsToUse = {
|
|
228646
|
+
...y8(options, ["minimumReleaseAge"]),
|
|
228647
|
+
minimumReleaseAgeInMinutes: options.minimumReleaseAge ? parseMinimumReleaseAgeToMinutes(options.minimumReleaseAge) : void 0
|
|
228648
|
+
};
|
|
228649
|
+
const output = await computeFixesAndUpgradePurls(path2, optionsToUse, logFile);
|
|
228549
228650
|
if (options.outputFile) {
|
|
228550
228651
|
const outputFile = resolve31(options.outputFile);
|
|
228551
228652
|
await mkdir3(dirname13(outputFile), { recursive: true });
|
|
@@ -228592,6 +228693,23 @@ var defaultCliOptions = {
|
|
|
228592
228693
|
disableAnalyticsSharing: false,
|
|
228593
228694
|
skipCacheUsage: false
|
|
228594
228695
|
};
|
|
228696
|
+
function parseMinimumReleaseAgeToMinutes(minimumReleaseAge) {
|
|
228697
|
+
const match2 = minimumReleaseAge.match(/^(\d+)([mhdw])$/);
|
|
228698
|
+
if (!match2)
|
|
228699
|
+
throw new Error("Invalid minimum release age. Format is 2m, 5h, 3d or 1w");
|
|
228700
|
+
const value = parseInt(match2[1]);
|
|
228701
|
+
const unit = match2[2];
|
|
228702
|
+
switch (unit) {
|
|
228703
|
+
case "m":
|
|
228704
|
+
return value;
|
|
228705
|
+
case "h":
|
|
228706
|
+
return value * 60;
|
|
228707
|
+
case "d":
|
|
228708
|
+
return value * 60 * 24;
|
|
228709
|
+
case "w":
|
|
228710
|
+
return value * 60 * 24 * 7;
|
|
228711
|
+
}
|
|
228712
|
+
}
|
|
228595
228713
|
export {
|
|
228596
228714
|
defaultCliOptions
|
|
228597
228715
|
};
|