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.30.3 to 0.31.0

argon2_node.cpp

10

argon2.d.ts

@@ -5,2 +5,6 @@ // Type definitions for argon2 v0.19.2

export const argon2d: 0;
export const argon2i: 1;
export const argon2id: 2;
export interface Options {

@@ -11,3 +15,3 @@ hashLength?: number;

parallelism?: number;
type?: 0 | 1 | 2;
type?: typeof argon2d | typeof argon2i | typeof argon2id;
version?: number;

@@ -33,6 +37,2 @@ salt?: Buffer;

export const argon2d: 0;
export const argon2i: 1;
export const argon2id: 2;
export const defaults: Options;

@@ -39,0 +39,0 @@ export const limits: OptionLimits;

{
"name": "argon2",
"version": "0.30.3",
"version": "0.31.0",
"description": "An Argon2 library for Node",
"main": "argon2.js",
"files": [
"argon2.cpp",
"argon2_node.cpp",
"argon2.d.ts",

@@ -49,13 +49,13 @@ "binding.gyp",

"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.10",
"@mapbox/node-pre-gyp": "^1.0.11",
"@phc/format": "^1.0.0",
"node-addon-api": "^5.0.0"
"node-addon-api": "^7.0.0"
},
"devDependencies": {
"@types/node": "^18.11.18",
"c8": "^7.12.0",
"@types/node": "^20.4.6",
"c8": "^8.0.1",
"mocha": "^10.2.0",
"node-gyp": "^9.3.1",
"prettier": "^2.8.1",
"typescript": "^4.9.4"
"node-gyp": "^9.4.0",
"prettier": "^3.0.0",
"typescript": "^5.1.6"
},

@@ -65,4 +65,4 @@ "binary": {

"module_path": "./lib/binding/napi-v{napi_build_version}",
"host": "https://github.com",
"remote_path": "./ranisalt/node-argon2/releases/download/v{version}",
"host": "https://github.com/ranisalt/node-argon2/releases/download/",
"remote_path": "v{version}",
"package_name": "{module_name}-v{version}-napi-v{napi_build_version}-{platform}-{arch}-{libc}.tar.gz",

@@ -69,0 +69,0 @@ "napi_versions": [

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