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

@u4/opencv-build

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@u4/opencv-build - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

dist/cjs/package.json

12

dist/cjs/OpenCVBuildEnv.js

@@ -338,3 +338,3 @@ "use strict";

if (!this.no_autobuild && opts.prebuild) {
let builds = OpenCVBuildEnv.listBuild(this.rootDir);
const builds = OpenCVBuildEnv.listBuild(this.rootDir);
if (!builds.length) {

@@ -351,8 +351,8 @@ throw Error(`No build found in ${this.rootDir} you should launch opencv-build-npm once`);

*/
if (buildV.length)
builds = buildV;
if (!builds.length) {
throw Error(`No build of version ${expVer} found in ${this.rootDir} you should launch opencv-build-npm`);
// if (buildV.length)
// builds = buildV;
if (!buildV.length) {
throw Error(`No build of version ${expVer} found in ${this.rootDir} you should launch opencv-build-npm Available versions are: ${builds.map(b => b.buildInfo.opencvVersion).join(', ')}`);
}
if (builds.length > 1) {
if (buildV.length > 1) {
switch (opts.prebuild) {

@@ -359,0 +359,0 @@ case 'latestBuild':

@@ -333,3 +333,3 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {

if (!this.no_autobuild && opts.prebuild) {
let builds = OpenCVBuildEnv.listBuild(this.rootDir);
const builds = OpenCVBuildEnv.listBuild(this.rootDir);
if (!builds.length) {

@@ -346,8 +346,8 @@ throw Error(`No build found in ${this.rootDir} you should launch opencv-build-npm once`);

*/
if (buildV.length)
builds = buildV;
if (!builds.length) {
throw Error(`No build of version ${expVer} found in ${this.rootDir} you should launch opencv-build-npm`);
// if (buildV.length)
// builds = buildV;
if (!buildV.length) {
throw Error(`No build of version ${expVer} found in ${this.rootDir} you should launch opencv-build-npm Available versions are: ${builds.map(b => b.buildInfo.opencvVersion).join(', ')}`);
}
if (builds.length > 1) {
if (buildV.length > 1) {
switch (opts.prebuild) {

@@ -354,0 +354,0 @@ case 'latestBuild':

{
"name": "@u4/opencv-build",
"version": "0.8.1",
"version": "0.8.2",
"description": "A simple script to auto build recent OpenCV + contrib version via npm 2022 Edition",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

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