Bump engine.io and browser-sync
Bumps engine.io to 6.4.2 and updates ancestor dependency browser-sync. These dependencies need to be updated together.
Updates engine.io from 1.8.0 to 6.4.2
Release notes
Sourced from engine.io's releases.
6.4.2
:warning: This release contains an important security fix :warning:
A malicious client could send a specially crafted HTTP request, triggering an uncaught exception and killing the Node.js process:
TypeError: Cannot read properties of undefined (reading 'handlesUpgrades') at Server.onWebSocket (build/server.js:515:67)Please upgrade as soon as possible.
Bug Fixes
- include error handling for Express middlewares (#674) (9395782)
- prevent crash when provided with an invalid query param (fc480b4)
- typings: make clientsCount public (#675) (bd6d471)
- uws: prevent crash when using with middlewares (8b22162)
Credits
Huge thanks to
@tyiloand@cieldevillefor helping!Links
- Diff: https://github.com/socketio/engine.io/compare/6.4.1...6.4.2
- Client release: -
- ws version: ~8.11.0 (no change)
6.4.1
This release contains 6e78489, which exports the
BaseServerclass in order to restore the compatibility with thenodenextmodule resolution strategy of TypeScript.Reference: https://www.typescriptlang.org/tsconfig/#moduleResolution
Related: socketio/socket.io#4621
Links
- Diff: https://github.com/socketio/engine.io/compare/6.4.0...6.4.1
- Client release: -
- ws version: ~8.11.0 (no change)
6.4.0
Features
- add support for Express middlewares (24786e7)
This commit implements middlewares at the Engine.IO level, because Socket.IO middlewares are meant for namespace authorization and are not executed during a classic HTTP request/response cycle.
... (truncated)
Changelog
Sourced from engine.io's changelog.
6.4.2 (2023-05-02)
:warning: This release contains an important security fix :warning:
A malicious client could send a specially crafted HTTP request, triggering an uncaught exception and killing the Node.js process:
TypeError: Cannot read properties of undefined (reading 'handlesUpgrades') at Server.onWebSocket (build/server.js:515:67)Please upgrade as soon as possible.
Bug Fixes
- include error handling for Express middlewares (#674) (9395782)
- prevent crash when provided with an invalid query param (fc480b4)
- typings: make clientsCount public (#675) (bd6d471)
- uws: prevent crash when using with middlewares (8b22162)
Credits
Huge thanks to
@tyiloand@cieldevillefor helping!Dependencies
ws@~8.11.0(no change)6.4.1 (2023-02-20)
This release contains 6e78489, which exports the
BaseServerclass in order to restore the compatibility with thenodenextmodule resolution strategy of TypeScript.Reference: https://www.typescriptlang.org/tsconfig/#moduleResolution
Related: socketio/socket.io#4621
Dependencies
ws@~8.11.0(no change)6.4.0 (2023-02-06)
... (truncated)
Commits
95e2153chore(release): 6.4.2fc480b4fix: prevent crash when provided with an invalid query param0141951refactor(types): ensure compatibility with Express middlewares8b22162fix(uws): prevent crash when using with middlewares9395782fix: include error handling for Express middlewares (#674)911d0e3refactor: return HTTP 400 upon invalid request overlapbd6d471fix(typings): make clientsCount public (#675)7033c0echore(release): 6.4.16e78489refactor: export BaseServer class (#669)535b068docs: add upgrade event in the documentation- Additional commits viewable in compare view
Updates browser-sync from 2.18.13 to 2.29.1
Release notes
Sourced from browser-sync's releases.
The one that restores IE11 support 💪
What's Changed
- fix ie11 by
@shakyShanein BrowserSync/browser-sync#2024esbuild does not support down-level transpiling as far as IE11 - so when I switched to it, it accidentally broke
IE11support 😢This is an important issue for me - many devs that support old browsers like IE11 are doing so because their projects are used in public services, or internal applications. Not every developer out there has the luxury of supporting evergreen-only browsers.
So, IE11 will work once again 🎉. Please use the issues thread to make me aware of any problem that's preventing you from using Browsersync in your day job 💪 (and be sure to thumbs-up the issues you want to see resolved)
# IE11 works, again npm install browser-sync@latestFull Changelog: https://github.com/BrowserSync/browser-sync/compare/v2.28.3...v2.29.0
the one that finally removes
document.writeWhat's Changed
- browser-sync-2017 use chalk everywhere by
@shakyShanein BrowserSync/browser-sync#2018- fix: remove document.write by
@shakyShanein BrowserSync/browser-sync#2019Full Changelog: https://github.com/BrowserSync/browser-sync/compare/v2.27.12...v2.28.0
2.27.9
What's Changed
- fix(cli): Where's the command help? fixes #1929 by
@shakyShanein BrowserSync/browser-sync#1945A bug prevented the help output from displaying - it was introduced when the CLI parser
yargswas updated, and is now fixed :)Full Changelog: https://github.com/BrowserSync/browser-sync/compare/v2.27.8...v2.27.9
2.27.8
This release upgrades Socket.io (client+server) to the latest versions - solving the following issues, and silencing security warning :)
PR:
Resolved Issues:
... (truncated)
Changelog
Sourced from browser-sync's changelog.
2.23.1 (2018-01-01)
2.8.2 (2015-07-31)
Bug Fixes
- https: add newly generated ssl self-signed certs that will expire for 10 years - fixes (45104a7), closes #750
2.8.1 (2015-07-28)
Bug Fixes
Features
- serve-static: Added option
serveStaticto allow proxy/snippet mode to easily serve local fil (384ef67)2.7.13 (2015-06-28)
Bug Fixes
- snippet: Allow async attribute to be removed from snippet with snippetOptions.async = fal (c32bec6), closes #670
- socket-options: allow socket.domain string|fn for setting domain only on socket path - fixes #69 (5157432), closes #690
Features
- api: expose sockets to public api (985682c)
2.7.12 (2015-06-17)
Bug Fixes
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.