Unverified Commit 64ea284f authored by liuzhe-lz's avatar liuzhe-lz Committed by GitHub
Browse files

bump deps to fix security alert (#4415)

parent 298eeffb
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"app-module-path": "^2.2.0", "app-module-path": "^2.2.0",
"azure-storage": "^2.10.4", "azure-storage": "^2.10.6",
"child-process-promise": "^2.2.1", "child-process-promise": "^2.2.1",
"express": "^4.17.1", "express": "^4.17.1",
"express-joi-validator": "^2.0.1", "express-joi-validator": "^2.0.1",
...@@ -21,13 +21,14 @@ ...@@ -21,13 +21,14 @@
"js-base64": "^3.6.1", "js-base64": "^3.6.1",
"kubernetes-client": "^6.12.1", "kubernetes-client": "^6.12.1",
"lockfile": "^1.0.4", "lockfile": "^1.0.4",
"npm": ">=8.3.0",
"python-shell": "^3.0.0", "python-shell": "^3.0.0",
"rx": "^4.1.0", "rx": "^4.1.0",
"sqlite3": "5.0.2", "sqlite3": "5.0.2",
"ssh2": "^1.4.0", "ssh2": "^1.4.0",
"stream-buffers": "^3.0.2", "stream-buffers": "^3.0.2",
"tail-stream": "^0.3.4", "tail-stream": "^0.3.4",
"tar": "^6.1.9", "tar": "^6.1.11",
"tree-kill": "^1.2.2", "tree-kill": "^1.2.2",
"ts-deferred": "^1.0.4", "ts-deferred": "^1.0.4",
"typescript-ioc": "^1.2.6", "typescript-ioc": "^1.2.6",
...@@ -60,7 +61,6 @@ ...@@ -60,7 +61,6 @@
"eslint": "^7.28.0", "eslint": "^7.28.0",
"glob": "^7.1.7", "glob": "^7.1.7",
"mocha": "^9.0.2", "mocha": "^9.0.2",
"npx": "^10.2.2",
"nyc": "^15.1.0", "nyc": "^15.1.0",
"request": "^2.88.2", "request": "^2.88.2",
"rmdir": "^1.2.0", "rmdir": "^1.2.0",
...@@ -72,12 +72,13 @@ ...@@ -72,12 +72,13 @@
"acorn": ">=8.3.0", "acorn": ">=8.3.0",
"hoek": ">=6.1.3", "hoek": ">=6.1.3",
"node.extend": ">=1.1.8", "node.extend": ">=1.1.8",
"npm": ">=7.16.0",
"y18n": ">=5.0.8", "y18n": ">=5.0.8",
"yargs-parser": ">=20.2.7", "yargs-parser": ">=20.2.7",
"joi": ">=17.4.0", "joi": ">=17.4.0",
"node-forge": ">=0.10.0", "node-forge": ">=0.10.0",
"glob-parent": ">=6.0.0" "glob-parent": ">=6.0.0",
"node-gyp": ">=8.4.1",
"strip-ansi": "=6.0.1"
}, },
"engines": { "engines": {
"node": "^16.3.0" "node": "^16.3.0"
......
This diff is collapsed.
...@@ -563,7 +563,7 @@ module.exports = function(webpackEnv) { ...@@ -563,7 +563,7 @@ module.exports = function(webpackEnv) {
// solution that requires the user to opt into importing specific locales. // solution that requires the user to opt into importing specific locales.
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack // https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
// You can remove this if you don't use Moment.js: // You can remove this if you don't use Moment.js:
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), new webpack.IgnorePlugin({ resourceRegExp: /^\.\/locale$/, contextRegExp: /moment$/ }),
// Generate a service worker script that will precache, and keep up to date, // Generate a service worker script that will precache, and keep up to date,
// the HTML & assets that are part of the Webpack build. // the HTML & assets that are part of the Webpack build.
isEnvProduction && isEnvProduction &&
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"d3": "^6.7.0", "d3": "^6.7.0",
"dotenv": "^10.0.0", "dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0", "dotenv-expand": "^5.1.0",
"echarts": "^5.0", "echarts": "^5.2.2",
"echarts-for-react": "^3.0.0", "echarts-for-react": "^3.0.0",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"fs-extra": "^10.0.0", "fs-extra": "^10.0.0",
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
"mini-css-extract-plugin": "^1.6.0", "mini-css-extract-plugin": "^1.6.0",
"monaco-editor": "^0.25.0", "monaco-editor": "^0.25.0",
"monaco-editor-webpack-plugin": "^4.0.0", "monaco-editor-webpack-plugin": "^4.0.0",
"node-sass": "^6.0.0", "node-sass": "^7.0.0",
"npm": ">=8.3.0",
"parcoord-es": "^2.2.10", "parcoord-es": "^2.2.10",
"pnp-webpack-plugin": "^1.6.4", "pnp-webpack-plugin": "^1.6.4",
"postcss-flexbugs-fixes": "^5.0.2", "postcss-flexbugs-fixes": "^5.0.2",
...@@ -52,7 +53,7 @@ ...@@ -52,7 +53,7 @@
"style-loader": "^2.0.0", "style-loader": "^2.0.0",
"url-loader": "^4.1.1", "url-loader": "^4.1.1",
"webpack": "^5.39.0", "webpack": "^5.39.0",
"webpack-dev-server": "^3.11.2", "webpack-dev-server": ">=4.7.0",
"webpack-manifest-plugin": "^3.1.1", "webpack-manifest-plugin": "^3.1.1",
"workbox-webpack-plugin": "^6.1.5" "workbox-webpack-plugin": "^6.1.5"
}, },
...@@ -63,13 +64,13 @@ ...@@ -63,13 +64,13 @@
"@babel/preset-typescript": "^7.14.5", "@babel/preset-typescript": "^7.14.5",
"@babel/runtime": "^7.14.6", "@babel/runtime": "^7.14.6",
"@fluentui/react": "^7.135.0", "@fluentui/react": "^7.135.0",
"@svgr/webpack": "^5.5.0", "@svgr/webpack": "^6.1.2",
"@types/d3": "^6.7.0", "@types/d3": "^6.7.0",
"@types/node": "^15.12.2", "@types/node": "^15.12.2",
"@types/react": "^16.8.15", "@types/react": "^16.8.15",
"@types/react-dom": "^16.8.4", "@types/react-dom": "^16.8.4",
"@typescript-eslint/eslint-plugin": "^4.27.0", "@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^4.27.0", "@typescript-eslint/parser": "^5.8.0",
"concurrently": "^6.2.0", "concurrently": "^6.2.0",
"eslint": "^7.28.0", "eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
...@@ -82,7 +83,6 @@ ...@@ -82,7 +83,6 @@
"eslint-plugin-react": "^7.24.0", "eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-hooks": "^4.2.0",
"express": "^4.17.1", "express": "^4.17.1",
"npx": "^10.2.0",
"prettier": "^2.3.1", "prettier": "^2.3.1",
"stylelint": "^13.7.0", "stylelint": "^13.7.0",
"stylelint-config-standard": "^22.0.0", "stylelint-config-standard": "^22.0.0",
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
] ]
}, },
"resolutions": { "resolutions": {
"npm": ">=7.17.0",
"yargs": ">=17.0.1", "yargs": ">=17.0.1",
"acorn": ">=8.4.0", "acorn": ">=8.4.0",
"y18n": ">=5.0.8", "y18n": ">=5.0.8",
...@@ -119,7 +118,8 @@ ...@@ -119,7 +118,8 @@
"css-what": ">=5.0.1", "css-what": ">=5.0.1",
"browserslist": ">=4.16.6", "browserslist": ">=4.16.6",
"trim-newlines": ">=4.0.2", "trim-newlines": ">=4.0.2",
"glob-parent": ">=6.0.0" "glob-parent": ">=6.0.0",
"strip-ansi": "=6.0.1"
}, },
"jest": { "jest": {
"verbose": true "verbose": true
......
...@@ -130,7 +130,7 @@ export const EditExperimentParam = (): any => { ...@@ -130,7 +130,7 @@ export const EditExperimentParam = (): any => {
showMessageInfo(`Successfully updated experiment's ${field}`, 'success'); showMessageInfo(`Successfully updated experiment's ${field}`, 'success');
updateOverviewPage(); updateOverviewPage();
} }
} catch (error) { } catch (error: any) {
if (error.response && error.response.data.error) { if (error.response && error.response.data.error) {
showMessageInfo(`Failed to update trial ${field}\n${error.response.data.error}`, 'error'); showMessageInfo(`Failed to update trial ${field}\n${error.response.data.error}`, 'error');
} else if (error.response) { } else if (error.response) {
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment