diff --git a/package-lock.json b/package-lock.json index 38d9271..6a2e6c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@discordjs/opus": "^0.8.0", "@discordjs/voice": "^0.11.0", "@distube/soundcloud": "^1.2.1", - "@distube/spotify": "^1.3.2", + "@distube/spotify": "^1.5.1", "@distube/ytdl-core": "^4.11.4", "ascii-table3": "^0.7.7", "discord.js": "^13.10.2", @@ -131,14 +131,14 @@ } }, "node_modules/@distube/spotify": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@distube/spotify/-/spotify-1.3.2.tgz", - "integrity": "sha512-algjtD8/D4vAAJCjBmgueQpUzG0hzVzlyqR/3jJiShx8+rs4PKbnRQsx+gRfESeBfgt0QWUHc7bHxgtWeuKyjQ==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@distube/spotify/-/spotify-1.5.1.tgz", + "integrity": "sha512-89S2LaTefn88BoOs4Cy6mRC7mIgGjzc0d9/GKbyyDnWG7APSjC7JevJAC+R207btIl/+o/JozGeroIllJx1s3g==", "dependencies": { - "isomorphic-unfetch": "^3.1.0", - "spotify-uri": "^3.0.2", - "spotify-url-info": "^3.1.2", - "spotify-web-api-node": "^5.0.2" + "spotify-uri": "^3.0.3", + "spotify-url-info": "^3.1.10", + "spotify-web-api-node": "^5.0.2", + "undici": "^5.14.0" }, "peerDependencies": { "distube": "^3.3.1||4" @@ -507,6 +507,17 @@ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, "node_modules/cacheable-lookup": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz", @@ -1464,15 +1475,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "node_modules/isomorphic-unfetch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz", - "integrity": "sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==", - "dependencies": { - "node-fetch": "^2.6.1", - "unfetch": "^4.2.0" - } - }, "node_modules/json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -2204,20 +2206,20 @@ } }, "node_modules/spotify-uri": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/spotify-uri/-/spotify-uri-3.0.2.tgz", - "integrity": "sha512-1RrJkUr+uVYJtJiMvh/Jq42GQikJBZN87ki3ZYzybF9452fb5EfAihdMSIAHGU55+YQUl5Vqb1VLJDzEdottAw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/spotify-uri/-/spotify-uri-3.0.3.tgz", + "integrity": "sha512-mMstJ4dAMki6GbUjg94kp/h9ZH+7T7+ro/KUC00WVh+WKoLgMRrTKLkWMIwCZNO53Xa8DRHQw/6jwYtRZrVI3g==", "engines": { "node": ">= 12" } }, "node_modules/spotify-url-info": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/spotify-url-info/-/spotify-url-info-3.1.2.tgz", - "integrity": "sha512-YN2ory6GWuMiHL0xQQu61n4Mf3wq2rfu9HLyjMxorxjDkueouPEtv8eeyQYlT1ZgViA7ZFuY78QGjrgSvqynuA==", + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/spotify-url-info/-/spotify-url-info-3.1.10.tgz", + "integrity": "sha512-T2LNhdtQ10GkzzInPUWFtAF2bIVY7zlu2HaQ+59OAH92Q04xIlyVg3jT5pbzo3R7MiEIzRzRoq4RDTVw+8DI5A==", "dependencies": { "himalaya": "~1.1.0", - "spotify-uri": "~3.0.1" + "spotify-uri": "~3.0.3" }, "engines": { "node": ">= 12" @@ -2231,6 +2233,14 @@ "superagent": "^6.1.0" } }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -2382,10 +2392,16 @@ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, - "node_modules/unfetch": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz", - "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==" + "node_modules/undici": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.14.0.tgz", + "integrity": "sha512-yJlHYw6yXPPsuOH0x2Ib1Km61vu4hLiRRQoafs+WUgX1vO64vgnxiCEN9dpIrhZyHFsai3F0AEj4P9zy19enEQ==", + "dependencies": { + "busboy": "^1.6.0" + }, + "engines": { + "node": ">=12.18" + } }, "node_modules/util-deprecate": { "version": "1.0.2", @@ -2581,14 +2597,14 @@ } }, "@distube/spotify": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@distube/spotify/-/spotify-1.3.2.tgz", - "integrity": "sha512-algjtD8/D4vAAJCjBmgueQpUzG0hzVzlyqR/3jJiShx8+rs4PKbnRQsx+gRfESeBfgt0QWUHc7bHxgtWeuKyjQ==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@distube/spotify/-/spotify-1.5.1.tgz", + "integrity": "sha512-89S2LaTefn88BoOs4Cy6mRC7mIgGjzc0d9/GKbyyDnWG7APSjC7JevJAC+R207btIl/+o/JozGeroIllJx1s3g==", "requires": { - "isomorphic-unfetch": "^3.1.0", - "spotify-uri": "^3.0.2", - "spotify-url-info": "^3.1.2", - "spotify-web-api-node": "^5.0.2" + "spotify-uri": "^3.0.3", + "spotify-url-info": "^3.1.10", + "spotify-web-api-node": "^5.0.2", + "undici": "^5.14.0" } }, "@distube/youtube-dl": { @@ -2910,6 +2926,14 @@ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" }, + "busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "requires": { + "streamsearch": "^1.1.0" + } + }, "cacheable-lookup": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz", @@ -3623,15 +3647,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "isomorphic-unfetch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz", - "integrity": "sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==", - "requires": { - "node-fetch": "^2.6.1", - "unfetch": "^4.2.0" - } - }, "json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -4168,17 +4183,17 @@ } }, "spotify-uri": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/spotify-uri/-/spotify-uri-3.0.2.tgz", - "integrity": "sha512-1RrJkUr+uVYJtJiMvh/Jq42GQikJBZN87ki3ZYzybF9452fb5EfAihdMSIAHGU55+YQUl5Vqb1VLJDzEdottAw==" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/spotify-uri/-/spotify-uri-3.0.3.tgz", + "integrity": "sha512-mMstJ4dAMki6GbUjg94kp/h9ZH+7T7+ro/KUC00WVh+WKoLgMRrTKLkWMIwCZNO53Xa8DRHQw/6jwYtRZrVI3g==" }, "spotify-url-info": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/spotify-url-info/-/spotify-url-info-3.1.2.tgz", - "integrity": "sha512-YN2ory6GWuMiHL0xQQu61n4Mf3wq2rfu9HLyjMxorxjDkueouPEtv8eeyQYlT1ZgViA7ZFuY78QGjrgSvqynuA==", + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/spotify-url-info/-/spotify-url-info-3.1.10.tgz", + "integrity": "sha512-T2LNhdtQ10GkzzInPUWFtAF2bIVY7zlu2HaQ+59OAH92Q04xIlyVg3jT5pbzo3R7MiEIzRzRoq4RDTVw+8DI5A==", "requires": { "himalaya": "~1.1.0", - "spotify-uri": "~3.0.1" + "spotify-uri": "~3.0.3" } }, "spotify-web-api-node": { @@ -4189,6 +4204,11 @@ "superagent": "^6.1.0" } }, + "streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==" + }, "string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -4317,10 +4337,13 @@ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, - "unfetch": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz", - "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==" + "undici": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.14.0.tgz", + "integrity": "sha512-yJlHYw6yXPPsuOH0x2Ib1Km61vu4hLiRRQoafs+WUgX1vO64vgnxiCEN9dpIrhZyHFsai3F0AEj4P9zy19enEQ==", + "requires": { + "busboy": "^1.6.0" + } }, "util-deprecate": { "version": "1.0.2", diff --git a/package.json b/package.json index 5d3fc67..68709cb 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@discordjs/opus": "^0.8.0", "@discordjs/voice": "^0.11.0", "@distube/soundcloud": "^1.2.1", - "@distube/spotify": "^1.3.2", + "@distube/spotify": "^1.5.1", "@distube/ytdl-core": "^4.11.4", "ascii-table3": "^0.7.7", "discord.js": "^13.10.2",