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.6.1 to 0.6.2

dist/cjs/constants.js

2

bin/main.js
#!/usr/bin/env node
const OpenCVBuilder = require("../lib/OpenCVBuilder.js");
const OpenCVBuilder = require("../dist/cjs/OpenCVBuilder.js");
void new OpenCVBuilder.OpenCVBuilder(process.argv).install();
{
"name": "@u4/opencv-build",
"version": "0.6.1",
"version": "0.6.2",
"description": "A simple script to auto build recent OpenCV + contrib version via npm 2022 Edition",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"type": "module",
"main": "dist/cjs/index.js",
"module": "./dist/esm/index.js",
"typings": "dist/esm/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
}
},
"publishConfig": {

@@ -12,9 +21,10 @@ "access": "public"

"clean": "rimraf build",
"build": "tsc",
"build3x": "tsc && node lib/main.js --keepsource",
"install_macm1": "node bin/main.js --version 4.5.5 --flag=\"-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_OSX_ARCHITECTURES=arm64\"",
"install_4_5_5": "node bin/main.js --version 4.5.5",
"install_4_6_0_cuda_30XX": "tsc && cross-env OPENCV4NODEJS_DISABLE_AUTOBUILD= node bin/main.js --keepsource --version 4.6.0 --cuda --cudaArch=8.6",
"do-install": "node bin/main.js",
"cleanbuild": "rimraf lib && tsc",
"build": "tsc --pretty --project . && tsc --pretty --project tsconfig-cjs.json",
"build3x": "npm run build && node bin/main.mjs --keepsource",
"install_macm1": "npm run build && node bin/main.mjs --version 4.5.5 --flag=\"-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_OSX_ARCHITECTURES=arm64\"",
"install_4_5_5": "npm run build && node bin/main.mjs --version 4.5.5",
"install_4_6_0_cuda_30XX": "npm run build && cross-env OPENCV4NODEJS_DISABLE_AUTOBUILD= node bin/main.mjs --keepsource --version 4.6.0 --cuda --cudaArch=8.6",
"install_4_7_0_cuda_30XX": "npm run build && cross-env OPENCV4NODEJS_DISABLE_AUTOBUILD= node bin/main.mjs --keepsource --version 4.7.0 --cuda --cudaArch=8.6",
"do-install": "node bin/main.mjs",
"cleanbuild": "rimraf lib dist && npm run build",
"postinstallDISABLED": "npm run do-install",

@@ -39,3 +49,3 @@ "prepare": "npm run build",

"contributors": [
"Uriel Chemouni <uchemouni@gmail.com> (https://urielch.github.io/)",
"Uriel Chemouni <uchemouni@gmail.com> (https://uriel.ovh/)",
"justadudewhohacks (https://github.com/justadudewhohacks)"

@@ -49,4 +59,4 @@ ],

"dependencies": {
"@u4/tiny-glob": "^0.2.10",
"npmlog": "^6.0.2",
"@u4/tiny-glob": "^0.3.2",
"npmlog": "^7.0.1",
"picocolors": "^1.0.0",

@@ -56,21 +66,21 @@ "rimraf": "^3.0.2"

"devDependencies": {
"@types/chai": "^4.3.3",
"@types/chai": "^4.3.4",
"@types/chai-string": "^1.4.2",
"@types/mocha": "^9.1.1",
"@types/node": "^18.8.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@types/npmlog": "^4.1.4",
"@types/rimraf": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"chai": "^4.3.6",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.7",
"chai-string": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.25.0",
"mocha": "^10.0.0",
"eslint": "^8.30.0",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
"typescript": "^4.9.4"
},
"files": [
"lib"
"dist"
]
}

@@ -90,3 +90,3 @@ # @u4/opencv-build

"autoBuildFlags": "-DOPENCV_GENERATE_PKGCONFIG=ON -DOPENCV_PC_FILE_NAME=opencv.pc",
"autoBuildOpencvVersion": "4.5.5"
"autoBuildOpencvVersion": "4.6.0"
}

@@ -100,3 +100,3 @@ }

export OPENCV4NODEJS_AUTOBUILD_FLAGS="-DOPENCV_GENERATE_PKGCONFIG=ON -DOPENCV_PC_FILE_NAME=opencv.pc"
export OPENCV4NODEJS_AUTOBUILD_OPENCV_VERSION="4.5.5"
export OPENCV4NODEJS_AUTOBUILD_OPENCV_VERSION="4.6.0"
export OPENCV_BUILD_ROOT="~/openCV"

@@ -103,0 +103,0 @@

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