hash-stream-validation
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -11,3 +11,3 @@ 'use strict' | ||
var crypto = require('crypto') | ||
var through = require('through2') | ||
var { PassThrough } = require('stream') | ||
@@ -37,3 +37,6 @@ module.exports = function (cfg) { | ||
var validationStream = through(onData, onFlush) | ||
var validationStream = new PassThrough({ | ||
transform: onData, | ||
flush: onFlush | ||
}) | ||
@@ -40,0 +43,0 @@ validationStream.test = function (algo, sum) { |
{ | ||
"name": "hash-stream-validation", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Hash a stream of data, then validate", | ||
@@ -30,5 +30,2 @@ "main": "index.js", | ||
}, | ||
"dependencies": { | ||
"through2": "^2.0.0" | ||
}, | ||
"standard": { | ||
@@ -35,0 +32,0 @@ "global": [ |
0
111
9068
- Removedthrough2@^2.0.0
- Removedcore-util-is@1.0.3(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedxtend@4.0.2(transitive)