🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

circular-buffer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

circular-buffer - npm Package Compare versions

Comparing version

to
0.0.6

9

index.js

@@ -14,8 +14,7 @@ function CircularBuffer(capacity){

throw new TypeError("Invalid capacity");
this._buffer=new Array(capacity);
this._capacity=capacity;
this._first=0;
this._size=0;
}
this._buffer=new Array(capacity);
this._capacity=capacity;
this._first=0;
this._size=0;
}

@@ -22,0 +21,0 @@

{
"name": "circular-buffer",
"version": "0.0.5",
"version": "0.0.6",
"description": "A NodeJS simple circular buffer implementation supporting indexing ",

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