KEMBAR78
Releases · sindresorhus/strip-json-comments · GitHub
Skip to content

Releases: sindresorhus/strip-json-comments

v5.0.3

08 Aug 14:14

Choose a tag to compare

  • Fix handling of malformed block comments 532a6be

v5.0.2...v5.0.3

v5.0.2

16 May 20:47

Choose a tag to compare

  • Fix stripping non-breaking comments in code when preserving whitespace 77be3c8

v5.0.1...v5.0.2

v5.0.1

04 Jul 11:22

Choose a tag to compare

v5.0.0...v5.0.1

v5.0.0

22 Jul 09:48

Choose a tag to compare

Breaking

Improvements

  • Add option to also strip trailing commas (#59) f9a6283

v4.0.0...v5.0.0

v4.0.0

19 Aug 18:10

Choose a tag to compare

Breaking

v3.1.1...v4.0.0

v3.1.1

12 Jul 14:45

Choose a tag to compare

  • Add jsonc to package.json keywords (#45) 60d2039

v3.1.0...v3.1.1

v3.1.0

06 Apr 07:59

Choose a tag to compare

  • Strictly validate that the jsonString argument is a string 681f8b8

v3.0.1...v3.1.0

v3.0.1

30 Apr 17:11

Choose a tag to compare

  • Correctly handle some weird escaping (#41) 23acbfe

v3.0.0...v3.0.1

v3.0.0

30 Apr 12:23

Choose a tag to compare

Breaking:

Enhancements:

v2.0.1...v3.0.0

2.0.0

18 Nov 14:28

Choose a tag to compare

  • Comments are now by default replaced with whitespace instead of completely stripped. This allows JSON error positions to remain as close as possible to the original source. 0195077
  • Dropped support for Bower and Component. You can still use them, but you need to use a build tool like Browserify or Webpack. 6c29f50
  • The CLI was moved into a separate module. a51caac

v1.0.4...v2.0.0