Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

opencv4nodejs-prebuilt

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencv4nodejs-prebuilt - npm Package Compare versions

Comparing version 4.15.0-slim to 4.15.0

4

lib/includes.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc