Socket
Socket
Sign inDemoInstall

node-pre-gyp

Package Overview
Dependencies
10
Maintainers
4
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.39 to 0.7.0

9

CHANGELOG.md
# node-pre-gyp changelog
## 0.7.0
- Updated request and hawk (#347)
- Dropped node v0.10.x support
## 0.6.40
- Improved error reporting if an install fails
## 0.6.39

@@ -4,0 +13,0 @@

26

lib/install.js

@@ -135,8 +135,22 @@ "use strict";

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, " + opts.libc + ")";
full_message += fallback_message;
log.error("Tried to download(" + err.statusCode + "): " + opts.hosted_tarball);
log.error(full_message);
log.http(err.message);
var full_message = '';
if (err.statusCode !== undefined) {
// If we got a network response it but failed to download
// it means remote binaries are not available, so let's try to help
// the user/developer with the info to debug why
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, " + opts.libc + ")";
full_message += fallback_message;
log.error("Tried to download(" + err.statusCode + "): " + opts.hosted_tarball);
log.error(full_message);
log.http(err.message);
} else {
// If we do not have a statusCode that means an unexpected error
// happened and prevented an http response, so we output the exact error
full_message = "Pre-built binaries not installable for " + package_json.name + "@" + package_json.version;
full_message += " and " + opts.runtime + "@" + (opts.target || process.versions.node) + " (" + opts.node_abi + " ABI, " + opts.libc + ")";
full_message += fallback_message;
log.error(full_message);
log.error("Hit error " + err.message);
}
}

@@ -143,0 +157,0 @@

@@ -1254,2 +1254,14 @@ {

},
"4.8.5": {
"node_abi": 46,
"v8": "4.5"
},
"4.8.6": {
"node_abi": 46,
"v8": "4.5"
},
"4.8.7": {
"node_abi": 46,
"v8": "4.5"
},
"5.0.0": {

@@ -1447,2 +1459,26 @@ "node_abi": 47,

},
"6.12.0": {
"node_abi": 48,
"v8": "5.1"
},
"6.12.1": {
"node_abi": 48,
"v8": "5.1"
},
"6.12.2": {
"node_abi": 48,
"v8": "5.1"
},
"6.12.3": {
"node_abi": 48,
"v8": "5.1"
},
"6.13.0": {
"node_abi": 48,
"v8": "5.1"
},
"6.13.1": {
"node_abi": 48,
"v8": "5.1"
},
"7.0.0": {

@@ -1572,2 +1608,6 @@ "node_abi": 51,

},
"8.8.1": {
"node_abi": 57,
"v8": "6.1"
},
"8.9.0": {

@@ -1577,6 +1617,70 @@ "node_abi": 57,

},
"8.9.1": {
"node_abi": 57,
"v8": "6.1"
},
"8.9.2": {
"node_abi": 57,
"v8": "6.1"
},
"8.9.3": {
"node_abi": 57,
"v8": "6.1"
},
"8.9.4": {
"node_abi": 57,
"v8": "6.1"
},
"8.10.0": {
"node_abi": 57,
"v8": "6.2"
},
"9.0.0": {
"node_abi": 59,
"v8": "6.2"
},
"9.1.0": {
"node_abi": 59,
"v8": "6.2"
},
"9.2.0": {
"node_abi": 59,
"v8": "6.2"
},
"9.2.1": {
"node_abi": 59,
"v8": "6.2"
},
"9.3.0": {
"node_abi": 59,
"v8": "6.2"
},
"9.4.0": {
"node_abi": 59,
"v8": "6.2"
},
"9.5.0": {
"node_abi": 59,
"v8": "6.2"
},
"9.6.0": {
"node_abi": 59,
"v8": "6.2"
},
"9.6.1": {
"node_abi": 59,
"v8": "6.2"
},
"9.7.0": {
"node_abi": 59,
"v8": "6.2"
},
"9.7.1": {
"node_abi": 59,
"v8": "6.2"
},
"9.8.0": {
"node_abi": 59,
"v8": "6.2"
}
}
{
"name": "node-pre-gyp",
"description": "Node.js native addon binary install tool",
"version": "0.6.39",
"version": "0.7.0",
"keywords": [

@@ -27,4 +27,3 @@ "native",

"rc": "^1.1.7",
"request": "2.81.0",
"hawk": "3.1.3",
"request": "2.83.0",
"rimraf": "^2.6.1",

@@ -31,0 +30,0 @@ "semver": "^5.3.0",

@@ -33,3 +33,3 @@ # node-pre-gyp

- Node.js >= node v0.10.x
- Node.js >= node v4.x

@@ -78,3 +78,3 @@ ## Install

- `--fallback-to-build`: fallback to building from source if pre-built binary is not available
- `--target=0.10.25`: Pass the target node or node-webkit version to compile against
- `--target=0.4.0`: Pass the target node or node-webkit version to compile against
- `--target_arch=ia32`: Pass the target arch and override the host `arch`. Valid values are 'ia32','x64', or `arm`.

@@ -487,4 +487,4 @@ - `--target_platform=win32`: Pass the target platform and override the host `platform`. Valid values are `linux`, `darwin`, `win32`, `sunos`, `freebsd`, `openbsd`, and `aix`.

matrix:
- NODE_VERSION="0.10"
- NODE_VERSION="0.11.14"
- NODE_VERSION="4"
- NODE_VERSION="6"

@@ -524,4 +524,4 @@ before_install:

matrix:
- NODE_VERSION="0.10"
- NODE_VERSION="0.11.14"
- NODE_VERSION="4"
- NODE_VERSION="6"

@@ -539,4 +539,4 @@ before_install:

node_js:
- "0.10"
- "0.11.14"
- "4"
- "6"
```

@@ -543,0 +543,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc