New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-player-deezer

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-player-deezer - npm Package Compare versions

Comparing version 2.2.1-dev.1 to 2.2.1-dev.2

1

dist/index.d.ts

@@ -33,2 +33,3 @@ import { Track, ExtractorStreamable, BaseExtractor, SearchQueryType, ExtractorSearchContext, Playlist as Playlist$1, ExtractorInfo, Player } from 'discord-player';

activate(): Promise<void>;
deactivate(): Promise<void>;
validate(query: string, type: SearchQueryType & "deezer"): Promise<boolean>;

@@ -35,0 +36,0 @@ buildPlaylistData(data: Playlist, handleContext: ExtractorSearchContext): Playlist$1;

@@ -210,2 +210,3 @@ "use strict";

async activate() {
this.protocols = ["deezer"];
if (!this.options.decryptionKey) process.emitWarning(Warnings.MissingDecryption);

@@ -231,2 +232,5 @@ else {

}
async deactivate() {
this.protocols = [];
}
async validate(query, type) {

@@ -233,0 +237,0 @@ return validate(query) || type === "deezer";

4

package.json
{
"name": "discord-player-deezer",
"version": "2.2.1-dev.1",
"version": "2.2.1-dev.2",
"description": "A custom extractor made for discord-player that enables you to extract from Deezer.",

@@ -30,3 +30,3 @@ "main": "dist/index.js",

"type": "git",
"url": "https://github.com/retrouser955/discord-player-deezer/"
"url": "git+https://github.com/retrouser955/discord-player-deezer.git"
},

@@ -33,0 +33,0 @@ "bugs": {

@@ -37,2 +37,3 @@ import { BaseExtractor, ExtractorSearchContext, ExtractorStreamable, Track, Playlist, Util as DPUtil, ExtractorInfo, SearchQueryType } from "discord-player"

async activate(): Promise<void> {
this.protocols = ["deezer"]
if(!this.options.decryptionKey) process.emitWarning(Warnings.MissingDecryption)

@@ -66,2 +67,6 @@ else {

async deactivate() {
this.protocols = []
}
async validate(query: string, type: SearchQueryType & "deezer"): Promise<boolean> {

@@ -68,0 +73,0 @@ return validate(query) || type === "deezer"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc