Socket
Socket
Sign inDemoInstall

nogap

Package Overview
Dependencies
39
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.3 to 0.6.4

18

lib/ComponentTools.js

@@ -26,3 +26,7 @@ /**

enabled: true,
maxArgsLength: 120
maxArgsLength: 120,
blackList: {
functions: {},
components: {}
}
},

@@ -222,5 +226,7 @@

traceFunctionCall: function(functionName, args) {
traceFunctionCall: function(prefix, functionName, args) {
if (!this.Shared.TraceCfg.enabled) return;
this.traceLog('calling ' + this.Shared.functionCallToString(functionName, args));
if (this.Shared.TraceCfg.blackList.functions[functionName]) return;
this.traceLog('calling ' + prefix + this.Shared.functionCallToString(functionName, args));
},

@@ -230,3 +236,5 @@

if (!this.Shared.TraceCfg.enabled) return;
this.traceFunctionCall(componentName + '.' + functionName, args);
if (this.Shared.TraceCfg.blackList.components[componentName]) return;
this.traceFunctionCall('', componentName + '.' + functionName, args);
},

@@ -236,3 +244,3 @@

if (!this.Shared.TraceCfg.enabled) return;
this.traceFunctionCall('[from ' + source + '] ' + componentName + '.' + functionName, args);
this.traceFunctionCall('[from ' + source + ']', componentName + '.' + functionName, args);
},

@@ -239,0 +247,0 @@ }

{
"name": "nogap",
"version": "0.6.3",
"version": "0.6.4",
"author": {

@@ -5,0 +5,0 @@ "name": "Dominik Seifert",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc