Socket
Socket
Sign inDemoInstall

scrypt

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrypt - npm Package Compare versions

Comparing version 5.3.0 to 5.4.0

scrypt/scrypt-1.2.0/.deps/scrypt-main.Po

4

changelog.md

@@ -5,2 +5,6 @@ # Change Log

## [5.4.0] - 2015-10-09
### Fixed
- Check for empty buffer (see #97)
## [5.3.0] - 2015-10-08

@@ -7,0 +11,0 @@ ### Added

@@ -161,2 +161,9 @@ "use strict";

}
// Check resulting buffer is not empty
if (!args[0].length) {
var error = new Error("Input key is empty");
error.propertyValue = args[0];
throw error;
}

@@ -187,2 +194,9 @@ //

// Check resulting buffer is not empty
if (!args[0].length) {
var error = new Error("Input KDF is empty");
error.propertyValue = args[0];
throw error;
}
//

@@ -201,2 +215,9 @@ // Check Key

// Check resulting key is not empty
if (!args[1].length) {
var error = new Error("Input key is empty");
error.propertyValue = args[1];
throw error;
}
return args;

@@ -203,0 +224,0 @@ }

2

package.json
{
"name": "scrypt",
"description": "The scrypt crypto library for NodeJS",
"version": "5.3.0",
"version": "5.4.0",
"license": "zlib",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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