🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

distube

Package Overview
Dependencies
Maintainers
0
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

distube - npm Package Compare versions

Comparing version

to
5.0.3

dist/index.d.mts

26

dist/index.d.ts

@@ -339,2 +339,3 @@ import * as discord_js from 'discord.js';

FFMPEG_NOT_INSTALLED: (path: string) => string;
ENCRYPTION_LIBRARIES_MISSING: string;
NO_QUEUE: string;

@@ -349,2 +350,3 @@ QUEUE_EXIST: string;

NO_PLAYING_SONG: string;
NO_EXTRACTOR_PLUGIN: string;
NO_RELATED: string;

@@ -817,3 +819,3 @@ CANNOT_PLAY_RELATED: string;

* Create a {@link DisTubeVoice} instance
* @param channel - A voice chann el to join
* @param channel - A voice channel to join
*/

@@ -1019,2 +1021,10 @@ create(channel: VoiceBasedChannel): DisTubeVoice;

/**
* @returns `true` if the queue is playing
*/
isPlaying(): boolean;
/**
* @returns `true` if the queue is paused
*/
isPaused(): boolean;
/**
* Pause the guild stream

@@ -1092,3 +1102,3 @@ * @returns The guild queue

/**
* Play the queue
* Play the first song in the queue
* @param emitPlaySong - Whether or not emit {@link Events.PLAY_SONG} event

@@ -1232,4 +1242,4 @@ */

declare const isTruthy: <T>(x: T | Falsy) => x is T;
declare const checkEncryptionLibraries: () => boolean;
declare const version: string;
/**

@@ -1477,2 +1487,10 @@ * DisTube class

export { type Awaitable, BaseManager, type CustomPlaylistOptions, DisTube, DisTubeBase, DisTubeError, type DisTubeEvents, DisTubeHandler, type DisTubeOptions, type DisTubePlugin, DisTubeStream, DisTubeVoice, type DisTubeVoiceEvents, DisTubeVoiceManager, Events, ExtractorPlugin, type FFmpegArg, type FFmpegArgs, type FFmpegOptions, type Falsy, type Filter, FilterManager, type FilterResolvable, type Filters, GuildIdManager, type GuildIdResolvable, InfoExtractorPlugin, type KeyOf, Options, type PlayHandlerOptions, type PlayOptions, PlayableExtractorPlugin, Playlist, type PlaylistInfo, Plugin, PluginType, Queue, QueueManager, type RelatedSong, RepeatMode, type ResolveOptions, type ResolvePlaylistOptions, Song, type SongInfo, type StreamOptions, TaskQueue, type TypedDisTubeEvents, checkFFmpeg, checkIntents, checkInvalidKey, DisTube as default, defaultFilters, defaultOptions, formatDuration, isClientInstance, isGuildInstance, isMemberInstance, isMessageInstance, isNsfwChannel, isObject, isSnowflake, isSupportedVoiceChannel, isTextChannelInstance, isTruthy, isURL, isVoiceChannelEmpty, objectKeys, resolveGuildId, version };
/**
* The current version that you are currently using.
*
* Note to developers:
* This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
*/
declare const version: string;
export { type Awaitable, BaseManager, type CustomPlaylistOptions, DisTube, DisTubeBase, DisTubeError, type DisTubeEvents, DisTubeHandler, type DisTubeOptions, type DisTubePlugin, DisTubeStream, DisTubeVoice, type DisTubeVoiceEvents, DisTubeVoiceManager, Events, ExtractorPlugin, type FFmpegArg, type FFmpegArgs, type FFmpegOptions, type Falsy, type Filter, FilterManager, type FilterResolvable, type Filters, GuildIdManager, type GuildIdResolvable, InfoExtractorPlugin, type KeyOf, Options, type PlayHandlerOptions, type PlayOptions, PlayableExtractorPlugin, Playlist, type PlaylistInfo, Plugin, PluginType, Queue, QueueManager, type RelatedSong, RepeatMode, type ResolveOptions, type ResolvePlaylistOptions, Song, type SongInfo, type StreamOptions, TaskQueue, type TypedDisTubeEvents, checkEncryptionLibraries, checkFFmpeg, checkIntents, checkInvalidKey, DisTube as default, defaultFilters, defaultOptions, formatDuration, isClientInstance, isGuildInstance, isMemberInstance, isMessageInstance, isNsfwChannel, isObject, isSnowflake, isSupportedVoiceChannel, isTextChannelInstance, isTruthy, isURL, isVoiceChannelEmpty, objectKeys, resolveGuildId, version };

62

package.json
{
"name": "distube",
"version": "5.0.2",
"version": "5.0.3",
"description": "A powerful Discord.js module for simplifying music commands and effortless playback of various sources with integrated audio filters.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
}
},
"directories": {

@@ -41,28 +53,32 @@ "lib": "src",

"tiny-typed-emitter": "^2.1.0",
"undici": "^6.18.2"
"undici": "^6.20.1"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@discordjs/opus": "^0.9.0",
"@discordjs/voice": "^0.17.0",
"@types/node": "^20.14.2",
"@distube/youtube": "^1.0.4",
"@types/node": "^22.8.1",
"@types/tough-cookie": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@vitest/coverage-v8": "^1.6.0",
"discord.js": "^14.15.3",
"eslint": "^8.57.0",
"eslint-config-distube": "^1.7.0",
"husky": "^9.0.11",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/coverage-v8": "^2.1.3",
"discord-api-types": "^0.37.103",
"discord.js": "^14.16.3",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^8.57.1",
"eslint-config-distube": "^1.7.1",
"husky": "^9.1.6",
"nano-staged": "^0.8.0",
"prettier": "^3.3.2",
"sodium-native": "^4.1.1",
"prettier": "^3.3.3",
"sodium-native": "^4.2.2",
"ts-node": "^10.9.2",
"tsup": "^8.1.0",
"typedoc": "^0.25.13",
"typedoc-material-theme": "^1.0.2",
"typedoc-plugin-extras": "^3.0.0",
"typescript": "^5.4.5",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
"tsup": "^8.3.5",
"typedoc": "^0.26.10",
"typedoc-material-theme": "^1.1.0",
"typedoc-plugin-extras": "^3.1.0",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.3"
},

@@ -86,3 +102,3 @@ "peerDependencies": {

"scripts": {
"test": "VITE_CJS_IGNORE_WARNING=true vitest run",
"test": "vitest run",
"docs": "typedoc",

@@ -89,0 +105,0 @@ "lint": "prettier --check . && eslint .",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet