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

stacktracey

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stacktracey - npm Package Compare versions

Comparing version 2.0.18 to 2.0.19

2

package.json
{
"name": "stacktracey",
"version": "2.0.18",
"version": "2.0.19",
"description": "Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.",

@@ -5,0 +5,0 @@ "main": "stacktracey",

@@ -115,3 +115,4 @@ "use strict";

if ((planA = line.match (/at (.+) \((.+)\)/)) ||
if ((planA = line.match (/at (.+) \(eval at .+ \((.+)\), .+\)/)) || // eval calls
(planA = line.match (/at (.+) \((.+)\)/)) ||
((line.slice (0, 3) !== 'at ') && (planA = line.match (/(.*)@(.*)/)))) {

@@ -118,0 +119,0 @@

@@ -303,2 +303,13 @@ "use strict";

it('parses "eval at" stuff', () => {
function bar() {
const entry = new StackTracey().items[1]
entry.callee.should.equal('eval')
entry.fileName.should.equal('test.js')
}
function foo() {
eval('bar()')
}
foo()
})
})

@@ -305,0 +316,0 @@

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