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 2.0.1 to 2.0.2

11

bin.js

@@ -6,5 +6,2 @@ #!/usr/bin/env node

var preinstall = process.argv[2]
var postinstall = process.argv[3]
proc.exec('node-gyp-build-test', function (err) {

@@ -16,4 +13,4 @@ if (err) preinstall()

proc.spawn(os.platform() === 'win32' ? 'node-gyp.cmd' : 'node-gyp', ['rebuild'], {stdio: 'inherit'}).on('exit', function (code) {
if (code || !postinstall) process.exit(code)
exec(postinstall).on('exit', function (code) {
if (code || !process.argv[3]) process.exit(code)
exec(process.argv[3]).on('exit', function (code) {
process.exit(code)

@@ -25,4 +22,4 @@ })

function preinstall () {
if (!preinstall) return build()
exec(preinstall).on('exit', function (code) {
if (!process.argv[2]) return build()
exec(process.argv[2]).on('exit', function (code) {
if (code) process.exit(code)

@@ -29,0 +26,0 @@ build()

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

@@ -5,0 +5,0 @@ "main": "index.js",

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