This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
[Snyk] Upgrade discord.js from 11.5.1 to 11.6.1 #15
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 discord.js from 11.5.1 to 11.6.1.
ℹ️ 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.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)Overview
11.6.0
is being released to backport new features from12.0.0-dev
.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)Additions
@discordjs/opus
(6ab4649)BitField
class (46e8bc4)Client#inviteCreate
andClient#inviteDelete
events (40afbc1)Client#messageReactionRemoveEmoji
event andMessageReaction#removeAll
(ab7f9e8)idle
options toCollector
s (ccd6043)Emoji#delete
(c355236)Game#emoji
,createdAt
, andcreatedTimestamp
(17b8b23)Guild#rulesChannelID
,Guild#rulesChannel
,Guild#publicUpdatesChannelID
, andGuild#publicUpdatesChannel
(b0aed05)Guild#setBanner
andbanner
toGuild#edit
(01826ae)ChannelData#reason
when creating a channel (7011c51)Guild
(e6a378b)banner
andbannerURL
description
embedChannelID
andembedChannel
maximumMembers
maximumPresences
widgetEnabled
widgetChannelID
andwidgetChannel
vanityURLCode
fetch
Integration
s,Guild#fetchIntegrations
, andGuild#createIntegration
(c955fd0)Guild#fetchAuditLogs
) (dbdb49e)MEMBER_MOVE
,MEMBER_DISCONNECT
BOT_ADD
MESSAGE_BULK_DELETE
,MESSAGE_PIN
,MESSAGE_UNPIN
INTEGRATION_CREATE
,INTEGRATION_UPDATE
,INTEGRATION_DELETE
Emoji#available
Guild#premiumTier
Guild#premiumSubscriptionCount
GuildMember#premiumSinceTimestamp
(alsopremiumSince
getter)USER_PREMIUM_GUILD_SUBSCRIPTION
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3
SystemChannelFlags
,Guild#systemChannelFlags
,Guild#setSystemChannelFlags
, andsystemChannelFlags
toGuild#edit
's options (330c410)GuildChannel#permissionsLocked
getter (2610bf5)GuildChannel#clone
(ab866d6)GuildMember#selfStream
(96037e1, 36c0496)Message#member
andMessageMentions#members
as they come from Discord (0f49d67)Message#flags
Message#reference
flags
toMessage#edit
Message#suppressEmbeds
MessageMentions#crosspostedChannels
CHANNEL_FOLLOW_ADD
toMessageType
User#system
GUILD_DISCOVERY_DISQUALIFIED
andGUILD_DISCOVERY_REQUALIFIED
toMessageTypes
(b0d0b81)MessageAttachment#spoiler
(4ca1864)MessageReaction
(88b675d)animated
client
createdTimestamp
createdAt
url
RichEmbed#spliceFields
andRichEmbed.normalizeField
(6eaf63f)RichEmbed#toJSON
returning an api-compatible object (97457e1)Permissions#any
(367c800)STREAM
Permission
(dcee09c)Presence#client
(f6d1db6)Presence#activities
(17b8b23)Webhook#edit
(fbe9bc4)Webhook
(30adb37)avatarURL
type
createdTimestamp
createdAt
url
Fixes
Client#setMaxListeners
if the max listener count is not 0 (903f6ca)ClientDataResolver#resolveUser
(464ef25)postCheck
when an event was received to allow stopping of the collector using themax
option (099a1a4)Guild#fetchMember
to be used with aSnowflake
(6f49aad)'text'
when creating a channel as default (505df2e)GuildAuditLogsEntry
target was deleted (43c0a79)GuildChannel
inGuildChannel#setPosition
instead ofGuild
(1121b2f)GuildMember
(f91ad70)GuildMember#manageable
(364914f)Util.arraysEqual
(fixingGuild#equals
mutatingGuild#features
and the old member's roles inguildMemberUpdate
) (8ddd061)RichPresenceAssets
(a505a55)VoiceConnection
when being forcibly disconnected (cbabc16)stoppedSpeaking
inVoiceReceiver
(91600a6)_trace
in Ready and Resumed WebSocket handlers (684bb1b)for..of
withObject.keys
instead offor..in
everywhere (6d7e1e4)Overview
11.5.1
is being released to fix bugs from11.5.0
, most notably not being able to modify the nickname of the current user.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)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)Fixes
channel
key inGuildMember#edit
(06b72ee)Message#pinnable
should return false for nonDEFAULT
messages (8c213e9)ClientUser#mfaEnabled
is not nullable (db492e6)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