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

callstackjs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

callstackjs - npm Package Compare versions

Comparing version 0.5.0 to 1.0.0

25

callStack.js

@@ -217,7 +217,24 @@ /**!

if (callStack.disabled) {
return fn;
return function callStackDisabledWrapper() {
return fn.apply(ctx, arguments);
};
}
return function callStackWrapper() {
if (!opts.uniq || _ifNotInStack(stack.calls, fn, arguments, opts.uniq)) {
var length = arguments.length
var args = new Array(length);
if (length > 0) {
if (length <= 2) {
args[0] = arguments[0];
(length === 2) && (args[1] = arguments[1]);
} else {
for (var i = 0; i < length; i++) {
args[i] = arguments[i];
}
}
}
if (!opts.uniq || _ifNotInStack(stack.calls, fn, args, opts.uniq)) {
var calls = stack.calls;

@@ -229,3 +246,3 @@

ctx: ctx,
args: arguments,
args: args,
weight: opts.weight | 0

@@ -432,4 +449,4 @@ });

// Export
callStack.version = '0.5.0';
callStack.version = '1.0.0-rc';
return callStack;
});

2

package.json
{
"name": "callstackjs",
"exportName": "callStack",
"version": "0.5.0",
"version": "1.0.0",
"devDependencies": {

@@ -6,0 +6,0 @@ "grunt": "~0.4.5",

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