@coana-tech/cli 14.12.202 → 14.12.204
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 +143 -129
- package/package.json +1 -1
- package/reachability-analyzers-cli.mjs +86 -62
- 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/runtime/dist/approx.js +1060 -0
- package/repos/coana-tech/spar/runtime/dist/hints.js +131 -0
- package/repos/coana-tech/spar/runtime/dist/hooks.js +172 -0
- package/repos/coana-tech/spar/runtime/dist/logger.js +66 -0
- package/repos/coana-tech/spar/runtime/dist/options.js +10 -0
- package/repos/coana-tech/spar/runtime/dist/proxy.js +119 -0
- package/repos/coana-tech/spar/runtime/dist/sandbox.js +84 -0
- package/repos/coana-tech/spar/runtime/dist/types.js +3 -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
|
};
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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);
|
|
@@ -147702,7 +147702,7 @@ var require_Node2 = __commonJS({
|
|
|
147702
147702
|
var isMap = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === MAP;
|
|
147703
147703
|
var isPair = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === PAIR;
|
|
147704
147704
|
var isScalar = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === SCALAR;
|
|
147705
|
-
var
|
|
147705
|
+
var isSeq2 = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === SEQ;
|
|
147706
147706
|
function isCollection(node) {
|
|
147707
147707
|
if (node && typeof node === "object")
|
|
147708
147708
|
switch (node[NODE_TYPE]) {
|
|
@@ -147752,7 +147752,7 @@ var require_Node2 = __commonJS({
|
|
|
147752
147752
|
exports2.isNode = isNode2;
|
|
147753
147753
|
exports2.isPair = isPair;
|
|
147754
147754
|
exports2.isScalar = isScalar;
|
|
147755
|
-
exports2.isSeq =
|
|
147755
|
+
exports2.isSeq = isSeq2;
|
|
147756
147756
|
}
|
|
147757
147757
|
});
|
|
147758
147758
|
|
|
@@ -154647,7 +154647,7 @@ var require_public_api2 = __commonJS({
|
|
|
154647
154647
|
return docs;
|
|
154648
154648
|
return Object.assign([], { empty: true }, composer$1.streamInfo());
|
|
154649
154649
|
}
|
|
154650
|
-
function
|
|
154650
|
+
function parseDocument3(source, options = {}) {
|
|
154651
154651
|
const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options);
|
|
154652
154652
|
const parser$1 = new parser2.Parser(lineCounter2?.addNewLine);
|
|
154653
154653
|
const composer$1 = new composer.Composer(options);
|
|
@@ -154666,14 +154666,14 @@ var require_public_api2 = __commonJS({
|
|
|
154666
154666
|
}
|
|
154667
154667
|
return doc;
|
|
154668
154668
|
}
|
|
154669
|
-
function
|
|
154669
|
+
function parse16(src, reviver, options) {
|
|
154670
154670
|
let _reviver = void 0;
|
|
154671
154671
|
if (typeof reviver === "function") {
|
|
154672
154672
|
_reviver = reviver;
|
|
154673
154673
|
} else if (options === void 0 && reviver && typeof reviver === "object") {
|
|
154674
154674
|
options = reviver;
|
|
154675
154675
|
}
|
|
154676
|
-
const doc =
|
|
154676
|
+
const doc = parseDocument3(src, options);
|
|
154677
154677
|
if (!doc)
|
|
154678
154678
|
return null;
|
|
154679
154679
|
doc.warnings.forEach((warning) => log2.warn(doc.options.logLevel, warning));
|
|
@@ -154705,9 +154705,9 @@ var require_public_api2 = __commonJS({
|
|
|
154705
154705
|
}
|
|
154706
154706
|
return new Document2.Document(value2, _replacer, options).toString(options);
|
|
154707
154707
|
}
|
|
154708
|
-
exports2.parse =
|
|
154708
|
+
exports2.parse = parse16;
|
|
154709
154709
|
exports2.parseAllDocuments = parseAllDocuments;
|
|
154710
|
-
exports2.parseDocument =
|
|
154710
|
+
exports2.parseDocument = parseDocument3;
|
|
154711
154711
|
exports2.stringify = stringify3;
|
|
154712
154712
|
}
|
|
154713
154713
|
});
|
|
@@ -162036,7 +162036,7 @@ var require_bson = __commonJS({
|
|
|
162036
162036
|
throw new BSONError("_bsontype must be a string, but was: " + typeof bsontype);
|
|
162037
162037
|
}
|
|
162038
162038
|
}
|
|
162039
|
-
function
|
|
162039
|
+
function parse16(text3, options) {
|
|
162040
162040
|
const ejsonOptions = {
|
|
162041
162041
|
useBigInt64: options?.useBigInt64 ?? false,
|
|
162042
162042
|
relaxed: options?.relaxed ?? true,
|
|
@@ -162071,10 +162071,10 @@ var require_bson = __commonJS({
|
|
|
162071
162071
|
}
|
|
162072
162072
|
function EJSONdeserialize(ejson, options) {
|
|
162073
162073
|
options = options || {};
|
|
162074
|
-
return
|
|
162074
|
+
return parse16(JSON.stringify(ejson), options);
|
|
162075
162075
|
}
|
|
162076
162076
|
var EJSON = /* @__PURE__ */ Object.create(null);
|
|
162077
|
-
EJSON.parse =
|
|
162077
|
+
EJSON.parse = parse16;
|
|
162078
162078
|
EJSON.stringify = stringify3;
|
|
162079
162079
|
EJSON.serialize = EJSONserialize;
|
|
162080
162080
|
EJSON.deserialize = EJSONdeserialize;
|
|
@@ -184300,7 +184300,7 @@ var require_parse9 = __commonJS({
|
|
|
184300
184300
|
function isWhitespace3(c3) {
|
|
184301
184301
|
return c3 === 32 || c3 === 9 || c3 === 10 || c3 === 12 || c3 === 13;
|
|
184302
184302
|
}
|
|
184303
|
-
function
|
|
184303
|
+
function parse16(selector) {
|
|
184304
184304
|
var subselects2 = [];
|
|
184305
184305
|
var endIndex = parseSelector(subselects2, "".concat(selector), 0);
|
|
184306
184306
|
if (endIndex < selector.length) {
|
|
@@ -184308,7 +184308,7 @@ var require_parse9 = __commonJS({
|
|
|
184308
184308
|
}
|
|
184309
184309
|
return subselects2;
|
|
184310
184310
|
}
|
|
184311
|
-
exports2.parse =
|
|
184311
|
+
exports2.parse = parse16;
|
|
184312
184312
|
function parseSelector(subselects2, selector, selectorIndex) {
|
|
184313
184313
|
var tokens = [];
|
|
184314
184314
|
function getName2(offset) {
|
|
@@ -208879,12 +208879,12 @@ var listFileSync = (opt) => {
|
|
|
208879
208879
|
}
|
|
208880
208880
|
};
|
|
208881
208881
|
var listFile = (opt, _files) => {
|
|
208882
|
-
const
|
|
208882
|
+
const parse16 = new Parser(opt);
|
|
208883
208883
|
const readSize = opt.maxReadSize || 16 * 1024 * 1024;
|
|
208884
208884
|
const file = opt.file;
|
|
208885
208885
|
const p3 = new Promise((resolve45, reject) => {
|
|
208886
|
-
|
|
208887
|
-
|
|
208886
|
+
parse16.on("error", reject);
|
|
208887
|
+
parse16.on("end", resolve45);
|
|
208888
208888
|
fs2.stat(file, (er, stat5) => {
|
|
208889
208889
|
if (er) {
|
|
208890
208890
|
reject(er);
|
|
@@ -208894,7 +208894,7 @@ var listFile = (opt, _files) => {
|
|
|
208894
208894
|
size: stat5.size
|
|
208895
208895
|
});
|
|
208896
208896
|
stream5.on("error", reject);
|
|
208897
|
-
stream5.pipe(
|
|
208897
|
+
stream5.pipe(parse16);
|
|
208898
208898
|
}
|
|
208899
208899
|
});
|
|
208900
208900
|
});
|
|
@@ -235418,15 +235418,17 @@ async function inferExcludeDirsFromConfigurationFiles(rootWorkingDir) {
|
|
|
235418
235418
|
}
|
|
235419
235419
|
async function inferExcludeDirsFromSocketConfig(socketConfigFile) {
|
|
235420
235420
|
try {
|
|
235421
|
-
const
|
|
235422
|
-
const version4 =
|
|
235423
|
-
const
|
|
235424
|
-
|
|
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))
|
|
235425
235426
|
return void 0;
|
|
235427
|
+
const ignorePaths = ignorePathsNode.items.map((item) => String(item));
|
|
235426
235428
|
if (ignorePaths.some((ignorePath) => ignorePath.includes("!")))
|
|
235427
235429
|
return void 0;
|
|
235428
235430
|
logger.info(`Inferring paths to exclude based on Socket config file: ${basename11(socketConfigFile)}`);
|
|
235429
|
-
return
|
|
235431
|
+
return ignorePaths;
|
|
235430
235432
|
} catch (e) {
|
|
235431
235433
|
return void 0;
|
|
235432
235434
|
}
|
|
@@ -239212,7 +239214,7 @@ var import_css_what2 = __toESM(require_commonjs(), 1);
|
|
|
239212
239214
|
var whitespace = /* @__PURE__ */ new Set([9, 10, 12, 13, 32]);
|
|
239213
239215
|
var ZERO = "0".charCodeAt(0);
|
|
239214
239216
|
var NINE = "9".charCodeAt(0);
|
|
239215
|
-
function
|
|
239217
|
+
function parse9(formula) {
|
|
239216
239218
|
formula = formula.trim().toLowerCase();
|
|
239217
239219
|
if (formula === "even") {
|
|
239218
239220
|
return [2, 0];
|
|
@@ -239285,7 +239287,7 @@ function compile(parsed) {
|
|
|
239285
239287
|
|
|
239286
239288
|
// ../../node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/index.js
|
|
239287
239289
|
function nthCheck(formula) {
|
|
239288
|
-
return compile(
|
|
239290
|
+
return compile(parse9(formula));
|
|
239289
239291
|
}
|
|
239290
239292
|
|
|
239291
239293
|
// ../../node_modules/.pnpm/css-select@5.1.0/node_modules/css-select/lib/esm/pseudo-selectors/filters.js
|
|
@@ -240407,7 +240409,7 @@ __export(manipulation_exports, {
|
|
|
240407
240409
|
|
|
240408
240410
|
// ../../node_modules/.pnpm/cheerio@1.0.0-rc.12/node_modules/cheerio/lib/esm/parse.js
|
|
240409
240411
|
function getParse(parser2) {
|
|
240410
|
-
return function
|
|
240412
|
+
return function parse16(content, options, isDocument2, context2) {
|
|
240411
240413
|
if (typeof Buffer !== "undefined" && Buffer.isBuffer(content)) {
|
|
240412
240414
|
content = content.toString();
|
|
240413
240415
|
}
|
|
@@ -240787,7 +240789,7 @@ function setCss(el, prop2, value2, idx) {
|
|
|
240787
240789
|
function getCss(el, prop2) {
|
|
240788
240790
|
if (!el || !isTag2(el))
|
|
240789
240791
|
return;
|
|
240790
|
-
const styles =
|
|
240792
|
+
const styles = parse13(el.attribs["style"]);
|
|
240791
240793
|
if (typeof prop2 === "string") {
|
|
240792
240794
|
return styles[prop2];
|
|
240793
240795
|
}
|
|
@@ -240805,7 +240807,7 @@ function getCss(el, prop2) {
|
|
|
240805
240807
|
function stringify2(obj) {
|
|
240806
240808
|
return Object.keys(obj).reduce((str, prop2) => `${str}${str ? " " : ""}${prop2}: ${obj[prop2]};`, "");
|
|
240807
240809
|
}
|
|
240808
|
-
function
|
|
240810
|
+
function parse13(styles) {
|
|
240809
240811
|
styles = (styles || "").trim();
|
|
240810
240812
|
if (!styles)
|
|
240811
240813
|
return {};
|
|
@@ -240898,13 +240900,13 @@ Cheerio.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
|
|
|
240898
240900
|
Object.assign(Cheerio.prototype, attributes_exports, traversing_exports, manipulation_exports, css_exports, forms_exports);
|
|
240899
240901
|
|
|
240900
240902
|
// ../../node_modules/.pnpm/cheerio@1.0.0-rc.12/node_modules/cheerio/lib/esm/load.js
|
|
240901
|
-
function getLoad(
|
|
240903
|
+
function getLoad(parse16, render3) {
|
|
240902
240904
|
return function load2(content, options, isDocument2 = true) {
|
|
240903
240905
|
if (content == null) {
|
|
240904
240906
|
throw new Error("cheerio.load() expects a string");
|
|
240905
240907
|
}
|
|
240906
240908
|
const internalOpts = { ...options_default, ...flatten(options) };
|
|
240907
|
-
const initialRoot =
|
|
240909
|
+
const initialRoot = parse16(content, internalOpts, isDocument2, null);
|
|
240908
240910
|
class LoadedCheerio extends Cheerio {
|
|
240909
240911
|
_make(selector, context2) {
|
|
240910
240912
|
const cheerio = initialize(selector, context2);
|
|
@@ -240912,7 +240914,7 @@ function getLoad(parse17, render3) {
|
|
|
240912
240914
|
return cheerio;
|
|
240913
240915
|
}
|
|
240914
240916
|
_parse(content2, options2, isDocument3, context2) {
|
|
240915
|
-
return
|
|
240917
|
+
return parse16(content2, options2, isDocument3, context2);
|
|
240916
240918
|
}
|
|
240917
240919
|
_render(dom) {
|
|
240918
240920
|
return render3(dom, this.options);
|
|
@@ -240925,7 +240927,7 @@ function getLoad(parse17, render3) {
|
|
|
240925
240927
|
...internalOpts,
|
|
240926
240928
|
...flatten(opts)
|
|
240927
240929
|
};
|
|
240928
|
-
const r3 = typeof root3 === "string" ? [
|
|
240930
|
+
const r3 = typeof root3 === "string" ? [parse16(root3, options2, false, null)] : "length" in root3 ? root3 : [root3];
|
|
240929
240931
|
const rootInstance = isCheerio(r3) ? r3 : new LoadedCheerio(r3, null, options2);
|
|
240930
240932
|
rootInstance._root = rootInstance;
|
|
240931
240933
|
if (!selector) {
|
|
@@ -240933,7 +240935,7 @@ function getLoad(parse17, render3) {
|
|
|
240933
240935
|
}
|
|
240934
240936
|
const elements = typeof selector === "string" && isHtml(selector) ? (
|
|
240935
240937
|
// $(<html>)
|
|
240936
|
-
|
|
240938
|
+
parse16(selector, options2, false, null).children
|
|
240937
240939
|
) : isNode(selector) ? (
|
|
240938
240940
|
// $(dom)
|
|
240939
240941
|
[selector]
|
|
@@ -240954,7 +240956,7 @@ function getLoad(parse17, render3) {
|
|
|
240954
240956
|
rootInstance
|
|
240955
240957
|
) : typeof context2 === "string" ? isHtml(context2) ? (
|
|
240956
240958
|
// $('li', '<ul>...</ul>')
|
|
240957
|
-
new LoadedCheerio([
|
|
240959
|
+
new LoadedCheerio([parse16(context2, options2, false, null)], rootInstance, options2)
|
|
240958
240960
|
) : (
|
|
240959
240961
|
// $('li', 'ul')
|
|
240960
240962
|
(search = `${context2} ${search}`, rootInstance)
|
|
@@ -248632,7 +248634,7 @@ function serializeDocumentTypeNode(node, { treeAdapter }) {
|
|
|
248632
248634
|
}
|
|
248633
248635
|
|
|
248634
248636
|
// ../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/index.js
|
|
248635
|
-
function
|
|
248637
|
+
function parse14(html3, options) {
|
|
248636
248638
|
return Parser3.parse(html3, options);
|
|
248637
248639
|
}
|
|
248638
248640
|
function parseFragment(fragmentContext, html3, options) {
|
|
@@ -248861,7 +248863,7 @@ function parseWithParse5(content, options, isDocument2, context2) {
|
|
|
248861
248863
|
treeAdapter: adapter2,
|
|
248862
248864
|
sourceCodeLocationInfo: options.sourceCodeLocationInfo
|
|
248863
248865
|
};
|
|
248864
|
-
return isDocument2 ?
|
|
248866
|
+
return isDocument2 ? parse14(content, opts) : parseFragment(context2, content, opts);
|
|
248865
248867
|
}
|
|
248866
248868
|
var renderOpts = { treeAdapter: adapter2 };
|
|
248867
248869
|
function renderWithParse5(dom) {
|
|
@@ -250117,15 +250119,15 @@ var Parser4 = class {
|
|
|
250117
250119
|
};
|
|
250118
250120
|
|
|
250119
250121
|
// ../../node_modules/.pnpm/htmlparser2@8.0.2/node_modules/htmlparser2/lib/esm/index.js
|
|
250120
|
-
function
|
|
250122
|
+
function parseDocument2(data2, options) {
|
|
250121
250123
|
const handler = new DomHandler(void 0, options);
|
|
250122
250124
|
new Parser4(handler, options).end(data2);
|
|
250123
250125
|
return handler.root;
|
|
250124
250126
|
}
|
|
250125
250127
|
|
|
250126
250128
|
// ../../node_modules/.pnpm/cheerio@1.0.0-rc.12/node_modules/cheerio/lib/esm/index.js
|
|
250127
|
-
var
|
|
250128
|
-
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));
|
|
250129
250131
|
var esm_default3 = load([]);
|
|
250130
250132
|
var { contains: contains2 } = static_exports;
|
|
250131
250133
|
var { merge: merge4 } = static_exports;
|
|
@@ -251506,7 +251508,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
251506
251508
|
}
|
|
251507
251509
|
|
|
251508
251510
|
// dist/version.js
|
|
251509
|
-
var version3 = "14.12.
|
|
251511
|
+
var version3 = "14.12.204";
|
|
251510
251512
|
|
|
251511
251513
|
// dist/cli-core.js
|
|
251512
251514
|
var { mapValues, omit, partition, pickBy: pickBy2 } = import_lodash15.default;
|
|
@@ -252579,6 +252581,18 @@ computeFixesAndUpgradePurlsCmd.name("compute-fixes-and-upgrade-purls").argument(
|
|
|
252579
252581
|
logger.initWinstonLogger(options.debug, logFile);
|
|
252580
252582
|
try {
|
|
252581
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
|
+
}
|
|
252582
252596
|
const optionsToUse = {
|
|
252583
252597
|
...y(options, ["minimumReleaseAge"]),
|
|
252584
252598
|
minimumReleaseAgeInMinutes: options.minimumReleaseAge ? parseMinimumReleaseAgeToMinutes(options.minimumReleaseAge) : void 0
|