Updated the project.
This commit is contained in:
parent
5dfe9f128d
commit
7919556077
1550 changed files with 17063 additions and 40183 deletions
4
my-app/node_modules/json-parse-even-better-errors/lib/index.js
generated
vendored
Executable file → Normal file
4
my-app/node_modules/json-parse-even-better-errors/lib/index.js
generated
vendored
Executable file → Normal file
|
@ -52,7 +52,9 @@ const parseError = (e, txt, context = 20) => {
|
|||
let errIdx
|
||||
if (badIndexMatch) {
|
||||
errIdx = +badIndexMatch[1]
|
||||
} else if (msg.match(/^Unexpected end of JSON.*/i)) {
|
||||
} else /* istanbul ignore next - doesnt happen in Node 22 */ if (
|
||||
msg.match(/^Unexpected end of JSON.*/i)
|
||||
) {
|
||||
errIdx = txt.length - 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue