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

node-pre-gyp

Package Overview
Dependencies
Maintainers
5
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pre-gyp - npm Package Compare versions

Comparing version 0.6.27 to 0.6.28

5

CHANGELOG.md
# node-pre-gyp changelog
## 0.6.28
- Now more verbose when remote binaries are not available. This is needed since npm is increasingly more quiet by default
and users need to know why builds are falling back to source compiles that might then error out.
## 0.6.27

@@ -4,0 +9,0 @@

14

lib/install.js

@@ -115,2 +115,12 @@ "use strict";

function print_fallback_error(err,opts,package_json) {
var fallback_message = ' (falling back to source compile with node-gyp)';
var full_message = "Pre-built binaries not found for " + package_json.name + "@" + package_json.version;
full_message += " and " + opts.runtime + "@" + (opts.target || process.versions.node) + " (" + opts.node_abi + " ABI)";
full_message += fallback_message;
log.error("Tried to download: " + opts.hosted_tarball);
log.error(full_message);
log.http(err.message);
}
function install(gyp, argv, callback) {

@@ -155,3 +165,3 @@ var package_json = JSON.parse(fs.readFileSync('./package.json'));

if (should_do_fallback_build) {
log.http(err.message + ' (falling back to source compile with node-gyp)');
print_fallback_error(err,opts,package_json);
return do_build(gyp,argv,callback);

@@ -176,3 +186,3 @@ } else {

if (err && should_do_fallback_build) {
log.http(err.message + ' (falling back to source compile with node-gyp)');
print_fallback_error(err,opts,package_json);
return do_build(gyp,argv,callback);

@@ -179,0 +189,0 @@ } else if (err) {

2

package.json
{
"name": "node-pre-gyp",
"description": "Node.js native addon binary install tool",
"version" : "0.6.27",
"version" : "0.6.28",
"keywords": [

@@ -6,0 +6,0 @@ "native",

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