Skip to content

Commit c0a130d

Browse files
Merge pull request #2356 from egfx-notifications/fix/parsejson-v8-11.7.72-and-newer
fix: Update parseJson() for v8 11.7.72 and newer
2 parents 3f8b644 + 4423579 commit c0a130d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runtime/parseJson.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const rxParseJson = /position\s(\d+)$/
1+
const rxParseJson = /position\s(\d+)(?: \(line \d+ column \d+\))?$/
22

33
export function parseJson(s: string, pos: number): unknown {
44
let endPos: number | undefined

0 commit comments

Comments
 (0)