Comparing version
'use strict'; | ||
let addon; | ||
try { | ||
addon = require('./build/Release/menoh.node'); | ||
} catch (err) { | ||
console.log('Error:', err); | ||
addon = require('./build/Debug/menoh.node'); | ||
} | ||
const addon = require('./build/Release/menoh.node'); | ||
@@ -11,0 +5,0 @@ // Promisify addon.create() |
{ | ||
"name": "menoh", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "NodeJS binding for Menoh DNN inference library.", | ||
@@ -25,3 +25,2 @@ "main": "index.js", | ||
"dependencies": { | ||
"lodash": "^4.17.5", | ||
"nan": "~2.8.0" | ||
@@ -32,2 +31,3 @@ }, | ||
"jimp": "^0.2.28", | ||
"lodash": "^4.17.5", | ||
"mocha": "^5.0.2", | ||
@@ -34,0 +34,0 @@ "ndarray": "^1.0.18" |
Sorry, the diff of this file is not supported yet
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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1
-50%0
-100%833156
-0.98%5
25%22
-12%41
-84.53%- Removed
- Removed