bump deps

This commit is contained in:
Snowflake107 2021-05-08 15:37:58 +05:45
parent c428335a56
commit a154f48582
3 changed files with 20 additions and 18 deletions

View file

@ -50,11 +50,11 @@
},
"homepage": "https://github.com/Androz2091/discord-player#readme",
"dependencies": {
"discord-ytdl-core": "^5.0.2",
"discord-ytdl-core": "^5.0.3",
"soundcloud-scraper": "^4.0.3",
"spotify-url-info": "^2.2.0",
"youtube-sr": "^4.0.4",
"ytdl-core": "^4.5.0"
"youtube-sr": "^4.0.6",
"ytdl-core": "^4.7.0"
},
"devDependencies": {
"@babel/cli": "^7.13.16",

View file

@ -82,11 +82,13 @@ export class Player extends EventEmitter {
*/
this.filters = AudioFilters;
this.client.on('voiceStateUpdate', (o, n) => void this._handleVoiceStateUpdate(o, n));
this.client.on('voiceStateUpdate', this._handleVoiceStateUpdate.bind(this));
// auto detect @discord-player/extractor
if (!this.options.disableAutoRegister) {
let nv: any;
// tslint:disable:no-conditional-assignment
if ((nv = Util.require('@discord-player/extractor'))) {
['Attachment', 'Facebook', 'Reverbnation', 'Vimeo'].forEach((ext) => void this.use(ext, nv[ext]));
}

View file

@ -1785,12 +1785,12 @@ diff@^4.0.1:
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
discord-ytdl-core@^5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/discord-ytdl-core/-/discord-ytdl-core-5.0.2.tgz#28fb8712af8b5fda34f20800d2226b556e700422"
integrity sha512-tuu+skr0cA89Li7sCH+L1p3TwdfSOunmC9BFzSa0Jj567B1F2leVVbjKQ5ZKpsW1cXKv0fh0PdQA2/Fnu6WcQA==
discord-ytdl-core@^5.0.3:
version "5.0.3"
resolved "https://registry.yarnpkg.com/discord-ytdl-core/-/discord-ytdl-core-5.0.3.tgz#a31560f0bede41d6fc969377083ae958deac2b72"
integrity sha512-q4GOEFiV19l0OcPezXnkDWualf+n96LcbTEWReceiDHdx4xxn5CXZX9PR4iDTXQR3Kv2VUkwB8RO8dI50d88vQ==
dependencies:
prism-media "^1.2.7"
prism-media "^1.2.9"
discord.js-docgen@discordjs/docgen#ts-patch:
version "0.9.0"
@ -3476,7 +3476,7 @@ prettier@^2.2.1:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
prism-media@^1.2.7, prism-media@^1.2.9:
prism-media@^1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/prism-media/-/prism-media-1.2.9.tgz#8d4f97b36efdfc82483eb8d3db64020767866f36"
integrity sha512-UHCYuqHipbTR1ZsXr5eg4JUmHER8Ss4YEb9Azn+9zzJ7/jlTtD1h0lc4g6tNx3eMlB8Mp6bfll0LPMAV4R6r3Q==
@ -4627,18 +4627,18 @@ yargs@^14.0.0:
y18n "^4.0.0"
yargs-parser "^15.0.1"
youtube-sr@^4.0.4:
version "4.0.4"
resolved "https://registry.yarnpkg.com/youtube-sr/-/youtube-sr-4.0.4.tgz#48369b0cb1c53bd84c366a5420bb8f35b1db2329"
integrity sha512-Wf6YlANcCjAweY2MQuqJqusmMcGzaSDWE6ZTD8vifb9i9oFyKQpWuV58fnebJCFJE8G8pTLidmj5aRV7x384EQ==
youtube-sr@^4.0.6:
version "4.0.6"
resolved "https://registry.yarnpkg.com/youtube-sr/-/youtube-sr-4.0.6.tgz#e27c8fadb51361a6223ba0552b300f131c903fe9"
integrity sha512-nRrqgWl0xYfMhwLTqjF7G6s+36IHIdOMtZaSrz0Cpk4uSIqoeKEJgLiAZrYIGWGNYtS8/mzZYRzYxaIA/gW1Ig==
dependencies:
node-fetch "^2.6.1"
simple-youtube-api "^5.2.1"
ytdl-core@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/ytdl-core/-/ytdl-core-4.5.0.tgz#f07733387c548e5c3a5614c93ef55bde666eeaf4"
integrity sha512-e8r6skrakWNixsVlNPBMoRM1HrdW1swE97If9nenDUjF65uogYk4DvxIuqlmqRfBWKe+6aIZwqedNxUU9XLYJA==
ytdl-core@^4.7.0:
version "4.7.0"
resolved "https://registry.yarnpkg.com/ytdl-core/-/ytdl-core-4.7.0.tgz#2c92023536484d8a2760d1aa504df2778f87ae21"
integrity sha512-G09HeYsyLMsUCPEuK2asDqmLnOx+n5SxVV3QqGJd+iYuw5Z/qiwx7x0gxZTiAkHBsbG3WuluJWBPswZyrygKmQ==
dependencies:
m3u8stream "^0.8.3"
miniget "^4.0.0"