Socket
Socket
Sign inDemoInstall

node-pre-gyp

Package Overview
Dependencies
66
Maintainers
8
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.0 to 0.12.0

5

CHANGELOG.md
# node-pre-gyp changelog
## 0.12.0
- Fixed double-build problem with node v10 (https://github.com/mapbox/node-pre-gyp/pull/428)
- Added node 11 support in the local database (https://github.com/mapbox/node-pre-gyp/pull/422)
## 0.11.0

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

26

lib/install.js

@@ -116,3 +116,6 @@ "use strict";

badDownload = true;
return callback(err);
if (!hasResponse) {
hasResponse = true;
return callback(err);
}
});

@@ -123,3 +126,6 @@

badDownload = true;
return callback(err);
if (!hasResponse) {
hasResponse = true;
return callback(err);
}
});

@@ -129,2 +135,3 @@

if (!hasResponse) {
hasResponse = true;
return callback(new Error('Connection closed while downloading tarball file'));

@@ -135,8 +142,11 @@ }

req.on('response', function(res) {
// ignore redirects, needle handles these automatically.
if (http_get.type === 'needle' && res.headers.hasOwnProperty('location') && res.headers.location !== '') {
return;
}
hasResponse = true;
if (res.statusCode !== 200) {
// ignore redirects, needle handles these automatically.
if (http_get.type === 'needle' && res.headers.hasOwnProperty('location') && res.headers.location !== '') {
return;
}
if (hasResponse) {
return;
}
hasResponse = true;
if (res.statusCode !== 200) {
badDownload = true;

@@ -143,0 +153,0 @@ var err = new Error(res.statusCode + ' status code downloading tarball ' + from);

@@ -1506,2 +1506,6 @@ {

},
"6.14.4": {
"node_abi": 48,
"v8": "5.1"
},
"7.0.0": {

@@ -1675,2 +1679,10 @@ "node_abi": 51,

},
"8.11.4": {
"node_abi": 57,
"v8": "6.2"
},
"8.12.0": {
"node_abi": 57,
"v8": "6.2"
},
"9.0.0": {

@@ -1791,3 +1803,31 @@ "node_abi": 59,

"v8": "6.7"
},
"10.9.0": {
"node_abi": 64,
"v8": "6.8"
},
"10.10.0": {
"node_abi": 64,
"v8": "6.8"
},
"10.11.0": {
"node_abi": 64,
"v8": "6.8"
},
"10.12.0": {
"node_abi": 64,
"v8": "6.8"
},
"10.13.0": {
"node_abi": 64,
"v8": "6.8"
},
"11.0.0": {
"node_abi": 67,
"v8": "7.0"
},
"11.1.0": {
"node_abi": 67,
"v8": "7.0"
}
}
{
"name": "node-pre-gyp",
"description": "Node.js native addon binary install tool",
"version": "0.11.0",
"version": "0.12.0",
"keywords": [

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

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