@u4/opencv-build
Advanced tools
Comparing version 0.6.1 to 0.6.2
#!/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 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
271360
53
3425
Yes
98
3
+ Added@u4/tiny-glob@0.3.2(transitive)
+ Addedare-we-there-yet@4.0.2(transitive)
+ Addedgauge@5.0.2(transitive)
+ Addednpmlog@7.0.1(transitive)
+ Addedsignal-exit@4.1.0(transitive)
- Removed@u4/tiny-glob@0.2.10(transitive)
- Removedare-we-there-yet@3.0.1(transitive)
- Removeddelegates@1.0.0(transitive)
- Removedgauge@4.0.4(transitive)
- Removednpmlog@6.0.2(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
Updated@u4/tiny-glob@^0.3.2
Updatednpmlog@^7.0.1