Socket
Socket
Sign inDemoInstall

node-gyp-build

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gyp-build - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

6

bin.js

@@ -19,3 +19,3 @@ #!/usr/bin/env node

function build () {
var args = [ os.platform() === 'win32' ? 'node-gyp.cmd' : 'node-gyp', 'rebuild' ]
var args = [os.platform() === 'win32' ? 'node-gyp.cmd' : 'node-gyp', 'rebuild']

@@ -30,3 +30,3 @@ try {

proc.spawn(args[0], args.slice(1), {stdio: 'inherit'}).on('exit', function (code) {
proc.spawn(args[0], args.slice(1), { stdio: 'inherit' }).on('exit', function (code) {
if (code || !process.argv[3]) process.exit(code)

@@ -50,3 +50,3 @@ exec(process.argv[3]).on('exit', function (code) {

var shell = os.platform() === 'android' ? 'sh' : '/bin/sh'
return proc.spawn(shell, ['-c', cmd], {
return proc.spawn(shell, ['-c', '--', cmd], {
stdio: 'inherit'

@@ -53,0 +53,0 @@ })

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

@@ -8,3 +8,3 @@ "main": "index.js",

"array-shuffle": "^1.0.1",
"standard": "^8.6.0",
"standard": "^14.0.0",
"tape": "^4.10.1"

@@ -11,0 +11,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc