# jsonc-parser v3.3.0 - Product: jsonc-parser (https://whatsnew.fyi/product/jsonc-parser) - Vendor: Microsoft - Date: 2024-06-24 - Version: v3.3.0 - Original notes: https://github.com/microsoft/node-jsonc-parser/releases/tag/v3.3.0 - Permalink: https://whatsnew.fyi/product/jsonc-parser/releases/v3.3.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add insertFinalNewline option in FormattingOptions - **added** — Include source map in published package - **fixed** — Formatting valid JSON content no longer produces invalid JSON - **fixed** — parseTree() now returns correct value on empty string input - **added** — Allow the visitor to cease callbacks ##### Changes: ###### Feature Requests: * #11: Can we have a "insertFinalNewline" option in "FormattingOptions"? * #4: Source map referenced but not included in published package ###### Bugs: * #33: Formatting valid json content is causing an invalid json * #40: parseTree() returns `undefined` on empty string input ###### Others: * #90: prepare 3.3.0 * #88: Allow the visitor to cease callbacks * #89: Bump braces from 3.0.2 to 3.0.3
See More * #84: prepare 3.2.1 * #81: perf(format): cache breaklines and spaces as much as possible * #79: update dependencies * #75: ci: add batch * #72: delete pr-chat action * #71: add publish pipeline & cleanup ci * #70: set `preserveConstEnums: true`, switch to es2020 * #69: sort edits in applyEdits * #66: An additional parameter keepLines has been added into the formatting options which allows to keep the original line formatting * #64: Adding Microsoft SECURITY.MD * #62: Add JSON path supplier parameter to visitor functions * #44: findNodeAtLocation does not handle incomplete property pair * #61: Update API section in README * #53: Clarify whether / how `Edit[]` can be concatenated * #46: Non-standard whitespace handling * #47: Improve README * #54: readme: improve ParseOptions documentation * #43: Add file extenstion to typings property value * #34: Optimize parseLiteral for number-heavy JSON files (ala GeoJSON) * #39: Bump lodash from 4.17.15 to 4.17.19 * #35: Allow for array modifications, add inPlace formatting option. * #32: Parse errors make parsed tree useless * #31: Upgrading from 2.1.1 to 2.2.0 has diagnostic for file with only comments * #25: Fix typo in README * #24: parse function should include properties with empty string as their keys * #21: Update README.md * #18: JavaScipt -> JavaScript * #17: add line and column information to scanner and visitor * #15: Fix a few typos in doc comments * #12: Do not mutate the given path * #9: Refactor computeIndentLevel method * #8: Fix typo of token * #6: Allow trailing commas in array * #5: add JSON formatter and editor from VS Code * #1: Error objects should also contain location information This list of changes was [auto generated](https://dev.azure.com/monacotools/Monaco/_build/results?buildId=280373&view=logs).