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

tallstack

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tallstack - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

14

index.js

@@ -149,5 +149,5 @@ /*

const name = func.name || 'recurse';
const obj = {
[name]: function() {
const firstEval = func.apply(thisArg, Array.from(arguments));
const recursiveFunc = {
[name]: (...args) => {
const firstEval = func.apply(thisArg, args);
if (!(firstEval instanceof StackFrame)) {

@@ -157,6 +157,6 @@ return firstEval;

return new CallStack(firstEval).evaluate();
}
}
originalFunctionMap.set(obj[name], func);
return obj[name];
},
}[name];
originalFunctionMap.set(recursiveFunc, func);
return recursiveFunc;
}

@@ -163,0 +163,0 @@

{
"name": "tallstack",
"version": "0.0.1",
"version": "0.0.2",
"description": "A library that allows you to define recursive functions in JavaScript without stack overflow.",

@@ -5,0 +5,0 @@ "main": "index.js",

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