sodium-native
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -10,2 +10,3 @@ cmake_minimum_required(VERSION 3.25) | ||
include(bare) | ||
include(napi) | ||
@@ -395,6 +396,6 @@ bare_target(target) | ||
add_bare_module(sodium_native) | ||
add_bare_module(sodium_native_bare) | ||
target_sources( | ||
${sodium_native} | ||
${sodium_native_bare} | ||
PRIVATE | ||
@@ -412,5 +413,26 @@ binding.c | ||
target_link_libraries( | ||
${sodium_native} | ||
${sodium_native_bare} | ||
PUBLIC | ||
sodium | ||
) | ||
add_napi_module(sodium_native_node) | ||
target_sources( | ||
${sodium_native_node} | ||
PRIVATE | ||
binding.c | ||
macros.h | ||
extensions/tweak/tweak.c | ||
extensions/tweak/tweak.h | ||
extensions/pbkdf2/pbkdf2.c | ||
extensions/pbkdf2/pbkdf2.h | ||
PUBLIC | ||
$<TARGET_OBJECTS:sodium> | ||
) | ||
target_link_libraries( | ||
${sodium_native_node} | ||
PUBLIC | ||
sodium | ||
) |
{ | ||
"name": "sodium-native", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Low level bindings for libsodium", | ||
@@ -9,3 +9,2 @@ "main": "index.js", | ||
"binding.c", | ||
"binding.gyp", | ||
"macros.h", | ||
@@ -16,3 +15,2 @@ "extensions", | ||
"CMakeLists.txt", | ||
"vendor/libsodium.gyp", | ||
"vendor/libsodium/src/**/*.c", | ||
@@ -29,11 +27,6 @@ "vendor/libsodium/src/**/*.h", | ||
"brittle": "^3.5.0", | ||
"prebuildify": "^6.0.0", | ||
"standard": "^17.1.0" | ||
}, | ||
"scripts": { | ||
"dev": "node-gyp rebuild", | ||
"test": "standard && brittle test/*.js", | ||
"install": "node-gyp-build", | ||
"prebuild": "prebuildify --strip", | ||
"prebuild-ia32": "prebuildify --arch=ia32 --strip" | ||
"test": "standard && brittle test/*.js" | ||
}, | ||
@@ -47,3 +40,3 @@ "standard": { | ||
"type": "git", | ||
"url": "https://github.com/sodium-friends/sodium-native.git" | ||
"url": "https://github.com/holepunchto/sodium-native.git" | ||
}, | ||
@@ -57,5 +50,5 @@ "contributors": [ | ||
"bugs": { | ||
"url": "https://github.com/sodium-friends/sodium-native/issues" | ||
"url": "https://github.com/holepunchto/sodium-native/issues" | ||
}, | ||
"homepage": "https://github.com/sodium-friends/sodium-native" | ||
"homepage": "https://github.com/holepunchto/sodium-native" | ||
} |
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
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
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 which could be a vector to obscure malicious code, and generally decrease the likelihood of reproducible or reliable installs.
Found 1 instance in 1 package
12785831
2
0
277