Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsonrepair

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonrepair - npm Package Versions

124

3.1.0

Diff

Changelog

Source

3.1.0 (2023-05-04)

Features

  • fix broken numbers at the end of the string (c42d9dd)
  • fix broken numbers at the end of the string (#91) (9ad00fd)
josdejong
published 3.0.3 •

Changelog

Source

3.0.3 (2023-04-17)

Bug Fixes

  • #89 wrongly parsing strings that contain a double quote left or right (4023ece)
josdejong
published 3.0.2 •

Changelog

Source

3.0.2 (2023-01-06)

Bug Fixes

  • error handling unicode characters containing a 9 (d665ec2)
josdejong
published 3.0.1 •

Changelog

Source

3.0.1 (2022-12-20)

Bug Fixes

  • improve resolving unquoted strings and missing colon (45cd4e4)
josdejong
published 3.0.0 •

Changelog

Source

2021-12-19, version 3.0.0

  • Complete rewrite of the parser in TypeScript, with improved performance.
  • Can repair some additional cases of broken JSON.

⚠ BREAKING CHANGES

  • Changed the API from default export import jsonrepair from 'jsonrepair' to named export import { jsonrepair} from 'jsonrepair'
  • Changed in UMD export from jsonrepair to JSONRepair.jsonrepair
  • Changed the error class to JSONRepairError with a property .position
josdejong
published 2.2.1 •

Changelog

Source

2021-06-09, version 2.2.1

  • Improved handling of trailing commas.
  • Improved handling of newline delimited JSON containing commas.
  • Improved handling of repairing objects/arrays with missing closing bracket.
josdejong
published 2.2.0 •

Changelog

Source

2021-04-01, version 2.2.0

  • Implement #16: turn an escaped string containing JSON into valid JSON.
josdejong
published 2.1.0 •

Changelog

Source

2021-04-01, version 2.1.0

  • Implemented command line interface (CLI), see #34.
josdejong
published 2.0.1 •

Changelog

Source

2021-03-01, version 2.0.1

  • Performance improvements.
josdejong
published 2.0.0 •

Changelog

Source

2021-01-13, version 2.0.0

  • Renamed the library from simple-json-repair to jsonrepair. Thanks a lot @vmx for making this npm package name available!
  • Change source code from TypeScript to JavaScript. Reasons: TypeScript conflicts with using native ESM, requiring ugly workarounds. Due to some (old) TypeScript issues we also have to use @ts-ignore a lot. Using TypeScript makes running tests slower. And in this case, TypeScript hardly adds value since we have a very simple API and function signatures.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc