Socket
Socket
Sign inDemoInstall

hash-stream-validation

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

2

index.js

@@ -23,3 +23,3 @@ 'use strict'

var onData = function (chunk, enc, done) {
if (crc32c) hashes.crc32c = crc.calculate(chunk, hashes.crc32c)
if (crc32c) hashes.crc32c = crc.calculate(chunk, hashes.crc32c || 0)
if (md5) hashes.md5.update(chunk)

@@ -26,0 +26,0 @@

{
"name": "hash-stream-validation",
"version": "0.2.1",
"version": "0.2.2",
"description": "Hash a stream of data, then validate",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -61,2 +61,2 @@ # hash-stream-validation

The sum to validate.
The base64-encoded sum to validate.
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