JSONVisitor.onObjectBegin and JSONVisitor.onArrayBegin can now return false to instruct the visitor that no children should be visited.
3.2.0 2022-08-30
update the version of the bundled Javascript files to es2020.
include all const enum values in the bundled JavaScript files (ScanError, SyntaxKind, ParseErrorCode).
3.1.0 2022-07-07
added new API FormattingOptions.keepLines : It leaves the initial line positions in the formatting.
3.0.0 2020-11-13
fixed API spec for parseTree. Can return undefine for empty input.
added new API FormattingOptions.insertFinalNewline.
2.3.0 2020-07-03
new API ModificationOptions.isArrayInsertion: If JSONPath refers to an index of an array and isArrayInsertion is true, then modify will insert a new item at that location instead of overwriting its contents.
ModificationOptions.formattingOptions is now optional. If not set, newly inserted content will not be formatted.
2.2.0 2019-10-25
added ParseOptions.allowEmptyContent. Default is false.
new API getNodeType: Returns the type of a value returned by parse.
parse: Fix issue with empty property name
2.1.0 2019-03-29
JSONScanner and JSONVisitor return lineNumber / character.
2.0.0 2018-04-12
renamed Node.columnOffset to Node.colonOffset
new API getNodePath: Gets the JSON path of the given JSON DOM node
new API findNodeAtOffset: Finds the most inner node at the given offset. If includeRightBound is set, also finds nodes that end at the given offset.
1.0.3 2018-03-07
provide ems modules
1.0.2 2018-03-05
added the visit.onComment API, reported when comments are allowed.
added the ParseErrorCode.InvalidCommentToken enum value, reported when comments are disallowed.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps jsonc-parser from 3.2.1 to 3.3.1.
Release notes
Sourced from jsonc-parser's releases.
... (truncated)
Changelog
Sourced from jsonc-parser's changelog.
... (truncated)
Commits
3c9b420
remove exports, prepare 3.3.1 (#92)4f3cf98
prepare 3.3.0 (#90)9e24580
Allow the visitor to cease callbacks (#88)cfe32ac
Bump braces from 3.0.2 to 3.0.3 (#89)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show