mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Rebuild
This commit is contained in:
284
lib/entry-points.js
generated
284
lib/entry-points.js
generated
@@ -22465,133 +22465,111 @@ var init_universal_user_agent3 = __esm({
|
||||
});
|
||||
|
||||
// node_modules/content-type/dist/index.js
|
||||
var require_dist = __commonJS({
|
||||
"node_modules/content-type/dist/index.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
exports2.format = format;
|
||||
exports2.parse = parse3;
|
||||
var TEXT_REGEXP = /^[\u0009\u0020-\u007e\u0080-\u00ff]*$/;
|
||||
var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
||||
var QUOTE_REGEXP = /[\\"]/g;
|
||||
var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
||||
var NullObject = /* @__PURE__ */ (() => {
|
||||
function parse2(header, options) {
|
||||
const stopChar = options?.comma === true ? COMMA : 65536;
|
||||
const len = header.length;
|
||||
let index2 = skipOWS(header, options?.start ?? 0, len);
|
||||
const valueStart = index2;
|
||||
index2 = skipValue(header, index2, len, stopChar);
|
||||
const valueEnd = trailingOWS(header, valueStart, index2);
|
||||
const type = header.slice(valueStart, valueEnd).toLowerCase();
|
||||
if (options?.parameters === false) {
|
||||
return { type, index: index2, parameters: new NullObject() };
|
||||
}
|
||||
return parseParameters(header, type, index2, len, stopChar);
|
||||
}
|
||||
function parseParameters(header, type, index2, len, stopChar) {
|
||||
const parameters = new NullObject();
|
||||
parameter: while (index2 < len) {
|
||||
if (header.charCodeAt(index2) === stopChar)
|
||||
break;
|
||||
index2 = skipOWS(header, index2 + 1, len);
|
||||
const keyStart = index2;
|
||||
while (index2 < len) {
|
||||
const code = header.charCodeAt(index2);
|
||||
if (code === stopChar)
|
||||
break parameter;
|
||||
if (code === SEMI)
|
||||
continue parameter;
|
||||
if (code === EQ) {
|
||||
const keyEnd = trailingOWS(header, keyStart, index2);
|
||||
const key = header.slice(keyStart, keyEnd).toLowerCase();
|
||||
index2 = skipOWS(header, index2 + 1, len);
|
||||
if (index2 < len && header.charCodeAt(index2) === DQUOTE) {
|
||||
index2++;
|
||||
let value = "";
|
||||
while (index2 < len) {
|
||||
const code2 = header.charCodeAt(index2++);
|
||||
if (code2 === DQUOTE) {
|
||||
index2 = skipValue(header, index2, len, stopChar);
|
||||
if (parameters[key] === void 0)
|
||||
parameters[key] = value;
|
||||
break;
|
||||
}
|
||||
if (code2 === BSLASH && index2 < len) {
|
||||
value += header[index2++];
|
||||
continue;
|
||||
}
|
||||
value += String.fromCharCode(code2);
|
||||
}
|
||||
continue parameter;
|
||||
}
|
||||
const valueStart = index2;
|
||||
index2 = skipValue(header, index2, len, stopChar);
|
||||
if (parameters[key] === void 0) {
|
||||
const valueEnd = trailingOWS(header, valueStart, index2);
|
||||
parameters[key] = header.slice(valueStart, valueEnd);
|
||||
}
|
||||
continue parameter;
|
||||
}
|
||||
index2++;
|
||||
}
|
||||
}
|
||||
return { type, index: index2, parameters };
|
||||
}
|
||||
function skipValue(str, index2, len, stopChar) {
|
||||
while (index2 < len) {
|
||||
const code = str.charCodeAt(index2);
|
||||
if (code === SEMI || code === stopChar)
|
||||
break;
|
||||
index2++;
|
||||
}
|
||||
return index2;
|
||||
}
|
||||
function skipOWS(header, index2, len) {
|
||||
while (index2 < len) {
|
||||
const char = header.charCodeAt(index2);
|
||||
if (char !== SP && char !== HTAB)
|
||||
break;
|
||||
index2++;
|
||||
}
|
||||
return index2;
|
||||
}
|
||||
function trailingOWS(header, start, end) {
|
||||
while (end > start) {
|
||||
const char = header.charCodeAt(end - 1);
|
||||
if (char !== SP && char !== HTAB)
|
||||
break;
|
||||
end--;
|
||||
}
|
||||
return end;
|
||||
}
|
||||
var NullObject, SP, HTAB, SEMI, EQ, DQUOTE, BSLASH, COMMA;
|
||||
var init_dist = __esm({
|
||||
"node_modules/content-type/dist/index.js"() {
|
||||
NullObject = /* @__PURE__ */ (() => {
|
||||
const C = function() {
|
||||
};
|
||||
C.prototype = /* @__PURE__ */ Object.create(null);
|
||||
return C;
|
||||
})();
|
||||
function format(obj) {
|
||||
const { type, parameters } = obj;
|
||||
if (!type || !TYPE_REGEXP.test(type)) {
|
||||
throw new TypeError(`Invalid type: ${type}`);
|
||||
}
|
||||
let result = type;
|
||||
if (parameters) {
|
||||
for (const param of Object.keys(parameters)) {
|
||||
if (!TOKEN_REGEXP.test(param)) {
|
||||
throw new TypeError(`Invalid parameter name: ${param}`);
|
||||
}
|
||||
result += `; ${param}=${qstring(parameters[param])}`;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function parse3(header, options) {
|
||||
const len = header.length;
|
||||
let index2 = skipOWS(header, 0, len);
|
||||
const valueStart = index2;
|
||||
index2 = skipValue(header, index2, len);
|
||||
const valueEnd = trailingOWS(header, valueStart, index2);
|
||||
const type = header.slice(valueStart, valueEnd).toLowerCase();
|
||||
const parameters = options?.parameters === false ? new NullObject() : parseParameters(header, index2, len);
|
||||
return { type, parameters };
|
||||
}
|
||||
var SP = 32;
|
||||
var HTAB = 9;
|
||||
var SEMI = 59;
|
||||
var EQ = 61;
|
||||
var DQUOTE = 34;
|
||||
var BSLASH = 92;
|
||||
function parseParameters(header, index2, len) {
|
||||
const parameters = new NullObject();
|
||||
parameter: while (index2 < len) {
|
||||
index2 = skipOWS(header, index2 + 1, len);
|
||||
const keyStart = index2;
|
||||
while (index2 < len) {
|
||||
const code = header.charCodeAt(index2);
|
||||
if (code === SEMI)
|
||||
continue parameter;
|
||||
if (code === EQ) {
|
||||
const keyEnd = trailingOWS(header, keyStart, index2);
|
||||
const key = header.slice(keyStart, keyEnd).toLowerCase();
|
||||
index2 = skipOWS(header, index2 + 1, len);
|
||||
if (index2 < len && header.charCodeAt(index2) === DQUOTE) {
|
||||
index2++;
|
||||
let value = "";
|
||||
while (index2 < len) {
|
||||
const code2 = header.charCodeAt(index2++);
|
||||
if (code2 === DQUOTE) {
|
||||
index2 = skipValue(header, index2, len);
|
||||
if (parameters[key] === void 0)
|
||||
parameters[key] = value;
|
||||
break;
|
||||
}
|
||||
if (code2 === BSLASH && index2 < len) {
|
||||
value += header[index2++];
|
||||
continue;
|
||||
}
|
||||
value += String.fromCharCode(code2);
|
||||
}
|
||||
continue parameter;
|
||||
}
|
||||
const valueStart = index2;
|
||||
index2 = skipValue(header, index2, len);
|
||||
if (parameters[key] === void 0) {
|
||||
const valueEnd = trailingOWS(header, valueStart, index2);
|
||||
parameters[key] = header.slice(valueStart, valueEnd);
|
||||
}
|
||||
continue parameter;
|
||||
}
|
||||
index2++;
|
||||
}
|
||||
}
|
||||
return parameters;
|
||||
}
|
||||
function skipValue(str, index2, len) {
|
||||
while (index2 < len) {
|
||||
const char = str.charCodeAt(index2);
|
||||
if (char === SEMI)
|
||||
break;
|
||||
index2++;
|
||||
}
|
||||
return index2;
|
||||
}
|
||||
function skipOWS(header, index2, len) {
|
||||
while (index2 < len) {
|
||||
const char = header.charCodeAt(index2);
|
||||
if (char !== SP && char !== HTAB)
|
||||
break;
|
||||
index2++;
|
||||
}
|
||||
return index2;
|
||||
}
|
||||
function trailingOWS(header, start, end) {
|
||||
while (end > start) {
|
||||
const char = header.charCodeAt(end - 1);
|
||||
if (char !== SP && char !== HTAB)
|
||||
break;
|
||||
end--;
|
||||
}
|
||||
return end;
|
||||
}
|
||||
function qstring(str) {
|
||||
if (TOKEN_REGEXP.test(str))
|
||||
return str;
|
||||
if (TEXT_REGEXP.test(str))
|
||||
return `"${str.replace(QUOTE_REGEXP, "\\$&")}"`;
|
||||
throw new TypeError(`Invalid parameter value: ${str}`);
|
||||
}
|
||||
SP = 32;
|
||||
HTAB = 9;
|
||||
SEMI = 59;
|
||||
EQ = 61;
|
||||
DQUOTE = 34;
|
||||
BSLASH = 92;
|
||||
COMMA = 44;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -22855,7 +22833,7 @@ var init_json_with_bigint = __esm({
|
||||
};
|
||||
MAX_INT = Number.MAX_SAFE_INTEGER.toString();
|
||||
MAX_DIGITS = MAX_INT.length;
|
||||
stringsOrLargeNumbers = /"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g;
|
||||
stringsOrLargeNumbers = /"(?:[^"\\]|\\.)*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g;
|
||||
noiseValueWithQuotes = /^"-?\d+n+"$/;
|
||||
applyReviverIteratively = (parsed, userReviver) => {
|
||||
const rootHolder = { "": parsed };
|
||||
@@ -23091,7 +23069,7 @@ async function getResponseData(response) {
|
||||
if (!contentType) {
|
||||
return response.text().catch(noop);
|
||||
}
|
||||
const mimetype = (0, import_content_type.parse)(contentType);
|
||||
const mimetype = parse2(contentType);
|
||||
if (isJSONResponse(mimetype)) {
|
||||
let text = "";
|
||||
try {
|
||||
@@ -23152,15 +23130,15 @@ function withDefaults2(oldEndpoint, newDefaults) {
|
||||
defaults: withDefaults2.bind(null, endpoint2)
|
||||
});
|
||||
}
|
||||
var import_content_type, VERSION2, defaults_default, noop, request;
|
||||
var VERSION2, defaults_default, noop, request;
|
||||
var init_dist_bundle2 = __esm({
|
||||
"node_modules/@octokit/request/dist-bundle/index.js"() {
|
||||
init_dist_bundle();
|
||||
init_universal_user_agent3();
|
||||
import_content_type = __toESM(require_dist(), 1);
|
||||
init_dist();
|
||||
init_json_with_bigint();
|
||||
init_dist_src();
|
||||
VERSION2 = "10.0.13";
|
||||
VERSION2 = "10.0.16";
|
||||
defaults_default = {
|
||||
headers: {
|
||||
"user-agent": `octokit-request.js/${VERSION2} ${getUserAgent3()}`
|
||||
@@ -23357,7 +23335,7 @@ var init_dist_bundle4 = __esm({
|
||||
var VERSION4;
|
||||
var init_version = __esm({
|
||||
"node_modules/@octokit/core/dist-src/version.js"() {
|
||||
VERSION4 = "7.0.7";
|
||||
VERSION4 = "7.0.8";
|
||||
}
|
||||
});
|
||||
|
||||
@@ -38098,7 +38076,7 @@ var require_helpers3 = __commonJS({
|
||||
});
|
||||
|
||||
// node_modules/agent-base/dist/index.js
|
||||
var require_dist2 = __commonJS({
|
||||
var require_dist = __commonJS({
|
||||
"node_modules/agent-base/dist/index.js"(exports2) {
|
||||
"use strict";
|
||||
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
||||
@@ -38350,7 +38328,7 @@ var require_parse_proxy_response = __commonJS({
|
||||
});
|
||||
|
||||
// node_modules/https-proxy-agent/dist/index.js
|
||||
var require_dist3 = __commonJS({
|
||||
var require_dist2 = __commonJS({
|
||||
"node_modules/https-proxy-agent/dist/index.js"(exports2) {
|
||||
"use strict";
|
||||
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
||||
@@ -38389,7 +38367,7 @@ var require_dist3 = __commonJS({
|
||||
var tls = __importStar2(require("tls"));
|
||||
var assert_1 = __importDefault2(require("assert"));
|
||||
var debug_1 = __importDefault2(require_src());
|
||||
var agent_base_1 = require_dist2();
|
||||
var agent_base_1 = require_dist();
|
||||
var url_1 = require("url");
|
||||
var parse_proxy_response_1 = require_parse_proxy_response();
|
||||
var debug6 = (0, debug_1.default)("https-proxy-agent");
|
||||
@@ -38500,7 +38478,7 @@ var require_dist3 = __commonJS({
|
||||
});
|
||||
|
||||
// node_modules/http-proxy-agent/dist/index.js
|
||||
var require_dist4 = __commonJS({
|
||||
var require_dist3 = __commonJS({
|
||||
"node_modules/http-proxy-agent/dist/index.js"(exports2) {
|
||||
"use strict";
|
||||
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
||||
@@ -38539,7 +38517,7 @@ var require_dist4 = __commonJS({
|
||||
var tls = __importStar2(require("tls"));
|
||||
var debug_1 = __importDefault2(require_src());
|
||||
var events_1 = require("events");
|
||||
var agent_base_1 = require_dist2();
|
||||
var agent_base_1 = require_dist();
|
||||
var url_1 = require("url");
|
||||
var debug6 = (0, debug_1.default)("http-proxy-agent");
|
||||
var HttpProxyAgent = class extends agent_base_1.Agent {
|
||||
@@ -38638,8 +38616,8 @@ var require_proxyPolicy = __commonJS({
|
||||
exports2.loadNoProxy = loadNoProxy;
|
||||
exports2.getDefaultProxySettings = getDefaultProxySettings;
|
||||
exports2.proxyPolicy = proxyPolicy;
|
||||
var https_proxy_agent_1 = require_dist3();
|
||||
var http_proxy_agent_1 = require_dist4();
|
||||
var https_proxy_agent_1 = require_dist2();
|
||||
var http_proxy_agent_1 = require_dist3();
|
||||
var log_js_1 = require_log2();
|
||||
var HTTPS_PROXY = "HTTPS_PROXY";
|
||||
var HTTP_PROXY = "HTTP_PROXY";
|
||||
@@ -75407,7 +75385,7 @@ var require_requestUtils = __commonJS({
|
||||
});
|
||||
|
||||
// node_modules/@azure/abort-controller/dist/index.js
|
||||
var require_dist5 = __commonJS({
|
||||
var require_dist4 = __commonJS({
|
||||
"node_modules/@azure/abort-controller/dist/index.js"(exports2) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports2, "__esModule", { value: true });
|
||||
@@ -75633,7 +75611,7 @@ var require_downloadUtils = __commonJS({
|
||||
var utils = __importStar2(require_cacheUtils());
|
||||
var constants_1 = require_constants7();
|
||||
var requestUtils_1 = require_requestUtils();
|
||||
var abort_controller_1 = require_dist5();
|
||||
var abort_controller_1 = require_dist4();
|
||||
function pipeResponseToStream(response, output) {
|
||||
return __awaiter2(this, void 0, void 0, function* () {
|
||||
const pipeline2 = util3.promisify(stream2.pipeline);
|
||||
@@ -110703,7 +110681,7 @@ var require_tar2 = __commonJS({
|
||||
});
|
||||
|
||||
// node_modules/buffer-crc32/dist/index.cjs
|
||||
var require_dist6 = __commonJS({
|
||||
var require_dist5 = __commonJS({
|
||||
"node_modules/buffer-crc32/dist/index.cjs"(exports2, module2) {
|
||||
"use strict";
|
||||
function getDefaultExportFromCjs(x) {
|
||||
@@ -111015,7 +110993,7 @@ var require_json = __commonJS({
|
||||
"node_modules/@actions/artifact/node_modules/archiver/lib/plugins/json.js"(exports2, module2) {
|
||||
var inherits = require("util").inherits;
|
||||
var Transform5 = require_ours().Transform;
|
||||
var crc325 = require_dist6();
|
||||
var crc325 = require_dist5();
|
||||
var util3 = require_archiver_utils();
|
||||
var Json2 = function(options) {
|
||||
if (!(this instanceof Json2)) {
|
||||
@@ -143578,24 +143556,32 @@ function collectionTagName(state, event, defaultTagName) {
|
||||
function isMappingTag(tag) {
|
||||
return tag.nodeKind === "mapping";
|
||||
}
|
||||
function chargeMergeWork(state) {
|
||||
state.totalMergeKeys++;
|
||||
if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) throwError$1(state, `merge keys exceeded maxTotalMergeKeys (${state.maxTotalMergeKeys})`);
|
||||
}
|
||||
function mergeKeys(state, frame, source, sourceTag) {
|
||||
chargeMergeWork(state);
|
||||
for (const sourceKey of sourceTag.keys(source)) {
|
||||
if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) throwError$1(state, `merge keys exceeded maxTotalMergeKeys (${state.maxTotalMergeKeys})`);
|
||||
chargeMergeWork(state);
|
||||
if (frame.tag.has(frame.value, sourceKey)) continue;
|
||||
const err = frame.tag.addPair(frame.value, sourceKey, sourceTag.get(source, sourceKey));
|
||||
if (err) throwError$1(state, err);
|
||||
(frame.overridable ??= /* @__PURE__ */ new Set()).add(sourceKey);
|
||||
frame.overridable ??= /* @__PURE__ */ new Set();
|
||||
frame.overridable.add(sourceKey);
|
||||
}
|
||||
}
|
||||
function mergeSource(state, frame, source, sourceTag) {
|
||||
state.position = frame.keyPosition;
|
||||
if (isMappingTag(sourceTag)) mergeKeys(state, frame, source, sourceTag);
|
||||
else if (sourceTag.nodeKind === "sequence" && Array.isArray(source)) for (const element of source) {
|
||||
const elementTag = state.nodeTags.get(element);
|
||||
if (!elementTag) throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
||||
mergeKeys(state, frame, element, elementTag);
|
||||
}
|
||||
else throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
||||
else if (sourceTag.nodeKind === "sequence" && Array.isArray(source)) {
|
||||
if (source.length > 100) throwError$1(state, "abnormal merge sequence size");
|
||||
for (const element of source) {
|
||||
const elementTag = state.nodeTags.get(element);
|
||||
if (!elementTag) throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
||||
mergeKeys(state, frame, element, elementTag);
|
||||
}
|
||||
} else throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
||||
}
|
||||
function addMappingValue(state, frame, key, value, tag) {
|
||||
state.position = frame.keyPosition;
|
||||
@@ -163698,7 +163684,7 @@ async function checkProxyEnvironment(logger, language) {
|
||||
|
||||
// src/start-proxy/reachability.ts
|
||||
var https2 = __toESM(require("https"));
|
||||
var import_https_proxy_agent = __toESM(require_dist3());
|
||||
var import_https_proxy_agent = __toESM(require_dist2());
|
||||
var connectionTestConfig = {
|
||||
nuget_feed: { path: "v3/index.json" }
|
||||
};
|
||||
@@ -164270,7 +164256,7 @@ tmp/lib/tmp.js:
|
||||
*)
|
||||
|
||||
js-yaml/dist/js-yaml.mjs:
|
||||
(*! js-yaml 5.4.0 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
(*! js-yaml 5.4.1 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
|
||||
long/index.js:
|
||||
(**
|
||||
|
||||
Reference in New Issue
Block a user