Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.1.1 to 1.2.0

11

bindings.js

@@ -99,5 +99,6 @@

* Used to help find the root directory of a module.
* Optionally accepts an filename argument to skip when searching for the invoking filename
*/
exports.getFileName = function getFileName () {
exports.getFileName = function getFileName (calling_file) {
var origPST = Error.prepareStackTrace

@@ -114,3 +115,9 @@ , origSTL = Error.stackTraceLimit

if (fileName !== __filename) {
return
if (calling_file) {
if (fileName !== calling_file) {
return
}
} else {
return
}
}

@@ -117,0 +124,0 @@ }

2

package.json
{ "name": "bindings"
, "description": "Helper module for loading your native module's .node file"
, "keywords": [ "native", "addon", "bindings", "gyp", "waf", "c", "c++" ]
, "version": "1.1.1"
, "version": "1.2.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