jy95 / P4ng-client

Client side of P4ng
MIT License
0 stars 0 forks source link

[Snyk] Security upgrade socket.io-client from 2.2.0 to 3.0.0 #157

Closed jy95 closed 2 years ago

jy95 commented 2 years ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=socket.io-client&from_version=2.2.0&to_version=3.0.0&pr_id=0c802247-175d-4193-bdfd-b1da8b3bbd65&visibility=true&has_feature_flag=false) #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **776/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 9.8 | Improper Input Validation
[SNYK-JS-SOCKETIOPARSER-3091012](https://snyk.io/vuln/SNYK-JS-SOCKETIOPARSER-3091012) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: socket.io-client The new version differs by 51 commits.
  • b7e07ba chore(release): 3.0.0
  • ffa2804 chore(release): 3.0.0-rc4
  • 0939395 feat: emit an Error object upon middleware error
  • 969debe refactor: rework of the Manager events
  • a9127ce chore(release): 3.0.0-rc3
  • 13e1db7 refactor: rename ERROR to CONNECT_ERROR
  • 55f464f feat: add support for catch-all listeners
  • 71d6048 feat: add bundle with msgpack parser
  • f3cbe98 refactor: additional typings
  • 7ddad2c feat: add volatile events
  • b600e78 chore(release): 3.0.0-rc2
  • 1789094 feat: move binary detection back to the parser
  • c7998d5 refactor: add Manager and Socket typings
  • 2c7c230 chore: publish the wrapper.mjs file
  • a66473f chore: use socketio GitHub organization
  • 946a9f0 chore: fix test script
  • a838ff1 chore(release): 3.0.0-rc1
  • b68f816 chore: bump debug
  • cbabb03 feat: add ES6 module export
  • e826992 refactor: remove the 'connect_timeout' event
  • b60e909 refactor: remove the 'connecting' event
  • 6494f61 feat: throw upon reserved event names
  • 132f8ec feat: split the events of the Manager and Socket
  • 6cd2e4e refactor: remove the packetBuffer array
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/jy95/project/23660642-6530-4193-ba8a-ebcafc8b2185?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/jy95/project/23660642-6530-4193-ba8a-ebcafc8b2185?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"0c802247-175d-4193-bdfd-b1da8b3bbd65","prPublicId":"0c802247-175d-4193-bdfd-b1da8b3bbd65","dependencies":[{"name":"socket.io-client","from":"2.2.0","to":"3.0.0"}],"packageManager":"npm","projectPublicId":"23660642-6530-4193-ba8a-ebcafc8b2185","projectUrl":"https://app.snyk.io/org/jy95/project/23660642-6530-4193-ba8a-ebcafc8b2185?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-SOCKETIOPARSER-3091012"],"upgrade":["SNYK-JS-SOCKETIOPARSER-3091012"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[776]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Improper Input Validation](https://learn.snyk.io/lessons/sql-injection/javascript//?loc=fix-pr)