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.1.4 to 2.1.5

2

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

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

@@ -137,5 +137,6 @@ "use strict";

native = (planA[2] === 'native')
fileLineColumn = (planA[2].match (/(.*):(.+):(.+)/) || []).slice (1)
fileLineColumn = (planA[2].match (/(.*):(\d+):(\d+)/) ||
planA[2].match (/(.*):(\d+)/) || []).slice (1)
} else if ((planB = line.match (/^(at\s+)*(.+):([0-9]+):([0-9]+)/) )) {
} else if ((planB = line.match (/^(at\s+)*(.+):(\d+):(\d+)/) )) {
fileLineColumn = (planB).slice (2)

@@ -142,0 +143,0 @@

@@ -336,2 +336,19 @@ "use strict";

})
it ('recognizes locations without column', () => {
const stack = [
'Error',
' at ValidateCompatibilityWithBindGroupLayout (../../third_party/dawn/src/dawn_native/ShaderModule.cpp:395)',
].join ('\n')
const items = new StackTracey(stack).items
items[0].should.contain({
callee: 'ValidateCompatibilityWithBindGroupLayout',
calleeShort: 'ValidateCompatibilityWithBindGroupLayout',
fileRelative: '../../third_party/dawn/src/dawn_native/ShaderModule.cpp',
fileShort: '../../third_party/dawn/src/dawn_native/ShaderModule.cpp',
fileName: 'ShaderModule.cpp'
})
})
})

@@ -338,0 +355,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