Comparing version 6.3.0 to 6.3.1
{ | ||
"name": "nyks", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "nodejs exupery style", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -10,2 +10,3 @@ "use strict"; | ||
let size = 0; | ||
let stream = new Transform({ | ||
@@ -15,2 +16,3 @@ | ||
hash.update(chunk); | ||
size += chunk.length; | ||
callback(null, chunk); | ||
@@ -21,3 +23,5 @@ } | ||
stream.digest = function(encode) { | ||
return hash.digest(encode); | ||
let ret = hash.digest(encode); | ||
ret.size = size; | ||
return ret; | ||
}; | ||
@@ -24,0 +28,0 @@ |
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
71764
1922