Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sha

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

sha - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

12

index.js
'use strict'
var Transform = require('stream').Transform
var Transform = require('stream').Transform || require('readable-stream').Transform
var crypto = require('crypto')
var fs = require('graceful-fs');
try {
process.binding('crypto')
} catch (e) {
var er = new Error( 'crypto binding not found.\n'
+ 'Please build node with openssl.\n'
+ e.message )
throw er
}
var fs = require('graceful-fs')

@@ -15,0 +7,0 @@ exports.check = check

5

package.json
{
"name": "sha",
"version": "2.0.0",
"version": "2.0.1",
"description": "Check and get file hashes",

@@ -14,3 +14,4 @@ "scripts": {

"dependencies": {
"graceful-fs": "^4.1.2"
"graceful-fs": "^4.1.2",
"readable-stream": "^2.0.2"
},

@@ -17,0 +18,0 @@ "devDependencies": {

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