sodium-native
Advanced tools
Comparing version 3.4.1 to 4.0.0
@@ -13,7 +13,7 @@ #!/usr/bin/env node | ||
const VERSION = '1.0.18' | ||
const VS = 'v141' | ||
const VS = 'v142' | ||
const MACOSX_DEPLOYMENT_TARGET = '10.10' | ||
const UNIX = `https://download.libsodium.org/libsodium/releases/libsodium-${VERSION}.tar.gz` | ||
const WIN = `https://download.libsodium.org/libsodium/releases/libsodium-${VERSION}-msvc.zip` | ||
const UNIX = `https://download.libsodium.org/libsodium/releases/libsodium-${VERSION}-stable.tar.gz` | ||
const WIN = `https://download.libsodium.org/libsodium/releases/libsodium-${VERSION}-stable-msvc.zip` | ||
@@ -116,3 +116,3 @@ const UNIX_OUT = path.join(__dirname, 'unix') | ||
await run(['./configure', '--prefix=' + TMP_OUT, '--enable-static', '--with-pic', '--disable-pie'], { cwd: SRC }) | ||
await run(['./configure', '--prefix=' + TMP_OUT, '--disable-pie'], { cwd: SRC }) | ||
await run(['make', 'clean'], { cwd: SRC }) | ||
@@ -134,3 +134,3 @@ await run(['make', 'install'], { cwd: SRC }) | ||
await rmf(SRC) | ||
await fs.rename(path.join(TMP_SRC, 'libsodium-' + VERSION), SRC) | ||
await fs.rename(path.join(TMP_SRC, 'libsodium-stable'), SRC) | ||
} | ||
@@ -137,0 +137,0 @@ |
@@ -1,3 +0,1 @@ | ||
var sodium = require('node-gyp-build')(__dirname) | ||
module.exports = sodium | ||
module.exports = require('node-gyp-build')(__dirname) |
{ | ||
"name": "sodium-native", | ||
"version": "3.4.1", | ||
"version": "4.0.0", | ||
"description": "Low level bindings for libsodium", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js", | ||
"deps/**", | ||
"modules/**", | ||
"binding.c", | ||
"binding.gyp", | ||
"macros.h", | ||
"prebuilds/**" | ||
], | ||
"dependencies": { | ||
@@ -24,2 +33,7 @@ "node-gyp-build": "^4.3.0" | ||
}, | ||
"standard": { | ||
"ignore": [ | ||
"/test/fixtures/*.js" | ||
] | ||
}, | ||
"repository": { | ||
@@ -26,0 +40,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
4587684
4
18
183
8