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.31.2 to 0.40.0-alpha.1

argon2.mjs

91

package.json
{
"name": "argon2",
"version": "0.31.2",
"version": "0.40.0-alpha.1",
"description": "An Argon2 library for Node",
"main": "argon2.js",
"keywords": [
"argon2",
"crypto",
"encryption",
"hashing",
"password"
],
"homepage": "https://github.com/ranisalt/node-argon2#readme",
"bugs": {
"url": "https://github.com/ranisalt/node-argon2/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/ranisalt/node-argon2.git"
},
"license": "MIT",
"author": "Ranieri Althoff <ranisalt+argon2@gmail.com>",
"type": "module",
"main": "argon2.mjs",
"types": "argon2.d.ts",
"files": [
"argon2_node.cpp",
"argon2.d.ts",
"argon2.d.ts.map",
"binding.gyp",

@@ -22,60 +42,33 @@ "argon2/CHANGELOG.md",

"argon2/src/thread.c",
"argon2/src/thread.h"
"argon2/src/thread.h",
"prebuilds/**/*.node"
],
"types": "argon2.d.ts",
"binary": {
"napi_versions": [
8
]
},
"scripts": {
"install": "node-pre-gyp install --fallback-to-build",
"format": "prettier --write \"**/*.{js,json,ts}\"",
"test": "c8 mocha --timeout 5000 test/test.js",
"test:ts": "tsc -p . && node test/test-d.js"
"build": "prebuildify --napi --strip --tag-armv --tag-libc",
"format": "prettier --write \"*.{json,mjs}\"",
"install": "node-gyp-build",
"prepack": "yarn prepare",
"prepare": "tsc",
"test": "node --test test.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/ranisalt/node-argon2.git"
},
"keywords": [
"argon2",
"crypto",
"encryption",
"hashing",
"password"
],
"author": "Ranieri Althoff <ranisalt+argon2@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ranisalt/node-argon2/issues"
},
"homepage": "https://github.com/ranisalt/node-argon2#readme",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11",
"@phc/format": "^1.0.0",
"node-addon-api": "^7.0.0"
"node-addon-api": "^7.0.0",
"node-gyp-build": "^4.7.1"
},
"devDependencies": {
"@types/node": "^20.8.10",
"c8": "^8.0.1",
"mocha": "^10.2.0",
"@types/node": "^20.10.5",
"node-gyp": "^10.0.1",
"prettier": "^3.0.0",
"typescript": "^5.1.6"
"prebuildify": "^5.0.1",
"prettier": "^3.1.1",
"typescript": "^5.3.3"
},
"binary": {
"module_name": "argon2",
"module_path": "./lib/binding/napi-v{napi_build_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",
"napi_versions": [
3
]
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.17.0"
},
"standard": {
"env": "mocha",
"ignore": [
"test/test-d.js"
]
},
"collective": {

@@ -82,0 +75,0 @@ "type": "opencollective",

@@ -6,4 +6,2 @@ # node-argon2

[![NPM package][npm-image]][npm-url]
[![Coverage status][coverage-image]][coverage-url]
[![Code Quality][codequality-image]][codequality-url]

@@ -72,4 +70,4 @@ Bindings to the reference [Argon2](https://github.com/P-H-C/phc-winner-argon2)

- Windows Server 2019 (x86-64)
- Alpine Linux 3.13 (x86-64 from v0.28.1; ARM64 from v0.28.2)
- FreeBSD 13.1 (x86-64 from v0.29.1)
- Alpine Linux 3.18 (x86-64 from v0.28.1; ARM64 from v0.28.2)
- FreeBSD 14 (x86-64 from v0.29.1)

@@ -91,3 +89,3 @@ Binaries should also work for any version more recent than the ones listed

**node-argon2** works only and is tested against Node >=14.0.0.
**node-argon2** works only and is tested against Node >=18.0.0.

@@ -155,3 +153,3 @@ ### OSX

</summary>
This seems to be an issue related to snap (see [#345 (comment)](https://github.com/ranisalt/node-argon2/issues/345#issuecomment-1164178674)). Installing Node with another package manager, such as [asdf](https://asdf-vm.com/) or [nvm](https://github.com/nvm-sh/nvm), is a possible workaround.

@@ -219,5 +217,1 @@ </details>

[actions-url]: https://github.com/ranisalt/node-argon2/actions
[coverage-image]: https://img.shields.io/codacy/coverage/3aa6daee00154e1492660ecb2f788f73/master.svg?style=flat-square
[coverage-url]: https://app.codacy.com/gh/ranisalt/node-argon2
[codequality-image]: https://img.shields.io/codacy/grade/3aa6daee00154e1492660ecb2f788f73/master.svg?style=flat-square
[codequality-url]: https://app.codacy.com/gh/ranisalt/node-argon2

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