Commit Graph

59 Commits

Author SHA1 Message Date
Juan Hernández Serrano 842560a4ea clean types dir before emmitting again 2021-08-06 17:29:23 +02:00
Juan Hernández Serrano 519dcbc0fd some fixes in the README 2021-08-06 10:10:32 +02:00
Juan Hernández Serrano d8080ace91 fixed issue with workers in node 10 2021-08-04 12:50:36 +02:00
Juanra Dikal d6064148a8 better docs 2021-04-21 20:06:53 +02:00
Juanra Dikal 5bba6de3f9 better docs 2021-04-21 20:05:45 +02:00
Juanra Dikal 8cf28b7587 project migrated to typescript 2021-03-25 13:40:04 +01:00
juanelas ee20c7d313 updated usage instructions. updated deps 2020-11-12 12:04:13 +01:00
Juanra Dikal a2da4b0c4b Throw RangeError instead of returning NaN (which is not a bigint) 2020-05-29 17:33:07 +02:00
juanelas 4d8592b365 fixed typo 2020-05-01 01:31:17 +02:00
juanelas c246ef34f2 JSDoc throws. API is now sorted by function name 2020-04-21 10:06:04 +02:00
juanelas d7d7b368b6 fixed readme 2020-04-21 02:57:30 +02:00
juanelas 2179954b1e fixed doc 2020-04-21 01:33:41 +02:00
juanelas b3a90aa6bc more tests. Fixed some bugs. Added github actions 2020-04-21 00:50:53 +02:00
juanelas 0524f41a3f Examples of code. If a webview doesn't support Web Workers, they are not used 2020-04-08 17:09:52 +02:00
juanelas 70a32d0286 better dependencies 2020-04-08 00:21:02 +02:00
juanelas c89d507a64 randBitsSync 2020-04-07 19:46:42 +02:00
juanelas eaf7c53ca2 randBitsSync 2020-04-07 19:36:14 +02:00
juanelas 5c410d60c1 randBitsSync 2020-04-07 19:35:38 +02:00
juanelas c52d54f66b randBitsSync 2020-04-07 19:29:23 +02:00
juanelas 31af1f7e8a fixed API reference 2020-04-07 19:13:23 +02:00
juanelas d2a21a818f Now the bundle can be mangled. Multi-threaded uses all CPUs but 1. Readme improvements 2020-04-07 17:03:30 +02:00
juanelas 4758f28ef0 shorter but better readme 2020-04-06 14:17:24 +02:00
juanelas 6cfee0efca fixed readme 2020-04-06 13:38:52 +02:00
juanelas 4e52ea75e6 JS Standard. Some fixes with the test. Better structure 2020-04-06 13:34:03 +02:00
juanelas c29b520108 JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
juanelas d4ee54748b fixed JS Doc and typescript definitions 2020-03-25 00:34:22 +01:00
juanelas 5d2e2a7fd0 TypeScript definitions. Browser module defaults to minified ES6 2020-03-03 09:36:04 +01:00
juanelas faf6f5023d BigInt is ES-2020 2020-03-02 11:08:40 +01:00
juanelas 5dbb6ddb93 updated readme: BigInt is now is es2020, instructions for typescript 2020-02-27 21:51:48 +01:00
juanelas e0713c541e fixed documentation 2019-12-20 17:07:32 +01:00
juanelas 1fbb01815e README patched 2019-12-12 10:12:53 +01:00
juanelas 84c8909174 browser minified version removed due to a bug. More browser tests added. 2019-12-12 09:03:42 +01:00
juanelas 743b483072 Updated dependencies and fixed issue with default values in README 2019-12-09 13:14:47 +01:00
Juan Hernández Serrano ace7d479ee added sync version of prime 2019-10-09 14:56:11 +02:00
Juan Hernández Serrano 19dd8b6491 added sync version of prime 2019-10-09 14:17:03 +02:00
Juan Hernández Serrano f44f44d74d updated devDependencies. Fixed format 2019-07-20 10:45:02 +02:00
Juan Hernández Serrano 24b2677bfd modPow() comments 2019-05-29 17:45:36 +02:00
Juan Hernández Serrano 9cdf125c6f Slight modification of modPow(). Some non-important fixes 2019-05-29 17:44:18 +02:00
Juan Hernández Serrano 4997dc8093 typo 2019-05-24 12:01:20 +02:00
Juan Hernández Serrano 29cb31c1fa Fixed issue #1 - gcd works incorrect with 0. Some extra sanitizing 2019-05-09 09:39:12 +02:00
Juan Hernández Serrano abf020f06e also check if a number (not only a BigInt) is prime 2019-05-04 18:29:09 +02:00
Juan Hernández Serrano 1ffd1f949d More tests. Fixed bug in modInv(a,n) when a was < 0 2019-05-04 18:08:30 +02:00
Juan Hernández Serrano 42a0aba89a bitLength() is also exported (it could be useful) 2019-04-29 12:34:20 +02:00
Juan Hernández Serrano e572e9dba8 If it is not truly async then sync 2019-04-29 12:29:23 +02:00
juanelas 3f571c9dd6 If it is not truly async then is sync 2019-04-26 15:03:53 +02:00
Juan Hernández Serrano 292c78dc5a fixed line wrapping in README.hbs 2019-04-25 17:28:42 +02:00
juanelas 4069f4a335 fixed typo 2019-04-23 15:22:48 +02:00
juanelas b6946216da Now test timing is more accurate 2019-04-23 11:33:48 +02:00
Juan Hernández Serrano e612f1eb82 Fixed typo 2019-04-21 09:42:10 +02:00
Juan Hernández Serrano 3f7caf4572 Fixed typo 2019-04-21 09:39:28 +02:00