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 3.3.0 to 3.4.0

6

build-test.js

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

try {
test = require(path.join(process.cwd(), 'package.json')).prebuild.test
var pkg = require(path.join(process.cwd(), 'package.json'))
if (pkg.name && process.env[pkg.name.toUpperCase().replace(/-/g, '_')]) {
process.exit(0)
}
test = pkg.prebuild.test
} catch (err) {

@@ -12,0 +16,0 @@ // do nothing

@@ -19,2 +19,7 @@ var fs = require('fs')

try {
var name = require(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_')
if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD']
} catch (err) {}
var release = getFirst(path.join(dir, 'build/Release'), matchBuild)

@@ -21,0 +26,0 @@ if (release) return release

2

package.json
{
"name": "node-gyp-build",
"version": "3.3.0",
"version": "3.4.0",
"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