Comparing version 0.30.3 to 0.31.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
183938
+ Addednode-addon-api@7.1.1(transitive)
- Removednode-addon-api@5.1.0(transitive)
Updated@mapbox/node-pre-gyp@^1.0.11
Updatednode-addon-api@^7.0.0