# What changed in jsonc-parser

> 2 changes in jsonc-parser 3 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/jsonc-parser/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## jsonc-parser 3

### New APIs and options

- Added the insertFinalNewline API to FormattingOptions. (3.0.0) — [release notes](https://github.com/microsoft/node-jsonc-parser/blob/HEAD/CHANGELOG.md)

### Fixes and other changes

- The API spec was fixed to note that parseTree can return undefined for empty input. (3.0.0) — [release notes](https://github.com/microsoft/node-jsonc-parser/blob/HEAD/CHANGELOG.md)
