prebuild-install
Advanced tools
Comparing version 5.2.4 to 5.2.5
{ | ||
"name": "prebuild-install", | ||
"version": "5.2.4", | ||
"version": "5.2.5", | ||
"description": "A command line tool to easily install prebuilt binaries for multiple version of node/iojs on a specific platform", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -64,3 +64,3 @@ var path = require('path') | ||
function getHostMirrorUrl (opts) { | ||
var propName = 'npm_config_' + opts.pkg.name + '_binary_host' | ||
var propName = 'npm_config_' + (opts.pkg.name || '').replace(/-/g, '_') + '_binary_host' | ||
return process.env[propName] || process.env[propName + '_mirror'] | ||
@@ -67,0 +67,0 @@ } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
23582
1