New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

indomitable

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

indomitable - npm Package Compare versions

Comparing version
3.0.1
to
3.0.2
+3
-3
dist/index.d.ts

@@ -350,3 +350,3 @@ import { ClientOptions, Client } from 'discord.js';

*/
on(event: 'debug', listener: (message: string, data?: unknown) => void): this;
on(event: 'debug', listener: (message: string) => void): this;
/**

@@ -407,3 +407,3 @@ * Emitted when an IPC message is received

on(event: 'raw', listener: (event: unknown) => void): this;
once(event: 'debug', listener: (message: string, data?: unknown) => void): this;
once(event: 'debug', listener: (message: string) => void): this;
once(event: 'message', listener: (message: Message | unknown) => void): this;

@@ -420,3 +420,3 @@ once(event: 'error', listener: (error: unknown) => void): this;

once(event: 'raw', listener: (event: unknown) => void): this;
off(event: 'debug', listener: (message: string, data?: unknown) => void): this;
off(event: 'debug', listener: (message: string) => void): this;
off(event: 'message', listener: (message: Message | unknown) => void): this;

@@ -423,0 +423,0 @@ off(event: 'error', listener: (error: unknown) => void): this;

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

if (!data.internal)
return this.manager.emit("message" /* MESSAGE */, data);
return;
switch (data.type) {

@@ -333,3 +333,3 @@ case "message" /* MESSAGE */:

this.shard.client.destroy();
message.reply({});
message.reply(null);
}

@@ -556,3 +556,3 @@ } catch (error) {

const content = message.content;
this.manager.emit("debug" /* DEBUG */, `Received internal message. op: ${content.op} | data: `, content.data);
this.manager.emit("debug" /* DEBUG */, `Received internal message. op: ${content.op} | data: ${JSON.stringify(content.data || {})}`);
switch (content.op) {

@@ -559,0 +559,0 @@ case "ready" /* READY */: {

@@ -180,3 +180,3 @@ var __defProp = Object.defineProperty;

if (!data.internal)
return this.manager.emit("message" /* MESSAGE */, data);
return;
switch (data.type) {

@@ -297,3 +297,3 @@ case "message" /* MESSAGE */:

this.shard.client.destroy();
message.reply({});
message.reply(null);
}

@@ -520,3 +520,3 @@ } catch (error) {

const content = message.content;
this.manager.emit("debug" /* DEBUG */, `Received internal message. op: ${content.op} | data: `, content.data);
this.manager.emit("debug" /* DEBUG */, `Received internal message. op: ${content.op} | data: ${JSON.stringify(content.data || {})}`);
switch (content.op) {

@@ -523,0 +523,0 @@ case "ready" /* READY */: {

{
"name": "indomitable",
"version": "3.0.1",
"version": "3.0.2",
"description": "A lightweight (the actual ship is heavy though), performant, powerful & no dependency sharder for Discord.JS",

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

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

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