Run npm-check update
Ran "npm-check --update-all --save-exact".
We were missing the following dependencies:
Missing dependencies
* regenerator-runtime
* is-path-inside
* pkg-dir
https://github.com/openbmc/phosphor-webui/commit/dc25db0301ae6d4dabab6d98fb8447832a8c30e2
added regenerator-runtime, is-path-inside, and pkg-dir.
This change adds them as a dependency.
Running npm-check also updated a few packages.
Since moving to webpack-dev-server 3.8, a random port will be used,
need the following bmcweb change:
https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/24610
A random port breaks running the GUI locally (assuming XSS disabled)
because of:
https://github.com/openbmc/bmcweb/blob/43b761d0c8f5c4c39199093ee4bcd60698e77138/include/security_headers_middleware.hpp#L52
Tested: Built and loaded on a Witherspoon. No regressions observed.
Ran the GUI locally with CSRF and XSS disabled with 24610.
Change-Id: I57ff3edff979b24f7c0a7256d47fa47412041ad7
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/package.json b/package.json
index 6b68739..8211487 100644
--- a/package.json
+++ b/package.json
@@ -45,8 +45,11 @@
"angular-ui-bootstrap": "2.5.6",
"angular-ui-router": "1.0.22",
"bootstrap": "4.3.1",
- "core-js": "3.1.4",
+ "core-js": "3.2.1",
+ "is-path-inside": "3.0.1",
"ng-toast": "2.0.0",
+ "pkg-dir": "4.2.0",
+ "regenerator-runtime": "0.13.3",
"xterm": "3.14.5"
},
"peerDependencies": {},
@@ -60,12 +63,12 @@
"babel-loader": "8.0.6",
"babel-polyfill": "6.26.0",
"compression-webpack-plugin": "3.0.0",
- "copy-webpack-plugin": "5.0.3",
- "csp-html-webpack-plugin": "3.0.2",
- "css-loader": "3.1.0",
+ "copy-webpack-plugin": "5.0.4",
+ "csp-html-webpack-plugin": "3.0.3",
+ "css-loader": "3.2.0",
"eslint-plugin-angular": "4.0.1",
"event-stream": "4.0.1",
- "file-loader": "4.1.0",
+ "file-loader": "4.2.0",
"filter-chunk-webpack-plugin": "2.1.0",
"html-loader": "0.5.5",
"html-minifier": "4.0.0",
@@ -76,14 +79,14 @@
"node-sass": "4.12.0",
"null-loader": "3.0.0",
"raw-loader": "3.1.0",
- "rimraf": "2.6.3",
- "sass-loader": "7.1.0",
- "style-loader": "0.23.1",
+ "rimraf": "3.0.0",
+ "sass-loader": "7.2.0",
+ "style-loader": "1.0.0",
"svg-inline-loader": "0.8.0",
- "uglifyjs-webpack-plugin": "2.1.3",
- "webpack": "4.37.0",
- "webpack-cli": "3.3.6",
- "webpack-dev-server": "3.7.2"
+ "uglifyjs-webpack-plugin": "2.2.0",
+ "webpack": "4.39.2",
+ "webpack-cli": "3.3.7",
+ "webpack-dev-server": "3.8.0"
},
"license": "Apache-2.0",
"licenses": [