mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Merge pull request #4015 from github/dependabot/npm_and_yarn/npm-minor-fd2e8365b1
Bump the npm-minor group across 1 directory with 4 updates
This commit is contained in:
50
lib/entry-points.js
generated
50
lib/entry-points.js
generated
@@ -142049,17 +142049,37 @@ var seqTag = defineSequenceTag("tag:yaml.org,2002:seq", {
|
||||
},
|
||||
identify: Array.isArray
|
||||
});
|
||||
function isPlainObject3(data) {
|
||||
if (data === null || typeof data !== "object" || Array.isArray(data)) return false;
|
||||
const prototype = Object.getPrototypeOf(data);
|
||||
return prototype === null || prototype === Object.prototype;
|
||||
}
|
||||
function pick(object2, keys) {
|
||||
const result = {};
|
||||
for (const key of keys) if (object2[key] !== void 0) result[key] = object2[key];
|
||||
return result;
|
||||
}
|
||||
var omapTag = defineSequenceTag("tag:yaml.org,2002:omap", {
|
||||
create: () => [],
|
||||
addItem: (container, item) => {
|
||||
if (Object.prototype.toString.call(item) !== "[object Object]") return "cannot resolve an ordered map item";
|
||||
const object2 = item;
|
||||
const itemKeys = Object.keys(object2);
|
||||
if (itemKeys.length !== 1) return "cannot resolve an ordered map item";
|
||||
for (const existing of container) if (Object.prototype.hasOwnProperty.call(existing, itemKeys[0])) return "cannot resolve an ordered map item";
|
||||
container.push(object2);
|
||||
create: () => ({
|
||||
list: [],
|
||||
seen: /* @__PURE__ */ new Set()
|
||||
}),
|
||||
addItem: (carrier, item) => {
|
||||
let key;
|
||||
if (item instanceof Map) {
|
||||
if (item.size !== 1) return "cannot resolve an ordered map item";
|
||||
key = item.keys().next().value;
|
||||
} else if (isPlainObject3(item)) {
|
||||
const itemKeys = Object.keys(item);
|
||||
if (itemKeys.length !== 1) return "cannot resolve an ordered map item";
|
||||
key = itemKeys[0];
|
||||
} else return "cannot resolve an ordered map item";
|
||||
if (carrier.seen.has(key)) return "duplicate key in ordered map";
|
||||
carrier.seen.add(key);
|
||||
carrier.list.push(item);
|
||||
return "";
|
||||
}
|
||||
},
|
||||
finalize: (carrier) => carrier.list
|
||||
});
|
||||
var pairsTag = defineSequenceTag("tag:yaml.org,2002:pairs", {
|
||||
create: () => [],
|
||||
@@ -142077,16 +142097,6 @@ var pairsTag = defineSequenceTag("tag:yaml.org,2002:pairs", {
|
||||
return "";
|
||||
}
|
||||
});
|
||||
function isPlainObject3(data) {
|
||||
if (data === null || typeof data !== "object" || Array.isArray(data)) return false;
|
||||
const prototype = Object.getPrototypeOf(data);
|
||||
return prototype === null || prototype === Object.prototype;
|
||||
}
|
||||
function pick(object2, keys) {
|
||||
const result = {};
|
||||
for (const key of keys) if (object2[key] !== void 0) result[key] = object2[key];
|
||||
return result;
|
||||
}
|
||||
var mapTag = defineMappingTag("tag:yaml.org,2002:map", {
|
||||
create: () => ({}),
|
||||
identify: isPlainObject3,
|
||||
@@ -162965,7 +162975,7 @@ tmp/lib/tmp.js:
|
||||
*)
|
||||
|
||||
js-yaml/dist/js-yaml.mjs:
|
||||
(*! js-yaml 5.2.0 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
(*! js-yaml 5.2.1 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
|
||||
long/index.js:
|
||||
(**
|
||||
|
||||
Reference in New Issue
Block a user