Skip to content

Commit

Permalink
fix: [Snyk] Security upgrade socket.io-client from 3.1.3 to 4.0.0 (#1519
Browse files Browse the repository at this point in the history
)

* fix: game_frontend/package.json & game_frontend/yarn.lock to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1255647
  • Loading branch information
snyk-bot committed Apr 27, 2021
1 parent 8f62622 commit 9499455
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion game_frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"redux-devtools-extension": "^2.13.8",
"redux-observable": "^1.1.0",
"rxjs": "^6.5.2",
"socket.io-client": "^3.0.4",
"socket.io-client": "^4.0.0",
"styled-components": "^5.2.0",
"threads": "^1.6.3",
"webfontloader": "^1.6.28"
Expand Down
24 changes: 9 additions & 15 deletions game_frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3627,10 +3627,10 @@ end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"

engine.io-client@~4.1.0:
version "4.1.2"
resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-4.1.2.tgz#823b4f005360321c41445fc23ce8ee028ef2e36b"
integrity sha512-1mwvwKYMa0AaCy+sPgvJ/SnKyO5MJZ1HEeXfA3Rm/KHkHGiYD5bQVq8QzvIrkI01FuVtOdZC5lWdRw1BGXB2NQ==
engine.io-client@~5.0.0:
version "5.0.1"
resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-5.0.1.tgz#9470fc6655c9789c5c0aa1a0e7e7d9ae9753a798"
integrity sha512-CQtGN3YwfvbxVwpPugcsHe5rHT4KgT49CEcQppNtu9N7WxbPN0MAG27lGaem7bvtCFtGNLSL+GEqXsFSz36jTg==
dependencies:
base64-arraybuffer "0.1.4"
component-emitter "~1.3.0"
Expand All @@ -3640,7 +3640,6 @@ engine.io-client@~4.1.0:
parseqs "0.0.6"
parseuri "0.0.6"
ws "~7.4.2"
xmlhttprequest-ssl "~1.5.4"
yeast "0.1.2"

engine.io-parser@~4.0.1:
Expand Down Expand Up @@ -9088,16 +9087,16 @@ snapdragon@^0.8.1:
source-map-resolve "^0.5.0"
use "^3.1.0"

socket.io-client@^3.0.4:
version "3.1.3"
resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-3.1.3.tgz#57ddcefea58cfab71f0e94c21124de8e3c5aa3e2"
integrity sha512-4sIGOGOmCg3AOgGi7EEr6ZkTZRkrXwub70bBB/F0JSkMOUFpA77WsL87o34DffQQ31PkbMUIadGOk+3tx1KGbw==
socket.io-client@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-4.0.1.tgz#8f3bf4ce9282dda1741a4ed0f726b412944e012b"
integrity sha512-6AkaEG5zrVuSVW294cH1chioag9i1OqnCYjKwTc3EBGXbnyb98Lw7yMa40ifLjFj3y6fsFKsd0llbUZUCRf3Qw==
dependencies:
"@types/component-emitter" "^1.2.10"
backo2 "~1.0.2"
component-emitter "~1.3.0"
debug "~4.3.1"
engine.io-client "~4.1.0"
engine.io-client "~5.0.0"
parseuri "0.0.6"
socket.io-parser "~4.0.4"

Expand Down Expand Up @@ -10308,11 +10307,6 @@ xmlchars@^2.1.1:
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==

xmlhttprequest-ssl@~1.5.4:
version "1.5.5"
resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
integrity sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=

xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
Expand Down

0 comments on commit 9499455

Please sign in to comment.