Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency socket.io to v2 [security] #64

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 21, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
socket.io ~1.3.7 -> ~2.4.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2020-28481

The package socket.io before 2.4.0 are vulnerable to Insecure Defaults due to CORS Misconfiguration. All domains are whitelisted by default.


Release Notes

socketio/socket.io

v2.4.0

Compare Source

Bug Fixes
  • security: do not allow all origins by default (f78a575)
  • properly overwrite the query sent in the handshake (d33a619)

3.0.4 (2020-12-07)

3.0.3 (2020-11-19)

3.0.2 (2020-11-17)

Bug Fixes
  • merge Engine.IO options (43705d7)

3.0.1 (2020-11-09)

Bug Fixes
  • export ServerOptions and Namespace types (#​3684) (f62f180)
  • typings: update the signature of the emit method (50671d9)

v2.3.0

Compare Source

This release mainly contains a bump of the engine.io and ws packages, but no additional features.

v2.2.0

Compare Source

Features
  • add cache-control header when serving the client source (#​2907) (b00ae50)
Bug fixes
  • throw an error when trying to access the clients of a dynamic namespace (#​3355) (a7fbd1a)

v2.1.1

Compare Source

Features
socket.local.to('room101').emit(/* */);

v2.1.0

Compare Source

Features
// by default, the object is recursively scanned to check whether it contains some binary data
// in the following example, the check is skipped in order to improve performance
socket.binary(false).emit('plain-object', object);

// it also works at the namespace level
io.binary(false).emit('plain-object', object);
io.of(/^\/dynamic-\d+$/).on('connect', (socket) => {
  // socket.nsp.name = '/dynamic-101'
});

// client-side
const client = require('socket.io-client')('/dynamic-101');
Bug fixes
Important note ⚠️ from Engine.IO 3.2.0 release

There are two non-breaking changes that are somehow quite important:

  • ws was reverted as the default wsEngine (https://github.com/socketio/engine.io/pull/550), as there was several blocking issues with uws. You can still use uws by running npm install uws --save in your project and using the wsEngine option:
var engine = require('engine.io');
var server = engine.listen(3000, {
  wsEngine: 'uws'
});

v2.0.4

Compare Source

Bug fixes

  • do not throw when receiving an unhandled error packet (#​3038)
  • reset rooms object before broadcasting from namespace (#​3039)
Links:

v2.0.3

Compare Source

Bug fixes

  • reset rooms object before broadcasting (#​2970)
  • fix middleware initialization (#​2969)
Links:

v2.0.2

Compare Source

Bug fixes

  • fix timing issues with middleware (#​2948)
Links:

v2.0.1

Compare Source

Bug fixes

- update path of client file (#​2934)

Links:

v2.0.0

Compare Source

This major release brings several performance improvements:

  • uws is now the default Websocket engine. It should bring significant improvement in performance (particularly in terms of memory consumption) (https://github.com/socketio/engine.io/releases/tag/2.0.0)

  • the Engine.IO and Socket.IO handshake packets were merged, reducing the number of roundtrips necessary to establish a connection. (#​2833)

  • it is now possible to provide a custom parser according to the needs of your application (#​2829). Please take a look at the example for more information.

Please note that this release is not backward-compatible, due to:

Please also note that if you are using a self-signed certificate, rejectUnauthorized now defaults to true (https://github.com/socketio/engine.io-client/pull/558).

Finally, the API documentation is now in the repository (here), and the content of the website here. Do not hesitate if you see something wrong or missing!

The full list of changes:

Besides, we are proud to announce that Socket.IO is now a part of open collective: https://opencollective.com/socketio. More on that later.

v1.7.4

Compare Source

  • [chore] Bump engine.io to version 1.8.4

v1.7.3

Compare Source

  • [chore] Bump engine.io-client to version 1.8.3

v1.7.2

Compare Source

  • [chore] Bump engine.io to version 1.8.2 (#​2782)
  • [fix] Fixes socket.use error packet (#​2772)

v1.7.1

Compare Source

(following socket.io-client update)

v1.7.0

Compare Source

  • [docs] Comment connected socket availability for adapters (#​2081)
  • [docs] Fixed grammar issues in the README.md (#​2159)
  • [feature] serve sourcemap for socket.io-client (#​2482)
  • [feature] Add a local flag (#​2628)
  • [chore] Bump engine.io to version 1.8.1 (#​2765)
  • [chore] Update client location and serve minified file (#​2766)

v1.6.0

Compare Source

  • [fix] Make ETag header comply with standard. (#​2603)
  • [feature] Loading client script on demand. (#​2567)
  • [test] Fix leaking clientSocket (#​2721)
  • [feature] Add support for all event emitter methods (#​2601)
  • [chore] Update year to 2016 (#​2456)
  • [feature] Add support for socket middleware (#​2306)
  • [feature] add support for Server#close(callback) (#​2748)
  • [fix] Don't drop query variables on handshake (#​2745)
  • [example] Add disconnection/reconnection logs to the chat example (#​2675)
  • [perf] Minor code optimizations (#​2219)
  • [chore] Bump debug to version 2.3.3 (#​2754)
  • [chore] Bump engine.io to version 1.8.0 (#​2755)
  • [chore] Bump socket.io-adapter to version 0.5.0 (#​2756)

v1.5.1

Compare Source

  • [fix] Avoid swallowing exceptions thrown by user event handlers (#​2682)
  • [test] Use client function to unify client in test script (#​2731)
  • [docs] Add link to LICENSE (#​2221)
  • [docs] Fix JSDoc of optional parameters (#​2465)
  • [docs] Fix typo (#​2724)
  • [docs] Link readme npm package badge to npm registry page (#​2612)
  • [docs] Minor fixes (#​2526)
  • [chore] Bump socket.io-parser to 2.3.0 (#​2730)
  • [chore] Add Github issue and PR templates (#​2733)
  • [chore] Bump engine.io to 1.7.2 (#​2729)
  • [chore] Bump socket.io-parser to 2.3.1 (#​2734)

v1.5.0

Compare Source

  • [feature] stop append /# before id when no namespace (#​2509)
  • [feature] Add a 'disconnecting' event to access to socket.rooms upon disconnection (#​2332)
  • [fix] Fix query string management (#​2422)
  • [fix] add quote to exec paths, prevent error when spaces in path (#​2508)
  • [docs] Prevent mixup for new programmers (#​2599)
  • [example] Fix chat display in Firefox (#​2477)
  • [chore] Add gulp & babel in the build process (#​2471)
  • [chore] Bump engine.io to 1.7.0 (#​2707)
  • [chore] Remove unused zuul-ngrok dependency (#​2708)
  • [chore] Point towards current master of socket.io-client (#​2710)
  • [chore] Restrict files included in npm package (#​2709)
  • [chore] Link build badge to master branch (#​2549)

v1.4.8

Compare Source

v1.4.7

Compare Source

v1.4.6

Compare Source

v1.4.5

Compare Source

v1.4.4

Compare Source

v1.4.3

Compare Source

v1.4.2

Compare Source

v1.4.1

Compare Source

v1.4.0

Compare Source


Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Oslo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 65e52d9 to ecb3089 Compare November 21, 2022 13:29
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Nov 21, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from ecb3089 to eadf78b Compare November 30, 2022 10:15
@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Nov 30, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from eadf78b to d245b68 Compare November 30, 2022 13:33
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Nov 30, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from d245b68 to 3f871c4 Compare December 10, 2022 07:52
@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Dec 10, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 3f871c4 to 9dc3bef Compare December 10, 2022 10:22
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Dec 10, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 9dc3bef to 7040d1d Compare December 14, 2022 02:07
@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Dec 14, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 7040d1d to 651f76c Compare December 14, 2022 05:37
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Dec 14, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 651f76c to 1bd7b12 Compare December 14, 2022 12:59
@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Dec 14, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 1bd7b12 to a72c748 Compare December 14, 2022 18:20
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Dec 14, 2022
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from a72c748 to 34eeb72 Compare December 17, 2022 06:55
@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Dec 17, 2022
@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 012033a to 7f48a73 Compare January 6, 2023 14:21
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Jan 6, 2023
@github-actions
Copy link

github-actions bot commented Jan 6, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 7f48a73 to 5e3cfc9 Compare January 15, 2023 16:06
@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Jan 15, 2023
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 5e3cfc9 to e418ed4 Compare January 15, 2023 18:38
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Jan 15, 2023
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from e418ed4 to 431989d Compare January 16, 2023 08:16
@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Jan 16, 2023
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 431989d to 4b36b42 Compare January 16, 2023 13:04
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Jan 16, 2023
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Jan 17, 2023
@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 4b36b42 to 9570035 Compare January 17, 2023 20:45
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 9570035 to 65d9865 Compare January 18, 2023 07:44
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Jan 18, 2023
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 65d9865 to 84cfdd6 Compare January 24, 2023 10:00
@renovate renovate bot changed the title fix(deps): update dependency socket.io to v2 [security] fix(deps): update dependency socket.io to ~1.7.0 [security] Jan 24, 2023
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@renovate renovate bot force-pushed the renovate/npm-socket.io-vulnerability branch from 84cfdd6 to 0b970f9 Compare January 24, 2023 13:11
@renovate renovate bot changed the title fix(deps): update dependency socket.io to ~1.7.0 [security] fix(deps): update dependency socket.io to v2 [security] Jan 24, 2023
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://red-smoke-01cb41203-64.westeurope.1.azurestaticapps.net

@altinnadmin altinnadmin merged commit 9a316e9 into main Feb 8, 2023
@altinnadmin altinnadmin deleted the renovate/npm-socket.io-vulnerability branch February 8, 2023 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant