[Snyk] Upgrade socket.io from 1.3.7 to 3.0.3 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade socket.io from 1.3.7 to 3.0.3.
✨ Snyk has automatically assigned this pull request, set who gets assigned.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
npm:ws:20171108
Why? Mature exploit, Has a fix available, CVSS 7.5
npm:ws:20160624
Why? Mature exploit, Has a fix available, CVSS 7.5
npm:parsejson:20170908
Why? Mature exploit, Has a fix available, CVSS 7.5
npm:engine.io-client:20160426
Why? Mature exploit, Has a fix available, CVSS 7.5
npm:ws:20160920
Why? Mature exploit, Has a fix available, CVSS 7.5
npm:ws:20160104
Why? Mature exploit, Has a fix available, CVSS 7.5
npm:ms:20151024
Why? Mature exploit, Has a fix available, CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: socket.io
-
3.0.3 - 2020-11-19
- Milestone: -
- Diff: 3.0.2...3.0.3
- Client release: 3.0.3
- engine.io version:
- ws version:
-
3.0.2 - 2020-11-17
- merge Engine.IO options (43705d7)
- Milestone: 3.0.2
- Diff: 3.0.1...3.0.2
- Client release: 3.0.2
- engine.io version:
- ws version:
-
3.0.1 - 2020-11-09
- export ServerOptions and Namespace types (#3684) (f62f180)
- typings: update the signature of the emit method (50671d9)
- Milestone: 3.0.1
- Diff: 3.0.0...3.0.1
- Client release: 3.0.1
- engine.io version:
- ws version:
-
3.0.0 - 2020-11-05
- close clients with no namespace (91cd255)
- emit an Error object upon middleware error (54bf4a4)
- serve msgpack bundle (aa7574f)
- add support for catch-all listeners (5c73733)
- make Socket#join() and Socket#leave() synchronous (129c641)
- remove prod dependency to socket.io-client (7603da7)
- move binary detection back to the parser (669592d)
- add ES6 module export (8b6b100)
- do not reuse the Engine.IO id (2875d2c)
- remove Server#set() method (029f478)
- remove Socket#rooms object (1507b41)
- remove the 'origins' option (a8c0600)
- remove the implicit connection to the default namespace (3289f7e)
- throw upon reserved event names (4bd5b23)
-
-
- the "connected" map is renamed to "sockets"
- the Socket#binary() method is removed, as this use case is now covered by the ability to provide your own parser.
- the 'origins' option is removed
-
-
-
- the Server#set() method was removed
- Milestone: 3.0.0
- Diff: 2.3.0...3.0.0
- Client release: 3.0.0
- engine.io version:
- ws version:
-
3.0.0-rc4 - 2020-10-30
- emit an Error object upon middleware error (54bf4a4)
- serve msgpack bundle (aa7574f)
- Milestone: 3.0.0
- Diff: 3.0.0-rc3...3.0.0-rc4
- Client release: 3.0.0-rc4
- engine.io version:
- ws version:
-
3.0.0-rc3 - 2020-10-26
- add support for catch-all listeners (5c73733)
- make Socket#join() and Socket#leave() synchronous (129c641)
- remove prod dependency to socket.io-client (7603da7)
-
-
- Milestone: 3.0.0
- Diff: 3.0.0-rc2...3.0.0-rc3
- Client release: 3.0.0-rc3
- engine.io version:
- ws version:
-
3.0.0-rc2 - 2020-10-15
- close clients with no namespace (91cd255)
- remove duplicate _sockets map (8a5db7f)
- move binary detection back to the parser (669592d)
- the "connected" map is renamed to "sockets"
- the Socket#binary() method is removed, as this use case is now covered by the ability to provide your own parser.
- Milestone: 3.0.0
- Diff: 3.0.0-rc1...3.0.0-rc2
- Client release: 3.0.0-rc2
- engine.io version:
- ws version:
-
3.0.0-rc1 - 2020-10-13
- add ES6 module export (8b6b100)
- do not reuse the Engine.IO id (2875d2c)
- remove Server#set() method (029f478)
- remove Socket#rooms object (1507b41)
- remove the 'origins' option (a8c0600)
- remove the implicit connection to the default namespace (3289f7e)
- throw upon reserved event names (4bd5b23)
- the 'origins' option is removed
-
-
-
- the
- Milestone: 3.0.0
- Diff: 2.3.0...3.0.0-rc1
- Client release: 3.0.0-rc1
- engine.io version:
- ws version:
-
2.3.0 - 2019-09-20
- Milestone: 2.3.0
- Diff: 2.2.0...2.3.0
- Client release: 2.3.0
- engine.io version:
- ws version:
-
2.2.0 - 2018-11-28
-
2.1.1 - 2018-05-17
-
2.1.0 - 2018-03-29
-
2.0.4 - 2017-10-22
-
2.0.3 - 2017-06-12
-
2.0.2 - 2017-06-01
-
2.0.1 - 2017-05-08
-
2.0.0 - 2017-05-08
-
1.7.4 - 2017-05-07
-
1.7.3 - 2017-02-17
-
1.7.2 - 2016-12-11
-
1.7.1 - 2016-11-27
-
1.7.0 - 2016-11-27
-
1.6.0 - 2016-11-20
-
1.5.1 - 2016-10-24
-
1.5.0 - 2016-10-06
-
1.4.8 - 2016-06-24
-
1.4.7 - 2016-06-24
-
1.4.6 - 2016-05-03
-
1.4.5 - 2016-01-26
-
1.4.4 - 2016-01-11
-
1.4.3 - 2016-01-08
-
1.4.2 - 2016-01-08
-
1.4.1 - 2016-01-07
-
1.4.0 - 2016-01-05
-
1.3.7 - 2015-09-21
from socket.io GitHub release notesLinks:
~4.0.0^7.1.2Bug Fixes
Links:
~4.0.0^7.1.2Bug Fixes
Links:
~4.0.0^7.1.2More details about this release in the blog post: https://socket.io/blog/socket-io-3-release/
Dedicated migration guide: https://socket.io/docs/migrating-from-2-x-to-3-0/
Bug Fixes
Features
BREAKING CHANGES
the Socket#use() method is removed (see 5c73733)
Socket#join() and Socket#leave() do not accept a callback argument anymore.
Before:
After:
Before:
The 'origins' option was used in the allowRequest method, in order to
determine whether the request should pass or not. And the Engine.IO
server would implicitly add the necessary Access-Control-Allow-xxx
headers.
After:
The already existing 'allowRequest' option can be used for validation:
Socket#rooms is now a Set instead of an object
Namespace#connected is now a Map instead of an object
there is no more implicit connection to the default namespace:
This method was kept for backward-compatibility with pre-1.0 versions.
Links:
~4.0.0^7.1.2Features
Links:
~4.0.0^7.1.2Features
BREAKING CHANGES
the Socket#use() method is removed (see 5c73733)
Socket#join() and Socket#leave() do not accept a callback argument anymore.
Before:
After:
Links:
~4.0.0^7.1.2Bug Fixes
Code Refactoring
Features
BREAKING CHANGES
Links:
~4.0.0^7.1.2Features
BREAKING CHANGES
Before:
The 'origins' option was used in the allowRequest method, in order to
determine whether the request should pass or not. And the Engine.IO
server would implicitly add the necessary Access-Control-Allow-xxx
headers.
After:
The already existing 'allowRequest' option can be used for validation:
Socket#roomsis now a Set instead of an objectNamespace#connectedis now a Map instead of an objectthere is no more implicit connection to the default namespace:
Server#set()method was removedThis method was kept for backward-compatibility with pre-1.0 versions.
Links:
~4.0.0(diff: socketio/engine.io@3.4.0...4.0.0)^7.1.2This release mainly contains a bump of the
engine.ioandwspackages, but no additional features.Links:
~3.4.0(diff: socketio/engine.io@3.3.1...3.4.2)^7.1.2(diff: websockets/ws@6.1.2...7.3.1)Commit messages
Package name: socket.io
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
👩💻 Set who automatically gets assigned
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs