[Snyk] Upgrade tmi.js from 1.7.2 to 1.8.5 #1
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 tmi.js from 1.7.2 to 1.8.5.
ℹ️ 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.
The recommended version fixes:
SNYK-JS-WS-1296835
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: tmi.js
v1.8.5
v1.8.4
union
from utils as it only had a single use in the library. These util functions shouldn't be used outside of the library but worth mentioning.node-fetch
(Node) at the optionconnection.fetchAgent
. Feedback on this is very welcomed, please open an issue if it doesn't work.ws
(Node) at the optionconnection.agent
. #209 #380 See this example onhttps-proxy-agent
for more detail and available options. Feedback on this is very welcomed, please open an issue if it doesn't work.ws
v7.4.3 -> v8.0.0)msg-id
s for ban/timeout anon/mod.v1.8.3
v1.8.2 [Deprecated]
client._updateEmoteset
. #463v1.8.1
Release 1.8.1
v1.8.0
connection.reconnect
is nowtrue
by default.options.skipMembership
(false
by default) to not receive JOIN/PART messages for other users. This can reduce a lot of the spammy data that's getting blasted at the client.options.skipUpdatingEmotesets
(false
by default) to skip calling theemoticon_images
API which can be a lot of data. Theemotesets
event will still be called but the second argument will just be an empty object.options.updateEmotesetsTimer
(60000
(ms) by default) to change how often theemoticon_images
API will be recalled. Set to0
or a negative number (orfalse
) to disable the timer entirely.33c15c7 The Client has been converted to a class style.
ff341d2
Client.prototype.api
will now warn on use as it's deprecated and will be removed by the next minor version, 1.9.0. It's not intended to be a great choice for API requests. Either directly usefetch
/node-fetch
, another request library, or a Twitch-specific library liketwitch
on npm.76edfc8 dea8eed 5ea712f f689bc5 Remove various util functions.
8f3a849 Fixed possible case fallthrough bug.
efc6cdb Add eslint (and many more commits related to facelifting the repo)
v1.7.5
Release 1.7.5
Release 1.7.4
v1.7.3
client.globaluserstate
after the command but hasn't been emitted.v1.7.2
Accept
header to Krakenemoticon_images
request.Commit messages
Package name: tmi.js
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs