mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Merge pull request #4066 from github/dependabot/npm_and_yarn/js-yaml-5.2.2
Bump js-yaml from 5.2.1 to 5.2.2
This commit is contained in:
28
lib/entry-points.js
generated
28
lib/entry-points.js
generated
@@ -143051,6 +143051,17 @@ function addMappingEvent(state, start, anchorStart, anchorEnd, tagStart, tagEnd,
|
||||
style
|
||||
});
|
||||
}
|
||||
function insertFlowPairMappingEvent(state, snapshot) {
|
||||
state.events.splice(snapshot.eventsLength, 0, {
|
||||
type: 3,
|
||||
start: snapshot.position,
|
||||
anchorStart: NO_RANGE$1,
|
||||
anchorEnd: NO_RANGE$1,
|
||||
tagStart: NO_RANGE$1,
|
||||
tagEnd: NO_RANGE$1,
|
||||
style: 2
|
||||
});
|
||||
}
|
||||
function addScalarEvent(state, valueStart, valueEnd, anchorStart, anchorEnd, tagStart, tagEnd, style, chomping = 1, indent = -1, fast = false) {
|
||||
state.events.push({
|
||||
type: 4,
|
||||
@@ -143494,12 +143505,8 @@ function readFlowCollection(state, nodeIndent, props) {
|
||||
state.position++;
|
||||
skipFlowSeparationSpace(state, nodeIndent);
|
||||
if (!isMapping) {
|
||||
restoreState(state, entryStart);
|
||||
addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
|
||||
if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
|
||||
skipFlowSeparationSpace(state, nodeIndent);
|
||||
state.position++;
|
||||
skipFlowSeparationSpace(state, nodeIndent);
|
||||
insertFlowPairMappingEvent(state, entryStart);
|
||||
if (!keyWasRead) addEmptyScalarEvent(state);
|
||||
} else if (!keyWasRead) addEmptyScalarEvent(state);
|
||||
if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
|
||||
skipFlowSeparationSpace(state, nodeIndent);
|
||||
@@ -143509,9 +143516,8 @@ function readFlowCollection(state, nodeIndent, props) {
|
||||
addEmptyScalarEvent(state);
|
||||
} else if (isMapping) addEmptyScalarEvent(state);
|
||||
else if (isPair) {
|
||||
restoreState(state, entryStart);
|
||||
addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
|
||||
parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
||||
insertFlowPairMappingEvent(state, entryStart);
|
||||
if (!keyWasRead) addEmptyScalarEvent(state);
|
||||
addEmptyScalarEvent(state);
|
||||
addPopEvent(state);
|
||||
}
|
||||
@@ -144148,7 +144154,7 @@ function isNsCharOrWhitespace(c) {
|
||||
function isPlainSafe(c, prev, inblock) {
|
||||
const cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
|
||||
const cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
|
||||
return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar;
|
||||
return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar && (inblock || c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET);
|
||||
}
|
||||
function isPlainSafeFirst(c) {
|
||||
return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
|
||||
@@ -163165,7 +163171,7 @@ tmp/lib/tmp.js:
|
||||
*)
|
||||
|
||||
js-yaml/dist/js-yaml.mjs:
|
||||
(*! js-yaml 5.2.1 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
(*! js-yaml 5.2.2 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
|
||||
long/index.js:
|
||||
(**
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -31,7 +31,7 @@
|
||||
"follow-redirects": "^1.16.0",
|
||||
"get-folder-size": "^5.0.0",
|
||||
"https-proxy-agent": "^7.0.6",
|
||||
"js-yaml": "^5.2.1",
|
||||
"js-yaml": "^5.2.2",
|
||||
"jsonschema": "1.5.0",
|
||||
"long": "^5.3.2",
|
||||
"node-forge": "^1.4.0",
|
||||
@@ -6981,9 +6981,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/js-yaml": {
|
||||
"version": "5.2.1",
|
||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.2.1.tgz",
|
||||
"integrity": "sha512-zfLtNfQqxVqq3uaTqSkh4x4hZw3KHobGUA0fJUj4wawW8bsQLTVqpHdXSIzidh7o+4lEW36tANuAGdaFx6Zgnw==",
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.2.2.tgz",
|
||||
"integrity": "sha512-dayzUzKkJ1MkuUtZglSebU43utNXH0OWQByK9rKOOuYIO8M5TV1y+n8ALMdG0rdzBnfNkOmZEqrURepb0ejqBw==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"follow-redirects": "^1.16.0",
|
||||
"get-folder-size": "^5.0.0",
|
||||
"https-proxy-agent": "^7.0.6",
|
||||
"js-yaml": "^5.2.1",
|
||||
"js-yaml": "^5.2.2",
|
||||
"jsonschema": "1.5.0",
|
||||
"long": "^5.3.2",
|
||||
"node-forge": "^1.4.0",
|
||||
|
||||
Reference in New Issue
Block a user