From c2f66d9fb3cf26fb31d6814495ff23be009de029 Mon Sep 17 00:00:00 2001 From: Snyk bot Date: Tue, 28 Apr 2020 03:51:14 +0300 Subject: [PATCH] fix: upgrade discord.js from 12.0.2 to 12.2.0 (#320) --- package-lock.json | 36 +++++++++++++++++------------------- package.json | 2 +- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 56093fbe0..adeaf97ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,16 @@ "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.1.5.tgz", "integrity": "sha512-CU1q0UXQUpFNzNB7gufgoisDHP7n+T3tkqTsp3MNUkVJ5+hS3BCvME8uCXAUFlz+6T2FbTCu75A+yQ7HMKqRKw==" }, + "@discordjs/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, "@sentry/apm": { "version": "5.15.2", "resolved": "https://registry.npmjs.org/@sentry/apm/-/apm-5.15.2.tgz", @@ -490,30 +500,18 @@ } }, "discord.js": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.0.2.tgz", - "integrity": "sha512-iZiEA4Y61gqq/EjFfLXnkRK9pLapnax/vTVDUhs/mAhyqozAy0GOlk/MZI9rSa1iIoKTWRq6P9CRKhLNT2wUnA==", + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.2.0.tgz", + "integrity": "sha512-Ueb/0SOsxXyqwvwFYFe0msMrGqH1OMqpp2Dpbplnlr4MzcRrFWwsBM9gKNZXPVBHWUKiQkwU8AihXBXIvTTSvg==", "requires": { "@discordjs/collection": "^0.1.5", + "@discordjs/form-data": "^3.0.1", "abort-controller": "^3.0.0", - "form-data": "^3.0.0", "node-fetch": "^2.6.0", "prism-media": "^1.2.0", "setimmediate": "^1.0.5", "tweetnacl": "^1.0.3", "ws": "^7.2.1" - }, - "dependencies": { - "form-data": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz", - "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - } } }, "doctrine": { @@ -2410,9 +2408,9 @@ } }, "ws": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.3.tgz", - "integrity": "sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ==" + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.5.tgz", + "integrity": "sha512-C34cIU4+DB2vMyAbmEKossWq2ZQDr6QEyuuCzWrM9zfw1sGc0mYiJ0UnG9zzNykt49C2Fi34hvr2vssFQRS6EA==" }, "yallist": { "version": "3.1.1", diff --git a/package.json b/package.json index 758308700..27e974a4a 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "colors": "^1.4.0", "decache": "^4.5.1", "discord-giveaways": "^3.2.3", - "discord.js": "^12.0.2", + "discord.js": "^12.2.0", "erlpack": "github:discordapp/erlpack", "json-query": "^2.2.2", "moment": "^2.24.0",