node-gyp-build-optional-packages
Advanced tools
Comparing version 5.0.6 to 5.0.7
10
index.js
@@ -7,3 +7,9 @@ var fs = require('fs') | ||
var prebuildsOnly = !!process.env.PREBUILDS_ONLY | ||
var abi = process.versions.modules // TODO: support old node where this is undef | ||
var versions = process.versions | ||
var abi = versions.modules | ||
if (versions.deno || process.isBun) { | ||
// both Deno and Bun made the very poor decision to shoot themselves in the foot and lie about support for ABI | ||
// (which they do not have) | ||
abi = 'unsupported' | ||
} | ||
var runtime = isElectron() ? 'electron' : 'node' | ||
@@ -14,3 +20,3 @@ var arch = process.arch | ||
var armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || '' | ||
var uv = (process.versions.uv || '').split('.')[0] | ||
var uv = (versions.uv || '').split('.')[0] | ||
@@ -17,0 +23,0 @@ module.exports = load |
{ | ||
"name": "node-gyp-build-optional-packages", | ||
"version": "5.0.6", | ||
"version": "5.0.7", | ||
"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
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
13653
272