mirror of
https://github.com/github/codeql-action.git
synced 2026-04-02 01:32:17 +00:00
Copy defaults.json to lib
This commit is contained in:
12
build.mjs
12
build.mjs
@@ -1,9 +1,10 @@
|
||||
import { rm } from "node:fs/promises";
|
||||
import { dirname, join } from "node:path";
|
||||
import path, { dirname, join } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
import * as esbuild from "esbuild";
|
||||
import { globSync } from "glob";
|
||||
import { copy } from "esbuild-plugin-copy";
|
||||
import { typecheckPlugin } from "@jgoz/esbuild-plugin-typecheck";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
@@ -25,13 +26,20 @@ const onEndPlugin = {
|
||||
},
|
||||
};
|
||||
|
||||
const copyDefaults = copy({
|
||||
assets: {
|
||||
from: ["src/defaults.json"],
|
||||
to: ["defaults.json"],
|
||||
},
|
||||
});
|
||||
|
||||
const context = await esbuild.context({
|
||||
entryPoints: globSync(["src/*-action.ts", "src/*-action-post.ts"]),
|
||||
bundle: true,
|
||||
format: "cjs",
|
||||
outdir: OUT_DIR,
|
||||
platform: "node",
|
||||
plugins: [typecheckPlugin(), onEndPlugin],
|
||||
plugins: [typecheckPlugin(), copyDefaults, onEndPlugin],
|
||||
});
|
||||
|
||||
await context.rebuild();
|
||||
|
||||
118
lib/analyze-action-post.js
generated
118
lib/analyze-action-post.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -43171,6 +43172,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream) {
|
||||
const level = supportsColor(stream, stream && stream.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -43189,7 +43305,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
118
lib/analyze-action.js
generated
118
lib/analyze-action.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -43171,6 +43172,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os5 = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os5.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream2) {
|
||||
const level = supportsColor(stream2, stream2 && stream2.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -43189,7 +43305,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
118
lib/autobuild-action.js
generated
118
lib/autobuild-action.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -43171,6 +43172,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os2 = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os2.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream) {
|
||||
const level = supportsColor(stream, stream && stream.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -43189,7 +43305,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
6
lib/defaults.json
Normal file
6
lib/defaults.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"bundleVersion": "codeql-bundle-v2.22.4",
|
||||
"cliVersion": "2.22.4",
|
||||
"priorBundleVersion": "codeql-bundle-v2.22.3",
|
||||
"priorCliVersion": "2.22.3"
|
||||
}
|
||||
118
lib/init-action-post.js
generated
118
lib/init-action-post.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -43171,6 +43172,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os3 = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os3.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream2) {
|
||||
const level = supportsColor(stream2, stream2 && stream2.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -43189,7 +43305,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
118
lib/init-action.js
generated
118
lib/init-action.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -43171,6 +43172,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os5 = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os5.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream2) {
|
||||
const level = supportsColor(stream2, stream2 && stream2.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -43189,7 +43305,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
118
lib/resolve-environment-action.js
generated
118
lib/resolve-environment-action.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -43171,6 +43172,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os2 = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os2.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream) {
|
||||
const level = supportsColor(stream, stream && stream.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -43189,7 +43305,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
118
lib/start-proxy-action-post.js
generated
118
lib/start-proxy-action-post.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -43171,6 +43172,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream) {
|
||||
const level = supportsColor(stream, stream && stream.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -43189,7 +43305,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
1
lib/start-proxy-action.js
generated
1
lib/start-proxy-action.js
generated
@@ -54973,6 +54973,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
|
||||
118
lib/upload-sarif-action-post.js
generated
118
lib/upload-sarif-action-post.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -47798,6 +47799,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream) {
|
||||
const level = supportsColor(stream, stream && stream.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -47816,7 +47932,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
118
lib/upload-sarif-action.js
generated
118
lib/upload-sarif-action.js
generated
@@ -36445,6 +36445,7 @@ var require_package = __commonJS({
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
ava: "^6.4.1",
|
||||
esbuild: "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
eslint: "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -43171,6 +43172,121 @@ var require_browser = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/has-flag/index.js
|
||||
var require_has_flag = __commonJS({
|
||||
"node_modules/has-flag/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
module2.exports = (flag, argv = process.argv) => {
|
||||
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
||||
const position = argv.indexOf(prefix + flag);
|
||||
const terminatorPosition = argv.indexOf("--");
|
||||
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/supports-color/index.js
|
||||
var require_supports_color = __commonJS({
|
||||
"node_modules/supports-color/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var os3 = require("os");
|
||||
var tty = require("tty");
|
||||
var hasFlag = require_has_flag();
|
||||
var { env } = process;
|
||||
var forceColor;
|
||||
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
||||
forceColor = 0;
|
||||
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
||||
forceColor = 1;
|
||||
}
|
||||
if ("FORCE_COLOR" in env) {
|
||||
if (env.FORCE_COLOR === "true") {
|
||||
forceColor = 1;
|
||||
} else if (env.FORCE_COLOR === "false") {
|
||||
forceColor = 0;
|
||||
} else {
|
||||
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
||||
}
|
||||
}
|
||||
function translateLevel(level) {
|
||||
if (level === 0) {
|
||||
return false;
|
||||
}
|
||||
return {
|
||||
level,
|
||||
hasBasic: true,
|
||||
has256: level >= 2,
|
||||
has16m: level >= 3
|
||||
};
|
||||
}
|
||||
function supportsColor(haveStream, streamIsTTY) {
|
||||
if (forceColor === 0) {
|
||||
return 0;
|
||||
}
|
||||
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
||||
return 3;
|
||||
}
|
||||
if (hasFlag("color=256")) {
|
||||
return 2;
|
||||
}
|
||||
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
||||
return 0;
|
||||
}
|
||||
const min = forceColor || 0;
|
||||
if (env.TERM === "dumb") {
|
||||
return min;
|
||||
}
|
||||
if (process.platform === "win32") {
|
||||
const osRelease = os3.release().split(".");
|
||||
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
||||
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
if ("CI" in env) {
|
||||
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
if ("TEAMCITY_VERSION" in env) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
if (env.COLORTERM === "truecolor") {
|
||||
return 3;
|
||||
}
|
||||
if ("TERM_PROGRAM" in env) {
|
||||
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
||||
switch (env.TERM_PROGRAM) {
|
||||
case "iTerm.app":
|
||||
return version >= 3 ? 3 : 2;
|
||||
case "Apple_Terminal":
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
if (/-256(color)?$/i.test(env.TERM)) {
|
||||
return 2;
|
||||
}
|
||||
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
||||
return 1;
|
||||
}
|
||||
if ("COLORTERM" in env) {
|
||||
return 1;
|
||||
}
|
||||
return min;
|
||||
}
|
||||
function getSupportLevel(stream2) {
|
||||
const level = supportsColor(stream2, stream2 && stream2.isTTY);
|
||||
return translateLevel(level);
|
||||
}
|
||||
module2.exports = {
|
||||
supportsColor: getSupportLevel,
|
||||
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
||||
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/debug/src/node.js
|
||||
var require_node = __commonJS({
|
||||
"node_modules/debug/src/node.js"(exports2, module2) {
|
||||
@@ -43189,7 +43305,7 @@ var require_node = __commonJS({
|
||||
);
|
||||
exports2.colors = [6, 2, 3, 4, 5, 1];
|
||||
try {
|
||||
const supportsColor = require("supports-color");
|
||||
const supportsColor = require_supports_color();
|
||||
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
||||
exports2.colors = [
|
||||
20,
|
||||
|
||||
242
package-lock.json
generated
242
package-lock.json
generated
@@ -62,6 +62,7 @@
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
"ava": "^6.4.1",
|
||||
"esbuild": "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
@@ -3509,6 +3510,20 @@
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/anymatch": {
|
||||
"version": "3.1.3",
|
||||
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
|
||||
"integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"normalize-path": "^3.0.0",
|
||||
"picomatch": "^2.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 8"
|
||||
}
|
||||
},
|
||||
"node_modules/archiver": {
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/archiver/-/archiver-7.0.1.tgz",
|
||||
@@ -4091,6 +4106,19 @@
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/binary-extensions": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
|
||||
"integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/bindings": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
|
||||
@@ -4304,6 +4332,31 @@
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/chokidar": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
|
||||
"integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"anymatch": "~3.1.2",
|
||||
"braces": "~3.0.2",
|
||||
"glob-parent": "~5.1.2",
|
||||
"is-binary-path": "~2.1.0",
|
||||
"is-glob": "~4.0.1",
|
||||
"normalize-path": "~3.0.0",
|
||||
"readdirp": "~3.6.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 8.10.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://paulmillr.com/funding/"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"fsevents": "~2.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/chownr": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
|
||||
@@ -5047,6 +5100,55 @@
|
||||
"@esbuild/win32-x64": "0.25.9"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-plugin-copy": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-plugin-copy/-/esbuild-plugin-copy-2.1.1.tgz",
|
||||
"integrity": "sha512-Bk66jpevTcV8KMFzZI1P7MZKZ+uDcrZm2G2egZ2jNIvVnivDpodZI+/KnpL3Jnap0PBdIHU7HwFGB8r+vV5CVw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"chalk": "^4.1.2",
|
||||
"chokidar": "^3.5.3",
|
||||
"fs-extra": "^10.0.1",
|
||||
"globby": "^11.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"esbuild": ">= 0.14.0"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-plugin-copy/node_modules/ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"color-convert": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-plugin-copy/node_modules/chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/chalk/chalk?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/escalade": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
||||
@@ -5626,14 +5728,6 @@
|
||||
"node": ">=10.13.0"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint/node_modules/has-flag": {
|
||||
"version": "4.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint/node_modules/locate-path": {
|
||||
"version": "6.0.0",
|
||||
"dev": true,
|
||||
@@ -5684,17 +5778,6 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint/node_modules/supports-color": {
|
||||
"version": "7.2.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"has-flag": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/eslint/node_modules/yocto-queue": {
|
||||
"version": "0.1.0",
|
||||
"dev": true,
|
||||
@@ -6046,10 +6129,40 @@
|
||||
"version": "0.0.1-security",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/fs-extra": {
|
||||
"version": "10.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
|
||||
"integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"graceful-fs": "^4.2.0",
|
||||
"jsonfile": "^6.0.1",
|
||||
"universalify": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/fs.realpath": {
|
||||
"version": "1.0.0",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/fsevents": {
|
||||
"version": "2.3.3",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
||||
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/function-bind": {
|
||||
"version": "1.1.2",
|
||||
"license": "MIT",
|
||||
@@ -6324,6 +6437,16 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/has-property-descriptors": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
|
||||
@@ -6559,6 +6682,19 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/is-binary-path": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
||||
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"binary-extensions": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/is-boolean-object": {
|
||||
"version": "1.1.2",
|
||||
"dev": true,
|
||||
@@ -6929,6 +7065,19 @@
|
||||
"json5": "lib/cli.js"
|
||||
}
|
||||
},
|
||||
"node_modules/jsonfile": {
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz",
|
||||
"integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"universalify": "^2.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"graceful-fs": "^4.1.6"
|
||||
}
|
||||
},
|
||||
"node_modules/jsonschema": {
|
||||
"version": "1.4.1",
|
||||
"license": "MIT",
|
||||
@@ -7945,6 +8094,19 @@
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/readdirp": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
|
||||
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"picomatch": "^2.2.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/regexp.prototype.flags": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz",
|
||||
@@ -8285,25 +8447,6 @@
|
||||
"url": "https://opencollective.com/sinon"
|
||||
}
|
||||
},
|
||||
"node_modules/sinon/node_modules/has-flag": {
|
||||
"version": "4.0.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/sinon/node_modules/supports-color": {
|
||||
"version": "7.2.0",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"has-flag": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/slash": {
|
||||
"version": "3.0.0",
|
||||
"license": "MIT",
|
||||
@@ -8618,6 +8761,19 @@
|
||||
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"has-flag": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/supports-preserve-symlinks-flag": {
|
||||
"version": "1.0.0",
|
||||
"dev": true,
|
||||
@@ -9161,6 +9317,16 @@
|
||||
"version": "6.0.0",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/universalify": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
|
||||
"integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/unzip-stream": {
|
||||
"version": "0.3.4",
|
||||
"resolved": "https://registry.npmjs.org/unzip-stream/-/unzip-stream-0.3.4.tgz",
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
"ava": "^6.4.1",
|
||||
"esbuild": "^0.25.9",
|
||||
"esbuild-plugin-copy": "^2.1.1",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-import-resolver-typescript": "^3.8.7",
|
||||
"eslint-plugin-filenames": "^1.3.2",
|
||||
|
||||
Reference in New Issue
Block a user