Socket
Socket
Sign inDemoInstall

node-pre-gyp

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pre-gyp - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

lib/rebuild.js

@@ -17,5 +17,3 @@

, cp = require('child_process')
, package_json = require('package.json')
function test_binary(opts,callback) {

@@ -157,3 +155,3 @@ var args = [];

if (!package_json.binary) {
return callback(new Error("package.json must declare 'binary object'"));
return callback(new Error("package.json must declare 'binary' object'"));
}

@@ -191,2 +189,4 @@ var o = package_json.binary;

function rebuild(gyp, argv, callback) {
// @TODO - respect -C/--directory
var package_json = JSON.parse(fs.readFileSync('./package.json'));
validate_config(package_json,function(err) {

@@ -193,0 +193,0 @@ if (err) return callback(err);

{
"name": "node-pre-gyp",
"description": "Node.js native addon binary install tool",
"version": "0.1.1",
"keywords": [

@@ -13,3 +14,2 @@ "native",

],
"version": "0.1.0",
"author": "Dane Springmeyer <dane@mapbox.com>",

@@ -16,0 +16,0 @@ "repository": {

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