Repository navigation
chore(deps): upgrade ws, socket.io-parser and engine.io (#3707, #3708) - #3711
Merged
Merged
Conversation
…efault socket.io-parser 4.2.6+ rejects packets with more than 10 binary attachments, which broke QSS sync batches. Use a bounded cap of 1000 on the QSS client and the local socket server. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… Function Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Dependency security upgrade for #3707 and #3708.
ws→ 8.21+ (resolved 8.22.0) for every runtime copy (backend direct,engine.io,engine.io-client,socket.io-adapter)socket.io/socket.io-client→ 4.8.4;socket.io-parser→ 4.2.7+ (resolved 4.2.7)engine.io→ 6.6.11 (>= 6.6.10)overrides) and lockfilesnpm run check:runtime-depsthat fails if a lockfile's production tree resolvesws,socket.io-parserorengine.iobelow the patched floor (with unit tests)ws.fragment-flood.spec.tsagainst the it-ws server used by the WebSocket-over-Tor listenerRemaining sub-floor
wscopies in the locks are dev-only tooling (Storybook, webpack-dev-server, orbitdb dev deps) or React Native CLI/Metro internals, not Quiet runtime paths.Testing
check:runtime-deps+ its unit tests: passwebsocketOverTor.tor.spec.tscases are alreadyit.skipupstream;tor.service.tor.spec.tshidden-service test timed out waiting for Tor HS_DESC (no network access in the test environment)Chatsnapshot that differs only by timezoneFollow-up (local QSS e2e)
socket.io-parser 4.2.6+ caps binary attachments per packet at 10 by default, which broke QSS sync batches. Added a bounded cap of 1000 (
socket.parser.ts) on the QSS client and local socket server, with a unit test. Local QSS e2e with LOCAL_TRANSPORT=true: multipleClients.qss 63 passed/23 skipped, multipleClients.privateChannels.qss 75/75, oneClient.qss 29/29.