Skip to content

Releases: prantlf/jsonlint

v11.1.1

01 May 21:13
Compare
Choose a tag to compare

11.1.1 (2022-05-01)

Bug Fixes

  • Retain the original last line break in the processed file (54fd5ab)

v11.1.0

01 May 16:59
Compare
Choose a tag to compare

11.1.0 (2022-05-01)

Bug Fixes

  • Merge remote-tracking branch 'xmedeko/patch-1' (da3e1dc)

Features

  • Optionally ensure a line break at the end of the output (226019e)

v11.0.0

01 May 16:33
Compare
Choose a tag to compare

11.0.0 (2022-05-01)

Bug Fixes

BREAKING CHANGES

  • The minimum supported version has become Node.js 12 instead of the previous Node.js 6. At least commander needs the new version.

v10.2.0

28 Dec 13:05
Compare
Choose a tag to compare

10.2.0 (2019-12-28)

Features

  • Allow trimming trailing commas in arrays and objects (JSON5) (136ea99)
  • Allow unifying quotes around object keys to double or single ones (JSON5) (6b6da17)

v10.1.1

27 Dec 20:42
Compare
Choose a tag to compare

10.1.1 (2019-12-27)

Bug Fixes

  • Restore compatibility with IE11 (55b8a48)

v10.1.0

27 Dec 18:24
Compare
Choose a tag to compare

10.1.0 (2019-12-27)

Features

  • Alternatively accept number of spaces for the indent parameter (4c25739)

v10.0.2

27 Dec 16:28
Compare
Choose a tag to compare

10.0.2 (2019-12-27)

Bug Fixes

  • Do not modify input options in the tokenize method (7e3ac0b)

v10.0.1

27 Dec 16:08
Compare
Choose a tag to compare

10.0.1 (2019-12-27)

Bug Fixes

  • Pretty-printer: keep the comment after opening an object scope indented (4fbc09d)

v10.0.0

27 Dec 14:54
Compare
Choose a tag to compare

10.0.0 (2019-12-27)

Bug Fixes

  • Rename the property "exzerpt" in error information to "excerpt" (4c74e3d)

Features

  • Add support for pretty-printing of the JSON input (d5eaa93)

BREAKING CHANGES

  • If you used the property "exzerpt" from the parsing error object, you have to change it to "excerpt". It should be easy using a full-text search in your sources.

  • The option for pretty-printing invalid input has been renamed:

    -p (--pretty-print) ==> -P (--pretty-print-invalid)

The option -p (--pretty-print) will newly prettify the raw (text) input instead of formatting the parsed JSON object.

v9.0.0

22 Dec 00:42
Compare
Choose a tag to compare

9.0.0 (2019-12-22)

chore

  • Upgrade package dependencies (4a8f2d9)

Features

BREAKING CHANGES

  • Dependencies (commander, at least) dropped support for Node.js 4. Node.js 6 should still work, but officially it is not supported either. You should upgrade to the current or still supported Node.js LTS version.