Socket
Socket
Sign inDemoInstall

bindings

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bindings - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

10

bindings.js

@@ -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" }

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