distube 3.0.4 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/DisTube.d.ts +98 -37
- package/dist/DisTube.d.ts.map +1 -1
- package/dist/DisTube.js +130 -84
- package/dist/DisTube.js.map +1 -1
- package/dist/constant.d.ts +12 -13
- package/dist/constant.d.ts.map +1 -1
- package/dist/constant.js +12 -13
- package/dist/constant.js.map +1 -1
- package/dist/core/DisTubeBase.d.ts +3 -4
- package/dist/core/DisTubeBase.d.ts.map +1 -1
- package/dist/core/DisTubeBase.js +1 -2
- package/dist/core/DisTubeBase.js.map +1 -1
- package/dist/core/DisTubeHandler.d.ts +37 -25
- package/dist/core/DisTubeHandler.d.ts.map +1 -1
- package/dist/core/DisTubeHandler.js +68 -59
- package/dist/core/DisTubeHandler.js.map +1 -1
- package/dist/core/DisTubeOptions.d.ts +1 -2
- package/dist/core/DisTubeOptions.d.ts.map +1 -1
- package/dist/core/DisTubeOptions.js +64 -58
- package/dist/core/DisTubeOptions.js.map +1 -1
- package/dist/core/DisTubeStream.d.ts +1 -1
- package/dist/core/DisTubeStream.d.ts.map +1 -1
- package/dist/core/DisTubeStream.js +0 -1
- package/dist/core/DisTubeStream.js.map +1 -1
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +2 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/manager/BaseManager.d.ts +8 -4
- package/dist/core/manager/BaseManager.d.ts.map +1 -1
- package/dist/core/manager/BaseManager.js +11 -13
- package/dist/core/manager/BaseManager.js.map +1 -1
- package/dist/core/manager/QueueManager.d.ts +11 -38
- package/dist/core/manager/QueueManager.d.ts.map +1 -1
- package/dist/core/manager/QueueManager.js +116 -129
- package/dist/core/manager/QueueManager.js.map +1 -1
- package/dist/core/voice/DisTubeVoice.d.ts +10 -13
- package/dist/core/voice/DisTubeVoice.d.ts.map +1 -1
- package/dist/core/voice/DisTubeVoice.js +37 -29
- package/dist/core/voice/DisTubeVoice.js.map +1 -1
- package/dist/core/voice/DisTubeVoiceManager.d.ts +6 -6
- package/dist/core/voice/DisTubeVoiceManager.d.ts.map +1 -1
- package/dist/core/voice/DisTubeVoiceManager.js +3 -3
- package/dist/core/voice/DisTubeVoiceManager.js.map +1 -1
- package/dist/plugin/http.d.ts +5 -3
- package/dist/plugin/http.d.ts.map +1 -1
- package/dist/plugin/http.js +3 -5
- package/dist/plugin/http.js.map +1 -1
- package/dist/plugin/https.d.ts +10 -5
- package/dist/plugin/https.d.ts.map +1 -1
- package/dist/plugin/https.js +5 -8
- package/dist/plugin/https.js.map +1 -1
- package/dist/plugin/youtube-dl.d.ts +5 -4
- package/dist/plugin/youtube-dl.d.ts.map +1 -1
- package/dist/plugin/youtube-dl.js +7 -11
- package/dist/plugin/youtube-dl.js.map +1 -1
- package/dist/struct/CustomPlugin.d.ts +37 -17
- package/dist/struct/CustomPlugin.d.ts.map +1 -1
- package/dist/struct/CustomPlugin.js +18 -19
- package/dist/struct/CustomPlugin.js.map +1 -1
- package/dist/struct/DisTubeError.d.ts +4 -2
- package/dist/struct/DisTubeError.d.ts.map +1 -1
- package/dist/struct/DisTubeError.js +4 -3
- package/dist/struct/DisTubeError.js.map +1 -1
- package/dist/struct/ExtractorPlugin.d.ts +25 -15
- package/dist/struct/ExtractorPlugin.d.ts.map +1 -1
- package/dist/struct/ExtractorPlugin.js +14 -16
- package/dist/struct/ExtractorPlugin.js.map +1 -1
- package/dist/struct/Playlist.d.ts +24 -8
- package/dist/struct/Playlist.d.ts.map +1 -1
- package/dist/struct/Playlist.js +24 -8
- package/dist/struct/Playlist.js.map +1 -1
- package/dist/struct/Plugin.d.ts +4 -12
- package/dist/struct/Plugin.d.ts.map +1 -1
- package/dist/struct/Plugin.js +1 -11
- package/dist/struct/Plugin.js.map +1 -1
- package/dist/struct/Queue.d.ts +6 -7
- package/dist/struct/Queue.d.ts.map +1 -1
- package/dist/struct/Queue.js +2 -3
- package/dist/struct/Queue.js.map +1 -1
- package/dist/struct/SearchResult.d.ts +0 -1
- package/dist/struct/SearchResult.d.ts.map +1 -1
- package/dist/struct/SearchResult.js +0 -1
- package/dist/struct/SearchResult.js.map +1 -1
- package/dist/struct/Song.d.ts +26 -10
- package/dist/struct/Song.d.ts.map +1 -1
- package/dist/struct/Song.js +39 -27
- package/dist/struct/Song.js.map +1 -1
- package/dist/struct/TaskQueue.d.ts +1 -6
- package/dist/struct/TaskQueue.d.ts.map +1 -1
- package/dist/struct/TaskQueue.js +13 -6
- package/dist/struct/TaskQueue.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/type.d.ts +12 -12
- package/dist/type.d.ts.map +1 -1
- package/dist/type.js.map +1 -1
- package/dist/util.d.ts +6 -4
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +27 -2
- package/dist/util.js.map +1 -1
- package/package.json +26 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "distube",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "A Discord.js module to simplify your music commands and play songs with audio filters on Discord without any API key. Support YouTube, SoundCloud, Bandcamp, Facebook, and 700+ more sites",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -46,42 +46,48 @@
|
|
|
46
46
|
"homepage": "https://distube.js.org/",
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@distube/youtube-dl": "^2.2.4",
|
|
49
|
-
"@distube/ytdl-core": "^4.9.
|
|
49
|
+
"@distube/ytdl-core": "^4.9.4",
|
|
50
50
|
"@distube/ytpl": "^1.1.1",
|
|
51
51
|
"@distube/ytsr": "^1.1.5",
|
|
52
52
|
"prism-media": "https://codeload.github.com/distubejs/prism-media/tar.gz/main",
|
|
53
53
|
"tiny-typed-emitter": "^2.1.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/core": "^7.16.
|
|
57
|
-
"@babel/plugin-proposal-class-properties": "^7.16.
|
|
58
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.16.
|
|
59
|
-
"@babel/preset-env": "^7.16.
|
|
60
|
-
"@babel/preset-typescript": "^7.16.
|
|
61
|
-
"@commitlint/cli": "^
|
|
62
|
-
"@commitlint/config-conventional": "^
|
|
63
|
-
"@discordjs/voice": "^0.7.
|
|
56
|
+
"@babel/core": "^7.16.7",
|
|
57
|
+
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
58
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
|
|
59
|
+
"@babel/preset-env": "^7.16.8",
|
|
60
|
+
"@babel/preset-typescript": "^7.16.7",
|
|
61
|
+
"@commitlint/cli": "^16.0.2",
|
|
62
|
+
"@commitlint/config-conventional": "^16.0.0",
|
|
63
|
+
"@discordjs/voice": "^0.7.5",
|
|
64
64
|
"@distube/docgen": "github:distubejs/docgen",
|
|
65
|
-
"@types/jest": "^27.0
|
|
65
|
+
"@types/jest": "^27.4.0",
|
|
66
66
|
"@types/node": "^16.11.7",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"eslint
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
|
68
|
+
"babel-jest": "^27.4.6",
|
|
69
|
+
"discord.js": "^13.5.1",
|
|
70
|
+
"eslint": "^8.6.0",
|
|
71
|
+
"eslint-config-distube": "^1.6.3",
|
|
71
72
|
"husky": "^7.0.4",
|
|
72
|
-
"jest": "^27.
|
|
73
|
+
"jest": "^27.4.7",
|
|
73
74
|
"jsdoc-babel": "^0.5.0",
|
|
74
|
-
"lint-staged": "^
|
|
75
|
-
"npm-check-updates": "^12.0
|
|
75
|
+
"lint-staged": "^12.1.7",
|
|
76
|
+
"npm-check-updates": "^12.1.0",
|
|
76
77
|
"pinst": "^2.1.6",
|
|
77
|
-
"prettier": "^2.
|
|
78
|
-
"typescript": "^4.
|
|
78
|
+
"prettier": "^2.5.1",
|
|
79
|
+
"typescript": "^4.5.4"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
82
|
"@discordjs/opus": "*",
|
|
82
83
|
"@discordjs/voice": ">=0.5.6",
|
|
83
84
|
"discord.js": "^12.5.0||13.x"
|
|
84
85
|
},
|
|
86
|
+
"peerDependenciesMeta": {
|
|
87
|
+
"@discordjs/opus": {
|
|
88
|
+
"optional": true
|
|
89
|
+
}
|
|
90
|
+
},
|
|
85
91
|
"engines": {
|
|
86
92
|
"node": ">=12.0.0"
|
|
87
93
|
}
|