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

discord.js

Package Overview
Dependencies
Maintainers
1
Versions
1725
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 2.6.3 to 2.6.4

26

lib/list.js

@@ -159,7 +159,7 @@ /**

var results = [];
value = change(value);
value = change( value );
for ( index in this.contents ) {
var child = this.contents[ index ];
if ( change(child[ key ]) == value ) {
if ( change( child[ key ] ) == value ) {
if ( onlyOne ) {

@@ -173,4 +173,4 @@ return child;

function change(val){
if(caseInsen){
function change( val ) {
if ( caseInsen ) {
val = val.toUpperCase();

@@ -185,3 +185,6 @@ }

return results;
var retList = new List( this.discriminator );
retList.contents = results;
return retList;
}

@@ -192,3 +195,3 @@

var results = [];
value = change(value);
value = change( value );

@@ -203,3 +206,3 @@ for ( index in this.contents ) {

if ( change(buffer) == value ) {
if ( change( buffer ) == value ) {
if ( onlyOne ) {

@@ -213,4 +216,4 @@ return child;

function change(val){
if(caseInsen){
function change( val ) {
if ( caseInsen ) {
val = val.toUpperCase();

@@ -224,4 +227,7 @@ }

}
var retList = new List( this.discriminator );
retList.contents = results;
return results;
return retList;
}
{
"name": "discord.js",
"version": "2.6.3",
"version": "2.6.4",
"description": "A way to interface with the Discord API",

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

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