backtracker
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -31,2 +31,7 @@ "use strict"; | ||
const test1 = evalreg.exec(frame); | ||
const test6 = filereg.exec(frame); | ||
if (test6 && test6.length > 0) { | ||
callers.push(new Caller_1.default({ path: test6[2], async: !!test6[1], scope: "file", line: Number(test6[3]), column: Number(test6[4]), anonymous: false })); | ||
continue; | ||
} | ||
if (test1 && test1.length > 0) { | ||
@@ -56,7 +61,2 @@ callers.push(new Caller_1.default({ path: test1[2], async: false, scope: test1[1], line: Number(test1[3]), column: Number(test1[4]), anonymous: !!test1[5] })); | ||
} | ||
const test6 = filereg.exec(frame); | ||
if (test6 && test6.length > 0) { | ||
callers.push(new Caller_1.default({ path: test6[2], async: !!test6[1], scope: "file", line: Number(test6[3]), column: Number(test6[4]), anonymous: false })); | ||
continue; | ||
} | ||
} | ||
@@ -63,0 +63,0 @@ for (const caller of callers) { |
{ | ||
"name": "backtracker", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "Back track in JS code execution and find where a function was called", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package