quickbit-native
Advanced tools
Comparing version 2.2.7 to 2.3.0
@@ -6,2 +6,3 @@ cmake_minimum_required(VERSION 3.25) | ||
include(bare) | ||
include(napi) | ||
@@ -12,14 +13,36 @@ if(NOT TARGET quickbit) | ||
add_bare_module(quickbit_native) | ||
add_bare_module(quickbit_native_bare) | ||
target_sources( | ||
${quickbit_native} | ||
${quickbit_native_bare} | ||
PRIVATE | ||
binding.c | ||
PUBLIC | ||
$<TARGET_OBJECTS:quickbit> | ||
$<TARGET_OBJECTS:simdle> | ||
) | ||
target_link_libraries( | ||
${quickbit_native} | ||
${quickbit_native_bare} | ||
PUBLIC | ||
quickbit_static | ||
quickbit | ||
simdle | ||
) | ||
add_napi_module(quickbit_native_node) | ||
target_sources( | ||
${quickbit_native_node} | ||
PRIVATE | ||
binding.c | ||
PUBLIC | ||
$<TARGET_OBJECTS:quickbit> | ||
$<TARGET_OBJECTS:simdle> | ||
) | ||
target_link_libraries( | ||
${quickbit_native_node} | ||
PUBLIC | ||
quickbit | ||
simdle | ||
) |
@@ -1,3 +0,3 @@ | ||
const binding = require('node-gyp-build')(__dirname) | ||
const b4a = require('b4a') | ||
const binding = require('./binding') | ||
@@ -4,0 +4,0 @@ exports.get = function get (field, bit) { |
{ | ||
"name": "quickbit-native", | ||
"version": "2.2.7", | ||
"version": "2.3.0", | ||
"description": "libquickbit JavaScript bindings for Node.js", | ||
@@ -8,19 +8,15 @@ "main": "index.js", | ||
"index.js", | ||
"macros.h", | ||
"binding.c", | ||
"binding.js", | ||
"CMakeLists.txt", | ||
"prebuilds", | ||
"binding.c", | ||
"binding.gyp", | ||
"vendor/libquickbit/LICENSE", | ||
"vendor/libquickbit/include", | ||
"vendor/libquickbit/src", | ||
"vendor/libquickbit.gyp", | ||
"vendor/libquickbit/vendor/libsimdle/LICENSE", | ||
"vendor/libquickbit/vendor/libsimdle/include", | ||
"vendor/libquickbit/vendor/libsimdle/src", | ||
"CMakeLists.txt" | ||
"vendor/libquickbit" | ||
], | ||
"addon": true, | ||
"scripts": { | ||
"test": "standard && brittle test.mjs", | ||
"prebuild": "prebuildify", | ||
"install": "node-gyp-build" | ||
"test": "npm run lint && npm run test:bare && npm run test:node", | ||
"test:bare": "bare test.mjs", | ||
"test:node": "node test.mjs", | ||
"lint": "standard" | ||
}, | ||
@@ -31,3 +27,3 @@ "repository": { | ||
}, | ||
"author": "Kasper Isager Dalsgarð <kasper@funktionel.co>", | ||
"author": "Holepunch", | ||
"license": "Apache-2.0", | ||
@@ -40,10 +36,8 @@ "bugs": { | ||
"b4a": "^1.6.0", | ||
"napi-macros": "^2.0.0", | ||
"node-gyp-build": "^4.2.3" | ||
"load-addon": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"brittle": "^3.1.0", | ||
"prebuildify": "^6.0.0", | ||
"standard": "^17.0.0" | ||
} | ||
} |
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 14 instances 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
1471800
2
2
56
120
19
+ Addedload-addon@^1.0.0
+ Addedbare-addon-resolve@1.7.0(transitive)
+ Addedbare-module-resolve@1.8.2(transitive)
+ Addedbare-semver@1.0.0(transitive)
+ Addedload-addon@1.0.0(transitive)
- Removednapi-macros@^2.0.0
- Removednode-gyp-build@^4.2.3
- Removednapi-macros@2.2.2(transitive)
- Removednode-gyp-build@4.8.4(transitive)