Skip to content

Commit eae646b

Browse files
committed
upgrade error-stack-parser to 2.0.7
StackFrame is not exported anymore: stacktracejs/error-stack-parser#54 (comment)
1 parent 87722ae commit eae646b

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

package-lock.json

+14-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"emoji-js-clean": "^4.0.0",
8686
"emoji-mart": "^3.0.0",
8787
"emoji-regex": "^9.2.2",
88-
"error-stack-parser": "^2.0.6",
88+
"error-stack-parser": "^2.0.7",
8989
"filesize": "^8.0.6",
9090
"immutable": "^4.0.0",
9191
"mapbox-gl": "^1.12.0",
@@ -104,6 +104,7 @@
104104
"react-window-infinite-loader": "^1.0.7",
105105
"react-zoom-pan-pinch": "^2.1.3",
106106
"source-map-support": "^0.5.19",
107+
"stackframe": "^1.2.1",
107108
"tempy": "^0.3.0",
108109
"url-parse": "^1.5.3",
109110
"use-debounce": "^3.3.0"

src/shared/logger.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import errorStackParser, { StackFrame } from 'error-stack-parser'
1+
import errorStackParser from 'error-stack-parser'
2+
import StackFrame from 'stackframe'
23
import { RC_Config } from './shared-types'
34

45
const startTime = Date.now()

0 commit comments

Comments
 (0)