simdle-universal
Advanced tools
Comparing version 1.0.1 to 1.0.2
try { | ||
module.exports = require('simdle-native') | ||
module.exports = require('./native') | ||
} catch { | ||
module.exports = require('./browser') | ||
module.exports = require('./fallback') | ||
} |
{ | ||
"name": "simdle-universal", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Universal wrapper for libsimdle with a JavaScript fallback", | ||
"main": "index.js", | ||
"files": [ | ||
"browser.js", | ||
"fallback.js", | ||
"index.js", | ||
"scalar.js" | ||
"scalar.js", | ||
"native/index.js", | ||
"native/prebuilds" | ||
], | ||
"browser": { | ||
"./index.js": "./browser.js" | ||
"./index.js": "./fallback.js" | ||
}, | ||
"scripts": { | ||
"test": "standard && brittle test.mjs" | ||
"test": "standard && brittle test.mjs", | ||
"prebuild": "prebuildify --napi --cwd native" | ||
}, | ||
@@ -28,8 +31,11 @@ "repository": { | ||
"dependencies": { | ||
"b4a": "^1.6.0" | ||
"b4a": "^1.6.0", | ||
"node-gyp-build": "^4.2.3" | ||
}, | ||
"devDependencies": { | ||
"brittle": "^3.1.0", | ||
"napi-macros": "^2.0.0", | ||
"prebuildify": "^5.0.1", | ||
"standard": "^17.0.0" | ||
} | ||
} |
@@ -6,3 +6,3 @@ # simdle-universal | ||
```sh | ||
npm install simdle-universal simdle-native | ||
npm install simdle-universal | ||
``` | ||
@@ -9,0 +9,0 @@ |
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 4 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
374434
11
302
2
4
5
+ Addednode-gyp-build@^4.2.3
+ Addednode-gyp-build@4.8.2(transitive)