node-gyp-build
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -11,3 +11,4 @@ var fs = require('fs') | ||
var abi = process.versions.modules // TODO: support old node where this is undef | ||
var runtime = isElectron() ? 'electron' : 'node' | ||
var runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node') | ||
var arch = os.arch() | ||
@@ -186,2 +187,6 @@ var platform = os.platform() | ||
function isNwjs () { | ||
return !!(process.versions && process.versions.nw) | ||
} | ||
function isElectron () { | ||
@@ -188,0 +193,0 @@ if (process.versions && process.versions.electron) return true |
{ | ||
"name": "node-gyp-build", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"description": "Build tool and bindings loader for node-gyp that supports prebuilds", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12820
254