We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supposedly, everything lower or equal to Number.MAX_SAFE_INTEGER should be 'number', but it's not the case. Here's repro:
import JsonBigInt from "json-bigint"; const { parse } = JsonBigInt({ protoAction: "ignore", useNativeBigInt: true, }); console.log(parse(JSON.stringify({ foo: Number.MAX_SAFE_INTEGER, bar: 100 })));
yields { foo: 9007199254740991n, bar: 100 }, should be { foo: 9007199254740991, bar: 100 }
The text was updated successfully, but these errors were encountered:
Does this issue be resolved? I'm using version 1.0.0 and still got this issue
1.0.0
Sorry, something went wrong.
This issue is resolved inside the repo after this commit, but for some reason author doesn't seem too interested to publish it on npm.
No branches or pull requests
Supposedly, everything lower or equal to Number.MAX_SAFE_INTEGER should be 'number', but it's not the case. Here's repro:
yields { foo: 9007199254740991n, bar: 100 }, should be { foo: 9007199254740991, bar: 100 }
The text was updated successfully, but these errors were encountered: