opencv4nodejs-prebuilt
Advanced tools
Comparing version 4.15.0-slim to 4.15.0
@@ -1,2 +0,2 @@ | ||
const { opencvInclude } = require("./dirs"); | ||
const opencvBuild = require(`@nut-tree/opencv-build-${process.platform}`); | ||
const { resolvePath, defaultDir, linkSystemLibs } = require('./commons'); | ||
@@ -10,2 +10,2 @@ | ||
// set include dir from auto build | ||
console.log(resolvePath(opencvInclude)); | ||
console.log(resolvePath(opencvBuild.opencvInclude)); |
const opencvBuild = require(`@nut-tree/opencv-build-${process.platform}`); | ||
const { resolvePath, getLibDir, linkSystemLibs } = require('./commons'); | ||
const { opencvLibDir } = require("./dirs"); | ||
@@ -24,3 +23,4 @@ function linkLibs(libs) { | ||
// if not windows, link libs dynamically | ||
console.log(`-L${resolvePath(opencvLibDir)}`); | ||
console.log('-L' + resolvePath(opencvBuild.opencvLibDir)); | ||
opencvBuild.opencvModules.forEach(lib => console.log(`-lopencv_${lib}`)); | ||
console.log('-Wl,-rpath,' + resolvePath(opencvBuild.opencvLibDir)); |
{ | ||
"name": "opencv4nodejs-prebuilt", | ||
"version": "4.15.0-slim", | ||
"version": "4.15.0", | ||
"description": "This is a fork of opencv4nodejs which provides pre-built binaries", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"preinstall": "node ./install.js", | ||
"install": "prebuild-install --verbose || node-gyp rebuild", | ||
"install": "node-gyp rebuild > build.log 2>&1", | ||
"configure": "node-gyp configure", | ||
@@ -40,0 +40,0 @@ "build": "node-gyp configure build", |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
10512586
162
2245