[Snyk] Upgrade discord.js from 11.4.2 to 11.5.1 #6
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.4.2 to 11.5.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.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)Overview
11.5.0
is being released to fix bugs from11.4.2
, backport new events fromv12.0.0-dev
and prepare users for the release ofv12.0.0
.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)Additions
WEBHOOKS_UPDATE
event (4530981, bd14d5d)GUILD_INTEGRATIONS_UPDATE
event (3345c77)WHITE
as aColorResolvable
(5272cec)Guild#createChannel
with a position (7bc2e23)Guild#createChannel
(7ea88ad, 691aaef)Guild#fetchBan
(5cd6d8d)withReasons
parameter toGuild#fetchBans
(5cd6d8d)Guild#fetchEmbed
andGuild#setEmbed
(091b4fc)Guild#fetchVanityCode
(c6201ee)ClientOptions#retryLimit
(e0f522a)Presence#clientPresence
(a2a0c05)RichEmbed#setTimestamp
to accept a numeric timestamp (49e8bd9)RichEmbed#length
(890b1be)TextBasedChannel#lastPinTimestamp
andTextBasedChannel#lastPinAt
(ea3e575)TextChannel#rateLimitPerUser
andTextChannel#setRateLimitPerUser
(1e85887)Fixes
0
(745e18b)Emoji#fetchAuthor
now rejects with a more descriptive error when missingMANAGE_EMOJI
permissions (45a17e7)Guild#addMember
not resolving correctly if provided a user id (93bf430)Guild#deleteEmoji
will reject non-emoji objects or id's (cd58599)GuildChannel#lockPermissions
not resolving permission bitfields correctly (1fc84a9)GuildMember
s removed from theirVoiceChannel
when leaving the guild (b3f4590)GuildMember#edit
andGuildMember#setVoiceChannel
throw a more descriptive error when passed bad input (a0ff72b)Message#editedTimestamp
being null after edits (616e0dd)Permissions.resolve
not accepting aPermissions
instance (5d889be)Role
s with the sameposition
are sorted in the correct order (923c945)Util.splitMessage
now throws an error if any, not just one, chunk exceeds the max length (1618829)WebhookClient
not handling ratelimit event properly (4ee3cf0)Overview
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