stacktracey 2.1.7 → 2.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stacktracey",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "description": "Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.",
5
5
  "main": "stacktracey",
6
6
  "types": "./stacktracey.d.ts",
package/stacktracey.d.ts CHANGED
@@ -39,7 +39,7 @@ declare class StackTracey {
39
39
  maxColumnWidths (): StackTracey.MaxColumnWidths
40
40
 
41
41
  static resetCache (): void
42
- static locationsEqual (a: Location, b: Location): boolean
42
+ static locationsEqual (a: StackTracey.Location, b: StackTracey.Location): boolean
43
43
  }
44
44
 
45
45
  declare namespace StackTracey {
package/test.js CHANGED
@@ -334,7 +334,7 @@ describe ('StackTracey', () => {
334
334
  items[1].fileRelative.should.equal('hohoho/test.js')
335
335
  })
336
336
 
337
- it.only ('recognizes locations without column', () => {
337
+ it ('recognizes locations without column', () => {
338
338
  const stack = [
339
339
  'Error',
340
340
  ' at ValidateCompatibilityWithBindGroupLayout (../../third_party/dawn/src/dawn_native/ShaderModule.cpp:395)',
@@ -342,8 +342,6 @@ describe ('StackTracey', () => {
342
342
 
343
343
  const items = new StackTracey(stack).items
344
344
 
345
- console.log(items)
346
-
347
345
  items[0].should.contain({
348
346
  callee: 'ValidateCompatibilityWithBindGroupLayout',
349
347
  calleeShort: 'ValidateCompatibilityWithBindGroupLayout',