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

md5-file

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

md5-file - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

2

package.json

@@ -11,3 +11,3 @@ {

],
"version": "3.0.1",
"version": "3.1.0",
"description": "return an md5sum of a given file",

@@ -14,0 +14,0 @@ "keywords": [

@@ -6,2 +6,3 @@ /* eslint-env mocha */

var md5File = require('./')
var md5FileAsPromised = require('./promise')
var assert = require('assert')

@@ -59,2 +60,10 @@

})
if (typeof Promise !== 'undefined') {
it('provides a Promise based api', function () {
return md5FileAsPromised(filename).then(function (hash) {
assert.equal(hash, preCheckedSum)
})
})
}
})
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