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

sodium-native

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sodium-native - npm Package Compare versions

Comparing version 3.4.1 to 4.0.0

prebuilds/linux-arm64/node.napi.musl.node

10

deps/bin.js

@@ -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

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