BigInt icon indicating copy to clipboard operation
BigInt copied to clipboard

Name collision with JS BigInt

Open littledan opened this issue 7 years ago • 2 comments

Now that JavaScript has BigInt as part of its standard library, I'm a little concerned that people might stumble upon this module in npm and use it when they are trying to get at standard BigInt. What do you think we should do? cc @zkat

littledan avatar Aug 09 '18 11:08 littledan

See https://github.com/tc39/proposal-bigint/ for more information.

littledan avatar Aug 09 '18 11:08 littledan

@littledan I think it's best to leave the module authors to make decisions about documenting/compensating for it, as they should for any shim. You might consider sending a PR to this repo, just leaving this issue so they know, etc. Keep in mind that even when BigInt becomes standard, people will be using useragents that don't support it for years to come, after all :)

Anyway, tl;dr, leave it to the commons itself to figure this one out.

zkat avatar Aug 09 '18 17:08 zkat