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

CBuffer

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

CBuffer - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

cbuffer.js

@@ -24,6 +24,2 @@ (function(global) {

this.data = new Array(arguments[0]);
// force preallocation of memory to each array slot, for quicker operation on buffer
for (; i < arguments[0]; i++) {
this.data[i] = undefined;
}
this.end = (this.length = arguments[0]) - 1;

@@ -30,0 +26,0 @@ }

2

package.json
{
"name" : "CBuffer",
"version" : "0.1.0",
"version" : "0.1.1",
"description" : "Circular Buffer JavaScript implementation",

@@ -5,0 +5,0 @@ "homepage" : "http://github.com/trevnorris/cbuffer",

@@ -44,2 +44,3 @@ ## JavaScript [Circular Buffer](http://en.wikipedia.org/wiki/Circular_buffer) Utility

* empty()
* fill()
* first()

@@ -46,0 +47,0 @@ * last()

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