Back to Explore

sidorares/json-bigint

GitHub
1 watchersOpen source

Last release:

Provides JSON.parse and JSON.stringify-compatible functions with support for large integers using BigNumber or native BigInt. Useful when your JSON data may exceed IEEE 754 double precision limits and you need configurable parsing options (for example, strict duplicate-key handling and choosing BigInt behavior).

Project status

  • The source does not show evidence of active maintenance, with the last upstream push dated 2024-07-28, which is nearly two years ago relative to 2026-08-12, so it appears quiet or dormant.
  • Update cadence is historical, not current, with updates clustered in mid 2020 (v0.3.1, v0.4.0, v1.0.0) and no newer updates after 2020 other than the upstream push in 2024.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.0

    This release (v1.0.0) includes a major internal update to the JSON parser implementation. Release notes were not provided, so the behavior changes in parsing options and security handling must be inferred directly from the code diff.

    BreakingSecurityFeatures
  • v0.4.0

    v0.4.0 adds options for parsing JSON numbers into native JavaScript BigInt values and extends stringify support to bigint inputs. It also includes parsing logic adjustments around string scanning and updates repo tooling and tests (including Node 14 in CI). No release notes were provided, so the functional changes below are not documented there.

    Features
  • v0.3.1

    Release v0.3.1 was published on 2020-06-17, but no release notes were provided by the publisher. As a result, the specific changes, potential breaking behavior, and any fixes cannot be determined from the provided information.

  • v0.3.0

    Release v0.3.0 updates the bigint handling logic in lib/stringify.js and upgrades the bignumber.js dependency. No release notes were provided, so the only documented information is the version bump and the code and dependency changes present in the diff.

  • v0.2.3

    Release v0.2.3 updates the json-bigint package to use a newer bignumber.js version. The code change mainly alters how values are detected as BigNumber instances during JSON stringification.

  • v0.2.2

    Release v0.2.2 contains a small code change to how json-bigint detects BigNumber values during stringification. Release notes were not provided, so the behavioral impact of this change is not documented.

  • v0.2.1

    Release v0.2.1 has no publisher-provided release notes. The code diff shows changes to JSON parsing and stringifying behavior, plus a major dependency upgrade from bignumber.js 1.x to 2.4.0.

    Breaking
  • v0.2.0

    Release v0.2.0 has no publisher-provided release notes. The code diff shows a new parsing option that changes how large numeric values are represented, plus accompanying README documentation and a new test.

    Features
  • v0.1.4

    Release v0.1.4 contains no publisher-provided release notes. The diff shows small internal changes: localizing `json_stringify` and `json_parse` variables in `index.js`, and tightening the Mocha test command with `--check-leaks`.

  • v0.1.3

    The v0.1.3 release has no release notes provided by the publisher, so there is no documented information about feature additions, fixes, or breaking changes. To assess upgrade impact, you will need to compare this tag against the previous release (for example, via GitHub diff/changelog/code review) or check commit history for behavioral changes.