Skip to content

Commit d7d6c6d

Browse files
committed
Fix lint error
1 parent 726c3a1 commit d7d6c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function parseJSONWithBigInt(str) {
346346
// This replaces the functionality of json-bigint package.
347347
// The regex matches integers after: colon (:), comma (,), or open bracket ([)
348348
const processed = str.replace(
349-
/(?:[:,\[])\s*(-?\d+)(?=\s*[,}\]])/g,
349+
/(?:[:,[])\s*(-?\d+)(?=\s*[,}\]])/g,
350350
(match, number) => {
351351
const num = Number(number);
352352
// If the number is not safe, keep it as a string

0 commit comments

Comments
 (0)