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