-
Notifications
You must be signed in to change notification settings - Fork 0
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): Bump ws from 7.4.5 to 7.5.0 #148
Merged
Merged
Conversation
This file contains 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
dependabot
bot
added
the
dependencies
Pull requests that update a dependency file
label
Jun 21, 2021
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.5.0. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.4.5...7.5.0) --- updated-dependencies: - dependency-name: ws dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/ws-7.5.0
branch
from
June 21, 2021 14:40
3271f9a
to
f44ac17
Compare
gnarea
changed the title
chore(deps): Bump ws from 7.4.5 to 7.5.0
fix(deps): Bump ws from 7.4.5 to 7.5.0
Jun 21, 2021
🎉 This PR is included in version 1.5.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
github-actions bot
pushed a commit
that referenced
this pull request
Jun 21, 2021
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p> <blockquote> <h2>7.5.0</h2> <h1>Features</h1> <ul> <li>Some errors now have a <code>code</code> property describing the specific type of error that has occurred (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1901">#1901</a>).</li> </ul> <h1>Bug fixes</h1> <ul> <li>A close frame is now sent to the remote peer if an error (such as a data framing error) occurs (8806aa9a).</li> <li>The close code is now always 1006 if no close frame is received, even if the connection is closed due to an error (8806aa9a).</li> </ul> <h2>7.4.6</h2> <h1>Bug fixes</h1> <ul> <li>Fixed a ReDoS vulnerability (00c425ec).</li> </ul> <p>A specially crafted value of the <code>Sec-Websocket-Protocol</code> header could be used to significantly slow down a ws server.</p> <pre lang="js"><code>for (const length of [1000, 2000, 4000, 8000, 16000, 32000]) { const value = 'b' + ' '.repeat(length) + 'x'; const start = process.hrtime.bigint(); <p>value.trim().split(/ *, */);</p> <p>const end = process.hrtime.bigint();</p> <p>console.log('length = %d, time = %f ns', length, end - start); } </code></pre></p> <p>The vulnerability was responsibly disclosed along with a fix in private by <a href="https://github.com/robmcl4">Robert McLaughlin</a> from University of California, Santa Barbara.</p> <p>In vulnerable versions of ws, the issue can be mitigated by reducing the maximum allowed length of the request headers using the <a href="https://nodejs.org/api/cli.html#cli_max_http_header_size_size"><code>--max-http-header-size=size</code></a> and/or the <a href="https://nodejs.org/api/http.html#http_http_createserver_options_requestlistener"><code>maxHeaderSize</code></a> options.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/websockets/ws/commit/e3f0c1720aab640fe78dc578907046fb84422ccd"><code>e3f0c17</code></a> [dist] 7.5.0</li> <li><a href="https://github.com/websockets/ws/commit/1d3f4cbb0ebb2519f6cc707e9f4344006d74ce03"><code>1d3f4cb</code></a> [doc] Fix anchor tags for error codes</li> <li><a href="https://github.com/websockets/ws/commit/6eea0d466b08a278c048092ee1cb06aee9f48cc9"><code>6eea0d4</code></a> [doc] Fix typo</li> <li><a href="https://github.com/websockets/ws/commit/bb5d44b11880861f9fb0429e2c132f435a78198b"><code>bb5d44b</code></a> [doc] Sort error codes alphabetically</li> <li><a href="https://github.com/websockets/ws/commit/c6e30806704cd1ff35282b85132bd29fca8acec8"><code>c6e3080</code></a> [minor] Attach error codes to all receiver errors (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1901">#1901</a>)</li> <li><a href="https://github.com/websockets/ws/commit/074e6a8be7275a69a407f6c1fa2270c754d2834b"><code>074e6a8</code></a> [fix] Don't call <code>ws.terminate()</code> unconditionally in <code>duplex._destroy()</code></li> <li><a href="https://github.com/websockets/ws/commit/8806aa9a836c3a616c9511adad159c65eeb153b0"><code>8806aa9</code></a> [fix] Close the connection cleanly when an error occurs</li> <li><a href="https://github.com/websockets/ws/commit/05b8ccd639a91428d7440ad350b8d4301636b2e2"><code>05b8ccd</code></a> [doc] Fix broken link (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1897">#1897</a>)</li> <li><a href="https://github.com/websockets/ws/commit/03a707884c591d56ad69c4c1ddd34cab0449b1fe"><code>03a7078</code></a> [doc] Remove unsafe regex from code snippet</li> <li><a href="https://github.com/websockets/ws/commit/7ee31157d7b14bb94e0d0fd223a4a5508f4c39b9"><code>7ee3115</code></a> [doc] Add logo to coverage badge</li> <li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/7.4.5...7.5.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ws&package-manager=npm_and_yarn&previous-version=7.4.5&new-version=7.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> [skip ci] 235cc6a
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
automerge
Allow kodiak to automerge commit when all checks pass
dependencies
Pull requests that update a dependency file
released
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.
Bumps ws from 7.4.5 to 7.5.0.
Release notes
Sourced from ws's releases.
Commits
e3f0c17
[dist] 7.5.01d3f4cb
[doc] Fix anchor tags for error codes6eea0d4
[doc] Fix typobb5d44b
[doc] Sort error codes alphabeticallyc6e3080
[minor] Attach error codes to all receiver errors (#1901)074e6a8
[fix] Don't callws.terminate()
unconditionally induplex._destroy()
8806aa9
[fix] Close the connection cleanly when an error occurs05b8ccd
[doc] Fix broken link (#1897)03a7078
[doc] Remove unsafe regex from code snippet7ee3115
[doc] Add logo to coverage badgeDependabot 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 ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)