Skip to content

Replace dependency json-parse-better-errors with fork json-parse-even-better-errors#23

Merged
sindresorhus merged 1 commit into
sindresorhus:masterfrom
papb:master
Aug 22, 2020
Merged

Replace dependency json-parse-better-errors with fork json-parse-even-better-errors#23
sindresorhus merged 1 commit into
sindresorhus:masterfrom
papb:master

Conversation

@papb

@papb papb commented Aug 22, 2020

Copy link
Copy Markdown
Contributor

NPM has created a fork of zkat/json-parse-better-errors called zkat/json-parse-even-better-errors (which I noticed at the release of npm v7.0.0-beta.6).

Example of improvement:

- Unexpected token } in JSON at position 16 while parsing near '{    "foo": true,}'
+ Unexpected token "}" (0x7D) in JSON at position 16 while parsing "{\n\t\"foo\": true,\n}" 

There has been a few other minor improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants