Socket
Socket
Sign inDemoInstall

node-gyp

Package Overview
Dependencies
Maintainers
2
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gyp - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

9

lib/install.js

@@ -118,2 +118,3 @@

, badDownload = false
, extractCount = 0
, parser = tar.Parse()

@@ -146,2 +147,4 @@

function onEntry (entry) {
extractCount++
var filename = entry.props.path

@@ -188,2 +191,5 @@ , trimmed = install.trim(filename)

if (badDownload) return
if (extractCount === 0) {
return cb(new Error('There was a fatal problem while downloading the tarball'))
}
gyp.verbose('done parsing tarball')

@@ -298,4 +304,7 @@ var async = 0

return minimatch(file, 'src/*.h')
|| minimatch(file, 'deps/http_parser/**/*.h')
|| minimatch(file, 'deps/openssl/openssl/include/**/*.h')
|| minimatch(file, 'deps/v8/include/**/*.h')
|| minimatch(file, 'deps/uv/include/**/*.h')
|| minimatch(file, 'deps/zlib/**/*.h')
// non-legacy versions of node also extract the gyp build files

@@ -302,0 +311,0 @@ || (!isLegacy &&

2

package.json
{ "name": "node-gyp"
, "description": "Node.js native addon build tool"
, "keywords": [ "native", "addon", "module", "c", "c++", "bindings", "gyp" ]
, "version": "0.3.0"
, "version": "0.3.1"
, "installVersion": 4

@@ -6,0 +6,0 @@ , "author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)"

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