[Snyk] Upgrade: browser-or-node, chai, isomorphic-ws, q, thrift, ws #155
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.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
browser-or-node
⚠️ This is a major version upgrade, and may be a breaking change | 5 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 4 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 2 years ago
⚠️ This is a major version upgrade, and may be a breaking change | 10 years ago
⚠️ This is a major version upgrade, and may be a breaking change | 2 months ago
from 1.3.0 to 3.0.0 | 5 versions ahead of your current version
on 2024-04-18
chai
from 4.5.0 to 5.1.1 | 9 versions ahead of your current version
on 2024-05-09
isomorphic-ws
from 4.0.1 to 5.0.0 | 4 versions ahead of your current version
on 2022-06-27
q
from 1.5.1 to 2.0.3 | 4 versions ahead of your current version
on 2015-01-31
thrift
from 0.13.0 to 0.20.0 | 10 versions ahead of your current version | 6 months ago
on 2024-03-22
ws
from 7.5.10 to 8.18.0 | 30 versions ahead of your current version
on 2024-07-03
Issues fixed by the recommended upgrade:
SNYK-JS-TAFFYDB-2992450
SNYK-JS-MARKED-174116
SNYK-JS-MARKED-2342073
SNYK-JS-MARKED-2342082
SNYK-JS-MARKED-451540
SNYK-JS-MARKED-584281
SNYK-JS-UNDERSCORE-1080984
Release notes
Package name: browser-or-node
No breaking API changes. Although the import might break because of the new build setup.
I've migrated the build setup from babel to tsup in #30. As a part of that I've also introduced CJS/ESM import compatibility. Since this package has half a mil downloads a week, I'm slightly hesitant to publish a major (v3) before testing the packages in all the runtimes which I don't have the capacity or the means to do so. So this prerelease is a candidate to test the new build setup in all runtimes with the community's help to make sure the next major is good to go.
Breaking:
Package name: chai
What's Changed
toThrow
by @ 43081j in #1609New Contributors
Full Changelog: v5.1.0...v5.1.1
What's Changed
iterable
assertion by @ koddsson in #1592New Contributors
Full Changelog: v5.0.3...v5.1.0
Fix bad v5.0.2 publish.
Full Changelog: v5.0.2...v5.0.3
What's Changed
bump-cli
by @ koddsson in #1559??
for node compat (5.x) by @ 43081j in #1576loupe
to latest version by @ koddsson in #1579Full Changelog: v5.0.1...v5.0.2
BREAKING CHANGES
import {...} from 'chai'
orimport('chai')
.require('chai')
will cause failures in nodejs. If you're using ESM and seeing failures, it may be due to a bundler or transpiler which is incorrectly converting import statements into require calls.What's Changed
get-func-name
dependency by @ koddsson in #1416deep-eql
to latest version by @ koddsson in #1542type-detect
as a simple function by @ koddsson in #1544assertion-error
to it's latest major version! by @ koddsson in #1543New Contributors
Full Changelog: 4.3.1...v5.0.0
The first Release Candidate of chai@v5 is here!
We've put out a few alpha versions and tested them out in various projects with good success. This RC includes all those changes plus any fixes that we've discovered since then.
Please try it out in your projects and let us know if you run into any issues so we can make fixes before version 5!
Thanks for using Chai 🙏🏻
What's Changed
get-func-name
dependency by @ koddsson in #1416deep-eql
to latest version by @ koddsson in #1542type-detect
as a simple function by @ koddsson in #1544assertion-error
to it's latest major version! by @ koddsson in #1543New Contributors
Full Changelog: v4.3.10...v5.0.0-rc.0
What's Changed
deep-eql
to latest version by @ koddsson in #1542type-detect
as a simple function by @ koddsson in #1544assertion-error
to it's latest major version! by @ koddsson in #1543Full Changelog: v5.0.0-alpha.1...v5.0.0-alpha.2
Package name: isomorphic-ws
5.0.0 (June 27, 2022)
Package name: q
2.0.2
Accessible only with:
For adventurers only.
Package name: thrift
Please head over to the official release download source:
http://thrift.apache.org/download
The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.
Please head over to the official release download source:
http://thrift.apache.org/download
The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.
Please head over to the official release download source:
http://thrift.apache.org/download
The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.
Please head over to the official release download source:
http://thrift.apache.org/download
The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.
Please head over to the official release download source:
http://thrift.apache.org/download
The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.
For release 0.16.0 head over to the official release download source:
http://thrift.apache.org/download
The assets below are added by Github based on the release tag and they may therefore not match the checkums.
For release 0.15.0 head over to the official release download source:
http://thrift.apache.org/download
The assets below are added by Github based on the release tag and they may therefore not match the checkums.
For release 0.14.0 head over to the official release download source:
http://thrift.apache.org/download
The assets below are added by Github based on the release tag and they may therefore not match the checkums.
For release 0.14.1 head over to the official release download source:
http://thrift.apache.org/download
The assets below are added by Github based on the release tag and they may therefore not match the checkums.
Package name: ws
Features
Blob
(#2229).Bug fixes
A request with a number of headers exceeding the
server.maxHeadersCount
threshold could be used to crash a ws server.
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<span class="pl-kos...