Skip to content

Commit 5c165fa

Browse files
committed
Upgrade js-yaml server dev dependency to 5.2.2
1 parent 4c94941 commit 5c165fa

5 files changed

Lines changed: 25 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _Changes on `main` since the latest tagged release that have not yet been includ
2424

2525
### Dependencies
2626

27-
- Upgraded server runtime dependencies: `adm-zip` 0.5.17 → 0.6.0 and `js-yaml` 4.1.1 → 5.2.1. Both packages now ship their own type declarations, so the `@types/adm-zip` and `@types/js-yaml` devDependencies were removed. ([#328](https://github.com/advanced-security/codeql-development-mcp-server/pull/328))
27+
- Upgraded server runtime dependencies: `adm-zip` 0.5.17 → 0.6.0 and `js-yaml` 4.1.1 → 5.2.2 (5.2.2 carries a fix for a high-severity advisory affecting 5.2.1). Both packages now ship their own type declarations, so the `@types/adm-zip` and `@types/js-yaml` devDependencies were removed. ([#328](https://github.com/advanced-security/codeql-development-mcp-server/pull/328))
2828
- Upgraded shared devDependencies across the root, `server`, and `extensions/vscode` workspaces: `@types/node` 25.9.1 → 24.13.3, `eslint` 10.4.0 → 10.7.0, `eslint-plugin-prettier` 5.5.5 → 5.5.6, `prettier` 3.8.3 → 3.9.5, `typescript-eslint` 8.60.0 → 8.64.0, `vitest` / `@vitest/coverage-v8` 4.1.7 → 4.1.10, and `markdownlint-cli` 0.48.0 → 0.49.1. ([#328](https://github.com/advanced-security/codeql-development-mcp-server/pull/328))
2929
- Upgraded VS Code extension devDependencies: `@vscode/test-cli` 0.0.12 → 0.0.15, `@vscode/test-electron` 2.5.2 → 3.0.0, and `@vscode/vsce` 3.9.1 → 3.9.2. ([#328](https://github.com/advanced-security/codeql-development-mcp-server/pull/328))
3030
- Upgraded Go MCP client dependencies: `github.com/mark3labs/mcp-go` 0.56.0 → 0.57.0, plus refreshed transitive modules (`cli/safeexec`, `google/jsonschema-go`, `henvic/httpretty`, `lucasb-eyer/go-colorful`, `mattn/go-isatty`, `spf13/cast`, `spf13/pflag`, `thlib/go-timezone-local`, and `golang.org/x/{sys,term,text}`). ([#328](https://github.com/advanced-security/codeql-development-mcp-server/pull/328))

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/dist/codeql-development-mcp-server.js

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -193095,6 +193095,17 @@ function addMappingEvent(state, start, anchorStart, anchorEnd, tagStart, tagEnd,
193095193095
style
193096193096
});
193097193097
}
193098+
function insertFlowPairMappingEvent(state, snapshot) {
193099+
state.events.splice(snapshot.eventsLength, 0, {
193100+
type: 3,
193101+
start: snapshot.position,
193102+
anchorStart: NO_RANGE$1,
193103+
anchorEnd: NO_RANGE$1,
193104+
tagStart: NO_RANGE$1,
193105+
tagEnd: NO_RANGE$1,
193106+
style: 2
193107+
});
193108+
}
193098193109
function addScalarEvent(state, valueStart, valueEnd, anchorStart, anchorEnd, tagStart, tagEnd, style, chomping = 1, indent = -1, fast = false) {
193099193110
state.events.push({
193100193111
type: 4,
@@ -193538,12 +193549,8 @@ function readFlowCollection(state, nodeIndent, props) {
193538193549
state.position++;
193539193550
skipFlowSeparationSpace(state, nodeIndent);
193540193551
if (!isMapping) {
193541-
restoreState(state, entryStart);
193542-
addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
193543-
if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
193544-
skipFlowSeparationSpace(state, nodeIndent);
193545-
state.position++;
193546-
skipFlowSeparationSpace(state, nodeIndent);
193552+
insertFlowPairMappingEvent(state, entryStart);
193553+
if (!keyWasRead) addEmptyScalarEvent(state);
193547193554
} else if (!keyWasRead) addEmptyScalarEvent(state);
193548193555
if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
193549193556
skipFlowSeparationSpace(state, nodeIndent);
@@ -193553,9 +193560,8 @@ function readFlowCollection(state, nodeIndent, props) {
193553193560
addEmptyScalarEvent(state);
193554193561
} else if (isMapping) addEmptyScalarEvent(state);
193555193562
else if (isPair) {
193556-
restoreState(state, entryStart);
193557-
addMappingEvent(state, entryStart.position, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 2);
193558-
parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
193563+
insertFlowPairMappingEvent(state, entryStart);
193564+
if (!keyWasRead) addEmptyScalarEvent(state);
193559193565
addEmptyScalarEvent(state);
193560193566
addPopEvent(state);
193561193567
}
@@ -194192,7 +194198,7 @@ function isNsCharOrWhitespace(c) {
194192194198
function isPlainSafe(c, prev, inblock) {
194193194199
const cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
194194194200
const cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
194195-
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;
194201+
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);
194196194202
}
194197194203
function isPlainSafeFirst(c) {
194198194204
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;
@@ -203268,6 +203274,6 @@ object-assign/index.js:
203268203274
*)
203269203275

203270203276
js-yaml/dist/js-yaml.mjs:
203271-
(*! js-yaml 5.2.1 https://github.com/nodeca/js-yaml @license MIT *)
203277+
(*! js-yaml 5.2.2 https://github.com/nodeca/js-yaml @license MIT *)
203272203278
*/
203273203279
//# sourceMappingURL=codeql-development-mcp-server.js.map

server/dist/codeql-development-mcp-server.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"cors": "^2.8.6",
6262
"dotenv": "^17.4.2",
6363
"express": "^5.2.1",
64-
"js-yaml": "^5.2.1",
64+
"js-yaml": "^5.2.2",
6565
"sql.js": "^1.14.1",
6666
"zod": "^3.25.76"
6767
},

0 commit comments

Comments
 (0)