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

discordblacklist

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discordblacklist - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

package.json
{
"name": "discordblacklist",
"version": "3.0.1",
"version": "3.0.2",
"description": "The Featured Nodejs package that facilitates getting banned Discord users from DiscordBans",

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

@@ -27,3 +27,3 @@ 'use strict';

if (!/^\d+$/.test(id)) Promise.reject(new Error('Discord User Snowflake ID must contain only numbers.'));
const options = option_store.get(this);
const options = Object.assign({}, option_store.get(this));
options.path += `?user_id=${id}`;

@@ -47,3 +47,3 @@ return new Promise((res, rej) => {

if (!/^\d+$/.test(id)) throw new Error('Discord User Snowflake ID must contain only numbers.');
return !!(await this.lookup(id)).banned;
return !!+(await this.lookup(id)).banned;
}

@@ -50,0 +50,0 @@ };

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