Skip to content

Releases: sindresorhus/strip-json-comments

v5.0.1

04 Jul 11:22
Compare
Choose a tag to compare

v5.0.0...v5.0.1

v5.0.0

22 Jul 09:48
Compare
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
Compare
Choose a tag to compare

Breaking

v3.1.1...v4.0.0

v3.1.1

12 Jul 14:45
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Breaking:

Enhancements:

v2.0.1...v3.0.0

2.0.0

18 Nov 14:28
Compare
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