discord-ticket icon indicating copy to clipboard operation
discord-ticket copied to clipboard

[Snyk] Upgrade discord.js from 12.2.0 to 12.5.3

Open snyk-bot opened this issue 3 years ago • 0 comments

Snyk has created this PR to upgrade discord.js from 12.2.0 to 12.5.3.

merge advice :information_source: 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 8 versions ahead of your current version.
  • The recommended version was released 4 months ago, on 2021-04-02.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Regular Expression Denial of Service (ReDoS)
SNYK-JS-WS-1296835
265/1000
Why? CVSS 5.3
No Known Exploit
Denial of Service
SNYK-JS-NODEFETCH-674311
265/1000
Why? CVSS 5.3
No Known Exploit

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

Release notes
Package name: discord.js
  • 12.5.3 - 2021-04-02

    Bug Fixes

    • Voice: disconnect if voice channel not cached (#5467) (3af8179)
  • 12.5.2 - 2021-03-31

    Bug Fixes

  • 12.5.1 - 2020-11-25

    Bug Fixes

    • GuildTemplate: 'guild' getter (#5040) (f8b0c01)
    • MessageReaction: set MessageReaction#me in patch method (#5047) (a6b922f)
    • Voice*: filter out silent audio from video users (#5035) (5328648)
  • 12.5.0 - 2020-11-22

    Bug Fixes

    • Guild: fetch member if already in the guild (#4967) (643f96c)
    • GuildMemberUpdate: cache incoming members & use partials if enabled (#4986) (2e940e6)
    • MessageReaction: add client property to typings (#5003) (042e071), closes #5002
    • MessageReaction*Action: correctly cache incoming members and users (#4969) (8b91ac5)
    • PackageLock: reinstall GitHub docgen dev dependency (#4958) (ed8b3cc)
    • Shard: don't pass event arguments to exit handler (#4957) (adf2e87)
    • User: only assign to bot initially or if info is actually present (#4990) (eaecd0e)

    Features

    • Shard: shard-specific broadcastEval/fetchClientValues + shard Id util (#4991) (2a6c363)
    • Typings: add missing error codes (#5008) (7faa73a)
    • Guild: add support for guild templates (#4907) (2b2994b)
    • Message: add crosspostable property (#4903) (b8fd3f6)
  • 12.4.1 - 2020-10-24

    Bug Fixes

    • Action: attempt to get a User if GuildMember not returned (#4922) (3d158f4)
    • GuildChannel: parentID shouldn't be set in the constructor (#4919) (250c3ae)
  • 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)
  • 12.3.0 - 2020-08-14 Read more
  • 12.2.0 - 2020-04-17 Read more
from discord.js GitHub release notes
Commit messages
Package name: discord.js
  • 51551f5 chore(Release): version upgrade
  • 5291fe1 fix(Voice): disconnect if voice channel not cached (#5467)
  • 6e11596 chore(Release): version upgrade
  • 7efc295 fix(InviteDelete): guild can be missing (#5457)
  • 8e8d9b4 docs(ReactionUserManager): fetch description (#5382)
  • 8a7abc9 chore(Release): version upgrade
  • a6b922f fix(MessageReaction): set MessageReaction#me in patch method (#5047)
  • 5328648 fix(Voice*): filter out silent audio from video users (#5035)
  • f8b0c01 fix(GuildTemplate): 'guild' getter (#5040)
  • 1f4b9fe chore(Release): version up
  • 2a6c363 feat(Shard): shard-specific broadcastEval/fetchClientValues + shard Id util (#4991)
  • 643f96c fix(Guild): fetch member if already in the guild (#4967)
  • 2b2994b feat: add support for guild templates (#4907)
  • eaecd0e fix(User): only assign to bot initially or if info is actually present (#4990)
  • 2e940e6 fix(GuildMemberUpdate): cache incoming members & use partials if enabled (#4986)
  • 8b91ac5 fix(MessageReaction*Action): correctly cache incoming members and users (#4969)
  • 7faa73a feat: add missing error codes (#5008)
  • 042e071 fix(MessageReaction): add client property to typings (#5003)
  • b8fd3f6 feat(Message): add crosspostable property (#4903)
  • efd7849 docs: use npm ci instead of npm install (#4928)
  • adf2e87 fix(Shard): don't pass event arguments to exit handler (#4957)
  • ed8b3cc fix(PackageLock): reinstall GitHub docgen dev dependency (#4958)
  • 7ec0bd9 chore(Release): version upgrade
  • 3d158f4 fix(Action): attempt to get a User if GuildMember not returned (#4922)

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

snyk-bot avatar Jul 30 '21 02:07 snyk-bot