Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade discord.js from 11.4.2 to 11.5.1 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Feb 3, 2020

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.
  • The recommended version is 2 versions ahead of your current version.
  • The recommended version was released 8 months ago, on 2019-05-29.
Release notes
Package name: discord.js
  • 11.5.1 - 2019-05-29

    Overview

    11.5.1 is being released to fix bugs from 11.5.0, most notably not being able to modify the nickname of the current user.

    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)
    • 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)

    Fixes

    • Do not create channel key in GuildMember#edit (06b72ee)
    • Message#pinnable should return false for non DEFAULT messages (8c213e9)
    • ClientUser#mfaEnabled is not nullable (db492e6)
  • 11.5.0 - 2019-05-11

    Overview

    11.5.0 is being released to fix bugs from 11.4.2, backport new events from v12.0.0-dev and prepare users for the release of v12.0.0.

    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)
    • 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)

    Additions

    • Add support for news and store channels (5e4654e, 8a086e0)
    • Add WEBHOOKS_UPDATE event (4530981, bd14d5d)
    • add GUILD_INTEGRATIONS_UPDATE event (3345c77)
    • Add WHITE as a ColorResolvable (5272cec)
    • Add support for creating a channel via Guild#createChannel with a position (7bc2e23)
    • Add support for all possible options in Guild#createChannel (7ea88ad, 691aaef)
    • Add Guild#fetchBan (5cd6d8d)
    • Add withReasons parameter to Guild#fetchBans (5cd6d8d)
    • Add Guild#fetchEmbed and Guild#setEmbed (091b4fc)
    • Add Guild#fetchVanityCode (c6201ee)
    • Add ClientOptions#retryLimit (e0f522a)
    • Add Presence#clientPresence (a2a0c05)
    • Add support for RichEmbed#setTimestamp to accept a numeric timestamp (49e8bd9)
    • Add RichEmbed#length (890b1be)
    • Add TextBasedChannel#lastPinTimestamp and TextBasedChannel#lastPinAt (ea3e575)
    • Add TextChannel#rateLimitPerUser and TextChannel#setRateLimitPerUser (1e85887)
    • Add error code 50020 (359ddaf)
    • Add support for voice kicking (ee42bdf)

    Fixes

    • Correct webpack improperly handing deprecation warnings (7684ad3)
    • Ignore voice states referencing an invalid channel (73aaab5)
    • You can now create dispatchers with a volume of 0 (745e18b)
    • Emoji#fetchAuthor now rejects with a more descriptive error when missing MANAGE_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)
    • GuildMembers removed from their VoiceChannel when leaving the guild (b3f4590)
    • GuildMember#edit and GuildMember#setVoiceChannel throw a more descriptive error when passed bad input (a0ff72b)
    • Message#editedTimestamp being null after edits (616e0dd)
    • Permissions.resolve not accepting a Permissions instance (5d889be)
    • Roles with the same position 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)
  • 11.4.2 - 2018-08-13

    Overview

    • Typings are now included
    • Document ChannelData.parent and .permissionOverwrites, fix typedefs (3021e5c)
from discord.js GitHub release notes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant