parse-json

Parse JSON with more helpful errors

MIT License

Downloads
236.4M
Stars
336
Committers
15

Bot releases are hidden (Show)

parse-json - Latest Release

Published by sindresorhus 11 months ago

  • Remove json-parse-even-better-errors dependency (#47) 1acdef5

https://github.com/sindresorhus/parse-json/compare/v8.0.1...v8.1.0

parse-json -

Published by sindresorhus 11 months ago

  • Fix code frame for parsing { (#44) 13cf9c1

https://github.com/sindresorhus/parse-json/compare/v8.0.0...v8.0.1

parse-json -

Published by sindresorhus 12 months ago

parse-json -

Published by sindresorhus 12 months ago

  • Fix code frame for Node.js v21 (#40) 789771a

https://github.com/sindresorhus/parse-json/compare/v7.1.0...v7.1.1

parse-json -

Published by sindresorhus about 1 year ago

  • Add rawCodeFrame property to JSONError (#37) 9f3bd0b

https://github.com/sindresorhus/parse-json/compare/v7.0.0...v7.1.0

parse-json -

Published by sindresorhus over 1 year ago

Breaking

  • Require Node.js 16 (#36) c4d2319

Improvements

  • Add TypeScript definition (#36) c4d2319

https://github.com/sindresorhus/parse-json/compare/v6.0.2...v7.0.0

parse-json -

Published by sindresorhus almost 3 years ago

  • Fix dependency on lines-and-columns (#33) a244a17

https://github.com/sindresorhus/parse-json/compare/v6.0.1...v6.0.2

parse-json -

Published by sindresorhus almost 3 years ago

parse-json -

Published by sindresorhus almost 3 years ago

Breaking

  • Require Node.js 12.20 8acbeac
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/parse-json/compare/v5.2.0...v6.0.0

parse-json -

Published by sindresorhus almost 4 years ago

parse-json -

Published by sindresorhus about 4 years ago

  • Replace dependency json-parse-better-errors with fork json-parse-even-better-errors (#23) 58852b4

https://github.com/sindresorhus/parse-json/compare/v5.0.1...v5.1.0

parse-json -

Published by sindresorhus about 4 years ago

  • Make the error parsing more reliable eb5e5ec

https://github.com/sindresorhus/parse-json/compare/v5.0.0...v5.0.1

parse-json -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Node.js 8 f88aac6

Enhancements:

  • Add code frame for even better errors (#19) 06d9a8c

https://github.com/sindresorhus/parse-json/compare/v4.0.0...v5.0.0