Socket
Socket
Sign inDemoInstall

node-gyp-build

Package Overview
Dependencies
0
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

build-test.js

12

bin.js
#!/usr/bin/env node
var bindings = require('./')
var proc = require('child_process')
try {
bindings()
process.exit(0) // can already load a build
} catch (err) {
// do nothing
}
proc.exec('node-gyp-build-test', function (err) {
if (err) preinstall(process.argv.slice(2).join(' '))
})
preinstall(process.argv.slice(2).join(' '))
function build () {

@@ -16,0 +10,0 @@ proc.spawn('node-gyp', ['rebuild'], {stdio: 'inherit'}).on('exit', function (code) {

{
"name": "node-gyp-build",
"version": "1.0.0",
"version": "1.0.1",
"description": "Build tool and bindings loader for node-gyp that supports prebuilds",

@@ -14,3 +14,4 @@ "main": "index.js",

"node-gyp-build": "./bin.js",
"node-gyp-build-optional": "./optional.js"
"node-gyp-build-optional": "./optional.js",
"node-gyp-build-test": "./build-test.js"
},

@@ -17,0 +18,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc