Back to Explore

microsoft/node-jsonc-parser

GitHub
1 updates · last 90 days1 watchersOpen source

Last release:

jsonc-parser is a Node module that scans and parses JSON that can include JavaScript-style comments (JSONC), while also working with standard JSON. It provides a fault-tolerant parser, token offsets, and helpers to visit values, build a node tree with locations, and compute/apply edits for formatting or modifying JSON documents.

Project status

  • Actively maintained, evidence includes a very recent upstream push on 2026-08-12 and continued package updates in 2026 (v4.0.0-next.1 on 2026-03-10, v4.0.0-next.2 on 2026-06-16).
  • Apparent update cadence is currently active, with two “next” updates in 2026 about three months apart, after a longer quieter period between the 2024 updates and the 2026 line.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v4.0.0-next.2

    Release v4.0.0-next.2 primarily fixes bugs in the JSON edit/remove path, specifically handling removal of the last array element correctly. It also updates several development dependencies via npm audit fixes, plus bumps the package version.

    Security
  • v4.0.0-next.1

    v4.0.0-next.1 primarily upgrades a few dependencies (brace-expansion, picomatch, flatted), and includes fixes for modify() when removing the last element from an array and when removing array elements produces invalid JSON. The release notes do not mention any packaging or API shape changes.

    Security
  • v3.3.1

    Release v3.3.1 primarily updates the package version to 3.3.1. The only functional change in the diff is that the package.json "exports" map was removed.

    Breaking
  • v3.3.0

    v3.3.0 improves JSON parsing and formatting with performance-focused changes and multiple bug fixes. It also updates the public formatting and visitor APIs (new formatting option(s) and new visitor callback parameters), which may require small TypeScript updates when upgrading.

    BreakingFeatures