Skip to content

Releases: prantlf/jsonlint

v6.2.1

30 May 08:28
Compare
Choose a tag to compare

6.2.1 (2019-05-30)

Bug Fixes

  • Include source code in source maps on the on-line validator page (31e0097)

v6.2.0

30 May 07:59
Compare
Choose a tag to compare

6.2.0 (2019-05-30)

Features

  • Extract the functionality for sorting object keys to a module (a53bd93)

v6.1.0

27 May 10:17
Compare
Choose a tag to compare

6.1.0 (2019-05-27)

Bug Fixes

  • Fix the missing function object (Parser) in the main module exports (eb892aa)
  • Restore context options (yy) set in the Parser constructor after the call to parse, if the options were overridden by the method arguments (787c350)

Features

  • Use the native JSON parser if a limited error information is enough (8aa9fb1)

v6.0.0

26 May 20:30
Compare
Choose a tag to compare

6.0.0 (2019-05-26)

Features

  • Declare modules in this package using UMD (d442583)
  • Remove ParserWithComments and parseWithCOmment from the interface (3fab374)

BREAKING CHANGES

  • The object and the method do not exist any more. Pass the parameter "ignoreComments" as an object { ignoreComments: true } either to the constructor of the Parser object, or as the second parameter to the method parse.

v5.0.0

26 May 17:53
Compare
Choose a tag to compare

5.0.0 (2019-05-26)

Bug Fixes

  • Do not export "main" method, which requires other NPM modules (d8af36a)

Features

  • Accept single quotes (apostrophes) as string delimiters (240b8cd)

BREAKING CHANGES

  • The "main" method providing a command-line interface importable from other module has been removed. If you used it, have a look at the command-line interface in lib/cli. You can import this module in instead and it offers a richer interface, than the previously exported "main" method. The lib/cli module is mapped to bin/jsonlint too. However, consider the default library export (lib/jsonlint) for programmatic usage. You will pack less JavaScript code and use smalker, mode programmer-oriented interface.

v4.0.2

19 May 05:48
Compare
Choose a tag to compare

4.0.2 (2019-05-19)

Bug Fixes

  • Print parsing errors if the JSON input is read from stdin (acfdf11)

v4.0.1

19 May 04:13
Compare
Choose a tag to compare

4.0.1 (2019-05-19)

Bug Fixes

  • Do not fail sorting objects with a property called "hasOwnProperty" (b544ceb)

v4.0.0

19 May 02:40
Compare
Choose a tag to compare

4.0.0 (2019-05-19)

Bug Fixes

  • Standardize the interface of the "jsonlint/lib/formatter" module (b8b041b)

Features

  • Add web and programmatic interfaces to JSON Schema validation (d45b243)

BREAKING CHANGES

  • The formatting method is exposed not as exports.formatter.formatJson, but as exports.format.
    This module is not documented and it is unlikely, that it broke other project.

v3.0.0

18 May 22:04
Compare
Choose a tag to compare

3.0.0 (2019-05-18)

Bug Fixes

  • Replace JSON schema validator JSV with ajv, because JSV is not maintained any more and does not support current JSON schema drafts (1a4864f)

BREAKING CHANGES

  • The environment for the JSON schema validation "json-schema-draft-03" is not available any more.
    Migrate your schemas from the JSON schema draft 03 to 04 or newer. Drafts 04, 06 and 07 are supported with this release.

v2.0.1

18 May 20:38
Compare
Choose a tag to compare

2.0.1 (2019-05-18)

Bug Fixes

  • Do not depend on the standard checker in the release package (1e9c7b5)