Socket
Socket
Sign inDemoInstall

prebuild-install

Package Overview
Dependencies
55
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.1.2

5

download.js

@@ -12,2 +12,3 @@ var path = require('path')

var tunnel = require('tunnel-agent')
var mkdirp = require('mkdirp')

@@ -69,3 +70,3 @@ function downloadPrebuild (opts, cb) {

if (res.statusCode !== 200) return onerror()
fs.mkdir(util.prebuildCache(), function () {
mkdirp(util.prebuildCache(), function () {
log.info('downloading to @', tempFile)

@@ -157,3 +158,3 @@ pump(res, fs.createWriteStream(tempFile), function (err) {

log.info('npm cache directory missing, creating it...')
fs.mkdir(cacheFolder, cb)
mkdirp(cacheFolder, cb)
}

@@ -160,0 +161,0 @@ }

3

package.json
{
"name": "prebuild-install",
"version": "2.1.1",
"version": "2.1.2",
"description": "A command line tool for easily install prebuilds for multiple version of node/iojs on a specific platform",

@@ -25,2 +25,3 @@ "scripts": {

"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"node-abi": "^2.0.0",

@@ -27,0 +28,0 @@ "noop-logger": "^0.1.1",

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