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

argon2

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argon2 - npm Package Compare versions

Comparing version 0.19.0 to 0.19.1

18

argon2.js

@@ -17,3 +17,2 @@ 'use strict'

type: types.argon2i,
raw: false,
version

@@ -67,13 +66,8 @@ })

})
}).then(hash => {
}).then(output => {
if (options.raw) {
return hash
return output.hash
}
const {
type, version, memoryCost: m, timeCost: t, parallelism: p, salt
} = options
return phc.serialize({
id: type2string[type], version, params: {m, t, p}, salt, hash
})
return phc.serialize(output)
})

@@ -114,5 +108,7 @@ }

}
return resolve(value)
return resolve(value.hash)
})
}).then(expected => expected.equals(hash))
}).then(expected => {
return expected.equals(hash)
})
}

@@ -119,0 +115,0 @@

{
"name": "argon2",
"version": "0.19.0",
"version": "0.19.1",
"description": "An Argon2 library for Node",

@@ -38,3 +38,3 @@ "main": "argon2.js",

"devDependencies": {
"@types/node": "^9.3.0",
"@types/node": "^10.0.3",
"mocha": "^5.1.1",

@@ -41,0 +41,0 @@ "sandra": "^0.3.0",

@@ -27,3 +27,2 @@ const assert = require('assert')

type: argon2.argon2i,
raw: false,
version: 0x13

@@ -30,0 +29,0 @@ }, defaults)

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