Socket
Socket
Sign inDemoInstall

chunkit

Package Overview
Dependencies
1
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

8

index.js

@@ -132,5 +132,3 @@ var EventEmitter = require('events').EventEmitter,

}
console.log('Index: ', this.stats.chunks);
newChunk.index = this.stats.chunks + 1;
this.stats.chunks++;
newChunk.index = this.stats.chunks++;
newChunks.push(newChunk);

@@ -144,4 +142,3 @@ }

this.buffer = this.buffer.slice(this.options.bytes);
newChunk.index = this.stats.chunks + 1;
this.stats.chunks + 1
newChunk.index = this.stats.chunks++;
newChunk.last = true;

@@ -152,3 +149,2 @@ newChunks.push(newChunk);

async.eachSeries(newChunks, function (chunk, next) {
console.log('chunk', chunk.data);
if (!chunk) return next();

@@ -155,0 +151,0 @@ self.cb && self.cb(null, chunk);

@@ -9,3 +9,3 @@ {

"description": "A simple and lightweight interface for chunking stream data in NodeJS",
"version": "0.0.3",
"version": "0.0.4",
"keywords": [

@@ -12,0 +12,0 @@ "chunk stream",

@@ -91,3 +91,3 @@ # Chunk It

* v0.0.3 (2014-04-03) -- Fixed a critical issue.
* v0.0.4 (2014-04-03) -- Fixed a critical issue.
* v0.0.2 (2014-04-03) -- Added new examples and features.

@@ -94,0 +94,0 @@ * v0.0.1 (2014-04-03) -- Initial release.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc