zenvia / zenvia-openapi-spec

Zenvia API OpenAPI Specification
MIT License
17 stars 6 forks source link

build(deps): bump ws and reload #379

Open dependabot[bot] opened 2 months ago

dependabot[bot] commented 2 months ago

Bumps ws to 8.18.0 and updates ancestor dependency reload. These dependencies need to be updated together.

Updates ws from 7.4.6 to 8.18.0

Release notes

Sourced from ws's releases.

8.18.0

Features

  • Added support for Blob (#2229).

8.17.1

Bug fixes

  • Fixed a DoS vulnerability (#2231).

A request with a number of headers exceeding the[server.maxHeadersCount][] threshold could be used to crash a ws server.

const http = require('http');
const WebSocket = require('ws');

const wss = new WebSocket.Server({ port: 0 }, function () { const chars = "!#$%&'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~".split(''); const headers = {}; let count = 0;

for (let i = 0; i < chars.length; i++) { if (count === 2000) break;

for (let j = 0; j &lt; chars.length; j++) {
  const key = chars[i] + chars[j];
  headers[key] = 'x';

  if (++count === 2000) break;
}

}

headers.Connection = 'Upgrade'; headers.Upgrade = 'websocket'; headers['Sec-WebSocket-Key'] = 'dGhlIHNhbXBsZSBub25jZQ=='; headers['Sec-WebSocket-Version'] = '13';

const request = http.request({ headers: headers, host: '127.0.0.1', port: wss.address().port });

request.end(); });

The vulnerability was reported by Ryan LaPointe in websockets/ws#2230.

... (truncated)

Commits
  • 976c53c [dist] 8.18.0
  • 59b9629 [feature] Add support for Blob (#2229)
  • 0d1b5e6 [security] Use more descriptive text for 2017 vulnerability link
  • 15f11a0 [security] Add new DoS vulnerability to SECURITY.md
  • 3c56601 [dist] 8.17.1
  • e55e510 [security] Fix crash when the Upgrade header cannot be read (#2231)
  • 6a00029 [test] Increase code coverage
  • ddfe4a8 [perf] Reduce the amount of crypto.randomFillSync() calls
  • b73b118 [dist] 8.17.0
  • 29694a5 [test] Use the highWaterMark variable
  • Additional commits viewable in compare view


Updates reload from 3.2.0 to 3.3.0

Release notes

Sourced from reload's releases.

3.3.0

Reload command line quality of life enhancements

  • Reload command line now supports serving .html files when only / is present in the browser. See: alallier/reload#326
  • Reload command line now uses supervisor instead of nodemon for server side file watching - See: alallier/reload#367
  • Reload command line now watches sub-directories - See: alallier/reload#367
  • Reload command line now supports ignoring directories and files. See: alallier/reload#370
  • Reload command line now shows help if invalid flag is provided. See: alallier/reload#369
  • Refactored how file serving works in reload-server to make it more performant and easier to read. See: alallier/reload#326
  • Removed codecov dependency for coverage reporting in favor of native GitHub Action. See: alallier/reload#366

3.2.2

A bunch of dependency updates and some project maintenance

3.2.1

Happy New Year!

Changelog

Sourced from reload's changelog.

3.3.0 / 2024-08-14

Reload command line quality of life enhancements

  • Reload command line now supports serving .html files when only / is present in the browser. See: alallier/reload#326
  • Reload command line now uses supervisor instead of nodemon for server side file watching - See: alallier/reload#367
  • Reload command line now watches sub-directories - See: alallier/reload#367
  • Reload command line now supports ignoring directories and files. See: alallier/reload#370
  • Reload command line now shows help if invalid flag is provided. See: alallier/reload#369
  • Refactored how file serving works in reload-server to make it more performant and easier to read. See: alallier/reload#326
  • Removed codecov dependency for coverage reporting in favor of native GitHub Action. See: alallier/reload#366

3.2.2 / 2024-08-12

A bunch of dependency updates and some project maintenance

3.2.1 / 2023-01-02

Happy New Year!

... (truncated)

Commits
  • 13a1192 3.3.0 (#371)
  • a0dd621 Added the ability to ignore files/directories in reload command line (#370)
  • d4bf31b Show command line help on argument error (#369)
  • c1e3b24 Swamp out nodemon for supervisor (as supervisor has been end of life for awhi...
  • cf4476d Fix bug on command line side of reload where reload.js file wasn't be served ...
  • 9ead609 Refactoring reload-server to handle index.html by default and runtime optimiz...
  • ac7dc0e Add dedicated codecov GitHub action (#366)
  • 041ca06 3.2.2 (#365)
  • e2a5cb4 Merge pull request #364 from alallier/renovate/sinon-18.x
  • 6e61f62 Update dependency sinon to v18
  • Additional commits viewable in compare view


You can trigger a rebase of this PR 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/zenvia/zenvia-openapi-spec/network/alerts).

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.