diff --git a/package-lock.json b/package-lock.json index e4a90677..2e218e2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.2.3", "license": "ISC", "dependencies": { - "@discord-player/extractor": "^4.2.1", + "@discord-player/extractor": "^4.2.2", "@discordjs/opus": "^0.9.0", "@discordjs/voice": "^0.16.0", "btoa": "^1.2.1", @@ -32,7 +32,7 @@ "moment": "^2.26.0", "mongoose": "^5.13.15", "ms": "^2.1.3", - "play-dl": "^1.9.6" + "ytdl-core": "npm:@distube/ytdl-core@^4.11.10" }, "devDependencies": { "eslint": "^8.23.0" @@ -55,9 +55,9 @@ "integrity": "sha512-PPjX8TBwzM85YKEdpYYL8aGbdSLIk9RK1h/uU5jeyiF6Uu5CiLH/XctDfcGW8cSgoaU4J0R6a8svCs9yhzHXSw==" }, "node_modules/@discord-player/extractor": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@discord-player/extractor/-/extractor-4.2.1.tgz", - "integrity": "sha512-z1kqIyAteD5H22KE/VTuujdXq4D+lV9owv6SmpmoS1R/ss+skTCOe/jReHlQC2HBNo5flShgEzMDqtp/HxI7cA==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@discord-player/extractor/-/extractor-4.2.2.tgz", + "integrity": "sha512-4Tk4hwczNYcjsxw58eQDI54Mupeh7n5dLFjJM5rebJssRtYGDR7+scOXeA55ZLbMXsOpWmhNVFD7etNuDTsObA==", "dependencies": { "file-type": "^16.5.4", "genius-lyrics": "^4.4.2", @@ -3314,22 +3314,6 @@ "url": "https://github.com/sponsors/Borewit" } }, - "node_modules/play-audio": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/play-audio/-/play-audio-0.5.2.tgz", - "integrity": "sha512-ZAqHUKkQLix2Iga7pPbsf1LpUoBjcpwU93F1l3qBIfxYddQLhxS6GKmS0d3jV8kSVaUbr6NnOEcEMFvuX93SWQ==" - }, - "node_modules/play-dl": { - "version": "1.9.6", - "resolved": "https://registry.npmjs.org/play-dl/-/play-dl-1.9.6.tgz", - "integrity": "sha512-JW44bQbME9fNfGhGXQ/rdcsHr4BfgJabVlSgpS9QY/NscfprFH1asv+q9atrZThP3+hHIpgtFNABccg9rFWlwg==", - "dependencies": { - "play-audio": "^0.5.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -4290,6 +4274,21 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/youtube-sr/-/youtube-sr-4.3.4.tgz", "integrity": "sha512-olSYcR80XigutCrePEXBX3/RJJrWfonJQj7+/ggBiWU0CzTDLE1q8+lpWTWCG0JpzhzILp/IB/Bq/glGqqr1TQ==" + }, + "node_modules/ytdl-core": { + "name": "@distube/ytdl-core", + "version": "4.11.10", + "resolved": "https://registry.npmjs.org/@distube/ytdl-core/-/ytdl-core-4.11.10.tgz", + "integrity": "sha512-WS7d2N5vA9ptPNaA1hOMkhSs72dJYJ7U4PxLwq0ZLnnJ1JMhdjS2b+xjTinMW9vNNcq4YTcF7pa/GR5hmbcaBw==", + "dependencies": { + "m3u8stream": "^0.8.6", + "miniget": "^4.2.2", + "sax": "^1.2.4", + "undici": "^5.22.1" + }, + "engines": { + "node": ">=12" + } } } } diff --git a/package.json b/package.json index 6b65cf85..5b3c3d01 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "author": "Jonny_Bro#4226", "license": "ISC", "dependencies": { - "@discord-player/extractor": "^4.2.1", + "@discord-player/extractor": "^4.2.2", "@discordjs/opus": "^0.9.0", "@discordjs/voice": "^0.16.0", "btoa": "^1.2.1", @@ -35,7 +35,7 @@ "moment": "^2.26.0", "mongoose": "^5.13.15", "ms": "^2.1.3", - "play-dl": "^1.9.6" + "ytdl-core": "npm:@distube/ytdl-core@^4.11.10" }, "devDependencies": { "eslint": "^8.23.0"