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

MD5

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

MD5 - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

3

md5.js

@@ -11,2 +11,5 @@ (function(){

message = utf8.stringToBytes(message);
else if (typeof Buffer != 'undefined' &&
typeof Buffer.isBuffer == 'function' && Buffer.isBuffer(message))
message = Array.prototype.slice.call(message, 0);
else if (!Array.isArray(message))

@@ -13,0 +16,0 @@ message = message.toString();

2

package.json

@@ -12,3 +12,3 @@ {

],
"version": "1.0.3",
"version": "1.1.0",
"repository": {

@@ -15,0 +15,0 @@ "type": "git",

@@ -36,3 +36,3 @@ # MD5

```
```javascript
"78e731027d8fd50ed642340b7c9a63b3"

@@ -39,0 +39,0 @@ ```

@@ -18,2 +18,8 @@ var md5 = require('./md5.js');

});
it('should support Node.js Buffers', function() {
var buffer = new Buffer('message áßäöü', 'utf8');
assert.equal(md5(buffer), md5('message áßäöü'));
})
});
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