Socket
Socket
Sign inDemoInstall

hash-base

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hash-base - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

2

index.js

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

if (this._finalized) throw new Error('Digest already called')
if (!Buffer.isBuffer(data)) data = new Buffer(data, encoding || 'binary')
if (!Buffer.isBuffer(data)) data = new Buffer(data, encoding)

@@ -47,0 +47,0 @@ // consume data

{
"name": "hash-base",
"version": "2.0.2",
"version": "3.0.0",
"description": "abstract base class for hash-streams",

@@ -34,5 +34,5 @@ "keywords": [

"nyc": "^6.1.1",
"standard": "^6.0.8",
"standard": "^7.0.0",
"tape": "^4.2.0"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc