You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

nodejs-linked-list

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejs-linked-list - npm Package Compare versions

Comparing version

to
0.1.1

14

index.js

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

this.length++;
this.length += 1;

@@ -108,3 +108,3 @@ return newItem;

this.length--;
this.length -= 1;

@@ -151,2 +151,7 @@ return true;

function drainer(array, countObj, content) {
array[countObj.count] = content;
countObj.count += 1;
}
List.prototype.drain = function () {

@@ -213,7 +218,2 @@ var result = [],

function drainer(array, countObj, content) {
array[countObj.count] = content;
countObj.count++;
}
module.exports = List;

@@ -5,3 +5,3 @@ {

"authors": "Dexter Nguyen",
"version": "0.1.0",
"version": "0.1.1",
"main": "index.js",

@@ -21,2 +21,2 @@ "repository": {

]
}
}