long.js icon indicating copy to clipboard operation
long.js copied to clipboard

feat: 🎸 support bigint

Open ThaddeusJiang opened this issue 2 years ago • 1 comments

resolve #82

  • bugs: Long.fromValue(55n) results in 0
  • out of out use in protobuf.js

ThaddeusJiang avatar Aug 28 '23 06:08 ThaddeusJiang

Hi @dcodeIO, we're also interested in BigInt support because this library is a dependency of another library that we use. Ideally, we'd like to not need to fork either library for BigInt support.

Seems like https://github.com/dcodeIO/long.js/pull/128 (this PR) or https://github.com/dcodeIO/long.js/pull/108 (earlier PR) might be the solution.

Many thanks!

douglascayers avatar Sep 09 '23 23:09 douglascayers