Commit Graph

5 Commits

Author SHA1 Message Date
Micah Zoltu
f3a23e3a39 Removes most dependencies and switches to @noble/hashes.
* Browserify is incredibly high dependency count, so it was removed (esbuild will be added in future commit).
* NodeJS now comes with built-in support for testing, so mocha and chai are no longer required, removing most dependencies from this project.
* eslint isn't necessary for an unmaintained project, and can be used on a per-developer basis.
* package is only used to get version, which is useless and an unnecessary security risk.
* yargs brings in 16 dependencies and can be replaced with minimist which is just 1.
* normalized transitive dependencies of big-integer to all the same version.

These changes get us down to 5 dependencies total, with only one being relevant at runtime.

Also removes usage of `assert` and `Buffer`, which are NodeJS things.

Fixes a minor bug in `stringifybigint` that was incorrectly checking if something was a native `bigint`.
2024-12-02 15:33:24 +08:00
poma
271c74a76f add fromSolidityInput to utils 2019-07-15 17:42:45 +03:00
poma
5907841378 Add witness calculation 2019-07-15 16:56:47 +03:00
poma
236664f194 avoid iterating already unstringified bigint's properties 2019-07-15 16:54:50 +03:00
Jordi Baylina
a0680804a5
Initial commit 2019-04-09 12:37:39 -07:00