Comparing version 1.0.0 to 1.1.0
@@ -67,2 +67,4 @@ | ||
, n | ||
, b | ||
, err | ||
@@ -75,4 +77,6 @@ for (; i<l; i++) { | ||
try { | ||
var b = require(n) | ||
b.path = n | ||
b = opts.path ? require.resolve(n) : require(n) | ||
if (!opts.path) { | ||
b.path = n | ||
} | ||
return b | ||
@@ -86,3 +90,3 @@ } catch (e) { | ||
var err = new Error('Could not load the bindings file. Tried:\n' | ||
err = new Error('Could not locate the bindings file. Tried:\n' | ||
+ tries.map(function (a) { return opts.arrow + a }).join('\n')) | ||
@@ -89,0 +93,0 @@ err.tries = tries |
{ "name": "bindings" | ||
, "description": "Helper module for loading your native module's .node file" | ||
, "keywords": [ "native", "addon", "bindings", "gyp", "waf", "c", "c++" ] | ||
, "version": "1.0.0" | ||
, "version": "1.1.0" | ||
, "author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)" | ||
@@ -6,0 +6,0 @@ , "repository": { "type": "git", "url": "git://github.com/TooTallNate/node-bindings.git" } |
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
8023
136
0
5
1