Skip to content

Commit

Permalink
Merge pull request #2356 from egfx-notifications/fix/parsejson-v8-11.…
Browse files Browse the repository at this point in the history
…7.72-and-newer

fix: Update parseJson() for v8 11.7.72 and newer
  • Loading branch information
jasoniangreen authored Feb 16, 2024
2 parents 3f8b644 + 4423579 commit c0a130d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime/parseJson.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const rxParseJson = /position\s(\d+)$/
const rxParseJson = /position\s(\d+)(?: \(line \d+ column \d+\))?$/

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

0 comments on commit c0a130d

Please sign in to comment.