mirror of
https://github.com/github/codeql-action
synced 2026-10-07 00:30:17 +03:00
Rebuild
This commit is contained in:
Generated
+17
-18
@@ -141750,7 +141750,7 @@ var intCoreTag = defineScalarTag("tag:yaml.org,2002:int", {
|
||||
..."0123456789"
|
||||
],
|
||||
resolve: resolveYamlInteger$2,
|
||||
identify: (object) => Object.prototype.toString.call(object) === "[object Number]" && object % 1 === 0 && !Object.is(object, -0),
|
||||
identify: (object) => Number.isInteger(object) && !Object.is(object, -0) && object.toString(10).indexOf("e") < 0,
|
||||
represent: (object) => object.toString(10)
|
||||
});
|
||||
var YAML_INTEGER_IMPLICIT_PATTERN = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)$");
|
||||
@@ -141778,7 +141778,7 @@ var intJsonTag = defineScalarTag("tag:yaml.org,2002:int", {
|
||||
implicit: true,
|
||||
implicitFirstChars: ["-", ..."0123456789"],
|
||||
resolve: resolveYamlInteger$1,
|
||||
identify: (object) => Object.prototype.toString.call(object) === "[object Number]" && object % 1 === 0 && !Object.is(object, -0),
|
||||
identify: (object) => Number.isInteger(object) && !Object.is(object, -0) && object.toString(10).indexOf("e") < 0,
|
||||
represent: (object) => object.toString(10)
|
||||
});
|
||||
var YAML_INTEGER_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");
|
||||
@@ -141812,7 +141812,7 @@ var intYaml11Tag = defineScalarTag("tag:yaml.org,2002:int", {
|
||||
..."0123456789"
|
||||
],
|
||||
resolve: resolveYamlInteger,
|
||||
identify: (object) => Object.prototype.toString.call(object) === "[object Number]" && object % 1 === 0 && !Object.is(object, -0),
|
||||
identify: (object) => Number.isInteger(object) && !Object.is(object, -0) && object.toString(10).indexOf("e") < 0,
|
||||
represent: (object) => object.toString(10)
|
||||
});
|
||||
var YAML_FLOAT_PATTERN$1 = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
||||
@@ -141845,7 +141845,7 @@ var floatCoreTag = defineScalarTag("tag:yaml.org,2002:float", {
|
||||
..."0123456789"
|
||||
],
|
||||
resolve: resolveYamlFloat$2,
|
||||
identify: (object) => Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || Object.is(object, -0)),
|
||||
identify: (object) => typeof object === "number" && (!Number.isInteger(object) || Object.is(object, -0) || object.toString(10).indexOf("e") >= 0),
|
||||
represent: representYamlFloat$2
|
||||
});
|
||||
var YAML_FLOAT_IMPLICIT_PATTERN = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$");
|
||||
@@ -141878,7 +141878,7 @@ var floatJsonTag = defineScalarTag("tag:yaml.org,2002:float", {
|
||||
implicit: true,
|
||||
implicitFirstChars: ["-", ..."0123456789"],
|
||||
resolve: resolveYamlFloat$1,
|
||||
identify: (object) => Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || Object.is(object, -0)),
|
||||
identify: (object) => typeof object === "number" && (!Number.isInteger(object) || Object.is(object, -0) || object.toString(10).indexOf("e") >= 0),
|
||||
represent: representYamlFloat$1
|
||||
});
|
||||
var YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
||||
@@ -141915,7 +141915,7 @@ var floatYaml11Tag = defineScalarTag("tag:yaml.org,2002:float", {
|
||||
..."0123456789"
|
||||
],
|
||||
resolve: resolveYamlFloat,
|
||||
identify: (object) => Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || Object.is(object, -0)),
|
||||
identify: (object) => typeof object === "number" && (!Number.isInteger(object) || Object.is(object, -0) || object.toString(10).indexOf("e") >= 0),
|
||||
represent: representYamlFloat
|
||||
});
|
||||
var mergeTag = defineScalarTag("tag:yaml.org,2002:merge", {
|
||||
@@ -142614,7 +142614,8 @@ var DEFAULT_CONSTRUCTOR_OPTIONS = {
|
||||
filename: "",
|
||||
schema: CORE_SCHEMA,
|
||||
json: false,
|
||||
maxMergeSeqLength: 20
|
||||
maxTotalMergeKeys: 1e4,
|
||||
maxAliases: -1
|
||||
};
|
||||
function eventPosition$1(event) {
|
||||
if ("tagStart" in event && event.tagStart !== NO_RANGE$2) return event.tagStart;
|
||||
@@ -142702,6 +142703,7 @@ function isMappingTag(tag) {
|
||||
}
|
||||
function mergeKeys(state, frame, source, sourceTag) {
|
||||
for (const sourceKey of sourceTag.keys(source)) {
|
||||
if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) throwError$1(state, `merge keys exceeded maxTotalMergeKeys (${state.maxTotalMergeKeys})`);
|
||||
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);
|
||||
@@ -142711,14 +142713,8 @@ function mergeKeys(state, frame, source, sourceTag) {
|
||||
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)) {
|
||||
const seen = /* @__PURE__ */ new Set();
|
||||
for (const element of source) {
|
||||
if (seen.has(element)) continue;
|
||||
seen.add(element);
|
||||
mergeKeys(state, frame, element, frame.tag);
|
||||
}
|
||||
} else throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
||||
else if (sourceTag.nodeKind === "sequence" && Array.isArray(source)) for (const element of source) mergeKeys(state, frame, element, frame.tag);
|
||||
else throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
||||
}
|
||||
function addMappingValue(state, frame, key, value, tag) {
|
||||
state.position = frame.keyPosition;
|
||||
@@ -142739,7 +142735,6 @@ function addValue(state, value, tag) {
|
||||
} else if (frame.kind === "sequence") {
|
||||
if (frame.merge) {
|
||||
if (!isMappingTag(tag)) throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
||||
if (frame.index >= state.maxMergeSeqLength) throwError$1(state, `merge sequence length exceeded maxMergeSeqLength (${state.maxMergeSeqLength})`);
|
||||
}
|
||||
const err = frame.tag.addItem(frame.value, value, frame.index++);
|
||||
if (err) throwError$1(state, err);
|
||||
@@ -142776,7 +142771,9 @@ function constructFromEvents(events, options) {
|
||||
position: 0,
|
||||
frames: [],
|
||||
anchors: /* @__PURE__ */ new Map(),
|
||||
tagHandlers: /* @__PURE__ */ Object.create(null)
|
||||
tagHandlers: /* @__PURE__ */ Object.create(null),
|
||||
totalMergeKeys: 0,
|
||||
aliasCount: 0
|
||||
};
|
||||
while (state.eventIndex < state.events.length) {
|
||||
const event = state.events[state.eventIndex++];
|
||||
@@ -142784,6 +142781,7 @@ function constructFromEvents(events, options) {
|
||||
switch (event.type) {
|
||||
case 1:
|
||||
state.anchors = /* @__PURE__ */ new Map();
|
||||
state.aliasCount = 0;
|
||||
state.tagHandlers = /* @__PURE__ */ Object.create(null);
|
||||
for (const directive of event.directives) if (directive.kind === "tag") state.tagHandlers[directive.handle] = directive.prefix;
|
||||
state.frames.push({
|
||||
@@ -142834,6 +142832,7 @@ function constructFromEvents(events, options) {
|
||||
break;
|
||||
}
|
||||
case 5: {
|
||||
if (state.maxAliases !== -1 && ++state.aliasCount > state.maxAliases) throwError$1(state, `aliases exceeded maxAliases (${state.maxAliases})`);
|
||||
const name = state.source.slice(event.anchorStart, event.anchorEnd);
|
||||
const anchor = state.anchors.get(name);
|
||||
if (!anchor) throwError$1(state, `unidentified alias "${name}"`);
|
||||
@@ -162682,7 +162681,7 @@ tmp/lib/tmp.js:
|
||||
*)
|
||||
|
||||
js-yaml/dist/js-yaml.mjs:
|
||||
(*! js-yaml 5.1.0 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
(*! js-yaml 5.2.0 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
|
||||
long/index.js:
|
||||
(**
|
||||
|
||||
Reference in New Issue
Block a user