Commit Graph

66 Commits

Author SHA1 Message Date
Juanra Dikal b967f954b3 3.1.7 2022-10-03 23:43:58 +02:00
Juanra Dikal 360d06b4b2 minor fixes 2022-10-03 23:20:46 +02:00
Juanra Dikal 2192825049 coverage is properly working again 2022-10-03 19:57:08 +02:00
Juanra Dikal f25bb8c8bb removed continous support for node < 14. Not working in Node 10 2022-08-01 04:46:01 +02:00
Juanra Dikal 995b7b64cb better support for Node.js ESM 2022-08-01 04:19:48 +02:00
Juanra Dikal 76a446070b changed workflow 2022-04-21 11:36:13 +02:00
Juanra Dikal 9f9a367d72 fixes pull request #13 - Fixed randBetween example comment 2022-04-20 21:31:43 +02:00
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