This repository was 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
-
11.6.1 - 2020-02-29
- All user account-only methods have been deprecated (95a2d25)
- The old method signature of
- The peer dependency
- The peer dependency
-
11.6.0 - 2020-02-29
- All user account-only methods have been deprecated (95a2d25)
- The old method signature of
- The peer dependency
- The peer dependency
- Add support for
- Add
- Add
- Add
- Add
- Add
- Add
- Add
- Add
- Document
- Add the following properties, getters, and methods to
-
-
-
-
-
-
-
-
-
- Add
- Handle new audit log types (
-
-
-
-
- Add support for guild boosting (b892436)
-
-
-
-
-
- Four new related message types:
-
-
-
-
-
-
-
-
- Add
- Add
- Add support for clone options when cloning a channel using
- Add
- Cache
- Add the following (7e9c995)
-
-
-
-
-
-
-
- Add
- Add
- Add the following properties to
-
-
-
-
-
- Add
- Add
- Add
- Add
- Document
- Add
- Add ability specify a channel and reason when editing a through
- Add the following properties to
-
-
-
-
-
- Only use
- Return a user when resolving from guild in
- Always run
- Allow
- Set the integer constant instead of
- Default to an object with id property if the
- Return
- Mark messages of deleted channels as deleted (d1d0d75)
- Filter out duplicated roles when editing the roles of a
- Allow owner to override
- Do not mutate input arrays in
- Return the correct link for twitch previews as part of
- Internally disconnect and cleanup
- Fix speaking events and voice receive (fbcd363)
- Remove opus decoder from map in
- No longer use deprecated
- Use
-
11.5.1 - 2019-05-29
- All user account-only methods have been deprecated (95a2d25)
- Do not create
from discord.js GitHub release notesOverview
11.6.1is being released to update version references in the documentation; No code changes are included.Deprecations
ClientUser#setGamein favor ofClientUser#setActivity(cd06684)Collection#existsin favor ofCollection#some(09ddbcb)Collection#findandCollection#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#createChannelwhen specifying options without using an options object (7ea88ad)Guild#defaultChannel, there will be no fallback/alternative (407500b)Guild#deleteEmojiin favor ofEmoji#delete(c355236)GuildChannel#clonein favor of using an options object (ab866d6)Permissions.flags:READ_MESSAGESin favor ofVIEW_CHANNEL(1fe201a)Permissions#allowedandPermissions#deniedin favor ofPermissions#allowandPermissions#denyrespectively (58ba2c7)PermissionOverwrites#allowedandPermissionOverwrites#deniedin favor ofPermissionOverwrites#allowandPermissionOverwrites#deny(db492e6)@discordjs/uwsis now deprecated and will be removed with the next major release (5556b05)node-opusis now deprecated, use@discordjs/opusinstead (6ab4649)Overview
11.6.0is being released to backport new features from12.0.0-dev.Deprecations
ClientUser#setGamein favor ofClientUser#setActivity(cd06684)Collection#existsin favor ofCollection#some(09ddbcb)Collection#findandCollection#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#createChannelwhen specifying options without using an options object (7ea88ad)Guild#defaultChannel, there will be no fallback/alternative (407500b)Guild#deleteEmojiin favor ofEmoji#delete(c355236)GuildChannel#clonein favor of using an options object (ab866d6)Permissions.flags:READ_MESSAGESin favor ofVIEW_CHANNEL(1fe201a)Permissions#allowedandPermissions#deniedin favor ofPermissions#allowandPermissions#denyrespectively (58ba2c7)PermissionOverwrites#allowedandPermissionOverwrites#deniedin favor ofPermissionOverwrites#allowandPermissionOverwrites#deny(db492e6)@discordjs/uwsis now deprecated and will be removed with the next major release (5556b05)node-opusis now deprecated, use@discordjs/opusinstead (6ab4649)Additions
@discordjs/opus(6ab4649)BitFieldclass (46e8bc4)Client#inviteCreateandClient#inviteDeleteevents (40afbc1)Client#messageReactionRemoveEmojievent andMessageReaction#removeAll(ab7f9e8)idleoptions toCollectors (ccd6043)Emoji#delete(c355236)Game#emoji,createdAt, andcreatedTimestamp(17b8b23)Guild#rulesChannelID,Guild#rulesChannel,Guild#publicUpdatesChannelID, andGuild#publicUpdatesChannel(b0aed05)Guild#setBannerandbannertoGuild#edit(01826ae)ChannelData#reasonwhen creating a channel (7011c51)Guild(e6a378b)bannerandbannerURLdescriptionembedChannelIDandembedChannelmaximumMembersmaximumPresenceswidgetEnabledwidgetChannelIDandwidgetChannelvanityURLCodefetchIntegrations,Guild#fetchIntegrations, andGuild#createIntegration(c955fd0)Guild#fetchAuditLogs) (dbdb49e)MEMBER_MOVE,MEMBER_DISCONNECTBOT_ADDMESSAGE_BULK_DELETE,MESSAGE_PIN,MESSAGE_UNPININTEGRATION_CREATE,INTEGRATION_UPDATE,INTEGRATION_DELETEEmoji#availableGuild#premiumTierGuild#premiumSubscriptionCountGuildMember#premiumSinceTimestamp(alsopremiumSincegetter)USER_PREMIUM_GUILD_SUBSCRIPTIONUSER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3SystemChannelFlags,Guild#systemChannelFlags,Guild#setSystemChannelFlags, andsystemChannelFlagstoGuild#edit's options (330c410)GuildChannel#permissionsLockedgetter (2610bf5)GuildChannel#clone(ab866d6)GuildMember#selfStream(96037e1, 36c0496)Message#memberandMessageMentions#membersas they come from Discord (0f49d67)Message#flagsMessage#referenceflagstoMessage#editMessage#suppressEmbedsMessageMentions#crosspostedChannelsCHANNEL_FOLLOW_ADDtoMessageTypeUser#systemGUILD_DISCOVERY_DISQUALIFIEDandGUILD_DISCOVERY_REQUALIFIEDtoMessageTypes(b0d0b81)MessageAttachment#spoiler(4ca1864)MessageReaction(88b675d)animatedclientcreatedTimestampcreatedAturlRichEmbed#spliceFieldsandRichEmbed.normalizeField(6eaf63f)RichEmbed#toJSONreturning an api-compatible object (97457e1)Permissions#any(367c800)STREAMPermission(dcee09c)Presence#client(f6d1db6)Presence#activities(17b8b23)Webhook#edit(fbe9bc4)Webhook(30adb37)avatarURLtypecreatedTimestampcreatedAturlFixes
Client#setMaxListenersif the max listener count is not 0 (903f6ca)ClientDataResolver#resolveUser(464ef25)postCheckwhen an event was received to allow stopping of the collector using themaxoption (099a1a4)Guild#fetchMemberto be used with aSnowflake(6f49aad)'text'when creating a channel as default (505df2e)GuildAuditLogsEntrytarget was deleted (43c0a79)GuildChannelinGuildChannel#setPositioninstead ofGuild(1121b2f)GuildMember(f91ad70)GuildMember#manageable(364914f)Util.arraysEqual(fixingGuild#equalsmutatingGuild#featuresand the old member's roles inguildMemberUpdate) (8ddd061)RichPresenceAssets(a505a55)VoiceConnectionwhen being forcibly disconnected (cbabc16)stoppedSpeakinginVoiceReceiver(91600a6)_tracein Ready and Resumed WebSocket handlers (684bb1b)for..ofwithObject.keysinstead offor..ineverywhere (6d7e1e4)Overview
11.5.1is being released to fix bugs from11.5.0, most notably not being able to modify the nickname of the current user.Deprecations
ClientUser#setGamein favor ofClientUser#setActivity(cd06684)Collection#existsin favor ofCollection#some(09ddbcb)Collection#findandCollection#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#createChannelwhen specifying options without using an options object (7ea88ad)Guild#defaultChannel, there will be no fallback/alternative (407500b)Permissions.flags:READ_MESSAGESin favor ofVIEW_CHANNEL(1fe201a)Permissions#allowedandPermissions#deniedin favor ofPermissions#allowandPermissions#denyrespectively (58ba2c7)PermissionOverwrites#allowedandPermissionOverwrites#deniedin favor ofPermissionOverwrites#allowandPermissionOverwrites#deny(db492e6)Fixes
channelkey inGuildMember#edit(06b72ee)Message#pinnableshould return false for nonDEFAULTmessages (8c213e9)ClientUser#mfaEnabledis 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