Snyk has created this PR to upgrade discord.js from 11.4.1 to 11.6.4.
✨What is Merge Advice?
We check thousands of dependency upgrade pull requests and CI tests every day to see which upgrades were successfully merged. After crunching this data, we give a recommendation on how safe we think the change is for you to merge without causing issues. Learn more, and share your feedback to help improve this feature. 🙏
:information_source: 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 is 8 versions ahead of your current version.
The recommended version was released 2 months ago, on 2020-04-05.
11.6.4 is being released to fix a bug related to the grouping of reaction related endpoints.
Deprecations
All user account-only methods have been deprecated (95a2d25)
ClientUser#setGame in favor of ClientUser#setActivity (cd06684)
Collection#exists in favor of Collection#some (09ddbcb)
Collection#find and Collection#findKey's 'prop', 'val' overload is deprecated, pass a function instead (09ddbcb)
Collection#filterArray, convert to an array and filter, or the other way around instead. (09ddbcb)
Collection#findAll, filter and then convert to an array, or the other way around. In addition, the 'prop', 'val' overload is also deprecated - pass a function instead (09ddbcb)
Guild#createChannel when specifying options without using an options object (7ea88ad)
Guild#defaultChannel, there will be no fallback/alternative (407500b)
Guild#deleteEmoji in favor of Emoji#delete (c355236)
The old method signature of GuildChannel#clone in favor of using an options object (ab866d6)
Permissions.flags: READ_MESSAGES in favor of VIEW_CHANNEL (1fe201a)
Permissions#allowed and Permissions#denied in favor of Permissions#allow and Permissions#deny respectively (58ba2c7)
PermissionOverwrites#allowed and PermissionOverwrites#denied in favor of PermissionOverwrites#allow and PermissionOverwrites#deny (db492e6)
The peer dependency @discordjs/uws is now deprecated and will be removed with the next major release (5556b05)
The peer dependency node-opus is now deprecated, use @discordjs/opus instead (6ab4649)
Fixes
Group reaction requests into one handler per channel (747d76d)
11.6.3 is being released to fix a regression introduced in 11.6.2.
Deprecations
All user account-only methods have been deprecated (95a2d25)
ClientUser#setGame in favor of ClientUser#setActivity (cd06684)
Collection#exists in favor of Collection#some (09ddbcb)
Collection#find and Collection#findKey's 'prop', 'val' overload is deprecated, pass a function instead (09ddbcb)
Collection#filterArray, convert to an array and filter, or the other way around instead. (09ddbcb)
Collection#findAll, filter and then convert to an array, or the other way around. In addition, the 'prop', 'val' overload is also deprecated - pass a function instead (09ddbcb)
Guild#createChannel when specifying options without using an options object (7ea88ad)
Guild#defaultChannel, there will be no fallback/alternative (407500b)
Guild#deleteEmoji in favor of Emoji#delete (c355236)
The old method signature of GuildChannel#clone in favor of using an options object (ab866d6)
Permissions.flags: READ_MESSAGES in favor of VIEW_CHANNEL (1fe201a)
Permissions#allowed and Permissions#denied in favor of Permissions#allow and Permissions#deny respectively (58ba2c7)
PermissionOverwrites#allowed and PermissionOverwrites#denied in favor of PermissionOverwrites#allow and PermissionOverwrites#deny (db492e6)
The peer dependency @discordjs/uws is now deprecated and will be removed with the next major release (5556b05)
The peer dependency node-opus is now deprecated, use @discordjs/opus instead (6ab4649)
11.6.2 is being released to fix a bug involving the ReactionCollector.
Deprecations
All user account-only methods have been deprecated (95a2d25)
ClientUser#setGame in favor of ClientUser#setActivity (cd06684)
Collection#exists in favor of Collection#some (09ddbcb)
Collection#find and Collection#findKey's 'prop', 'val' overload is deprecated, pass a function instead (09ddbcb)
Collection#filterArray, convert to an array and filter, or the other way around instead. (09ddbcb)
Collection#findAll, filter and then convert to an array, or the other way around. In addition, the 'prop', 'val' overload is also deprecated - pass a function instead (09ddbcb)
Guild#createChannel when specifying options without using an options object (7ea88ad)
Guild#defaultChannel, there will be no fallback/alternative (407500b)
Guild#deleteEmoji in favor of Emoji#delete (c355236)
The old method signature of GuildChannel#clone in favor of using an options object (ab866d6)
Permissions.flags: READ_MESSAGES in favor of VIEW_CHANNEL (1fe201a)
Permissions#allowed and Permissions#denied in favor of Permissions#allow and Permissions#deny respectively (58ba2c7)
PermissionOverwrites#allowed and PermissionOverwrites#denied in favor of PermissionOverwrites#allow and PermissionOverwrites#deny (db492e6)
The peer dependency @discordjs/uws is now deprecated and will be removed with the next major release (5556b05)
The peer dependency node-opus is now deprecated, use @discordjs/opus instead (6ab4649)
Fixes
Only modify users and total when a reaction was actually collected (20075e3)
11.6.1 is being released to update version references in the documentation; No code changes are included.
Deprecations
All user account-only methods have been deprecated (95a2d25)
ClientUser#setGame in favor of ClientUser#setActivity (cd06684)
Collection#exists in favor of Collection#some (09ddbcb)
Collection#find and Collection#findKey's 'prop', 'val' overload is deprecated, pass a function instead (09ddbcb)
Collection#filterArray, convert to an array and filter, or the other way around instead. (09ddbcb)
Collection#findAll, filter and then convert to an array, or the other way around. In addition, the 'prop', 'val' overload is also deprecated - pass a function instead (09ddbcb)
Guild#createChannel when specifying options without using an options object (7ea88ad)
Guild#defaultChannel, there will be no fallback/alternative (407500b)
Guild#deleteEmoji in favor of Emoji#delete (c355236)
The old method signature of GuildChannel#clone in favor of using an options object (ab866d6)
Permissions.flags: READ_MESSAGES in favor of VIEW_CHANNEL (1fe201a)
Permissions#allowed and Permissions#denied in favor of Permissions#allow and Permissions#deny respectively (58ba2c7)
PermissionOverwrites#allowed and PermissionOverwrites#denied in favor of PermissionOverwrites#allow and PermissionOverwrites#deny (db492e6)
The peer dependency @discordjs/uws is now deprecated and will be removed with the next major release (5556b05)
The peer dependency node-opus is now deprecated, use @discordjs/opus instead (6ab4649)
Snyk has created this PR to upgrade discord.js from 11.4.1 to 11.6.4.
✨What is Merge Advice?
We check thousands of dependency upgrade pull requests and CI tests every day to see which upgrades were successfully merged. After crunching this data, we give a recommendation on how safe we think the change is for you to merge without causing issues. Learn more, and share your feedback to help improve this feature. 🙏:information_source: 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.
Release notes
Package name: discord.js
Overview
11.6.4
is being released to fix a bug related to the grouping of reaction related endpoints.Deprecations
ClientUser#setGame
in favor ofClientUser#setActivity
(cd06684)Collection#exists
in favor ofCollection#some
(09ddbcb)Collection#find
andCollection#findKey
's'prop', 'val'
overload is deprecated, pass a function instead (09ddbcb)Collection#filterArray
, convert to an array and filter, or the other way around instead. (09ddbcb)Collection#findAll
, filter and then convert to an array, or the other way around. In addition, the'prop', 'val'
overload is also deprecated - pass a function instead (09ddbcb)Guild#createChannel
when specifying options without using an options object (7ea88ad)Guild#defaultChannel
, there will be no fallback/alternative (407500b)Guild#deleteEmoji
in favor ofEmoji#delete
(c355236)GuildChannel#clone
in favor of using an options object (ab866d6)Permissions.flags
:READ_MESSAGES
in favor ofVIEW_CHANNEL
(1fe201a)Permissions#allowed
andPermissions#denied
in favor ofPermissions#allow
andPermissions#deny
respectively (58ba2c7)PermissionOverwrites#allowed
andPermissionOverwrites#denied
in favor ofPermissionOverwrites#allow
andPermissionOverwrites#deny
(db492e6)@discordjs/uws
is now deprecated and will be removed with the next major release (5556b05)node-opus
is now deprecated, use@discordjs/opus
instead (6ab4649)Fixes
Overview
11.6.3
is being released to fix a regression introduced in11.6.2
.Deprecations
ClientUser#setGame
in favor ofClientUser#setActivity
(cd06684)Collection#exists
in favor ofCollection#some
(09ddbcb)Collection#find
andCollection#findKey
's'prop', 'val'
overload is deprecated, pass a function instead (09ddbcb)Collection#filterArray
, convert to an array and filter, or the other way around instead. (09ddbcb)Collection#findAll
, filter and then convert to an array, or the other way around. In addition, the'prop', 'val'
overload is also deprecated - pass a function instead (09ddbcb)Guild#createChannel
when specifying options without using an options object (7ea88ad)Guild#defaultChannel
, there will be no fallback/alternative (407500b)Guild#deleteEmoji
in favor ofEmoji#delete
(c355236)GuildChannel#clone
in favor of using an options object (ab866d6)Permissions.flags
:READ_MESSAGES
in favor ofVIEW_CHANNEL
(1fe201a)Permissions#allowed
andPermissions#denied
in favor ofPermissions#allow
andPermissions#deny
respectively (58ba2c7)PermissionOverwrites#allowed
andPermissionOverwrites#denied
in favor ofPermissionOverwrites#allow
andPermissionOverwrites#deny
(db492e6)@discordjs/uws
is now deprecated and will be removed with the next major release (5556b05)node-opus
is now deprecated, use@discordjs/opus
instead (6ab4649)Fixes
messageReactionRemove
emission (bb4cb3e)Overview
11.6.2
is being released to fix a bug involving theReactionCollector
.Deprecations
ClientUser#setGame
in favor ofClientUser#setActivity
(cd06684)Collection#exists
in favor ofCollection#some
(09ddbcb)Collection#find
andCollection#findKey
's'prop', 'val'
overload is deprecated, pass a function instead (09ddbcb)Collection#filterArray
, convert to an array and filter, or the other way around instead. (09ddbcb)Collection#findAll
, filter and then convert to an array, or the other way around. In addition, the'prop', 'val'
overload is also deprecated - pass a function instead (09ddbcb)Guild#createChannel
when specifying options without using an options object (7ea88ad)Guild#defaultChannel
, there will be no fallback/alternative (407500b)Guild#deleteEmoji
in favor ofEmoji#delete
(c355236)GuildChannel#clone
in favor of using an options object (ab866d6)Permissions.flags
:READ_MESSAGES
in favor ofVIEW_CHANNEL
(1fe201a)Permissions#allowed
andPermissions#denied
in favor ofPermissions#allow
andPermissions#deny
respectively (58ba2c7)PermissionOverwrites#allowed
andPermissionOverwrites#denied
in favor ofPermissionOverwrites#allow
andPermissionOverwrites#deny
(db492e6)@discordjs/uws
is now deprecated and will be removed with the next major release (5556b05)node-opus
is now deprecated, use@discordjs/opus
instead (6ab4649)Fixes
users
andtotal
when a reaction was actually collected (20075e3)Overview
11.6.1
is being released to update version references in the documentation; No code changes are included.Deprecations
ClientUser#setGame
in favor ofClientUser#setActivity
(cd06684)Collection#exists
in favor ofCollection#some
(09ddbcb)Collection#find
andCollection#findKey
's'prop', 'val'
overload is deprecated, pass a function instead (09ddbcb)Collection#filterArray
, convert to an array and filter, or the other way around instead. (09ddbcb)Collection#findAll
, filter and then convert to an array, or the other way around. In addition, the'prop', 'val'
overload is also deprecated - pass a function instead (09ddbcb)Guild#createChannel
when specifying options without using an options object (7ea88ad)Guild#defaultChannel
, there will be no fallback/alternative (407500b)Guild#deleteEmoji
in favor ofEmoji#delete
(c355236)GuildChannel#clone
in favor of using an options object (ab866d6)Permissions.flags
:READ_MESSAGES
in favor ofVIEW_CHANNEL
(1fe201a)Permissions#allowed
andPermissions#denied
in favor ofPermissions#allow
andPermissions#deny
respectively (58ba2c7)PermissionOverwrites#allowed
andPermissionOverwrites#denied
in favor ofPermissionOverwrites#allow
andPermissionOverwrites#deny
(db492e6)@discordjs/uws
is now deprecated and will be removed with the next major release (5556b05)node-opus
is now deprecated, use@discordjs/opus
instead (6ab4649)Commit messages
Package name: discord.js
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