Skip to content

[Snyk] Upgrade discord.js from 12.3.1 to 12.4.0 #2

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

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

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented Nov 9, 2020

Snyk has created this PR to upgrade discord.js from 12.3.1 to 12.4.0.

ℹ️ 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 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2020-10-19.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Denial of Service
SNYK-JS-NODEFETCH-674311
306/1000
Why? CVSS 5.9
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Release notes
Package name: discord.js
  • 12.4.0 - 2020-10-19

    Bug Fixes

    • Action: Don't crash when partials are disabled (#4822) (8fa3a89)
    • Action: Sanity-Check if Discord includes all required data (#4841) (4e79e39)
    • Actions: Avoid crash in InviteCreate with unknown channel (#4882) (dd12912)
    • ESM: add missing exports (#4911) (4bbe716)
    • Guild: cache fetched widget data (#4760) (7ba9440)
    • GuildChannel: Default parentID to null (#4881) (6e4308b)
    • GuildChannel: make setTopic argument nullable (#4875) (b9ad510)
    • GuildEmojiCreate: Prevent double fire from emoji creation (#4863) (6261dd6)
    • GuildEmojiManager: check for guild in methods that use it (#4886) (728b3f9)
    • GuildMember: properly check permissions for hasPermissions (#4677) (7db6978)
    • GuildMemberManager: options.roles on 'prune' (#4838) (a45cc11)
    • GuildMemberManager: Use actually random nonce in fetch (#4884) (937153a)
    • Message: use Promise#reject instead of Throw on Message#delete (#4818) (1e63f37)
    • MessageManager: throw if delete param is not MessageResolvable (#4825) (13d64e6)
    • Partials: Use more user objects available from the gateway (#4791) (eeb4c14)
    • Rest: resolved a regression, added retried AbortError (#4852) (d234165)
    • Shard: avoid caching null child in eval/fetchClientValue (#4823) (77c0788)
    • Typing: change NodeJS.Timer into NodeJS.Timeout (#4755) (405b487)
    • Typings: bot cannot be null (#4719) (e0e2711)
    • Typings: remove Partial types from some events (#4781) (a28754b)
    • Util: throw token invalid for fetching rec. shard amount (#4779) (77b6a7d)
    • *: correctly import extendable classes (#4744) (6aab9c3)

    Features

    • ActivityTypes: add Competing (type 5) (#4824) (9c76129)
    • Channel: add isText() type guard (#4745) (b0ab37d)
    • Client: allow options for generateInvite (#4741) (727b29c)
    • Guild: add includeApplications option for fetchIntegrations (#4762) (3141f7c)
    • GuildManager: add AFK and system channel options in create (#4837) (f2bbad3)
    • Message: add messageEditHistoryMaxSize to limit stored msg edits (#4867) (c412cd7)
    • Message: add support for crossposting (#4105) (bcb7c72)
    • Message: allow custom emoji format for react (#4895) (30808f9)
    • NewsChannel: add support for following (#4805) (f83b3d7)
    • Rest: switch queue to AsyncQueue (#4835) (32fe72f)
    • UserFlags: add renamed UserFlags (#4761) (f973163)

    Reverts

    • GuildEmojiManager: "check for guild in methods that use it" (#4912) (89feeda)
  • 12.3.1 - 2020-08-15

    Bug Fixes

    • User: set User#bot to false if not partial (#4706) (db512d8)

    Reverts

    • Shard: "fix missing child_process silent option of Shard to allow listening to output" (#4707) (5249cf3)
from discord.js GitHub release notes
Commit messages
Package name: discord.js
  • 94c9cc2 fix(Webpack): revert webpack upgrade
  • e9f36b5 chore(Release): version upgrade
  • 30808f9 feat(Message): allow custom emoji format for react (#4895)
  • af670fc refactor: improve the accuracy of docs/improve docs (#4845)
  • 4bbe716 fix(esm): add missing exports (#4911)
  • a7af4a8 docs(PresenceData): add YouTube and remove application (#4910)
  • 89feeda revert: "fix(GuildEmojiManager): check for guild in methods that use it" (#4912)
  • 728b3f9 fix(GuildEmojiManager): check for guild in methods that use it (#4886)
  • 7db6978 fix(GuildMember): properly check permissions for hasPermissions (#4677)
  • 6261dd6 fix(GuildEmojiCreate): Prevent double fire from emoji creation (#4863)
  • a45cc11 fix(GuildMemberManager): options.roles on 'prune' (#4838)
  • b8aa967 ci: use npm ci instead of npm install (#4877)
  • 6e4308b fix(GuildChannel): Default `parentID` to `null` (#4881)
  • dd12912 fix(Actions): Avoid crash in InviteCreate with unknown channel (#4882)
  • 937153a fix(GuildMemberManager): Use actually random nonce in fetch (#4884)
  • c412cd7 feat(Message): add messageEditHistoryMaxSize to limit stored msg edits (#4867)
  • 4a6fb9a types(TextBasedChannel): make lastPinAt nullable (#4842)
  • 824e922 types(Activity): move flags from Presence to Activity (#4843)
  • 0b59141 types(GuildPreview): Make description nullable (#4854)
  • b9ad510 fix(GuildChannel): make setTopic argument nullable (#4875)
  • d234165 fix(Rest): resolved a regression, added retried AbortError (#4852)
  • 169d4c3 refactor(ReactionUserManager): use client property (#4829)
  • 13d64e6 fix(MessageManager): throw if delete param is not MessageResolvable (#4825)
  • f83b3d7 feat(NewsChannel): add support for following (#4805)

Compare


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.

1 participant