Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jericho-player

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jericho-player - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

2

package.json
{
"name": "jericho-player",
"version": "1.1.4",
"version": "1.1.5",
"description": "LightWeight Framework for discord.js v13 Music Bots and Radio Bots with fast moderation with commands and no memory leak mode",

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

@@ -298,14 +298,8 @@ const EventEmitter = require('events');

if (
!guildId
|| !(
guildId
&& guildId.id
&& (typeof guildId.id === typeof Guild.id
|| typeof guildId.id === 'string'
|| typeof guildId.id === 'number')
)
guildId
&& guildId.id
&& (typeof guildId.id === 'string' || typeof guildId.id === 'number')
) {
guildId = guildId.id;
}
if (
} else if (
!guildId

@@ -316,8 +310,2 @@ || !(guildId && (typeof guildId === 'string' || typeof guildId === 'number'))

}
if (
!guildId
|| !(guildId && (typeof guildId === 'string' || typeof guildId === 'number'))
) {
return void this.emit('error', 'Invalid Guild Id', this, guildId);
}
// Checks for Queue in Cache doesn't matter if its Connection was destroyed | Cache only fetch its Existence to avoid excess CPU load

@@ -337,10 +325,5 @@ if (Player.#QueueCacheFetch(guildId)) {

if (
!guildId
|| !(
guildId
&& guildId.id
&& (typeof guildId.id === typeof Guild.id
|| typeof guildId.id === 'string'
|| typeof guildId.id === 'number')
)
guildId
&& guildId.id
&& (typeof guildId.id === 'string' || typeof guildId.id === 'number')
) {

@@ -347,0 +330,0 @@ guildId = guildId.id;

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