stream-chunker
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "stream-chunker", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A transform stream which chunks incoming data into chunkSize byte chunks", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,3 +10,3 @@ var Chunker = require('../index.js'); | ||
function check(data) { | ||
t.equals(data.toString('utf8'), '1234'); | ||
t.equals(data.toString('utf8'), '1234', 'Received only full chunks'); | ||
} | ||
@@ -23,3 +23,3 @@ var chunker = Chunker(4); | ||
function checkFlush(data) { | ||
t.equals(data.toString('utf8'), '123456'); | ||
t.equals(data.toString('utf8'), '123456', 'Received flush data'); | ||
} | ||
@@ -26,0 +26,0 @@ var chunkerFlush = Chunker(4, true); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7501