@coana-tech/cli 14.12.201 → 14.12.203
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 +239 -369
- package/package.json +1 -1
- package/reachability-analyzers-cli.mjs +2007 -1343
- 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/javap-service/javap-service.jar +0 -0
- package/repos/coana-tech/spar/sparjs-aarch64-apple-darwin.gz +0 -0
- package/repos/coana-tech/spar/sparjs-aarch64-unknown-linux-musl.gz +0 -0
- package/repos/coana-tech/spar/sparjs-x86_64-apple-darwin.gz +0 -0
- package/repos/coana-tech/spar/sparjs-x86_64-unknown-linux-musl.gz +0 -0
package/cli.mjs
CHANGED
|
@@ -13387,7 +13387,7 @@ var require_ms = __commonJS({
|
|
|
13387
13387
|
options = options || {};
|
|
13388
13388
|
var type = typeof val2;
|
|
13389
13389
|
if (type === "string" && val2.length > 0) {
|
|
13390
|
-
return
|
|
13390
|
+
return parse16(val2);
|
|
13391
13391
|
} else if (type === "number" && isFinite(val2)) {
|
|
13392
13392
|
return options.long ? fmtLong(val2) : fmtShort(val2);
|
|
13393
13393
|
}
|
|
@@ -13395,7 +13395,7 @@ var require_ms = __commonJS({
|
|
|
13395
13395
|
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val2)
|
|
13396
13396
|
);
|
|
13397
13397
|
};
|
|
13398
|
-
function
|
|
13398
|
+
function parse16(str) {
|
|
13399
13399
|
str = String(str);
|
|
13400
13400
|
if (str.length > 100) {
|
|
13401
13401
|
return;
|
|
@@ -15272,7 +15272,7 @@ var require_parse = __commonJS({
|
|
|
15272
15272
|
var syntaxError = (type, char) => {
|
|
15273
15273
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
15274
15274
|
};
|
|
15275
|
-
var
|
|
15275
|
+
var parse16 = (input, options) => {
|
|
15276
15276
|
if (typeof input !== "string") {
|
|
15277
15277
|
throw new TypeError("Expected a string");
|
|
15278
15278
|
}
|
|
@@ -15420,7 +15420,7 @@ var require_parse = __commonJS({
|
|
|
15420
15420
|
output = token.close = `)$))${extglobStar}`;
|
|
15421
15421
|
}
|
|
15422
15422
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
15423
|
-
const expression =
|
|
15423
|
+
const expression = parse16(rest, { ...options, fastpaths: false }).output;
|
|
15424
15424
|
output = token.close = `)${expression})${extglobStar})`;
|
|
15425
15425
|
}
|
|
15426
15426
|
if (token.prev.type === "bos") {
|
|
@@ -15942,7 +15942,7 @@ var require_parse = __commonJS({
|
|
|
15942
15942
|
}
|
|
15943
15943
|
return state;
|
|
15944
15944
|
};
|
|
15945
|
-
|
|
15945
|
+
parse16.fastpaths = (input, options) => {
|
|
15946
15946
|
const opts = { ...options };
|
|
15947
15947
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
15948
15948
|
const len = input.length;
|
|
@@ -16007,7 +16007,7 @@ var require_parse = __commonJS({
|
|
|
16007
16007
|
}
|
|
16008
16008
|
return source;
|
|
16009
16009
|
};
|
|
16010
|
-
module2.exports =
|
|
16010
|
+
module2.exports = parse16;
|
|
16011
16011
|
}
|
|
16012
16012
|
});
|
|
16013
16013
|
|
|
@@ -16016,7 +16016,7 @@ var require_picomatch = __commonJS({
|
|
|
16016
16016
|
"../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
|
|
16017
16017
|
"use strict";
|
|
16018
16018
|
var scan = require_scan();
|
|
16019
|
-
var
|
|
16019
|
+
var parse16 = require_parse();
|
|
16020
16020
|
var utils = require_utils();
|
|
16021
16021
|
var constants4 = require_constants();
|
|
16022
16022
|
var isObject2 = (val2) => val2 && typeof val2 === "object" && !Array.isArray(val2);
|
|
@@ -16104,7 +16104,7 @@ var require_picomatch = __commonJS({
|
|
|
16104
16104
|
picomatch11.isMatch = (str, patterns, options) => picomatch11(patterns, options)(str);
|
|
16105
16105
|
picomatch11.parse = (pattern, options) => {
|
|
16106
16106
|
if (Array.isArray(pattern)) return pattern.map((p3) => picomatch11.parse(p3, options));
|
|
16107
|
-
return
|
|
16107
|
+
return parse16(pattern, { ...options, fastpaths: false });
|
|
16108
16108
|
};
|
|
16109
16109
|
picomatch11.scan = (input, options) => scan(input, options);
|
|
16110
16110
|
picomatch11.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -16130,10 +16130,10 @@ var require_picomatch = __commonJS({
|
|
|
16130
16130
|
}
|
|
16131
16131
|
let parsed = { negated: false, fastpaths: true };
|
|
16132
16132
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
16133
|
-
parsed.output =
|
|
16133
|
+
parsed.output = parse16.fastpaths(input, options);
|
|
16134
16134
|
}
|
|
16135
16135
|
if (!parsed.output) {
|
|
16136
|
-
parsed =
|
|
16136
|
+
parsed = parse16(input, options);
|
|
16137
16137
|
}
|
|
16138
16138
|
return picomatch11.compileRe(parsed, options, returnOutput, returnState);
|
|
16139
16139
|
};
|
|
@@ -16168,9 +16168,9 @@ var require_picomatch2 = __commonJS({
|
|
|
16168
16168
|
}
|
|
16169
16169
|
});
|
|
16170
16170
|
|
|
16171
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
16171
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/format.js
|
|
16172
16172
|
var require_format = __commonJS({
|
|
16173
|
-
"../../node_modules/.pnpm/logform@2.
|
|
16173
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/format.js"(exports2, module2) {
|
|
16174
16174
|
"use strict";
|
|
16175
16175
|
var InvalidFormatError = class _InvalidFormatError extends Error {
|
|
16176
16176
|
constructor(formatFn) {
|
|
@@ -16976,9 +16976,9 @@ var require_triple_beam = __commonJS({
|
|
|
16976
16976
|
}
|
|
16977
16977
|
});
|
|
16978
16978
|
|
|
16979
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
16979
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/colorize.js
|
|
16980
16980
|
var require_colorize = __commonJS({
|
|
16981
|
-
"../../node_modules/.pnpm/logform@2.
|
|
16981
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/colorize.js"(exports2, module2) {
|
|
16982
16982
|
"use strict";
|
|
16983
16983
|
var colors = require_safe();
|
|
16984
16984
|
var { LEVEL, MESSAGE } = require_triple_beam();
|
|
@@ -17053,9 +17053,9 @@ var require_colorize = __commonJS({
|
|
|
17053
17053
|
}
|
|
17054
17054
|
});
|
|
17055
17055
|
|
|
17056
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17056
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/levels.js
|
|
17057
17057
|
var require_levels = __commonJS({
|
|
17058
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17058
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/levels.js"(exports2, module2) {
|
|
17059
17059
|
"use strict";
|
|
17060
17060
|
var { Colorizer } = require_colorize();
|
|
17061
17061
|
module2.exports = (config3) => {
|
|
@@ -17065,9 +17065,9 @@ var require_levels = __commonJS({
|
|
|
17065
17065
|
}
|
|
17066
17066
|
});
|
|
17067
17067
|
|
|
17068
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17068
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/align.js
|
|
17069
17069
|
var require_align = __commonJS({
|
|
17070
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17070
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/align.js"(exports2, module2) {
|
|
17071
17071
|
"use strict";
|
|
17072
17072
|
var format6 = require_format();
|
|
17073
17073
|
module2.exports = format6((info) => {
|
|
@@ -17077,9 +17077,9 @@ var require_align = __commonJS({
|
|
|
17077
17077
|
}
|
|
17078
17078
|
});
|
|
17079
17079
|
|
|
17080
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17080
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/errors.js
|
|
17081
17081
|
var require_errors = __commonJS({
|
|
17082
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17082
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/errors.js"(exports2, module2) {
|
|
17083
17083
|
"use strict";
|
|
17084
17084
|
var format6 = require_format();
|
|
17085
17085
|
var { LEVEL, MESSAGE } = require_triple_beam();
|
|
@@ -17107,9 +17107,9 @@ var require_errors = __commonJS({
|
|
|
17107
17107
|
}
|
|
17108
17108
|
});
|
|
17109
17109
|
|
|
17110
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17110
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/pad-levels.js
|
|
17111
17111
|
var require_pad_levels = __commonJS({
|
|
17112
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17112
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/pad-levels.js"(exports2, module2) {
|
|
17113
17113
|
"use strict";
|
|
17114
17114
|
var { configs, LEVEL, MESSAGE } = require_triple_beam();
|
|
17115
17115
|
var Padder = class _Padder {
|
|
@@ -17178,9 +17178,9 @@ var require_pad_levels = __commonJS({
|
|
|
17178
17178
|
}
|
|
17179
17179
|
});
|
|
17180
17180
|
|
|
17181
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17181
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/cli.js
|
|
17182
17182
|
var require_cli2 = __commonJS({
|
|
17183
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17183
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/cli.js"(exports2, module2) {
|
|
17184
17184
|
"use strict";
|
|
17185
17185
|
var { Colorizer } = require_colorize();
|
|
17186
17186
|
var { Padder } = require_pad_levels();
|
|
@@ -17215,9 +17215,9 @@ var require_cli2 = __commonJS({
|
|
|
17215
17215
|
}
|
|
17216
17216
|
});
|
|
17217
17217
|
|
|
17218
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17218
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/combine.js
|
|
17219
17219
|
var require_combine = __commonJS({
|
|
17220
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17220
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/combine.js"(exports2, module2) {
|
|
17221
17221
|
"use strict";
|
|
17222
17222
|
var format6 = require_format();
|
|
17223
17223
|
function cascade(formats) {
|
|
@@ -17839,9 +17839,9 @@ ${originalIndentation}`;
|
|
|
17839
17839
|
}
|
|
17840
17840
|
});
|
|
17841
17841
|
|
|
17842
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17842
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/json.js
|
|
17843
17843
|
var require_json = __commonJS({
|
|
17844
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17844
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/json.js"(exports2, module2) {
|
|
17845
17845
|
"use strict";
|
|
17846
17846
|
var format6 = require_format();
|
|
17847
17847
|
var { MESSAGE } = require_triple_beam();
|
|
@@ -17859,9 +17859,9 @@ var require_json = __commonJS({
|
|
|
17859
17859
|
}
|
|
17860
17860
|
});
|
|
17861
17861
|
|
|
17862
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17862
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/label.js
|
|
17863
17863
|
var require_label = __commonJS({
|
|
17864
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17864
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/label.js"(exports2, module2) {
|
|
17865
17865
|
"use strict";
|
|
17866
17866
|
var format6 = require_format();
|
|
17867
17867
|
module2.exports = format6((info, opts) => {
|
|
@@ -17875,9 +17875,9 @@ var require_label = __commonJS({
|
|
|
17875
17875
|
}
|
|
17876
17876
|
});
|
|
17877
17877
|
|
|
17878
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17878
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/logstash.js
|
|
17879
17879
|
var require_logstash = __commonJS({
|
|
17880
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17880
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/logstash.js"(exports2, module2) {
|
|
17881
17881
|
"use strict";
|
|
17882
17882
|
var format6 = require_format();
|
|
17883
17883
|
var { MESSAGE } = require_triple_beam();
|
|
@@ -17899,9 +17899,9 @@ var require_logstash = __commonJS({
|
|
|
17899
17899
|
}
|
|
17900
17900
|
});
|
|
17901
17901
|
|
|
17902
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
17902
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/metadata.js
|
|
17903
17903
|
var require_metadata = __commonJS({
|
|
17904
|
-
"../../node_modules/.pnpm/logform@2.
|
|
17904
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/metadata.js"(exports2, module2) {
|
|
17905
17905
|
"use strict";
|
|
17906
17906
|
var format6 = require_format();
|
|
17907
17907
|
function fillExcept(info, fillExceptKeys, metadataKey) {
|
|
@@ -17965,7 +17965,7 @@ var require_ms2 = __commonJS({
|
|
|
17965
17965
|
options = options || {};
|
|
17966
17966
|
var type = typeof val2;
|
|
17967
17967
|
if (type === "string" && val2.length > 0) {
|
|
17968
|
-
return
|
|
17968
|
+
return parse16(val2);
|
|
17969
17969
|
} else if (type === "number" && isFinite(val2)) {
|
|
17970
17970
|
return options.long ? fmtLong(val2) : fmtShort(val2);
|
|
17971
17971
|
}
|
|
@@ -17973,7 +17973,7 @@ var require_ms2 = __commonJS({
|
|
|
17973
17973
|
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val2)
|
|
17974
17974
|
);
|
|
17975
17975
|
};
|
|
17976
|
-
function
|
|
17976
|
+
function parse16(str) {
|
|
17977
17977
|
str = String(str);
|
|
17978
17978
|
if (str.length > 100) {
|
|
17979
17979
|
return;
|
|
@@ -18068,9 +18068,9 @@ var require_ms2 = __commonJS({
|
|
|
18068
18068
|
}
|
|
18069
18069
|
});
|
|
18070
18070
|
|
|
18071
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
18071
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/ms.js
|
|
18072
18072
|
var require_ms3 = __commonJS({
|
|
18073
|
-
"../../node_modules/.pnpm/logform@2.
|
|
18073
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/ms.js"(exports2, module2) {
|
|
18074
18074
|
"use strict";
|
|
18075
18075
|
var format6 = require_format();
|
|
18076
18076
|
var ms = require_ms2();
|
|
@@ -18084,9 +18084,9 @@ var require_ms3 = __commonJS({
|
|
|
18084
18084
|
}
|
|
18085
18085
|
});
|
|
18086
18086
|
|
|
18087
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
18087
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/pretty-print.js
|
|
18088
18088
|
var require_pretty_print = __commonJS({
|
|
18089
|
-
"../../node_modules/.pnpm/logform@2.
|
|
18089
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/pretty-print.js"(exports2, module2) {
|
|
18090
18090
|
"use strict";
|
|
18091
18091
|
var inspect = __require("util").inspect;
|
|
18092
18092
|
var format6 = require_format();
|
|
@@ -18102,9 +18102,9 @@ var require_pretty_print = __commonJS({
|
|
|
18102
18102
|
}
|
|
18103
18103
|
});
|
|
18104
18104
|
|
|
18105
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
18105
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/printf.js
|
|
18106
18106
|
var require_printf = __commonJS({
|
|
18107
|
-
"../../node_modules/.pnpm/logform@2.
|
|
18107
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/printf.js"(exports2, module2) {
|
|
18108
18108
|
"use strict";
|
|
18109
18109
|
var { MESSAGE } = require_triple_beam();
|
|
18110
18110
|
var Printf = class {
|
|
@@ -18121,9 +18121,9 @@ var require_printf = __commonJS({
|
|
|
18121
18121
|
}
|
|
18122
18122
|
});
|
|
18123
18123
|
|
|
18124
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
18124
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/simple.js
|
|
18125
18125
|
var require_simple = __commonJS({
|
|
18126
|
-
"../../node_modules/.pnpm/logform@2.
|
|
18126
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/simple.js"(exports2, module2) {
|
|
18127
18127
|
"use strict";
|
|
18128
18128
|
var format6 = require_format();
|
|
18129
18129
|
var { MESSAGE } = require_triple_beam();
|
|
@@ -18145,9 +18145,9 @@ var require_simple = __commonJS({
|
|
|
18145
18145
|
}
|
|
18146
18146
|
});
|
|
18147
18147
|
|
|
18148
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
18148
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/splat.js
|
|
18149
18149
|
var require_splat = __commonJS({
|
|
18150
|
-
"../../node_modules/.pnpm/logform@2.
|
|
18150
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/splat.js"(exports2, module2) {
|
|
18151
18151
|
"use strict";
|
|
18152
18152
|
var util5 = __require("util");
|
|
18153
18153
|
var { SPLAT } = require_triple_beam();
|
|
@@ -18521,7 +18521,7 @@ var require_fecha_umd = __commonJS({
|
|
|
18521
18521
|
return literals.shift();
|
|
18522
18522
|
});
|
|
18523
18523
|
};
|
|
18524
|
-
function
|
|
18524
|
+
function parse16(dateStr, format7, i18n) {
|
|
18525
18525
|
if (i18n === void 0) {
|
|
18526
18526
|
i18n = {};
|
|
18527
18527
|
}
|
|
@@ -18616,7 +18616,7 @@ var require_fecha_umd = __commonJS({
|
|
|
18616
18616
|
}
|
|
18617
18617
|
var fecha = {
|
|
18618
18618
|
format: format6,
|
|
18619
|
-
parse:
|
|
18619
|
+
parse: parse16,
|
|
18620
18620
|
defaultI18n,
|
|
18621
18621
|
setGlobalDateI18n,
|
|
18622
18622
|
setGlobalDateMasks
|
|
@@ -18624,7 +18624,7 @@ var require_fecha_umd = __commonJS({
|
|
|
18624
18624
|
exports3.assign = assign;
|
|
18625
18625
|
exports3.default = fecha;
|
|
18626
18626
|
exports3.format = format6;
|
|
18627
|
-
exports3.parse =
|
|
18627
|
+
exports3.parse = parse16;
|
|
18628
18628
|
exports3.defaultI18n = defaultI18n;
|
|
18629
18629
|
exports3.setGlobalDateI18n = setGlobalDateI18n;
|
|
18630
18630
|
exports3.setGlobalDateMasks = setGlobalDateMasks;
|
|
@@ -18633,9 +18633,9 @@ var require_fecha_umd = __commonJS({
|
|
|
18633
18633
|
}
|
|
18634
18634
|
});
|
|
18635
18635
|
|
|
18636
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
18636
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/timestamp.js
|
|
18637
18637
|
var require_timestamp = __commonJS({
|
|
18638
|
-
"../../node_modules/.pnpm/logform@2.
|
|
18638
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/timestamp.js"(exports2, module2) {
|
|
18639
18639
|
"use strict";
|
|
18640
18640
|
var fecha = require_fecha_umd();
|
|
18641
18641
|
var format6 = require_format();
|
|
@@ -18654,9 +18654,9 @@ var require_timestamp = __commonJS({
|
|
|
18654
18654
|
}
|
|
18655
18655
|
});
|
|
18656
18656
|
|
|
18657
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
18657
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/uncolorize.js
|
|
18658
18658
|
var require_uncolorize = __commonJS({
|
|
18659
|
-
"../../node_modules/.pnpm/logform@2.
|
|
18659
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/uncolorize.js"(exports2, module2) {
|
|
18660
18660
|
"use strict";
|
|
18661
18661
|
var colors = require_safe();
|
|
18662
18662
|
var format6 = require_format();
|
|
@@ -18676,9 +18676,9 @@ var require_uncolorize = __commonJS({
|
|
|
18676
18676
|
}
|
|
18677
18677
|
});
|
|
18678
18678
|
|
|
18679
|
-
// ../../node_modules/.pnpm/logform@2.
|
|
18679
|
+
// ../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/index.js
|
|
18680
18680
|
var require_logform = __commonJS({
|
|
18681
|
-
"../../node_modules/.pnpm/logform@2.
|
|
18681
|
+
"../../node_modules/.pnpm/logform@2.7.0/node_modules/logform/index.js"(exports2) {
|
|
18682
18682
|
"use strict";
|
|
18683
18683
|
var format6 = exports2.format = require_format();
|
|
18684
18684
|
exports2.levels = require_levels();
|
|
@@ -21363,9 +21363,9 @@ var require_stream_writable = __commonJS({
|
|
|
21363
21363
|
}
|
|
21364
21364
|
});
|
|
21365
21365
|
|
|
21366
|
-
// ../../node_modules/.pnpm/winston-transport@4.
|
|
21366
|
+
// ../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/modern.js
|
|
21367
21367
|
var require_modern = __commonJS({
|
|
21368
|
-
"../../node_modules/.pnpm/winston-transport@4.
|
|
21368
|
+
"../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/modern.js"(exports2, module2) {
|
|
21369
21369
|
"use strict";
|
|
21370
21370
|
var util5 = __require("util");
|
|
21371
21371
|
var Writable = require_stream_writable();
|
|
@@ -21475,9 +21475,9 @@ var require_modern = __commonJS({
|
|
|
21475
21475
|
}
|
|
21476
21476
|
});
|
|
21477
21477
|
|
|
21478
|
-
// ../../node_modules/.pnpm/winston-transport@4.
|
|
21478
|
+
// ../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/legacy.js
|
|
21479
21479
|
var require_legacy = __commonJS({
|
|
21480
|
-
"../../node_modules/.pnpm/winston-transport@4.
|
|
21480
|
+
"../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/legacy.js"(exports2, module2) {
|
|
21481
21481
|
"use strict";
|
|
21482
21482
|
var util5 = __require("util");
|
|
21483
21483
|
var { LEVEL } = require_triple_beam();
|
|
@@ -21541,9 +21541,9 @@ var require_legacy = __commonJS({
|
|
|
21541
21541
|
}
|
|
21542
21542
|
});
|
|
21543
21543
|
|
|
21544
|
-
// ../../node_modules/.pnpm/winston-transport@4.
|
|
21544
|
+
// ../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/index.js
|
|
21545
21545
|
var require_winston_transport = __commonJS({
|
|
21546
|
-
"../../node_modules/.pnpm/winston-transport@4.
|
|
21546
|
+
"../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/index.js"(exports2, module2) {
|
|
21547
21547
|
"use strict";
|
|
21548
21548
|
module2.exports = require_modern();
|
|
21549
21549
|
module2.exports.LegacyTransportStream = require_legacy();
|
|
@@ -37910,7 +37910,7 @@ var require_parse2 = __commonJS({
|
|
|
37910
37910
|
CHAR_NO_BREAK_SPACE,
|
|
37911
37911
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
37912
37912
|
} = require_constants2();
|
|
37913
|
-
var
|
|
37913
|
+
var parse16 = (input, options = {}) => {
|
|
37914
37914
|
if (typeof input !== "string") {
|
|
37915
37915
|
throw new TypeError("Expected a string");
|
|
37916
37916
|
}
|
|
@@ -38112,7 +38112,7 @@ var require_parse2 = __commonJS({
|
|
|
38112
38112
|
push2({ type: "eos" });
|
|
38113
38113
|
return ast;
|
|
38114
38114
|
};
|
|
38115
|
-
module2.exports =
|
|
38115
|
+
module2.exports = parse16;
|
|
38116
38116
|
}
|
|
38117
38117
|
});
|
|
38118
38118
|
|
|
@@ -38123,7 +38123,7 @@ var require_braces = __commonJS({
|
|
|
38123
38123
|
var stringify3 = require_stringify();
|
|
38124
38124
|
var compile4 = require_compile();
|
|
38125
38125
|
var expand2 = require_expand();
|
|
38126
|
-
var
|
|
38126
|
+
var parse16 = require_parse2();
|
|
38127
38127
|
var braces = (input, options = {}) => {
|
|
38128
38128
|
let output = [];
|
|
38129
38129
|
if (Array.isArray(input)) {
|
|
@@ -38143,7 +38143,7 @@ var require_braces = __commonJS({
|
|
|
38143
38143
|
}
|
|
38144
38144
|
return output;
|
|
38145
38145
|
};
|
|
38146
|
-
braces.parse = (input, options = {}) =>
|
|
38146
|
+
braces.parse = (input, options = {}) => parse16(input, options);
|
|
38147
38147
|
braces.stringify = (input, options = {}) => {
|
|
38148
38148
|
if (typeof input === "string") {
|
|
38149
38149
|
return stringify3(braces.parse(input, options), options);
|
|
@@ -38796,7 +38796,7 @@ var require_parse3 = __commonJS({
|
|
|
38796
38796
|
var syntaxError = (type, char) => {
|
|
38797
38797
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
38798
38798
|
};
|
|
38799
|
-
var
|
|
38799
|
+
var parse16 = (input, options) => {
|
|
38800
38800
|
if (typeof input !== "string") {
|
|
38801
38801
|
throw new TypeError("Expected a string");
|
|
38802
38802
|
}
|
|
@@ -38945,7 +38945,7 @@ var require_parse3 = __commonJS({
|
|
|
38945
38945
|
output = token.close = `)$))${extglobStar}`;
|
|
38946
38946
|
}
|
|
38947
38947
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
38948
|
-
const expression =
|
|
38948
|
+
const expression = parse16(rest, { ...options, fastpaths: false }).output;
|
|
38949
38949
|
output = token.close = `)${expression})${extglobStar})`;
|
|
38950
38950
|
}
|
|
38951
38951
|
if (token.prev.type === "bos") {
|
|
@@ -39470,7 +39470,7 @@ var require_parse3 = __commonJS({
|
|
|
39470
39470
|
}
|
|
39471
39471
|
return state;
|
|
39472
39472
|
};
|
|
39473
|
-
|
|
39473
|
+
parse16.fastpaths = (input, options) => {
|
|
39474
39474
|
const opts = { ...options };
|
|
39475
39475
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
39476
39476
|
const len = input.length;
|
|
@@ -39536,7 +39536,7 @@ var require_parse3 = __commonJS({
|
|
|
39536
39536
|
}
|
|
39537
39537
|
return source;
|
|
39538
39538
|
};
|
|
39539
|
-
module2.exports =
|
|
39539
|
+
module2.exports = parse16;
|
|
39540
39540
|
}
|
|
39541
39541
|
});
|
|
39542
39542
|
|
|
@@ -39546,7 +39546,7 @@ var require_picomatch3 = __commonJS({
|
|
|
39546
39546
|
"use strict";
|
|
39547
39547
|
var path9 = __require("path");
|
|
39548
39548
|
var scan = require_scan2();
|
|
39549
|
-
var
|
|
39549
|
+
var parse16 = require_parse3();
|
|
39550
39550
|
var utils = require_utils3();
|
|
39551
39551
|
var constants4 = require_constants3();
|
|
39552
39552
|
var isObject2 = (val2) => val2 && typeof val2 === "object" && !Array.isArray(val2);
|
|
@@ -39634,7 +39634,7 @@ var require_picomatch3 = __commonJS({
|
|
|
39634
39634
|
picomatch11.isMatch = (str, patterns, options) => picomatch11(patterns, options)(str);
|
|
39635
39635
|
picomatch11.parse = (pattern, options) => {
|
|
39636
39636
|
if (Array.isArray(pattern)) return pattern.map((p3) => picomatch11.parse(p3, options));
|
|
39637
|
-
return
|
|
39637
|
+
return parse16(pattern, { ...options, fastpaths: false });
|
|
39638
39638
|
};
|
|
39639
39639
|
picomatch11.scan = (input, options) => scan(input, options);
|
|
39640
39640
|
picomatch11.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -39660,10 +39660,10 @@ var require_picomatch3 = __commonJS({
|
|
|
39660
39660
|
}
|
|
39661
39661
|
let parsed = { negated: false, fastpaths: true };
|
|
39662
39662
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
39663
|
-
parsed.output =
|
|
39663
|
+
parsed.output = parse16.fastpaths(input, options);
|
|
39664
39664
|
}
|
|
39665
39665
|
if (!parsed.output) {
|
|
39666
|
-
parsed =
|
|
39666
|
+
parsed = parse16(input, options);
|
|
39667
39667
|
}
|
|
39668
39668
|
return picomatch11.compileRe(parsed, options, returnOutput, returnState);
|
|
39669
39669
|
};
|
|
@@ -40282,7 +40282,7 @@ var require_parse4 = __commonJS({
|
|
|
40282
40282
|
"../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js"(exports2, module2) {
|
|
40283
40283
|
"use strict";
|
|
40284
40284
|
var SemVer = require_semver();
|
|
40285
|
-
var
|
|
40285
|
+
var parse16 = (version4, options, throwErrors = false) => {
|
|
40286
40286
|
if (version4 instanceof SemVer) {
|
|
40287
40287
|
return version4;
|
|
40288
40288
|
}
|
|
@@ -40295,7 +40295,7 @@ var require_parse4 = __commonJS({
|
|
|
40295
40295
|
throw er;
|
|
40296
40296
|
}
|
|
40297
40297
|
};
|
|
40298
|
-
module2.exports =
|
|
40298
|
+
module2.exports = parse16;
|
|
40299
40299
|
}
|
|
40300
40300
|
});
|
|
40301
40301
|
|
|
@@ -40303,9 +40303,9 @@ var require_parse4 = __commonJS({
|
|
|
40303
40303
|
var require_valid = __commonJS({
|
|
40304
40304
|
"../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js"(exports2, module2) {
|
|
40305
40305
|
"use strict";
|
|
40306
|
-
var
|
|
40306
|
+
var parse16 = require_parse4();
|
|
40307
40307
|
var valid = (version4, options) => {
|
|
40308
|
-
const v =
|
|
40308
|
+
const v = parse16(version4, options);
|
|
40309
40309
|
return v ? v.version : null;
|
|
40310
40310
|
};
|
|
40311
40311
|
module2.exports = valid;
|
|
@@ -40316,9 +40316,9 @@ var require_valid = __commonJS({
|
|
|
40316
40316
|
var require_clean = __commonJS({
|
|
40317
40317
|
"../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js"(exports2, module2) {
|
|
40318
40318
|
"use strict";
|
|
40319
|
-
var
|
|
40319
|
+
var parse16 = require_parse4();
|
|
40320
40320
|
var clean = (version4, options) => {
|
|
40321
|
-
const s6 =
|
|
40321
|
+
const s6 = parse16(version4.trim().replace(/^[=v]+/, ""), options);
|
|
40322
40322
|
return s6 ? s6.version : null;
|
|
40323
40323
|
};
|
|
40324
40324
|
module2.exports = clean;
|
|
@@ -40353,10 +40353,10 @@ var require_inc = __commonJS({
|
|
|
40353
40353
|
var require_diff = __commonJS({
|
|
40354
40354
|
"../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js"(exports2, module2) {
|
|
40355
40355
|
"use strict";
|
|
40356
|
-
var
|
|
40356
|
+
var parse16 = require_parse4();
|
|
40357
40357
|
var diff = (version1, version22) => {
|
|
40358
|
-
const v12 =
|
|
40359
|
-
const v2 =
|
|
40358
|
+
const v12 = parse16(version1, null, true);
|
|
40359
|
+
const v2 = parse16(version22, null, true);
|
|
40360
40360
|
const comparison = v12.compare(v2);
|
|
40361
40361
|
if (comparison === 0) {
|
|
40362
40362
|
return null;
|
|
@@ -40427,9 +40427,9 @@ var require_patch = __commonJS({
|
|
|
40427
40427
|
var require_prerelease = __commonJS({
|
|
40428
40428
|
"../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js"(exports2, module2) {
|
|
40429
40429
|
"use strict";
|
|
40430
|
-
var
|
|
40430
|
+
var parse16 = require_parse4();
|
|
40431
40431
|
var prerelease = (version4, options) => {
|
|
40432
|
-
const parsed =
|
|
40432
|
+
const parsed = parse16(version4, options);
|
|
40433
40433
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
40434
40434
|
};
|
|
40435
40435
|
module2.exports = prerelease;
|
|
@@ -40615,7 +40615,7 @@ var require_coerce = __commonJS({
|
|
|
40615
40615
|
"../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js"(exports2, module2) {
|
|
40616
40616
|
"use strict";
|
|
40617
40617
|
var SemVer = require_semver();
|
|
40618
|
-
var
|
|
40618
|
+
var parse16 = require_parse4();
|
|
40619
40619
|
var { safeRe: re, t: t4 } = require_re();
|
|
40620
40620
|
var coerce = (version4, options) => {
|
|
40621
40621
|
if (version4 instanceof SemVer) {
|
|
@@ -40650,7 +40650,7 @@ var require_coerce = __commonJS({
|
|
|
40650
40650
|
const patch = match2[4] || "0";
|
|
40651
40651
|
const prerelease = options.includePrerelease && match2[5] ? `-${match2[5]}` : "";
|
|
40652
40652
|
const build = options.includePrerelease && match2[6] ? `+${match2[6]}` : "";
|
|
40653
|
-
return
|
|
40653
|
+
return parse16(`${major}.${minor}.${patch}${prerelease}${build}`, options);
|
|
40654
40654
|
};
|
|
40655
40655
|
module2.exports = coerce;
|
|
40656
40656
|
}
|
|
@@ -41666,7 +41666,7 @@ var require_semver2 = __commonJS({
|
|
|
41666
41666
|
var constants4 = require_constants4();
|
|
41667
41667
|
var SemVer = require_semver();
|
|
41668
41668
|
var identifiers = require_identifiers();
|
|
41669
|
-
var
|
|
41669
|
+
var parse16 = require_parse4();
|
|
41670
41670
|
var valid = require_valid();
|
|
41671
41671
|
var clean = require_clean();
|
|
41672
41672
|
var inc = require_inc();
|
|
@@ -41704,7 +41704,7 @@ var require_semver2 = __commonJS({
|
|
|
41704
41704
|
var simplifyRange = require_simplify();
|
|
41705
41705
|
var subset = require_subset();
|
|
41706
41706
|
module2.exports = {
|
|
41707
|
-
parse:
|
|
41707
|
+
parse: parse16,
|
|
41708
41708
|
valid,
|
|
41709
41709
|
clean,
|
|
41710
41710
|
inc,
|
|
@@ -56593,7 +56593,7 @@ var require_parse5 = __commonJS({
|
|
|
56593
56593
|
}
|
|
56594
56594
|
return parsed;
|
|
56595
56595
|
}
|
|
56596
|
-
function
|
|
56596
|
+
function parse16(command, args2, options) {
|
|
56597
56597
|
if (args2 && !Array.isArray(args2)) {
|
|
56598
56598
|
options = args2;
|
|
56599
56599
|
args2 = null;
|
|
@@ -56612,7 +56612,7 @@ var require_parse5 = __commonJS({
|
|
|
56612
56612
|
};
|
|
56613
56613
|
return options.shell ? parsed : parseNonShell(parsed);
|
|
56614
56614
|
}
|
|
56615
|
-
module2.exports =
|
|
56615
|
+
module2.exports = parse16;
|
|
56616
56616
|
}
|
|
56617
56617
|
});
|
|
56618
56618
|
|
|
@@ -56671,16 +56671,16 @@ var require_cross_spawn = __commonJS({
|
|
|
56671
56671
|
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports2, module2) {
|
|
56672
56672
|
"use strict";
|
|
56673
56673
|
var cp5 = __require("child_process");
|
|
56674
|
-
var
|
|
56674
|
+
var parse16 = require_parse5();
|
|
56675
56675
|
var enoent = require_enoent();
|
|
56676
56676
|
function spawn(command, args2, options) {
|
|
56677
|
-
const parsed =
|
|
56677
|
+
const parsed = parse16(command, args2, options);
|
|
56678
56678
|
const spawned = cp5.spawn(parsed.command, parsed.args, parsed.options);
|
|
56679
56679
|
enoent.hookChildProcess(spawned, parsed);
|
|
56680
56680
|
return spawned;
|
|
56681
56681
|
}
|
|
56682
56682
|
function spawnSync(command, args2, options) {
|
|
56683
|
-
const parsed =
|
|
56683
|
+
const parsed = parse16(command, args2, options);
|
|
56684
56684
|
const result = cp5.spawnSync(parsed.command, parsed.args, parsed.options);
|
|
56685
56685
|
result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
|
|
56686
56686
|
return result;
|
|
@@ -56688,7 +56688,7 @@ var require_cross_spawn = __commonJS({
|
|
|
56688
56688
|
module2.exports = spawn;
|
|
56689
56689
|
module2.exports.spawn = spawn;
|
|
56690
56690
|
module2.exports.sync = spawnSync;
|
|
56691
|
-
module2.exports._parse =
|
|
56691
|
+
module2.exports._parse = parse16;
|
|
56692
56692
|
module2.exports._enoent = enoent;
|
|
56693
56693
|
}
|
|
56694
56694
|
});
|
|
@@ -58053,7 +58053,7 @@ var require_rfc4648 = __commonJS({
|
|
|
58053
58053
|
"../../node_modules/.pnpm/rfc4648@1.5.3/node_modules/rfc4648/lib/cjs/rfc4648.js"(exports2) {
|
|
58054
58054
|
"use strict";
|
|
58055
58055
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
58056
|
-
function
|
|
58056
|
+
function parse16(string, encoding, opts) {
|
|
58057
58057
|
var _opts$out;
|
|
58058
58058
|
if (opts === void 0) {
|
|
58059
58059
|
opts = {};
|
|
@@ -58144,7 +58144,7 @@ var require_rfc4648 = __commonJS({
|
|
|
58144
58144
|
};
|
|
58145
58145
|
var base16 = {
|
|
58146
58146
|
parse: function parse$1(string, opts) {
|
|
58147
|
-
return
|
|
58147
|
+
return parse16(string.toUpperCase(), base16Encoding, opts);
|
|
58148
58148
|
},
|
|
58149
58149
|
stringify: function stringify$1(data2, opts) {
|
|
58150
58150
|
return stringify3(data2, base16Encoding, opts);
|
|
@@ -58155,7 +58155,7 @@ var require_rfc4648 = __commonJS({
|
|
|
58155
58155
|
if (opts === void 0) {
|
|
58156
58156
|
opts = {};
|
|
58157
58157
|
}
|
|
58158
|
-
return
|
|
58158
|
+
return parse16(opts.loose ? string.toUpperCase().replace(/0/g, "O").replace(/1/g, "L").replace(/8/g, "B") : string, base32Encoding, opts);
|
|
58159
58159
|
},
|
|
58160
58160
|
stringify: function stringify$1(data2, opts) {
|
|
58161
58161
|
return stringify3(data2, base32Encoding, opts);
|
|
@@ -58163,7 +58163,7 @@ var require_rfc4648 = __commonJS({
|
|
|
58163
58163
|
};
|
|
58164
58164
|
var base32hex = {
|
|
58165
58165
|
parse: function parse$1(string, opts) {
|
|
58166
|
-
return
|
|
58166
|
+
return parse16(string, base32HexEncoding, opts);
|
|
58167
58167
|
},
|
|
58168
58168
|
stringify: function stringify$1(data2, opts) {
|
|
58169
58169
|
return stringify3(data2, base32HexEncoding, opts);
|
|
@@ -58171,7 +58171,7 @@ var require_rfc4648 = __commonJS({
|
|
|
58171
58171
|
};
|
|
58172
58172
|
var base64 = {
|
|
58173
58173
|
parse: function parse$1(string, opts) {
|
|
58174
|
-
return
|
|
58174
|
+
return parse16(string, base64Encoding, opts);
|
|
58175
58175
|
},
|
|
58176
58176
|
stringify: function stringify$1(data2, opts) {
|
|
58177
58177
|
return stringify3(data2, base64Encoding, opts);
|
|
@@ -58179,14 +58179,14 @@ var require_rfc4648 = __commonJS({
|
|
|
58179
58179
|
};
|
|
58180
58180
|
var base64url = {
|
|
58181
58181
|
parse: function parse$1(string, opts) {
|
|
58182
|
-
return
|
|
58182
|
+
return parse16(string, base64UrlEncoding, opts);
|
|
58183
58183
|
},
|
|
58184
58184
|
stringify: function stringify$1(data2, opts) {
|
|
58185
58185
|
return stringify3(data2, base64UrlEncoding, opts);
|
|
58186
58186
|
}
|
|
58187
58187
|
};
|
|
58188
58188
|
var codec = {
|
|
58189
|
-
parse:
|
|
58189
|
+
parse: parse16,
|
|
58190
58190
|
stringify: stringify3
|
|
58191
58191
|
};
|
|
58192
58192
|
exports2.base16 = base16;
|
|
@@ -58335,7 +58335,7 @@ var require_lib17 = __commonJS({
|
|
|
58335
58335
|
return `${pkgName}@${reference}`;
|
|
58336
58336
|
}
|
|
58337
58337
|
exports2.refToRelative = refToRelative;
|
|
58338
|
-
function
|
|
58338
|
+
function parse16(dependencyPath) {
|
|
58339
58339
|
if (typeof dependencyPath !== "string") {
|
|
58340
58340
|
throw new TypeError(`Expected \`dependencyPath\` to be of type \`string\`, got \`${// eslint-disable-next-line: strict-type-predicates
|
|
58341
58341
|
dependencyPath === null ? "null" : typeof dependencyPath}\``);
|
|
@@ -58380,7 +58380,7 @@ var require_lib17 = __commonJS({
|
|
|
58380
58380
|
}
|
|
58381
58381
|
return {};
|
|
58382
58382
|
}
|
|
58383
|
-
exports2.parse =
|
|
58383
|
+
exports2.parse = parse16;
|
|
58384
58384
|
function depPathToFilename(depPath, maxLengthWithoutHash) {
|
|
58385
58385
|
let filename = depPathToFilenameUnescaped(depPath).replace(/[\\/:*?"<>|]/g, "+");
|
|
58386
58386
|
if (filename.includes("(")) {
|
|
@@ -71258,13 +71258,13 @@ var require_lockfile = __commonJS({
|
|
|
71258
71258
|
}
|
|
71259
71259
|
concat(integrity, opts) {
|
|
71260
71260
|
const other = typeof integrity === "string" ? integrity : stringify3(integrity, opts);
|
|
71261
|
-
return
|
|
71261
|
+
return parse16(`${this.toString(opts)} ${other}`, opts);
|
|
71262
71262
|
}
|
|
71263
71263
|
hexDigest() {
|
|
71264
|
-
return
|
|
71264
|
+
return parse16(this, { single: true }).hexDigest();
|
|
71265
71265
|
}
|
|
71266
71266
|
match(integrity, opts) {
|
|
71267
|
-
const other =
|
|
71267
|
+
const other = parse16(integrity, opts);
|
|
71268
71268
|
const algo = other.pickAlgorithm(opts);
|
|
71269
71269
|
return this[algo] && other[algo] && this[algo].find(
|
|
71270
71270
|
(hash) => other[algo].find(
|
|
@@ -71283,8 +71283,8 @@ var require_lockfile = __commonJS({
|
|
|
71283
71283
|
});
|
|
71284
71284
|
}
|
|
71285
71285
|
}
|
|
71286
|
-
module3.exports.parse =
|
|
71287
|
-
function
|
|
71286
|
+
module3.exports.parse = parse16;
|
|
71287
|
+
function parse16(sri, opts) {
|
|
71288
71288
|
opts = opts || {};
|
|
71289
71289
|
if (typeof sri === "string") {
|
|
71290
71290
|
return _parse(sri, opts);
|
|
@@ -71317,7 +71317,7 @@ var require_lockfile = __commonJS({
|
|
|
71317
71317
|
if (obj.algorithm && obj.digest) {
|
|
71318
71318
|
return Hash.prototype.toString.call(obj, opts);
|
|
71319
71319
|
} else if (typeof obj === "string") {
|
|
71320
|
-
return stringify3(
|
|
71320
|
+
return stringify3(parse16(obj, opts), opts);
|
|
71321
71321
|
} else {
|
|
71322
71322
|
return Integrity.prototype.toString.call(obj, opts);
|
|
71323
71323
|
}
|
|
@@ -71325,7 +71325,7 @@ var require_lockfile = __commonJS({
|
|
|
71325
71325
|
module3.exports.fromHex = fromHex;
|
|
71326
71326
|
function fromHex(hexDigest, algorithm, opts) {
|
|
71327
71327
|
const optString = opts && opts.options && opts.options.length ? `?${opts.options.join("?")}` : "";
|
|
71328
|
-
return
|
|
71328
|
+
return parse16(
|
|
71329
71329
|
`${algorithm}-${Buffer3.from(hexDigest, "hex").toString("base64")}${optString}`,
|
|
71330
71330
|
opts
|
|
71331
71331
|
);
|
|
@@ -71372,7 +71372,7 @@ var require_lockfile = __commonJS({
|
|
|
71372
71372
|
module3.exports.checkData = checkData;
|
|
71373
71373
|
function checkData(data2, sri, opts) {
|
|
71374
71374
|
opts = opts || {};
|
|
71375
|
-
sri =
|
|
71375
|
+
sri = parse16(sri, opts);
|
|
71376
71376
|
if (!Object.keys(sri).length) {
|
|
71377
71377
|
if (opts.error) {
|
|
71378
71378
|
throw Object.assign(
|
|
@@ -71387,7 +71387,7 @@ var require_lockfile = __commonJS({
|
|
|
71387
71387
|
}
|
|
71388
71388
|
const algorithm = sri.pickAlgorithm(opts);
|
|
71389
71389
|
const digest = crypto7.createHash(algorithm).update(data2).digest("base64");
|
|
71390
|
-
const newSri =
|
|
71390
|
+
const newSri = parse16({ algorithm, digest });
|
|
71391
71391
|
const match2 = newSri.match(sri, opts);
|
|
71392
71392
|
if (match2 || !opts.error) {
|
|
71393
71393
|
return match2;
|
|
@@ -71433,7 +71433,7 @@ var require_lockfile = __commonJS({
|
|
|
71433
71433
|
module3.exports.integrityStream = integrityStream;
|
|
71434
71434
|
function integrityStream(opts) {
|
|
71435
71435
|
opts = opts || {};
|
|
71436
|
-
const sri = opts.integrity &&
|
|
71436
|
+
const sri = opts.integrity && parse16(opts.integrity, opts);
|
|
71437
71437
|
const goodSri = sri && Object.keys(sri).length;
|
|
71438
71438
|
const algorithm = goodSri && sri.pickAlgorithm(opts);
|
|
71439
71439
|
const digests = goodSri && sri[algorithm];
|
|
@@ -71452,7 +71452,7 @@ var require_lockfile = __commonJS({
|
|
|
71452
71452
|
}
|
|
71453
71453
|
}).on("end", () => {
|
|
71454
71454
|
const optString = opts.options && opts.options.length ? `?${opts.options.join("?")}` : "";
|
|
71455
|
-
const newSri =
|
|
71455
|
+
const newSri = parse16(hashes.map((h, i7) => {
|
|
71456
71456
|
return `${algorithms[i7]}-${h.digest("base64")}${optString}`;
|
|
71457
71457
|
}).join(" "), opts);
|
|
71458
71458
|
const match2 = goodSri && newSri.match(sri, opts);
|
|
@@ -71704,9 +71704,9 @@ var require_lockfile = __commonJS({
|
|
|
71704
71704
|
}
|
|
71705
71705
|
return expand2(pattern);
|
|
71706
71706
|
}
|
|
71707
|
-
Minimatch2.prototype.parse =
|
|
71707
|
+
Minimatch2.prototype.parse = parse16;
|
|
71708
71708
|
var SUBPARSE = {};
|
|
71709
|
-
function
|
|
71709
|
+
function parse16(pattern, isSub) {
|
|
71710
71710
|
if (pattern.length > 1024 * 64) {
|
|
71711
71711
|
throw new TypeError("pattern is too long");
|
|
71712
71712
|
}
|
|
@@ -72806,7 +72806,7 @@ var require_lockfile = __commonJS({
|
|
|
72806
72806
|
});
|
|
72807
72807
|
exports3.default = function(str, fileLoc = "lockfile") {
|
|
72808
72808
|
str = (0, (_stripBom || _load_stripBom()).default)(str);
|
|
72809
|
-
return hasMergeConflicts(str) ? parseWithConflict(str, fileLoc) : { type: "success", object:
|
|
72809
|
+
return hasMergeConflicts(str) ? parseWithConflict(str, fileLoc) : { type: "success", object: parse16(str, fileLoc) };
|
|
72810
72810
|
};
|
|
72811
72811
|
var _util;
|
|
72812
72812
|
function _load_util() {
|
|
@@ -73135,7 +73135,7 @@ var require_lockfile = __commonJS({
|
|
|
73135
73135
|
function hasMergeConflicts(str) {
|
|
73136
73136
|
return str.includes(MERGE_CONFLICT_START) && str.includes(MERGE_CONFLICT_SEP) && str.includes(MERGE_CONFLICT_END);
|
|
73137
73137
|
}
|
|
73138
|
-
function
|
|
73138
|
+
function parse16(str, fileLoc) {
|
|
73139
73139
|
const parser2 = new Parser5(str, fileLoc);
|
|
73140
73140
|
parser2.next();
|
|
73141
73141
|
return parser2.parse();
|
|
@@ -73143,7 +73143,7 @@ var require_lockfile = __commonJS({
|
|
|
73143
73143
|
function parseWithConflict(str, fileLoc) {
|
|
73144
73144
|
const variants = extractConflictVariants(str);
|
|
73145
73145
|
try {
|
|
73146
|
-
return { type: "merge", object: Object.assign({},
|
|
73146
|
+
return { type: "merge", object: Object.assign({}, parse16(variants[0], fileLoc), parse16(variants[1], fileLoc)) };
|
|
73147
73147
|
} catch (err) {
|
|
73148
73148
|
if (err instanceof SyntaxError) {
|
|
73149
73149
|
return { type: "conflict", object: {} };
|
|
@@ -76517,7 +76517,7 @@ ${indent3}`);
|
|
|
76517
76517
|
options = options || {};
|
|
76518
76518
|
var type = typeof val2;
|
|
76519
76519
|
if (type === "string" && val2.length > 0) {
|
|
76520
|
-
return
|
|
76520
|
+
return parse16(val2);
|
|
76521
76521
|
} else if (type === "number" && isNaN(val2) === false) {
|
|
76522
76522
|
return options.long ? fmtLong(val2) : fmtShort(val2);
|
|
76523
76523
|
}
|
|
@@ -76525,7 +76525,7 @@ ${indent3}`);
|
|
|
76525
76525
|
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val2)
|
|
76526
76526
|
);
|
|
76527
76527
|
};
|
|
76528
|
-
function
|
|
76528
|
+
function parse16(str) {
|
|
76529
76529
|
str = String(str);
|
|
76530
76530
|
if (str.length > 100) {
|
|
76531
76531
|
return;
|
|
@@ -86033,7 +86033,7 @@ var require_identity = __commonJS({
|
|
|
86033
86033
|
var isMap = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === MAP;
|
|
86034
86034
|
var isPair = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === PAIR;
|
|
86035
86035
|
var isScalar = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === SCALAR;
|
|
86036
|
-
var
|
|
86036
|
+
var isSeq2 = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === SEQ;
|
|
86037
86037
|
function isCollection(node) {
|
|
86038
86038
|
if (node && typeof node === "object")
|
|
86039
86039
|
switch (node[NODE_TYPE]) {
|
|
@@ -86070,7 +86070,7 @@ var require_identity = __commonJS({
|
|
|
86070
86070
|
exports2.isNode = isNode2;
|
|
86071
86071
|
exports2.isPair = isPair;
|
|
86072
86072
|
exports2.isScalar = isScalar;
|
|
86073
|
-
exports2.isSeq =
|
|
86073
|
+
exports2.isSeq = isSeq2;
|
|
86074
86074
|
}
|
|
86075
86075
|
});
|
|
86076
86076
|
|
|
@@ -93089,7 +93089,7 @@ var require_public_api = __commonJS({
|
|
|
93089
93089
|
return docs;
|
|
93090
93090
|
return Object.assign([], { empty: true }, composer$1.streamInfo());
|
|
93091
93091
|
}
|
|
93092
|
-
function
|
|
93092
|
+
function parseDocument3(source, options = {}) {
|
|
93093
93093
|
const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options);
|
|
93094
93094
|
const parser$1 = new parser2.Parser(lineCounter2?.addNewLine);
|
|
93095
93095
|
const composer$1 = new composer.Composer(options);
|
|
@@ -93108,14 +93108,14 @@ var require_public_api = __commonJS({
|
|
|
93108
93108
|
}
|
|
93109
93109
|
return doc;
|
|
93110
93110
|
}
|
|
93111
|
-
function
|
|
93111
|
+
function parse16(src, reviver, options) {
|
|
93112
93112
|
let _reviver = void 0;
|
|
93113
93113
|
if (typeof reviver === "function") {
|
|
93114
93114
|
_reviver = reviver;
|
|
93115
93115
|
} else if (options === void 0 && reviver && typeof reviver === "object") {
|
|
93116
93116
|
options = reviver;
|
|
93117
93117
|
}
|
|
93118
|
-
const doc =
|
|
93118
|
+
const doc = parseDocument3(src, options);
|
|
93119
93119
|
if (!doc)
|
|
93120
93120
|
return null;
|
|
93121
93121
|
doc.warnings.forEach((warning) => log2.warn(doc.options.logLevel, warning));
|
|
@@ -93147,9 +93147,9 @@ var require_public_api = __commonJS({
|
|
|
93147
93147
|
}
|
|
93148
93148
|
return new Document2.Document(value2, _replacer, options).toString(options);
|
|
93149
93149
|
}
|
|
93150
|
-
exports2.parse =
|
|
93150
|
+
exports2.parse = parse16;
|
|
93151
93151
|
exports2.parseAllDocuments = parseAllDocuments;
|
|
93152
|
-
exports2.parseDocument =
|
|
93152
|
+
exports2.parseDocument = parseDocument3;
|
|
93153
93153
|
exports2.stringify = stringify3;
|
|
93154
93154
|
}
|
|
93155
93155
|
});
|
|
@@ -119483,9 +119483,9 @@ var require_minimatch = __commonJS({
|
|
|
119483
119483
|
throw new TypeError("pattern is too long");
|
|
119484
119484
|
}
|
|
119485
119485
|
};
|
|
119486
|
-
Minimatch2.prototype.parse =
|
|
119486
|
+
Minimatch2.prototype.parse = parse16;
|
|
119487
119487
|
var SUBPARSE = {};
|
|
119488
|
-
function
|
|
119488
|
+
function parse16(pattern, isSub) {
|
|
119489
119489
|
assertValidPattern2(pattern);
|
|
119490
119490
|
var options = this.options;
|
|
119491
119491
|
if (pattern === "**") {
|
|
@@ -142332,7 +142332,7 @@ var require_dist_node2 = __commonJS({
|
|
|
142332
142332
|
return template.replace(/\/$/, "");
|
|
142333
142333
|
}
|
|
142334
142334
|
}
|
|
142335
|
-
function
|
|
142335
|
+
function parse16(options) {
|
|
142336
142336
|
let method = options.method.toUpperCase();
|
|
142337
142337
|
let url2 = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}");
|
|
142338
142338
|
let headers = Object.assign({}, options.headers);
|
|
@@ -142396,7 +142396,7 @@ var require_dist_node2 = __commonJS({
|
|
|
142396
142396
|
);
|
|
142397
142397
|
}
|
|
142398
142398
|
function endpointWithDefaults(defaults3, route, options) {
|
|
142399
|
-
return
|
|
142399
|
+
return parse16(merge5(defaults3, route, options));
|
|
142400
142400
|
}
|
|
142401
142401
|
function withDefaults(oldDefaults, newDefaults) {
|
|
142402
142402
|
const DEFAULTS2 = merge5(oldDefaults, newDefaults);
|
|
@@ -142405,7 +142405,7 @@ var require_dist_node2 = __commonJS({
|
|
|
142405
142405
|
DEFAULTS: DEFAULTS2,
|
|
142406
142406
|
defaults: withDefaults.bind(null, DEFAULTS2),
|
|
142407
142407
|
merge: merge5.bind(null, DEFAULTS2),
|
|
142408
|
-
parse:
|
|
142408
|
+
parse: parse16
|
|
142409
142409
|
});
|
|
142410
142410
|
}
|
|
142411
142411
|
var endpoint = withDefaults(null, DEFAULTS);
|
|
@@ -147258,7 +147258,7 @@ var require_parse8 = __commonJS({
|
|
|
147258
147258
|
CHAR_NO_BREAK_SPACE,
|
|
147259
147259
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
147260
147260
|
} = require_constants18();
|
|
147261
|
-
var
|
|
147261
|
+
var parse16 = (input, options = {}) => {
|
|
147262
147262
|
if (typeof input !== "string") {
|
|
147263
147263
|
throw new TypeError("Expected a string");
|
|
147264
147264
|
}
|
|
@@ -147458,7 +147458,7 @@ var require_parse8 = __commonJS({
|
|
|
147458
147458
|
push2({ type: "eos" });
|
|
147459
147459
|
return ast;
|
|
147460
147460
|
};
|
|
147461
|
-
module2.exports =
|
|
147461
|
+
module2.exports = parse16;
|
|
147462
147462
|
}
|
|
147463
147463
|
});
|
|
147464
147464
|
|
|
@@ -147469,7 +147469,7 @@ var require_braces2 = __commonJS({
|
|
|
147469
147469
|
var stringify3 = require_stringify4();
|
|
147470
147470
|
var compile4 = require_compile2();
|
|
147471
147471
|
var expand2 = require_expand2();
|
|
147472
|
-
var
|
|
147472
|
+
var parse16 = require_parse8();
|
|
147473
147473
|
var braces = (input, options = {}) => {
|
|
147474
147474
|
let output = [];
|
|
147475
147475
|
if (Array.isArray(input)) {
|
|
@@ -147489,7 +147489,7 @@ var require_braces2 = __commonJS({
|
|
|
147489
147489
|
}
|
|
147490
147490
|
return output;
|
|
147491
147491
|
};
|
|
147492
|
-
braces.parse = (input, options = {}) =>
|
|
147492
|
+
braces.parse = (input, options = {}) => parse16(input, options);
|
|
147493
147493
|
braces.stringify = (input, options = {}) => {
|
|
147494
147494
|
if (typeof input === "string") {
|
|
147495
147495
|
return stringify3(braces.parse(input, options), options);
|
|
@@ -147686,193 +147686,6 @@ var require_micromatch2 = __commonJS({
|
|
|
147686
147686
|
}
|
|
147687
147687
|
});
|
|
147688
147688
|
|
|
147689
|
-
// ../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/modern.js
|
|
147690
|
-
var require_modern2 = __commonJS({
|
|
147691
|
-
"../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/modern.js"(exports2, module2) {
|
|
147692
|
-
"use strict";
|
|
147693
|
-
var util5 = __require("util");
|
|
147694
|
-
var Writable = require_stream_writable();
|
|
147695
|
-
var { LEVEL } = require_triple_beam();
|
|
147696
|
-
var TransportStream = module2.exports = function TransportStream2(options = {}) {
|
|
147697
|
-
Writable.call(this, { objectMode: true, highWaterMark: options.highWaterMark });
|
|
147698
|
-
this.format = options.format;
|
|
147699
|
-
this.level = options.level;
|
|
147700
|
-
this.handleExceptions = options.handleExceptions;
|
|
147701
|
-
this.handleRejections = options.handleRejections;
|
|
147702
|
-
this.silent = options.silent;
|
|
147703
|
-
if (options.log) this.log = options.log;
|
|
147704
|
-
if (options.logv) this.logv = options.logv;
|
|
147705
|
-
if (options.close) this.close = options.close;
|
|
147706
|
-
this.once("pipe", (logger4) => {
|
|
147707
|
-
this.levels = logger4.levels;
|
|
147708
|
-
this.parent = logger4;
|
|
147709
|
-
});
|
|
147710
|
-
this.once("unpipe", (src) => {
|
|
147711
|
-
if (src === this.parent) {
|
|
147712
|
-
this.parent = null;
|
|
147713
|
-
if (this.close) {
|
|
147714
|
-
this.close();
|
|
147715
|
-
}
|
|
147716
|
-
}
|
|
147717
|
-
});
|
|
147718
|
-
};
|
|
147719
|
-
util5.inherits(TransportStream, Writable);
|
|
147720
|
-
TransportStream.prototype._write = function _write2(info, enc, callback) {
|
|
147721
|
-
if (this.silent || info.exception === true && !this.handleExceptions) {
|
|
147722
|
-
return callback(null);
|
|
147723
|
-
}
|
|
147724
|
-
const level = this.level || this.parent && this.parent.level;
|
|
147725
|
-
if (!level || this.levels[level] >= this.levels[info[LEVEL]]) {
|
|
147726
|
-
if (info && !this.format) {
|
|
147727
|
-
return this.log(info, callback);
|
|
147728
|
-
}
|
|
147729
|
-
let errState;
|
|
147730
|
-
let transformed;
|
|
147731
|
-
try {
|
|
147732
|
-
transformed = this.format.transform(Object.assign({}, info), this.format.options);
|
|
147733
|
-
} catch (err) {
|
|
147734
|
-
errState = err;
|
|
147735
|
-
}
|
|
147736
|
-
if (errState || !transformed) {
|
|
147737
|
-
callback();
|
|
147738
|
-
if (errState) throw errState;
|
|
147739
|
-
return;
|
|
147740
|
-
}
|
|
147741
|
-
return this.log(transformed, callback);
|
|
147742
|
-
}
|
|
147743
|
-
this._writableState.sync = false;
|
|
147744
|
-
return callback(null);
|
|
147745
|
-
};
|
|
147746
|
-
TransportStream.prototype._writev = function _writev(chunks, callback) {
|
|
147747
|
-
if (this.logv) {
|
|
147748
|
-
const infos = chunks.filter(this._accept, this);
|
|
147749
|
-
if (!infos.length) {
|
|
147750
|
-
return callback(null);
|
|
147751
|
-
}
|
|
147752
|
-
return this.logv(infos, callback);
|
|
147753
|
-
}
|
|
147754
|
-
for (let i7 = 0; i7 < chunks.length; i7++) {
|
|
147755
|
-
if (!this._accept(chunks[i7])) continue;
|
|
147756
|
-
if (chunks[i7].chunk && !this.format) {
|
|
147757
|
-
this.log(chunks[i7].chunk, chunks[i7].callback);
|
|
147758
|
-
continue;
|
|
147759
|
-
}
|
|
147760
|
-
let errState;
|
|
147761
|
-
let transformed;
|
|
147762
|
-
try {
|
|
147763
|
-
transformed = this.format.transform(
|
|
147764
|
-
Object.assign({}, chunks[i7].chunk),
|
|
147765
|
-
this.format.options
|
|
147766
|
-
);
|
|
147767
|
-
} catch (err) {
|
|
147768
|
-
errState = err;
|
|
147769
|
-
}
|
|
147770
|
-
if (errState || !transformed) {
|
|
147771
|
-
chunks[i7].callback();
|
|
147772
|
-
if (errState) {
|
|
147773
|
-
callback(null);
|
|
147774
|
-
throw errState;
|
|
147775
|
-
}
|
|
147776
|
-
} else {
|
|
147777
|
-
this.log(transformed, chunks[i7].callback);
|
|
147778
|
-
}
|
|
147779
|
-
}
|
|
147780
|
-
return callback(null);
|
|
147781
|
-
};
|
|
147782
|
-
TransportStream.prototype._accept = function _accept(write) {
|
|
147783
|
-
const info = write.chunk;
|
|
147784
|
-
if (this.silent) {
|
|
147785
|
-
return false;
|
|
147786
|
-
}
|
|
147787
|
-
const level = this.level || this.parent && this.parent.level;
|
|
147788
|
-
if (info.exception === true || !level || this.levels[level] >= this.levels[info[LEVEL]]) {
|
|
147789
|
-
if (this.handleExceptions || info.exception !== true) {
|
|
147790
|
-
return true;
|
|
147791
|
-
}
|
|
147792
|
-
}
|
|
147793
|
-
return false;
|
|
147794
|
-
};
|
|
147795
|
-
TransportStream.prototype._nop = function _nop() {
|
|
147796
|
-
return void 0;
|
|
147797
|
-
};
|
|
147798
|
-
}
|
|
147799
|
-
});
|
|
147800
|
-
|
|
147801
|
-
// ../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/legacy.js
|
|
147802
|
-
var require_legacy2 = __commonJS({
|
|
147803
|
-
"../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/legacy.js"(exports2, module2) {
|
|
147804
|
-
"use strict";
|
|
147805
|
-
var util5 = __require("util");
|
|
147806
|
-
var { LEVEL } = require_triple_beam();
|
|
147807
|
-
var TransportStream = require_modern2();
|
|
147808
|
-
var LegacyTransportStream = module2.exports = function LegacyTransportStream2(options = {}) {
|
|
147809
|
-
TransportStream.call(this, options);
|
|
147810
|
-
if (!options.transport || typeof options.transport.log !== "function") {
|
|
147811
|
-
throw new Error("Invalid transport, must be an object with a log method.");
|
|
147812
|
-
}
|
|
147813
|
-
this.transport = options.transport;
|
|
147814
|
-
this.level = this.level || options.transport.level;
|
|
147815
|
-
this.handleExceptions = this.handleExceptions || options.transport.handleExceptions;
|
|
147816
|
-
this._deprecated();
|
|
147817
|
-
function transportError(err) {
|
|
147818
|
-
this.emit("error", err, this.transport);
|
|
147819
|
-
}
|
|
147820
|
-
if (!this.transport.__winstonError) {
|
|
147821
|
-
this.transport.__winstonError = transportError.bind(this);
|
|
147822
|
-
this.transport.on("error", this.transport.__winstonError);
|
|
147823
|
-
}
|
|
147824
|
-
};
|
|
147825
|
-
util5.inherits(LegacyTransportStream, TransportStream);
|
|
147826
|
-
LegacyTransportStream.prototype._write = function _write2(info, enc, callback) {
|
|
147827
|
-
if (this.silent || info.exception === true && !this.handleExceptions) {
|
|
147828
|
-
return callback(null);
|
|
147829
|
-
}
|
|
147830
|
-
if (!this.level || this.levels[this.level] >= this.levels[info[LEVEL]]) {
|
|
147831
|
-
this.transport.log(info[LEVEL], info.message, info, this._nop);
|
|
147832
|
-
}
|
|
147833
|
-
callback(null);
|
|
147834
|
-
};
|
|
147835
|
-
LegacyTransportStream.prototype._writev = function _writev(chunks, callback) {
|
|
147836
|
-
for (let i7 = 0; i7 < chunks.length; i7++) {
|
|
147837
|
-
if (this._accept(chunks[i7])) {
|
|
147838
|
-
this.transport.log(
|
|
147839
|
-
chunks[i7].chunk[LEVEL],
|
|
147840
|
-
chunks[i7].chunk.message,
|
|
147841
|
-
chunks[i7].chunk,
|
|
147842
|
-
this._nop
|
|
147843
|
-
);
|
|
147844
|
-
chunks[i7].callback();
|
|
147845
|
-
}
|
|
147846
|
-
}
|
|
147847
|
-
return callback(null);
|
|
147848
|
-
};
|
|
147849
|
-
LegacyTransportStream.prototype._deprecated = function _deprecated() {
|
|
147850
|
-
console.error([
|
|
147851
|
-
`${this.transport.name} is a legacy winston transport. Consider upgrading: `,
|
|
147852
|
-
"- Upgrade docs: https://github.com/winstonjs/winston/blob/master/UPGRADE-3.0.md"
|
|
147853
|
-
].join("\n"));
|
|
147854
|
-
};
|
|
147855
|
-
LegacyTransportStream.prototype.close = function close() {
|
|
147856
|
-
if (this.transport.close) {
|
|
147857
|
-
this.transport.close();
|
|
147858
|
-
}
|
|
147859
|
-
if (this.transport.__winstonError) {
|
|
147860
|
-
this.transport.removeListener("error", this.transport.__winstonError);
|
|
147861
|
-
this.transport.__winstonError = null;
|
|
147862
|
-
}
|
|
147863
|
-
};
|
|
147864
|
-
}
|
|
147865
|
-
});
|
|
147866
|
-
|
|
147867
|
-
// ../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/index.js
|
|
147868
|
-
var require_winston_transport2 = __commonJS({
|
|
147869
|
-
"../../node_modules/.pnpm/winston-transport@4.9.0/node_modules/winston-transport/index.js"(exports2, module2) {
|
|
147870
|
-
"use strict";
|
|
147871
|
-
module2.exports = require_modern2();
|
|
147872
|
-
module2.exports.LegacyTransportStream = require_legacy2();
|
|
147873
|
-
}
|
|
147874
|
-
});
|
|
147875
|
-
|
|
147876
147689
|
// ../../node_modules/.pnpm/yaml@2.2.2/node_modules/yaml/dist/nodes/Node.js
|
|
147877
147690
|
var require_Node2 = __commonJS({
|
|
147878
147691
|
"../../node_modules/.pnpm/yaml@2.2.2/node_modules/yaml/dist/nodes/Node.js"(exports2) {
|
|
@@ -147889,7 +147702,7 @@ var require_Node2 = __commonJS({
|
|
|
147889
147702
|
var isMap = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === MAP;
|
|
147890
147703
|
var isPair = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === PAIR;
|
|
147891
147704
|
var isScalar = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === SCALAR;
|
|
147892
|
-
var
|
|
147705
|
+
var isSeq2 = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === SEQ;
|
|
147893
147706
|
function isCollection(node) {
|
|
147894
147707
|
if (node && typeof node === "object")
|
|
147895
147708
|
switch (node[NODE_TYPE]) {
|
|
@@ -147939,7 +147752,7 @@ var require_Node2 = __commonJS({
|
|
|
147939
147752
|
exports2.isNode = isNode2;
|
|
147940
147753
|
exports2.isPair = isPair;
|
|
147941
147754
|
exports2.isScalar = isScalar;
|
|
147942
|
-
exports2.isSeq =
|
|
147755
|
+
exports2.isSeq = isSeq2;
|
|
147943
147756
|
}
|
|
147944
147757
|
});
|
|
147945
147758
|
|
|
@@ -154834,7 +154647,7 @@ var require_public_api2 = __commonJS({
|
|
|
154834
154647
|
return docs;
|
|
154835
154648
|
return Object.assign([], { empty: true }, composer$1.streamInfo());
|
|
154836
154649
|
}
|
|
154837
|
-
function
|
|
154650
|
+
function parseDocument3(source, options = {}) {
|
|
154838
154651
|
const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options);
|
|
154839
154652
|
const parser$1 = new parser2.Parser(lineCounter2?.addNewLine);
|
|
154840
154653
|
const composer$1 = new composer.Composer(options);
|
|
@@ -154853,14 +154666,14 @@ var require_public_api2 = __commonJS({
|
|
|
154853
154666
|
}
|
|
154854
154667
|
return doc;
|
|
154855
154668
|
}
|
|
154856
|
-
function
|
|
154669
|
+
function parse16(src, reviver, options) {
|
|
154857
154670
|
let _reviver = void 0;
|
|
154858
154671
|
if (typeof reviver === "function") {
|
|
154859
154672
|
_reviver = reviver;
|
|
154860
154673
|
} else if (options === void 0 && reviver && typeof reviver === "object") {
|
|
154861
154674
|
options = reviver;
|
|
154862
154675
|
}
|
|
154863
|
-
const doc =
|
|
154676
|
+
const doc = parseDocument3(src, options);
|
|
154864
154677
|
if (!doc)
|
|
154865
154678
|
return null;
|
|
154866
154679
|
doc.warnings.forEach((warning) => log2.warn(doc.options.logLevel, warning));
|
|
@@ -154892,9 +154705,9 @@ var require_public_api2 = __commonJS({
|
|
|
154892
154705
|
}
|
|
154893
154706
|
return new Document2.Document(value2, _replacer, options).toString(options);
|
|
154894
154707
|
}
|
|
154895
|
-
exports2.parse =
|
|
154708
|
+
exports2.parse = parse16;
|
|
154896
154709
|
exports2.parseAllDocuments = parseAllDocuments;
|
|
154897
|
-
exports2.parseDocument =
|
|
154710
|
+
exports2.parseDocument = parseDocument3;
|
|
154898
154711
|
exports2.stringify = stringify3;
|
|
154899
154712
|
}
|
|
154900
154713
|
});
|
|
@@ -162223,7 +162036,7 @@ var require_bson = __commonJS({
|
|
|
162223
162036
|
throw new BSONError("_bsontype must be a string, but was: " + typeof bsontype);
|
|
162224
162037
|
}
|
|
162225
162038
|
}
|
|
162226
|
-
function
|
|
162039
|
+
function parse16(text3, options) {
|
|
162227
162040
|
const ejsonOptions = {
|
|
162228
162041
|
useBigInt64: options?.useBigInt64 ?? false,
|
|
162229
162042
|
relaxed: options?.relaxed ?? true,
|
|
@@ -162258,10 +162071,10 @@ var require_bson = __commonJS({
|
|
|
162258
162071
|
}
|
|
162259
162072
|
function EJSONdeserialize(ejson, options) {
|
|
162260
162073
|
options = options || {};
|
|
162261
|
-
return
|
|
162074
|
+
return parse16(JSON.stringify(ejson), options);
|
|
162262
162075
|
}
|
|
162263
162076
|
var EJSON = /* @__PURE__ */ Object.create(null);
|
|
162264
|
-
EJSON.parse =
|
|
162077
|
+
EJSON.parse = parse16;
|
|
162265
162078
|
EJSON.stringify = stringify3;
|
|
162266
162079
|
EJSON.serialize = EJSONserialize;
|
|
162267
162080
|
EJSON.deserialize = EJSONdeserialize;
|
|
@@ -184487,7 +184300,7 @@ var require_parse9 = __commonJS({
|
|
|
184487
184300
|
function isWhitespace3(c3) {
|
|
184488
184301
|
return c3 === 32 || c3 === 9 || c3 === 10 || c3 === 12 || c3 === 13;
|
|
184489
184302
|
}
|
|
184490
|
-
function
|
|
184303
|
+
function parse16(selector) {
|
|
184491
184304
|
var subselects2 = [];
|
|
184492
184305
|
var endIndex = parseSelector(subselects2, "".concat(selector), 0);
|
|
184493
184306
|
if (endIndex < selector.length) {
|
|
@@ -184495,7 +184308,7 @@ var require_parse9 = __commonJS({
|
|
|
184495
184308
|
}
|
|
184496
184309
|
return subselects2;
|
|
184497
184310
|
}
|
|
184498
|
-
exports2.parse =
|
|
184311
|
+
exports2.parse = parse16;
|
|
184499
184312
|
function parseSelector(subselects2, selector, selectorIndex) {
|
|
184500
184313
|
var tokens = [];
|
|
184501
184314
|
function getName2(offset) {
|
|
@@ -203574,6 +203387,7 @@ var CLILogger = class {
|
|
|
203574
203387
|
import_winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss.SSS" }),
|
|
203575
203388
|
utilFormatter(),
|
|
203576
203389
|
import_winston.format.colorize(),
|
|
203390
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
203577
203391
|
import_winston.format.printf(({ level, message: message2, label, timestamp }) => `${timestamp} ${label || "-"} ${level}: ${message2}`)
|
|
203578
203392
|
),
|
|
203579
203393
|
transports
|
|
@@ -203607,6 +203421,7 @@ var CLILogger = class {
|
|
|
203607
203421
|
import_winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss.SSS" }),
|
|
203608
203422
|
utilFormatter(),
|
|
203609
203423
|
import_winston.format.colorize(),
|
|
203424
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
203610
203425
|
import_winston.format.printf(({ level, message: message2, label, timestamp }) => `${timestamp} ${label || "-"} ${level}: ${message2}`)
|
|
203611
203426
|
),
|
|
203612
203427
|
transports: [new import_winston.transports.Console(), socketTransport]
|
|
@@ -209064,12 +208879,12 @@ var listFileSync = (opt) => {
|
|
|
209064
208879
|
}
|
|
209065
208880
|
};
|
|
209066
208881
|
var listFile = (opt, _files) => {
|
|
209067
|
-
const
|
|
208882
|
+
const parse16 = new Parser(opt);
|
|
209068
208883
|
const readSize = opt.maxReadSize || 16 * 1024 * 1024;
|
|
209069
208884
|
const file = opt.file;
|
|
209070
208885
|
const p3 = new Promise((resolve45, reject) => {
|
|
209071
|
-
|
|
209072
|
-
|
|
208886
|
+
parse16.on("error", reject);
|
|
208887
|
+
parse16.on("end", resolve45);
|
|
209073
208888
|
fs2.stat(file, (er, stat5) => {
|
|
209074
208889
|
if (er) {
|
|
209075
208890
|
reject(er);
|
|
@@ -209079,7 +208894,7 @@ var listFile = (opt, _files) => {
|
|
|
209079
208894
|
size: stat5.size
|
|
209080
208895
|
});
|
|
209081
208896
|
stream5.on("error", reject);
|
|
209082
|
-
stream5.pipe(
|
|
208897
|
+
stream5.pipe(parse16);
|
|
209083
208898
|
}
|
|
209084
208899
|
});
|
|
209085
208900
|
});
|
|
@@ -214060,7 +213875,7 @@ var prereleaseSpecifierNormalization = {
|
|
|
214060
213875
|
};
|
|
214061
213876
|
var postreleaseSpecifiers = ["post", "rev", "r"];
|
|
214062
213877
|
var devReleaseSpecifiers = ["dev"];
|
|
214063
|
-
var epochRegex = /(\d+)
|
|
213878
|
+
var epochRegex = /(\d+)!/;
|
|
214064
213879
|
var releaseSegmentRegex = /(\d+(?:\.\d+)*)/;
|
|
214065
213880
|
var prereleaseRegex = buildRegexWithSpecifier(prereleaseSpecifiers);
|
|
214066
213881
|
var postreleaseRegex = buildRegexWithSpecifier(postreleaseSpecifiers);
|
|
@@ -227584,7 +227399,7 @@ var prereleaseSpecifierNormalization2 = {
|
|
|
227584
227399
|
};
|
|
227585
227400
|
var postreleaseSpecifiers2 = ["post", "rev", "r"];
|
|
227586
227401
|
var devReleaseSpecifiers2 = ["dev"];
|
|
227587
|
-
var epochRegex2 = /(\d+)
|
|
227402
|
+
var epochRegex2 = /(\d+)!/;
|
|
227588
227403
|
var releaseSegmentRegex2 = /(\d+(?:\.\d+)*)/;
|
|
227589
227404
|
var prereleaseRegex2 = buildRegexWithSpecifier2(prereleaseSpecifiers2);
|
|
227590
227405
|
var postreleaseRegex2 = buildRegexWithSpecifier2(postreleaseSpecifiers2);
|
|
@@ -231562,7 +231377,13 @@ var CLILogger2 = class {
|
|
|
231562
231377
|
this.logger = (0, import_winston2.createLogger)({
|
|
231563
231378
|
level: debug ? "debug" : "info",
|
|
231564
231379
|
levels: customLevels,
|
|
231565
|
-
format: import_winston2.format.combine(
|
|
231380
|
+
format: import_winston2.format.combine(
|
|
231381
|
+
import_winston2.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss.SSS" }),
|
|
231382
|
+
utilFormatter2(),
|
|
231383
|
+
import_winston2.format.colorize(),
|
|
231384
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
231385
|
+
import_winston2.format.printf(({ level, message: message2, label, timestamp }) => `${timestamp} ${label || "-"} ${level}: ${message2}`)
|
|
231386
|
+
),
|
|
231566
231387
|
transports
|
|
231567
231388
|
});
|
|
231568
231389
|
}
|
|
@@ -231590,7 +231411,13 @@ var CLILogger2 = class {
|
|
|
231590
231411
|
this.logger = (0, import_winston2.createLogger)({
|
|
231591
231412
|
level: options.debug ? "debug" : "info",
|
|
231592
231413
|
levels: customLevels,
|
|
231593
|
-
format: import_winston2.format.combine(
|
|
231414
|
+
format: import_winston2.format.combine(
|
|
231415
|
+
import_winston2.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss.SSS" }),
|
|
231416
|
+
utilFormatter2(),
|
|
231417
|
+
import_winston2.format.colorize(),
|
|
231418
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
231419
|
+
import_winston2.format.printf(({ level, message: message2, label, timestamp }) => `${timestamp} ${label || "-"} ${level}: ${message2}`)
|
|
231420
|
+
),
|
|
231594
231421
|
transports: [new import_winston2.transports.Console(), socketTransport]
|
|
231595
231422
|
});
|
|
231596
231423
|
}
|
|
@@ -232261,6 +232088,8 @@ async function extractAllToolsForNexeMode() {
|
|
|
232261
232088
|
getUvExecutable(),
|
|
232262
232089
|
// Extract Jelly (JavaScript/TypeScript analysis)
|
|
232263
232090
|
extractTool("jelly-private", "repos/coana-tech/jelly-private"),
|
|
232091
|
+
// Extract SPAR (Experimental JS/TS analysis)
|
|
232092
|
+
extractTool("spar", "repos/coana-tech/spar"),
|
|
232264
232093
|
// Extract Mambalade (Python analysis)
|
|
232265
232094
|
extractTool("mambalade", "repos/coana-tech/mambalade"),
|
|
232266
232095
|
// Extract Goana (Go analysis) - platform/arch-specific binary
|
|
@@ -235245,7 +235074,7 @@ var SocketLogServer = class {
|
|
|
235245
235074
|
};
|
|
235246
235075
|
|
|
235247
235076
|
// ../utils/src/logging/main-process-transport.ts
|
|
235248
|
-
var import_winston_transport = __toESM(
|
|
235077
|
+
var import_winston_transport = __toESM(require_winston_transport(), 1);
|
|
235249
235078
|
var MainProcessTransport = class extends import_winston_transport.default {
|
|
235250
235079
|
socketLogServer;
|
|
235251
235080
|
context;
|
|
@@ -235589,15 +235418,17 @@ async function inferExcludeDirsFromConfigurationFiles(rootWorkingDir) {
|
|
|
235589
235418
|
}
|
|
235590
235419
|
async function inferExcludeDirsFromSocketConfig(socketConfigFile) {
|
|
235591
235420
|
try {
|
|
235592
|
-
const
|
|
235593
|
-
const version4 =
|
|
235594
|
-
const
|
|
235595
|
-
|
|
235421
|
+
const doc = (0, import_yaml2.parseDocument)(await readFile35(socketConfigFile, "utf8"));
|
|
235422
|
+
const version4 = doc.get("version");
|
|
235423
|
+
const key = version4 === 1 ? "ignore" : "projectIgnorePaths";
|
|
235424
|
+
const ignorePathsNode = doc.get(key, true);
|
|
235425
|
+
if (!ignorePathsNode || !(0, import_yaml2.isSeq)(ignorePathsNode))
|
|
235596
235426
|
return void 0;
|
|
235427
|
+
const ignorePaths = ignorePathsNode.items.map((item) => String(item));
|
|
235597
235428
|
if (ignorePaths.some((ignorePath) => ignorePath.includes("!")))
|
|
235598
235429
|
return void 0;
|
|
235599
235430
|
logger.info(`Inferring paths to exclude based on Socket config file: ${basename11(socketConfigFile)}`);
|
|
235600
|
-
return
|
|
235431
|
+
return ignorePaths;
|
|
235601
235432
|
} catch (e) {
|
|
235602
235433
|
return void 0;
|
|
235603
235434
|
}
|
|
@@ -239383,7 +239214,7 @@ var import_css_what2 = __toESM(require_commonjs(), 1);
|
|
|
239383
239214
|
var whitespace = /* @__PURE__ */ new Set([9, 10, 12, 13, 32]);
|
|
239384
239215
|
var ZERO = "0".charCodeAt(0);
|
|
239385
239216
|
var NINE = "9".charCodeAt(0);
|
|
239386
|
-
function
|
|
239217
|
+
function parse9(formula) {
|
|
239387
239218
|
formula = formula.trim().toLowerCase();
|
|
239388
239219
|
if (formula === "even") {
|
|
239389
239220
|
return [2, 0];
|
|
@@ -239456,7 +239287,7 @@ function compile(parsed) {
|
|
|
239456
239287
|
|
|
239457
239288
|
// ../../node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/index.js
|
|
239458
239289
|
function nthCheck(formula) {
|
|
239459
|
-
return compile(
|
|
239290
|
+
return compile(parse9(formula));
|
|
239460
239291
|
}
|
|
239461
239292
|
|
|
239462
239293
|
// ../../node_modules/.pnpm/css-select@5.1.0/node_modules/css-select/lib/esm/pseudo-selectors/filters.js
|
|
@@ -240578,7 +240409,7 @@ __export(manipulation_exports, {
|
|
|
240578
240409
|
|
|
240579
240410
|
// ../../node_modules/.pnpm/cheerio@1.0.0-rc.12/node_modules/cheerio/lib/esm/parse.js
|
|
240580
240411
|
function getParse(parser2) {
|
|
240581
|
-
return function
|
|
240412
|
+
return function parse16(content, options, isDocument2, context2) {
|
|
240582
240413
|
if (typeof Buffer !== "undefined" && Buffer.isBuffer(content)) {
|
|
240583
240414
|
content = content.toString();
|
|
240584
240415
|
}
|
|
@@ -240958,7 +240789,7 @@ function setCss(el, prop2, value2, idx) {
|
|
|
240958
240789
|
function getCss(el, prop2) {
|
|
240959
240790
|
if (!el || !isTag2(el))
|
|
240960
240791
|
return;
|
|
240961
|
-
const styles =
|
|
240792
|
+
const styles = parse13(el.attribs["style"]);
|
|
240962
240793
|
if (typeof prop2 === "string") {
|
|
240963
240794
|
return styles[prop2];
|
|
240964
240795
|
}
|
|
@@ -240976,7 +240807,7 @@ function getCss(el, prop2) {
|
|
|
240976
240807
|
function stringify2(obj) {
|
|
240977
240808
|
return Object.keys(obj).reduce((str, prop2) => `${str}${str ? " " : ""}${prop2}: ${obj[prop2]};`, "");
|
|
240978
240809
|
}
|
|
240979
|
-
function
|
|
240810
|
+
function parse13(styles) {
|
|
240980
240811
|
styles = (styles || "").trim();
|
|
240981
240812
|
if (!styles)
|
|
240982
240813
|
return {};
|
|
@@ -241069,13 +240900,13 @@ Cheerio.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
|
|
|
241069
240900
|
Object.assign(Cheerio.prototype, attributes_exports, traversing_exports, manipulation_exports, css_exports, forms_exports);
|
|
241070
240901
|
|
|
241071
240902
|
// ../../node_modules/.pnpm/cheerio@1.0.0-rc.12/node_modules/cheerio/lib/esm/load.js
|
|
241072
|
-
function getLoad(
|
|
240903
|
+
function getLoad(parse16, render3) {
|
|
241073
240904
|
return function load2(content, options, isDocument2 = true) {
|
|
241074
240905
|
if (content == null) {
|
|
241075
240906
|
throw new Error("cheerio.load() expects a string");
|
|
241076
240907
|
}
|
|
241077
240908
|
const internalOpts = { ...options_default, ...flatten(options) };
|
|
241078
|
-
const initialRoot =
|
|
240909
|
+
const initialRoot = parse16(content, internalOpts, isDocument2, null);
|
|
241079
240910
|
class LoadedCheerio extends Cheerio {
|
|
241080
240911
|
_make(selector, context2) {
|
|
241081
240912
|
const cheerio = initialize(selector, context2);
|
|
@@ -241083,7 +240914,7 @@ function getLoad(parse17, render3) {
|
|
|
241083
240914
|
return cheerio;
|
|
241084
240915
|
}
|
|
241085
240916
|
_parse(content2, options2, isDocument3, context2) {
|
|
241086
|
-
return
|
|
240917
|
+
return parse16(content2, options2, isDocument3, context2);
|
|
241087
240918
|
}
|
|
241088
240919
|
_render(dom) {
|
|
241089
240920
|
return render3(dom, this.options);
|
|
@@ -241096,7 +240927,7 @@ function getLoad(parse17, render3) {
|
|
|
241096
240927
|
...internalOpts,
|
|
241097
240928
|
...flatten(opts)
|
|
241098
240929
|
};
|
|
241099
|
-
const r3 = typeof root3 === "string" ? [
|
|
240930
|
+
const r3 = typeof root3 === "string" ? [parse16(root3, options2, false, null)] : "length" in root3 ? root3 : [root3];
|
|
241100
240931
|
const rootInstance = isCheerio(r3) ? r3 : new LoadedCheerio(r3, null, options2);
|
|
241101
240932
|
rootInstance._root = rootInstance;
|
|
241102
240933
|
if (!selector) {
|
|
@@ -241104,7 +240935,7 @@ function getLoad(parse17, render3) {
|
|
|
241104
240935
|
}
|
|
241105
240936
|
const elements = typeof selector === "string" && isHtml(selector) ? (
|
|
241106
240937
|
// $(<html>)
|
|
241107
|
-
|
|
240938
|
+
parse16(selector, options2, false, null).children
|
|
241108
240939
|
) : isNode(selector) ? (
|
|
241109
240940
|
// $(dom)
|
|
241110
240941
|
[selector]
|
|
@@ -241125,7 +240956,7 @@ function getLoad(parse17, render3) {
|
|
|
241125
240956
|
rootInstance
|
|
241126
240957
|
) : typeof context2 === "string" ? isHtml(context2) ? (
|
|
241127
240958
|
// $('li', '<ul>...</ul>')
|
|
241128
|
-
new LoadedCheerio([
|
|
240959
|
+
new LoadedCheerio([parse16(context2, options2, false, null)], rootInstance, options2)
|
|
241129
240960
|
) : (
|
|
241130
240961
|
// $('li', 'ul')
|
|
241131
240962
|
(search = `${context2} ${search}`, rootInstance)
|
|
@@ -248803,7 +248634,7 @@ function serializeDocumentTypeNode(node, { treeAdapter }) {
|
|
|
248803
248634
|
}
|
|
248804
248635
|
|
|
248805
248636
|
// ../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/index.js
|
|
248806
|
-
function
|
|
248637
|
+
function parse14(html3, options) {
|
|
248807
248638
|
return Parser3.parse(html3, options);
|
|
248808
248639
|
}
|
|
248809
248640
|
function parseFragment(fragmentContext, html3, options) {
|
|
@@ -249032,7 +248863,7 @@ function parseWithParse5(content, options, isDocument2, context2) {
|
|
|
249032
248863
|
treeAdapter: adapter2,
|
|
249033
248864
|
sourceCodeLocationInfo: options.sourceCodeLocationInfo
|
|
249034
248865
|
};
|
|
249035
|
-
return isDocument2 ?
|
|
248866
|
+
return isDocument2 ? parse14(content, opts) : parseFragment(context2, content, opts);
|
|
249036
248867
|
}
|
|
249037
248868
|
var renderOpts = { treeAdapter: adapter2 };
|
|
249038
248869
|
function renderWithParse5(dom) {
|
|
@@ -250288,15 +250119,15 @@ var Parser4 = class {
|
|
|
250288
250119
|
};
|
|
250289
250120
|
|
|
250290
250121
|
// ../../node_modules/.pnpm/htmlparser2@8.0.2/node_modules/htmlparser2/lib/esm/index.js
|
|
250291
|
-
function
|
|
250122
|
+
function parseDocument2(data2, options) {
|
|
250292
250123
|
const handler = new DomHandler(void 0, options);
|
|
250293
250124
|
new Parser4(handler, options).end(data2);
|
|
250294
250125
|
return handler.root;
|
|
250295
250126
|
}
|
|
250296
250127
|
|
|
250297
250128
|
// ../../node_modules/.pnpm/cheerio@1.0.0-rc.12/node_modules/cheerio/lib/esm/index.js
|
|
250298
|
-
var
|
|
250299
|
-
var load = getLoad(
|
|
250129
|
+
var parse15 = getParse((content, options, isDocument2, context2) => options.xmlMode || options._useHtmlParser2 ? parseDocument2(content, options) : parseWithParse5(content, options, isDocument2, context2));
|
|
250130
|
+
var load = getLoad(parse15, (dom, options) => options.xmlMode || options._useHtmlParser2 ? esm_default2(dom, options) : renderWithParse5(dom));
|
|
250300
250131
|
var esm_default3 = load([]);
|
|
250301
250132
|
var { contains: contains2 } = static_exports;
|
|
250302
250133
|
var { merge: merge4 } = static_exports;
|
|
@@ -251677,7 +251508,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
251677
251508
|
}
|
|
251678
251509
|
|
|
251679
251510
|
// dist/version.js
|
|
251680
|
-
var version3 = "14.12.
|
|
251511
|
+
var version3 = "14.12.203";
|
|
251681
251512
|
|
|
251682
251513
|
// dist/cli-core.js
|
|
251683
251514
|
var { mapValues, omit, partition, pickBy: pickBy2 } = import_lodash15.default;
|
|
@@ -251796,6 +251627,33 @@ var CliCore = class {
|
|
|
251796
251627
|
throw new Error("The --manifests-tar-hash option is only supported when using --socket-mode");
|
|
251797
251628
|
}
|
|
251798
251629
|
}
|
|
251630
|
+
/**
|
|
251631
|
+
* Returns the ecosystems derived from purlTypes, or undefined if no purlTypes were specified.
|
|
251632
|
+
* When both ecosystems and purlTypes are specified, purlTypes takes precedence for filtering.
|
|
251633
|
+
*/
|
|
251634
|
+
getEffectiveEcosystems() {
|
|
251635
|
+
if (this.options.purlTypes) {
|
|
251636
|
+
const fromPurlTypes = this.options.purlTypes.map((pt) => getAdvisoryEcosystemFromPurlType(pt)).filter((e) => e !== void 0);
|
|
251637
|
+
if (fromPurlTypes.length === 0) {
|
|
251638
|
+
return void 0;
|
|
251639
|
+
}
|
|
251640
|
+
if (this.options.ecosystems) {
|
|
251641
|
+
const intersection = fromPurlTypes.filter((e) => this.options.ecosystems.includes(e));
|
|
251642
|
+
return intersection.length > 0 ? intersection : void 0;
|
|
251643
|
+
}
|
|
251644
|
+
return fromPurlTypes;
|
|
251645
|
+
}
|
|
251646
|
+
return this.options.ecosystems;
|
|
251647
|
+
}
|
|
251648
|
+
/**
|
|
251649
|
+
* Filters an array of ecosystems by purlTypes if specified.
|
|
251650
|
+
*/
|
|
251651
|
+
filterEcosystemsByPurlTypes(ecosystems) {
|
|
251652
|
+
if (!this.options.purlTypes)
|
|
251653
|
+
return ecosystems;
|
|
251654
|
+
const allowedEcosystems = new Set(this.options.purlTypes.map((pt) => getAdvisoryEcosystemFromPurlType(pt)).filter((e) => e !== void 0));
|
|
251655
|
+
return ecosystems.filter((e) => allowedEcosystems.has(e));
|
|
251656
|
+
}
|
|
251799
251657
|
async main() {
|
|
251800
251658
|
const tmpDir = await createTmpDirectory("coana-cli-");
|
|
251801
251659
|
this.coanaLogPath = join34(tmpDir, "coana-log.txt");
|
|
@@ -251885,7 +251743,7 @@ var CliCore = class {
|
|
|
251885
251743
|
logger.info("Fetching artifacts from Socket backend");
|
|
251886
251744
|
if (!this.options.disableExternalToolChecks) {
|
|
251887
251745
|
const manifestFiles = await fetchManifestFilesFromManifestsTarHash(this.options.manifestsTarHash);
|
|
251888
|
-
const ecosystems = getEcosystemsFromManifestFileNames(manifestFiles);
|
|
251746
|
+
const ecosystems = this.filterEcosystemsByPurlTypes(getEcosystemsFromManifestFileNames(manifestFiles));
|
|
251889
251747
|
await validateExternalDependencies(ecosystems, "run", manifestFiles);
|
|
251890
251748
|
}
|
|
251891
251749
|
this.sendProgress("SCAN_FOR_VULNERABILITIES", true, ".", ".");
|
|
@@ -252029,7 +251887,7 @@ var CliCore = class {
|
|
|
252029
251887
|
async computeReport(otherModulesCommunicator) {
|
|
252030
251888
|
const startTime = (/* @__PURE__ */ new Date()).toISOString();
|
|
252031
251889
|
this.sendProgress("CREATE_PROJECT_MANAGER", true);
|
|
252032
|
-
const manager = await ProjectManager.create(this.rootWorkingDirectory, otherModulesCommunicator, this.
|
|
251890
|
+
const manager = await ProjectManager.create(this.rootWorkingDirectory, otherModulesCommunicator, this.getEffectiveEcosystems(), this.options.includeDirs, this.options.excludeDirs, this.options.changedFiles);
|
|
252033
251891
|
this.sendProgress("CREATE_PROJECT_MANAGER", false);
|
|
252034
251892
|
const { reachabilitySupport, traditionalScaSupport, noSupport } = manager.getSubprojectsWithWorkspacePaths();
|
|
252035
251893
|
await this.dashboardAPI.registerSubprojects([...reachabilitySupport, ...traditionalScaSupport, ...noSupport].map((sp) => ({
|
|
@@ -252723,6 +252581,18 @@ computeFixesAndUpgradePurlsCmd.name("compute-fixes-and-upgrade-purls").argument(
|
|
|
252723
252581
|
logger.initWinstonLogger(options.debug, logFile);
|
|
252724
252582
|
try {
|
|
252725
252583
|
await initializeComputeFixesAndUpgradePurls(path9, options);
|
|
252584
|
+
if (!options.exclude) {
|
|
252585
|
+
const ignorePaths = await inferExcludeDirsFromConfigurationFiles(path9);
|
|
252586
|
+
if (ignorePaths) {
|
|
252587
|
+
options.exclude = ignorePaths.flatMap((p3) => {
|
|
252588
|
+
const firstSlash = p3.indexOf("/");
|
|
252589
|
+
const prefix = firstSlash === -1 || firstSlash === p3.length - 1 ? "**/" : "";
|
|
252590
|
+
const normalized = p3.startsWith("/") ? p3.slice(1) : p3;
|
|
252591
|
+
const pattern = `${prefix}${normalized}`;
|
|
252592
|
+
return [pattern, `${pattern}/**`];
|
|
252593
|
+
});
|
|
252594
|
+
}
|
|
252595
|
+
}
|
|
252726
252596
|
const optionsToUse = {
|
|
252727
252597
|
...y(options, ["minimumReleaseAge"]),
|
|
252728
252598
|
minimumReleaseAgeInMinutes: options.minimumReleaseAge ? parseMinimumReleaseAgeToMinutes(options.minimumReleaseAge) : void 0
|