Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions common/config/rush/.pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,41 +22,47 @@ module.exports = {
if (deps['xmldom']) deps['xmldom'] = 'npm:@xmldom/xmldom@0.8.10';
if (deps['braces']) deps['braces'] = '3.0.3';
if (deps['micromatch']) deps['micromatch'] = '4.0.8';
if (deps['js-yaml']) deps['js-yaml'] = '4.1.1';
if (deps['js-yaml']) deps['js-yaml'] = '4.2.0';
if (deps['diff']) deps['diff'] = '8.0.3';
if (deps['eslint']) deps['eslint'] = '^9.27.0';
if (deps['fast-xml-parser']) deps['fast-xml-parser'] = '5.7.0';
if (deps['esbuild']) deps['esbuild'] = '0.25.12';
if (deps['lodash']) deps['lodash'] = '4.18.0';
if (deps['qs']) deps['qs'] = '6.15.2'; // security fix: CVE-2026-8723
if (deps['hono']) deps['hono'] = '4.12.21';
if (deps['hono']) deps['hono'] = '4.12.25';
if (deps['@hono/node-server']) deps['@hono/node-server'] = '1.19.13';
if (deps['@tootallnate/once']) deps['@tootallnate/once'] = '3.0.1';
if (deps['dompurify']) deps['dompurify'] = '3.4.0'; // security fix: XSS vulnerability
if (deps['dompurify']) deps['dompurify'] = '3.4.9';
if (deps['axios']) deps['axios'] = '1.16.0'; // security fix
if (deps['ip-address']) { // security fix: force patch within 10.x range only to avoid breaking consumers on earlier majors
if (/^[\s\^~><=]*10[.\s]/.test(deps['ip-address'])) {
deps['ip-address'] = '10.1.1';
}
}
if (deps['follow-redirects']) deps['follow-redirects'] = '1.16.0'; // security fix: redirect bypass vulnerability
if (deps['form-data']) {
if (/^[\s\^~><=]*4[.\s]/.test(deps['form-data'])) {
deps['form-data'] = '4.0.6';
}
}
if (deps['express-rate-limit']) deps['express-rate-limit'] = '8.2.2'; // security fix
if (deps['file-type']) deps['file-type'] = '21.3.2'; // security fix
if (deps['immutable']) deps['immutable'] = '3.8.3'; // security fix
if (deps['serialize-javascript']) deps['serialize-javascript'] = '7.0.5'; // security fix: XSS/code injection
if (deps['shell-quote']) deps['shell-quote'] = '1.8.4';
if (deps['flatted']) deps['flatted'] = '3.4.2'; // security fix
if (deps['handlebars']) deps['handlebars'] = '4.7.9'; // security fix: prototype pollution
if (deps['tmp']) deps['tmp'] = '0.2.6'; // security fix
if (deps['tmp']) deps['tmp'] = '0.2.7'; // security fix
if (deps['undici']) deps['undici'] = '7.24.0'; // security fix: header injection
if (deps['uuid']) deps['uuid'] = '14.0.0'; // security fix
if (deps['@nevware21/ts-utils']) deps['@nevware21/ts-utils'] = '0.14.0'; // security fix: CVE-2026-46681 (prototype pollution)
if (deps['@opentelemetry/core']) deps['@opentelemetry/core'] = '2.8.0';
if (deps['protobufjs']) {
const currentVersion = deps['protobufjs'];
if (currentVersion.startsWith('^8') || currentVersion.startsWith('8')) {
deps['protobufjs'] = '8.2.0'; // security fix: CVE-2026-45740 (DoS via recursive JSON descriptor expansion)
deps['protobufjs'] = '8.6.0';
} else {
deps['protobufjs'] = '7.5.8'; // security fix: CVE-2026-45740 (DoS via recursive JSON descriptor expansion)
deps['protobufjs'] = '7.6.3'; // security fix: CVE-2026-45740 (DoS via recursive JSON descriptor expansion)
}
}
if (deps['vite']) deps['vite'] = '6.0.14';
Expand Down
2 changes: 1 addition & 1 deletion common/config/rush/pnpm-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
*/
"globalOverrides": {
"lodash": ">=4.18.0",
"hono": "4.12.21"
"hono": "4.12.25"
},

/**
Expand Down
5,357 changes: 2,154 additions & 3,203 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"braces": "3.0.3",
"brace-expansion": "1.1.13",
"diff": "8.0.3",
"dompurify": "3.4.0",
"dompurify": "3.4.9",
"fast-uri": "3.1.2",
"fast-xml-builder": "1.1.7",
"fast-xml-parser": "5.7.0",
"file-type": "21.3.2",
"flatted": "3.4.2",
"handlebars": "4.7.9",
"hono": "4.12.21",
"hono": "4.12.25",
"http-proxy": "1.18.1",
"js-yaml": "4.1.1",
"js-yaml": "4.2.0",
"lodash": "4.18.0",
"qs": "6.15.2",
"micromatch": "4.0.8",
Expand All @@ -26,11 +26,11 @@
"picomatch": "4.0.4",
"prismjs": "1.30.0",
"@nevware21/ts-utils": "0.14.0",
"protobufjs": "7.5.8",
"protobufjs": "7.6.3",
Comment thread
ChinthakaJ98 marked this conversation as resolved.
"serialize-javascript": "7.0.5",
"webpack-dev-server": "5.2.4",
"webpack-dev-server": "5.2.5",
"ws": "8.20.1",
"tmp": "0.2.6",
"tmp": "0.2.7",
"undici": "7.24.0",
"uuid": "14.0.0",
"vite": "6.0.14",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/api-designer/api-designer-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@
"node-fetch": "2.6.7",
"node-loader": "2.0.0",
"to-json-schema": "0.2.5",
"@babel/core": "7.24.4",
"@babel/core": "7.29.6",
"@types/json-schema": "7.0.15",
"json-schema": "0.4.0",
"portfinder": "1.0.32",
"cors-anywhere": "0.4.4",
"@apidevtools/json-schema-ref-parser": "11.6.1",
"adm-zip": "0.5.14",
"js-yaml": "4.1.1"
"js-yaml": "4.2.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@wso2/font-wso2-vscode": "workspace:*",
"react-dom": "18.2.0",
"react-markdown": "9.0.1",
"js-yaml": "4.1.1",
"js-yaml": "4.2.0",
"process": "0.11.10",
"path": "0.12.7",
"@hookform/resolvers": "3.3.4",
Expand All @@ -46,7 +46,7 @@
"@storybook/react-webpack5": "8.6.14",
"webpack": "5.104.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.2.4",
"webpack-dev-server": "5.2.5",
"@babel/preset-typescript": "7.22.11",
"@babel/plugin-syntax-flow": "7.22.5",
"@types/lodash": "4.14.198",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/ballerina/ballerina-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@
"node-fetch": "3.3.2",
"node-schedule": "2.1.1",
"portfinder": "1.0.32",
"protobufjs": "7.5.8",
"protobufjs": "7.6.3",
"source-map-support": "0.5.21",
"unzipper": "0.12.3",
"uuid": "14.0.0",
Expand Down Expand Up @@ -1488,7 +1488,7 @@
"decache": "4.6.2",
"express": "4.22.1",
"istanbul": "0.4.5",
"js-yaml": "4.1.1",
"js-yaml": "4.2.0",
"keytar": "7.9.0",
"kill-port": "2.0.1",
"mocha": "10.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"graphql": "16.11.0",
"handlebars": "4.7.9",
"jest": "29.7.0",
"joi": "17.13.3",
"joi": "17.13.4",
"lodash.camelcase": "4.3.0",
"lodash.clonedeep": "4.5.0",
"lodash.debounce": "4.0.8",
Expand All @@ -48,7 +48,7 @@
"vscode-languageserver-protocol": "3.17.5"
},
"devDependencies": {
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@babel/preset-env": "7.27.2",
"@rollup/plugin-commonjs": "28.0.3",
"@rollup/plugin-json": "6.1.0",
Expand Down Expand Up @@ -102,7 +102,7 @@
"typescript": "5.8.3",
"webpack": "5.104.1",
"webpack-cli": "6.0.1",
"webpack-dev-server": "5.2.4"
"webpack-dev-server": "5.2.5"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/ballerina/ballerina-side-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@wso2/ballerina-rpc-client": "workspace:*",
"@wso2/ui-toolkit": "workspace:*",
"lodash": "4.17.23",
"markdown-it": "14.1.1",
"markdown-it": "14.2.0",
"prosemirror-commands": "1.7.1",
"prosemirror-gapcursor": "1.4.0",
"prosemirror-history": "1.5.0",
Expand Down
6 changes: 3 additions & 3 deletions workspaces/ballerina/ballerina-visualizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"highlight.js": "11.11.1",
"rehype-raw": "7.0.0",
"remark-breaks": "4.0.0",
"js-yaml": "4.1.1",
"js-yaml": "4.2.0",
"swagger-ui-react": "5.22.0",
"rehype-katex": "7.0.1",
"remark-gfm": "4.0.1",
Expand All @@ -77,7 +77,7 @@
"@types/jest": "29.5.14",
"jest-environment-jsdom": "29.7.0",
"identity-obj-proxy": "3.0.0",
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@babel/preset-env": "7.27.2",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.1",
Expand Down Expand Up @@ -107,7 +107,7 @@
"@types/react-lottie": "1.2.5",
"@types/lodash.debounce": "4.0.6",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.2.4"
"webpack-dev-server": "5.2.5"
},
"author": "wso2",
"license": "UNLICENSED",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/ballerina/bi-diagram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@testing-library/react": "16.3.0",
"@testing-library/dom": "10.4.0",
"jest-environment-jsdom": "29.7.0",
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@babel/preset-env": "7.27.2",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.1",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/ballerina/component-diagram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@testing-library/react": "16.3.0",
"@testing-library/dom": "10.4.0",
"jest-environment-jsdom": "29.7.0",
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@babel/preset-env": "7.27.2",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.1",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/ballerina/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@storybook/addon-actions": "6.5.9",
"@storybook/addon-essentials": "6.5.9",
"@storybook/addon-links": "6.5.9",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/ballerina/persist-layer-diagram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@emotion/css": "11.13.5"
},
"devDependencies": {
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0",
"@wso2/ballerina-core": "workspace:*",
Expand All @@ -52,7 +52,7 @@
"ts-loader": "9.4.1",
"webpack": "5.104.1",
"webpack-cli": "6.0.1",
"webpack-dev-server": "5.2.4"
"webpack-dev-server": "5.2.5"
},
"author": "wso2",
"license": "UNLICENSED"
Expand Down
2 changes: 1 addition & 1 deletion workspaces/ballerina/sequence-diagram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@testing-library/react": "16.3.0",
"@testing-library/dom": "10.4.0",
"jest-environment-jsdom": "29.7.0",
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@babel/preset-env": "7.27.2",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.1",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/ballerina/trace-visualizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"typescript": "5.8.3",
"webpack": "5.104.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.2.4"
"webpack-dev-server": "5.2.5"
},
"author": "wso2",
"license": "UNLICENSED",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/ballerina/type-diagram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@emotion/css": "11.13.5"
},
"devDependencies": {
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@babel/preset-env": "7.27.2",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.1",
Expand All @@ -69,7 +69,7 @@
"ts-loader": "9.4.1",
"webpack": "5.104.1",
"webpack-cli": "6.0.1",
"webpack-dev-server": "5.2.4"
"webpack-dev-server": "5.2.5"
},
"author": "wso2",
"license": "UNLICENSED"
Expand Down
2 changes: 1 addition & 1 deletion workspaces/choreo/choreo-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
"byline": "5.0.0",
"dotenv": "16.0.3",
"file-type": "21.3.2",
"js-yaml": "4.1.1",
"js-yaml": "4.2.0",
"yaml": "2.8.3",
"jschardet": "3.0.0",
"vscode-messenger": "0.5.1",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/choreo/choreo-webviews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"remark-gfm": "4.0.1",
"prism-react-renderer": "2.4.1",
"lodash.debounce": "4.0.8",
"js-yaml": "4.1.1"
"js-yaml": "4.2.0"
},
"devDependencies": {
"copyfiles": "2.4.1",
Expand All @@ -51,7 +51,7 @@
"ts-loader": "9.5.2",
"webpack": "5.104.1",
"webpack-cli": "6.0.1",
"webpack-dev-server": "5.2.4",
"webpack-dev-server": "5.2.5",
"source-map-loader": "5.0.0",
"postcss": "8.5.4",
"postcss-loader" :"8.1.1",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/mi/mi-diagram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"vscode-languageserver-protocol": "3.17.5",
"vscode-jsonrpc": "8.2.1",
"jest-environment-jsdom": "29.7.0",
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@babel/preset-env": "7.27.2",
"babel-jest": "30.0.0",
"react-test-renderer": "18.3.0",
Expand Down
6 changes: 3 additions & 3 deletions workspaces/mi/mi-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "WSO2 Integrator: MI",
"description": "An extension which gives a development environment for designing, developing, debugging, and testing integration solutions.",
"icon": "resources/images/wso2-micro-integrator-icon.png",
"version": "4.1.0",
"version": "4.1.0-test",
"publisher": "wso2",
"engines": {
"vscode": "^1.100.0"
Expand Down Expand Up @@ -1136,7 +1136,7 @@
"@anthropic-ai/tokenizer": "0.0.4",
"@tavily/core": "0.6.4",
"@apidevtools/json-schema-ref-parser": "12.0.2",
"@babel/core": "7.27.1",
"@babel/core": "7.29.6",
"@babel/plugin-transform-typescript": "7.27.1",
"@iarna/toml": "2.2.5",
"@langfuse/otel": "4.5.1",
Expand Down Expand Up @@ -1177,7 +1177,7 @@
"pdf-lib": "1.17.1",
"portfinder": "1.0.37",
"recast": "0.23.11",
"tmp": "0.2.6",
"tmp": "0.2.7",
"to-json-schema": "0.2.5",
"tree-kill": "1.2.2",
"unzipper": "0.12.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,23 @@ export class ClassMediator {

public async clear(classNames: string[]) {
for (const className of classNames) {
await this.saveIfPrompted();
try {
await this._page.getByRole('tab', { name: className }).getByLabel('Close').click();
} catch (error) {
console.error(`Failed to close class mediator tab for ${className}: ${error}`);
}
}
await this.saveIfPrompted();
}

private async saveIfPrompted() {
const save = this._page.getByRole('button', { name: 'Save', exact: true });
try {
await save.waitFor({ state: 'visible', timeout: 2000 });
await save.click();
} catch {
// No dialog open — nothing to save.
}
}
}
Loading
Loading