-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
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
Option to use bigint primitive or BigInt wrapper instead of long.js #296
Comments
@altro3 FWIW reopening this b/c I think it's a great idea; long.js doesn't support ESM and that's been annoying a few times. |
@stephenh Hi! Yeah, it's good idea, but problem in library protobuf.js. I closed this issue, because protobuf.js as I undersatnd doesn't support bigint. See PR: protobufjs/protobuf.js#1557. And you can see theirs answer:
But, of course, your library can replace Long to bigint by itself :-). If you can do it - it would be perfect :-) |
ECMAScript 2020 is now supported by all modern javascript engines. It would be cool not to use third-party libraries (Long.js), but to use internal browser capabilities for large numbers.
The text was updated successfully, but these errors were encountered: