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.2 to 2.3.0

2

dist/index.d.ts

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

declare function getCrypto(): Promise<typeof crypto>;
declare function isUrl(query: string): Promise<boolean>;
declare function isUrl(query: string): boolean;
declare function search(query: string, limit?: number): Promise<DeezerSearchTrackResponse>;

@@ -46,0 +46,0 @@ type ArrayOrObject<T> = T | T[];

@@ -64,3 +64,3 @@ "use strict";

}
async function isUrl(query) {
function isUrl(query) {
try {

@@ -67,0 +67,0 @@ new URL(query);

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

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -19,3 +19,3 @@ import { type Player, Track, Util } from "discord-player";

export async function isUrl(query: string) {
export function isUrl(query: string) {
try {

@@ -22,0 +22,0 @@ /* tslint:disable-next-line no-unused-expression */

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