node-gyp-build
Advanced tools
Comparing version 3.8.0 to 3.9.0
11
index.js
@@ -8,2 +8,3 @@ var fs = require('fs') | ||
var prebuildsOnly = !!process.env.PREBUILDS_ONLY | ||
var abi = process.versions.modules // TODO: support old node where this is undef | ||
@@ -30,7 +31,9 @@ var runtime = isElectron() ? 'electron' : 'node' | ||
var release = getFirst(path.join(dir, 'build/Release'), matchBuild) | ||
if (release) return release | ||
if (!prebuildsOnly) { | ||
var release = getFirst(path.join(dir, 'build/Release'), matchBuild) | ||
if (release) return release | ||
var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild) | ||
if (debug) return debug | ||
var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild) | ||
if (debug) return debug | ||
} | ||
@@ -37,0 +40,0 @@ var names = [platform + '-' + arch] |
{ | ||
"name": "node-gyp-build", | ||
"version": "3.8.0", | ||
"version": "3.9.0", | ||
"description": "Build tool and bindings loader for node-gyp that supports prebuilds", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
8808
149
15