opencv4nodejs-prebuilt
Advanced tools
Comparing version 4.15.0-minimal to 4.15.0-slim
@@ -1,2 +0,2 @@ | ||
const opencvBuild = require(`@nut-tree/opencv-build-${process.platform}`); | ||
const { opencvInclude } = require("./dirs"); | ||
const { resolvePath, defaultDir, linkSystemLibs } = require('./commons'); | ||
@@ -10,2 +10,2 @@ | ||
// set include dir from auto build | ||
console.log(resolvePath(opencvBuild.opencvInclude)); | ||
console.log(resolvePath(opencvInclude)); |
const opencvBuild = require(`@nut-tree/opencv-build-${process.platform}`); | ||
const { resolvePath, getLibDir, linkSystemLibs } = require('./commons'); | ||
const { opencvLibDir } = require("./dirs"); | ||
@@ -23,4 +24,3 @@ function linkLibs(libs) { | ||
// if not windows, link libs dynamically | ||
console.log('-L' + resolvePath(opencvBuild.opencvLibDir)); | ||
console.log(`-L${resolvePath(opencvLibDir)}`); | ||
opencvBuild.opencvModules.forEach(lib => console.log(`-lopencv_${lib}`)); | ||
console.log('-Wl,-rpath,' + resolvePath(opencvBuild.opencvLibDir)); |
{ | ||
"name": "opencv4nodejs-prebuilt", | ||
"version": "4.15.0-minimal", | ||
"version": "4.15.0-slim", | ||
"description": "This is a fork of opencv4nodejs which provides pre-built binaries", | ||
@@ -58,3 +58,3 @@ "keywords": [ | ||
}, | ||
"opencv": "3.4.6-home" | ||
"opencv": "3.4.6-local" | ||
} |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
10513784
164
2270