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.0.2 to 0.0.3

32

cbuffer.js

@@ -72,32 +72,2 @@ function CBuffer() {

var tmp = new CBuffer( 5 );
tmp.push( 1, 2, 3 );
console.log( tmp.data );
console.log( tmp.shift());
console.log( tmp.data );
tmp.push( 4, 5 );
console.log( tmp.data );
return;
tmp.push( 'happy', 'sad', 'other', 'and', 'what', 'is', 'this', 'test' )
console.log( tmp.pop() );
console.log( tmp.first() );
console.log( tmp.last() );
console.log( '==============' );
/* debug:start */
console.log( tmp.data );
/* debug:stop */
tmp.push( 'ugh' );
console.log( tmp.first() );
/* debug:start */
console.log( tmp.data );
/* debug:stop */
console.log( tmp.last() );
tmp.clear();
console.log( tmp.data );
this.CBuffer = CBuffer;

2

package.json
{
"name" : "CBuffer",
"version" : "0.0.2",
"version" : "0.0.3",
"description" : "Circular Buffer JavaScript implementation",

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

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