diff --git a/package-lock.json b/package-lock.json index ad0df1b1..51baba28 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "discord-api-types": "^0.37.47", "discord-giveaways": "^6.0.1", "discord.js": "^14.8.0", - "distube": "^4.0.6", + "distube": "^4.2.0", "dotenv": "^16.3.1", "enhanced-ms": "^3.0.0", "express": "^4.18.2", @@ -2260,19 +2260,30 @@ } }, "node_modules/@distube/ytsr": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@distube/ytsr/-/ytsr-1.2.6.tgz", - "integrity": "sha512-fdd38hH2C+Enla4LSfCWm4bIXRrDCgwTcbHF2Mpm6sikhSZhQTRhH4wcxFaXa1Nxa3OirfmiiFZH1GDh5fPbig==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@distube/ytsr/-/ytsr-2.0.0.tgz", + "integrity": "sha512-N9z8IMbBCQ/gNnJmBgc0TBOU7tdl2nYDOnT6adN1utzIlrKWa2Ux+3UdAPV38f/qRrWohcmyMHPbSbex80ap3A==", "dependencies": { - "undici": "five" + "undici": "6.0.1" }, "engines": { - "node": ">=14.0" + "node": ">=18.0" }, "funding": { "url": "https://github.com/distubejs/ytsr?sponsor=1" } }, + "node_modules/@distube/ytsr/node_modules/undici": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.0.1.tgz", + "integrity": "sha512-eZFYQLeS9BiXpsU0cuFhCwfeda2MnC48EVmmOz/eCjsTgmyTdaHdVsPSC/kwC2GtW2e0uH0HIPbadf3/bRWSxw==", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=18.0" + } + }, "node_modules/@fastify/busboy": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.0.0.tgz", @@ -5795,41 +5806,35 @@ "integrity": "sha512-o/dXNFfhBpYHpQFdT6FWzeO7pKc838QeeZ9d91CfVAtpr5XLK4B/zYxQbYgPdoMiTDvJfzcsLW5naXgmHGDNXw==" }, "node_modules/distube": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/distube/-/distube-4.1.1.tgz", - "integrity": "sha512-AMatU1/oIHEhK2mpwqNf/Hp/SksO/855qWSu5wbGpF4qMymmTestqPu41sM60AouhZk92a2iQYdPLngaBSLZHA==", - "funding": [ - { - "type": "individual", - "url": "https://paypal.me/Skickkk" - }, - { - "type": "patreon", - "url": "https://patreon.com/DisTube" - } - ], + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/distube/-/distube-4.2.0.tgz", + "integrity": "sha512-6/k/23mHhU8IplQ/sSRU7YJ4KBpFSPi33jZGLyrAwrsUizaSQ4L+bmGTUl/EuNhLLdMSZ6cEk1TuvEFwB2wZpw==", "dependencies": { - "@distube/ytdl-core": "^4.13.2", + "@distube/ytdl-core": "^4.13.3", "@distube/ytpl": "^1.2.1", - "@distube/ytsr": "^1.2.0", - "prism-media": "npm:@distube/prism-media@latest", + "@distube/ytsr": "^2.0.0", "tiny-typed-emitter": "^2.1.0", "tough-cookie": "^4.1.3", "tslib": "^2.6.2", - "undici": "^5.27.2" + "undici": "^6.13.0" }, "engines": { - "node": ">=16.9.0" + "node": ">=18.17" + }, + "funding": { + "url": "https://github.com/skick1234/DisTube?sponsor=1" }, "peerDependencies": { - "@discordjs/opus": "*", "@discordjs/voice": "*", "discord.js": "14" - }, - "peerDependenciesMeta": { - "@discordjs/opus": { - "optional": true - } + } + }, + "node_modules/distube/node_modules/undici": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.13.0.tgz", + "integrity": "sha512-Q2rtqmZWrbP8nePMq7mOJIN98M0fYvSgV89vwl/BQRT4mDOeY2GXZngfGpcBBhtky3woM7G24wZV3Q304Bv6cw==", + "engines": { + "node": ">=18.0" } }, "node_modules/dom-serializer": { diff --git a/package.json b/package.json index 9b8d1e40..b7226272 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "discord-api-types": "^0.37.47", "discord-giveaways": "^6.0.1", "discord.js": "^14.8.0", - "distube": "^4.0.6", + "distube": "^4.2.0", "dotenv": "^16.3.1", "enhanced-ms": "^3.0.0", "express": "^4.18.2",