bartosjiri / twitch-lurker-bot

A script for joining multiple Twitch channels with a provided user account
41 stars 14 forks source link

Bump ws and tmi.js #16

Open dependabot[bot] opened 7 months ago

dependabot[bot] commented 7 months ago

Bumps ws to 8.16.0 and updates ancestor dependency tmi.js. These dependencies need to be updated together.

Updates ws from 6.1.3 to 8.16.0

Release notes

Sourced from ws's releases.

8.16.0

Features

  • Added the autoPong option (01ba54ed).

8.15.1

Notable changes

  • The allowMultipleEventsPerMicrotask option has been renamed to allowSynchronousEvents (4ed7fe58).

This is a breaking change in a patch release that could have been avoided with an alias, but the renamed option was added only 3 days ago, so hopefully it hasn't already been widely used.

8.15.0

Features

  • Added the allowMultipleEventsPerMicrotask option (93e3552e).

8.14.2

Bug fixes

  • Fixed an issue that allowed errors thrown by failed assertions to be swallowed when running tests (7f4e1a75).

8.14.1

Bug fixes

  • Improved the reliability of two tests for CITGM (fd3c64cb).

8.14.0

Features

  • The WebSocket constructor now accepts HTTP(S) URLs (#2162).
  • The socket argument of server.handleUpgrade() can now be a generic Duplex stream (#2165).

Other notable changes

  • At most one event per microtask is now emitted (#2160).

8.13.0

Features

  • Added the finishRequest option to support late addition of headers (#2123).

8.12.1

... (truncated)

Commits
  • d343a0c [dist] 8.16.0
  • 391ddf3 [test] Use stream.getDefaultHighWaterMark() when available
  • 01ba54e [feature] Introduce the autoPong option
  • 527ec97 [doc] Add missing subsubsection to TOC
  • 3e230c1 [doc] Fix nits
  • d37756a [doc] Clarify legacy deps (#2184)
  • a57e963 [dist] 8.15.1
  • 4ed7fe5 [major] Rename the allowMultipleEventsPerMicrotask option
  • fccc580 [fix] Emit the event when the microtask is executed
  • 297fff8 [dist] 8.15.0
  • Additional commits viewable in compare view


Updates tmi.js from 1.5.0 to 1.8.5

Release notes

Sourced from tmi.js's releases.

tmi.js v1.8.5

v1.8.5

  • d9a3d63 Fix emoteset update timer not using sets.

tmi.js v1.8.4

v1.8.4

  • 4a21293 Removed 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.
  • b44286d Allow passing an HTTP proxy agent instance to node-fetch (Node) at the option connection.fetchAgent. Feedback on this is very welcomed, please open an issue if it doesn't work.
  • 643b2c9 Allow passing an HTTP proxy agent instance to ws (Node) at the option connection.agent. #209 #380 See this example on https-proxy-agent for more detail and available options. Feedback on this is very welcomed, please open an issue if it doesn't work.
const HttpsProxyAgent = require('https-proxy-agent');
const agent = new HttpsProxyAgent(proxyOptions);
const client = new tmi.Client({ connection: { agent } });
client.connect();
  • a3343ec Fix for some channels returning empty mod/VIP lists, potentially because all accounts on the list are closed/banned. #480
  • b477c6a Upgrade dependencies. (Notable: ws v7.4.3 -> v8.0.0)
    • ca392a0 And tests to match
  • 697c9d6 Update NOTICE msg-ids for ban/timeout anon/mod.

tmi.js v1.8.3

v1.8.3

  • b9a9a70 Clear emotesets timer

tmi.js v1.8.2

v1.8.2 [Deprecated]

  • 826e105 Remove async/await code from client._updateEmoteset. #463

v1.8.1

  • 28be1a7 Revert class and destructuring syntax.

tmi.js v1.8.0

v1.8.0

  • f9a5b3a The option connection.reconnect is now true by default.
  • 43900a9 Added option 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.
const client = new tmi.Client({ options: { skipMembership: true } });
  • c74c2bb
    • Added option options.skipUpdatingEmotesets (false by default) to skip calling the emoticon_images API which can be a lot of data. The emotesets event will still be called but the second argument will just be an empty object.
    • Added option options.updateEmotesetsTimer (60000 (ms) by default) to change how often the emoticon_images API will be recalled. Set to 0 or a negative number (or false) to disable the timer entirely.
</tr></table> 

... (truncated)

Commits
  • e4547c0 Release 1.8.5
  • b9ab3aa package: update dependencies
  • d9a3d63 client: fix emoteset update timer not using sets
  • 150fbbc Release v1.8.4
  • 31b68f7 various: match function style across parser/utils
  • 412258f utils: move static regex
  • 4a21293 utils: remove union
  • dcbdeea github: adjust issue template config section
  • 2a66500 client: pass null for default delay
  • ee4c347 readme: remove default options from example
  • Additional commits viewable in compare view


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 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/bartosjiri/twitch-lurker-bot/network/alerts).