5.3.8 - Офф фикс модуля

This commit is contained in:
JonnyBro 2022-10-31 13:15:32 +05:00
parent 8ddc8b9491
commit fd5c3034f9
5 changed files with 8 additions and 16 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "discord-player-play-dl", "name": "discord-player-play-dl",
"version": "5.3.7", "version": "5.3.8",
"description": "Complete framework to facilitate music commands using discord.js and play-dl", "description": "Complete framework to facilitate music commands using discord.js and play-dl",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
@ -62,8 +62,7 @@
"dependencies": { "dependencies": {
"@discordjs/voice": "^0.11.0", "@discordjs/voice": "^0.11.0",
"libsodium-wrappers": "^0.7.10", "libsodium-wrappers": "^0.7.10",
"play-dl": "^1.9.5", "play-dl": "^1.9.6",
"play-dl2": "^1.9.6",
"spotify-url-info": "^3.1.2", "spotify-url-info": "^3.1.2",
"tiny-typed-emitter": "^2.1.0", "tiny-typed-emitter": "^2.1.0",
"tslib": "^2.4.0" "tslib": "^2.4.0"

View file

@ -4,7 +4,7 @@ import { Queue } from "./Structures/Queue";
import { VoiceUtils } from "./VoiceInterface/VoiceUtils"; import { VoiceUtils } from "./VoiceInterface/VoiceUtils";
import { PlayerEvents, PlayerOptions, QueryType, SearchOptions, PlayerInitOptions, PlayerSearchResult, PlaylistInitData } from "./types/types"; import { PlayerEvents, PlayerOptions, QueryType, SearchOptions, PlayerInitOptions, PlayerSearchResult, PlaylistInitData } from "./types/types";
import Track from "./Structures/Track"; import Track from "./Structures/Track";
import play, { SoundCloudPlaylist, YouTubePlayList } from "play-dl2"; import play, { SoundCloudPlaylist, YouTubePlayList } from "play-dl";
import Spotify from "spotify-url-info"; import Spotify from "spotify-url-info";
import { QueryResolver } from "./utils/QueryResolver"; import { QueryResolver } from "./utils/QueryResolver";
import { Util } from "./utils/Util"; import { Util } from "./utils/Util";

View file

@ -4,7 +4,7 @@ import { StreamDispatcher } from "../VoiceInterface/StreamDispatcher";
import Track from "./Track"; import Track from "./Track";
import { PlayerOptions, PlayerProgressbarOptions, PlayOptions, QueueFilters, QueueRepeatMode, TrackSource } from "../types/types"; import { PlayerOptions, PlayerProgressbarOptions, PlayOptions, QueueFilters, QueueRepeatMode, TrackSource } from "../types/types";
import { AudioResource, StreamType } from "@discordjs/voice"; import { AudioResource, StreamType } from "@discordjs/voice";
import play from "play-dl2"; import play from "play-dl";
import { Util } from "../utils/Util"; import { Util } from "../utils/Util";
import AudioFilters from "../utils/AudioFilters"; import AudioFilters from "../utils/AudioFilters";
import { PlayerError, ErrorStatusCode } from "./PlayerError"; import { PlayerError, ErrorStatusCode } from "./PlayerError";

View file

@ -1,5 +1,5 @@
import { QueryType } from "../types/types"; import { QueryType } from "../types/types";
import play from "play-dl2"; import play from "play-dl";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// scary things below *sigh* // scary things below *sigh*

View file

@ -1137,16 +1137,9 @@
"resolved" "https://registry.npmjs.org/play-audio/-/play-audio-0.5.2.tgz" "resolved" "https://registry.npmjs.org/play-audio/-/play-audio-0.5.2.tgz"
"version" "0.5.2" "version" "0.5.2"
"play-dl@^1.9.5": "play-dl@^1.9.6":
"integrity" "sha512-tfjBgpU6AD63snK6sXiSuAOi+3iLsqVvsFcvCritOetF/zIo2OcB4BURX+WaQLUmEX3sUJhzP/vqG8SSl7WEpA==" "integrity" "sha512-JW44bQbME9fNfGhGXQ/rdcsHr4BfgJabVlSgpS9QY/NscfprFH1asv+q9atrZThP3+hHIpgtFNABccg9rFWlwg=="
"resolved" "https://registry.npmjs.org/play-dl/-/play-dl-1.9.5.tgz" "resolved" "https://registry.npmjs.org/play-dl/-/play-dl-1.9.6.tgz"
"version" "1.9.5"
dependencies:
"play-audio" "^0.5.2"
"play-dl2@^1.9.6":
"integrity" "sha512-CLx1K5+rIeGFO15OyDD05Uncc7EipLrO2JhbW4+IvopEQUb1z+Cg9ojSp7aVzQUhq/ZHlEnB6G1a+G0gBxT3HQ=="
"resolved" "https://registry.npmjs.org/play-dl2/-/play-dl2-1.9.6.tgz"
"version" "1.9.6" "version" "1.9.6"
dependencies: dependencies:
"play-audio" "^0.5.2" "play-audio" "^0.5.2"