Skip to content

Commit

Permalink
fix: Update parseJson() for v8 11.7.72 and newer
Browse files Browse the repository at this point in the history
  • Loading branch information
egfx-notifications committed Dec 20, 2023
1 parent 490eb8c commit f7ad4a3
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 f7ad4a3

Please sign in to comment.