Closed dependabot[bot] closed 5 months ago
[puLL-Merge] - websockets/ws@8.16.0..8.17.1
This pull request makes a variety of changes to the codebase, focusing on improving code quality, updating test cases, and enhancing performance. Key updates include:
.eslintrc.yaml
and the addition of eslint.config.js
to manage ESLint configurations.8.16.0
to 8.17.1
.queueMicrotask
shim and replacing it with setImmediate
could have performance implications, especially in environments where setImmediate
and process.nextTick
have slightly different behavior.allowSynchronousEvents
to true
might affect current users who rely on the default being false
.Handling Upgrade Headers:
Upgrade
headers need careful review. Any incorrect handling can expose the server to potential vulnerabilities.Upgrade
header cannot be read or is invalid, ensuring that the server responds with the correct error.Random Pool Management:
randomPool
and its usage requires scrutiny to ensure there are no vulnerabilities related to the generation of mask keys for WebSocket frames, which is critical to securing communications.@dependabot rebase
Looks like ws is up-to-date now, so this is no longer needed.
Bumps ws from 8.16.0 to 8.17.1.
Release notes
Sourced from ws's releases.
... (truncated)
Commits
3c56601
[dist] 8.17.1e55e510
[security] Fix crash when the Upgrade header cannot be read (#2231)6a00029
[test] Increase code coverageddfe4a8
[perf] Reduce the amount ofcrypto.randomFillSync()
callsb73b118
[dist] 8.17.029694a5
[test] Use thehighWaterMark
variable934c9d6
[ci] Test on node 221817bac
[ci] Do not test on node 2196c9b3d
[major] Flip the default value ofallowSynchronousEvents
(#2221)e5f32c7
[fix] Emit at most one event per event loop iteration (#2218)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show