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

discord.js

Package Overview
Dependencies
Maintainers
5
Versions
1796
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord.js - npm Package Compare versions

Comparing version 12.0.0 to 12.0.1

2

package.json
{
"name": "discord.js",
"version": "12.0.0",
"version": "12.0.1",
"description": "A powerful library for interacting with the Discord API",

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

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

? Number(data.verificationLevel)
: ExplicitContentFilterLevels.indexOf(data.verificationLevel);
: VerificationLevels.indexOf(data.verificationLevel);
}

@@ -907,0 +907,0 @@ if (typeof data.afkChannel !== 'undefined') {

'use strict';
const GuildMember = require('./GuildMember');
const Collection = require('../util/Collection');

@@ -177,2 +176,3 @@ const { ChannelTypes } = require('../util/Constants');

if (!ignoreEveryone && this.everyone) return true;
const GuildMember = require('./GuildMember');
if (!ignoreRoles && data instanceof GuildMember) {

@@ -179,0 +179,0 @@ for (const role of this.roles.values()) if (data.roles.cache.has(role.id)) return true;

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

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