Remove angular-websocket dependency
The WebUI does not use angular-websocket for websockets instead
uses https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket
https://github.com/openbmc/phosphor-webui/blob/457ca04073ff10cb1df2e7c5ab5192430a2ac6a9/app/common/directives/serial-console.js#L38
This unused dependency was found with depcheck.
Tested: Built this code and loaded it onto a Witherspoon.
Still see the SOL console.
Change-Id: Iffc1f31f94ae0ff5bf7173d06208b1c7bef6ca2a
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/package-lock.json b/package-lock.json
index 744f06a..2d9d31b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1114,15 +1114,6 @@
"@uirouter/core": "5.0.21"
}
},
- "angular-websocket": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/angular-websocket/-/angular-websocket-2.0.1.tgz",
- "integrity": "sha1-D7TWDtkBi+WD0DHuxOVrRXy43O4=",
- "requires": {
- "angular": "1.7.7",
- "ws": "1.1.5"
- }
- },
"ansi-colors": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz",
@@ -6490,11 +6481,6 @@
"is-wsl": "1.1.0"
}
},
- "options": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz",
- "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8="
- },
"original": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
@@ -8969,11 +8955,6 @@
}
}
},
- "ultron": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz",
- "integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po="
- },
"unicode-canonical-property-names-ecmascript": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz",
@@ -9910,15 +9891,6 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
"dev": true
},
- "ws": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz",
- "integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==",
- "requires": {
- "options": "0.0.6",
- "ultron": "1.0.2"
- }
- },
"xregexp": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.0.0.tgz",
diff --git a/package.json b/package.json
index 93126fe..35c6b78 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,6 @@
"angular-sanitize": "^1.7.5",
"angular-ui-bootstrap": "^2.5.0",
"angular-ui-router": "^1.0.20",
- "angular-websocket": "^2.0.1",
"bootstrap": "^4.3.1",
"ng-toast": "^2.0.0",
"xterm": "^3.10.1"