npm/json-parse-even-better-errors
Last release: 1 month ago
A Node.js library that works like `JSON.parse` but produces nicer, more informative parse errors, including context and the position where parsing failed. It also preserves the original JSON newline and indentation styles via `Symbol.for('newline')` and `Symbol.for('indent')`, and provides a `noExceptions` method that returns `undefined` instead of throwing.
Project status
- Actively maintained, with recent activity (upstream push on 2026-05-22) and a new update version (v6.0.0 on 2026-05-08).
- Update cadence looks ongoing but variable: v4.0.0 (2024-09-04), v5.0.0 (2025-10-22), v6.0.0 (2026-05-08), roughly 6 to 14 months between major updates.
AI summary generated Today
Recent updates
v6.0.0
1 month agoRelease v6.0.0 updates the supported Node.js engine range and modernizes the project tooling. The code diff indicates no substantive runtime logic change in the JSON parser, with changes concentrated in tests, coverage instrumentation, and CI/workflow configuration.
Breakingv5.0.0
7 months agoRelease v5.0.0 primarily updates Node.js support requirements and tooling configuration. The code diff shows changes limited to package metadata, CI/workflow configuration, and release automation settings, with no application/library source changes visible in the provided diff.
Breakingv4.0.0
9/4/2024v4.0.0 mainly updates the supported Node.js engine range. The rest of the diff focuses on development tooling and CI configuration updates (lint scripts, GitHub Actions workflows, CodeQL action versions, and repo ignore/config files).
Breakingv3.0.2
5/4/2024v3.0.2 is primarily a bug fix targeted at Node 22 JSON parse error behavior, plus repository automation chores. The library code change is very small (conditional handling for a specific Node 22 message pattern) and the tests were updated to match Node 22-specific error wording.
v3.0.1
11/28/2023v3.0.1 is a patch release focused on improving the JSONParseError formatting when running on Node 20. The code change is largely an internal refactor around how parse errors are normalized and how error context snippets are constructed.
v3.0.0
10/10/2022v3.0.0 introduces a Node.js version support change, expanding the semver range that the package declares compatibility with. Beyond this compatibility update, the release notes do not describe additional functional changes or fixes.
Breaking