node-semver-rs
node-semver-rs copied to clipboard
`MAX_SAFE_INTEGER` has the wrong value.
MAX_SAFE_INTEGER has the wrong value. It is:
pub const MAX_SAFE_INTEGER: u64 = 900_719_925_474_099;
it should be
pub const MAX_SAFE_INTEGER: u64 = 9_007_199_254_740_991;
huh.
....I guess whoever copy-pasted that number failed to copy paste the final 1 (probably me)? Sorry about that. Would you like to PR this change?