Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

node-gyp-build-optional-packages

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gyp-build-optional-packages - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

8

bin.js

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

if (err) {
if (verbose()) console.error(stderr)
console.error(stderr)
console.error('The failure above indicates the primary issue with the native builds which are included for all' +
' major platforms. Will now attempt to build the package locally in case this can be resolved by' +
' re-compiling.')
preinstall()

@@ -64,5 +67,2 @@ }

function verbose () {
return hasFlag('--verbose') || process.env.npm_config_loglevel === 'verbose'
}

@@ -69,0 +69,0 @@ // TODO (next major): remove in favor of env.npm_config_* which works since npm

@@ -34,3 +34,3 @@ var fs = require('fs')

dir = path.resolve(dir || '.')
var packageName
var packageName = ''
try {

@@ -78,3 +78,4 @@ // explanation above

throw new Error('No native build was found for ' + target + '\n loaded from: ' + dir + ' and package: ' + platformPackage + '\n')
throw new Error('No native build was found for ' + target + '\n attempted loading from: ' + dir + ' and package:' +
' ' + platformPackage + '\n')

@@ -81,0 +82,0 @@ function resolve (dir) {

{
"name": "node-gyp-build-optional-packages",
"version": "5.1.0",
"version": "5.1.1",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc