Commit Graph

56 Commits

Author SHA1 Message Date
Juan Hernández Serrano d1da4b2894 support for node16 and nodenext module resolution 2023-04-11 11:01:32 +02:00
Juanra Dikal e99584aec4 fixed issue preventing generation of more than 65536 random bytes when run in a browser 2022-12-20 23:51:18 +01:00
Juanra Dikal 2192825049 coverage is properly working again 2022-10-03 19:57:08 +02:00
Juanra Dikal 6fda498df6 fixed issues/typos with docs 2022-09-12 11:14:59 +02:00
Juanra Dikal cbbd8d1a4b fixes issue #16 2022-09-08 13:56:49 +02:00
Juanra Dikal c158f4dceb fixed bug in node ESM 2022-08-01 22:21:29 +02:00
Juanra Dikal 0fd1912394 fixed bug in browser ESM 2022-08-01 21:53:46 +02:00
Juanra Dikal 61439734af fixed issue with old node 10 2022-08-01 20:34:24 +02:00
Juanra Dikal 1ed83623e7 finally ESM working with tests!! 2022-08-01 19:10:00 +02:00
Juanra Dikal a8ae97b888 fixed issue testing in browser 2022-08-01 04:40:02 +02:00
Juanra Dikal 995b7b64cb better support for Node.js ESM 2022-08-01 04:19:48 +02:00
Juanra Dikal 66b761d23f updated deps 2022-04-20 23:55:44 +02:00
Juan Hernández Serrano 87b061a76e randBetween now accepts negative values for min and max based on suggestion from #11 2022-01-17 12:30:59 +01:00
Juan Hernández Serrano 472c88a198 more optimized lcm based on #11 suggestion 2022-01-17 11:25:42 +01:00
Juanra Dikal 626e89ba0b bundles weren't including bigint-mod-arith! 2021-11-15 12:00:37 +01:00
Juan Hernández Serrano 7b390e8218 bigint-mod-arith is a dependency again. Fixes #10 2021-10-19 22:04:55 +02:00
Juan Hernández Serrano c6084b634d fixed reopened issue with webpack. Fixes #6 2021-10-06 18:49:42 +02:00
Juan Hernández Serrano 519dcbc0fd some fixes in the README 2021-08-06 10:10:32 +02:00
Juan Hernández Serrano f11626d029 small fix that could prevent issues with some minifiers 2021-08-06 09:14:18 +02:00
Juan Hernández Serrano d8080ace91 fixed issue with workers in node 10 2021-08-04 12:50:36 +02:00
Juanra Dikal 4322e3a862 browser defaults to a not minified bundle 2021-04-21 11:14:04 +02:00
Juanra Dikal 404f1bd53e fixed issue making the workers not working when the code was minified by webpack 2021-04-21 01:06:35 +02:00
Juanra Dikal 8cf28b7587 project migrated to typescript 2021-03-25 13:40:04 +01: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
Coffee Converter 4de924a186 build 2.5.1 2020-03-24 16:01:09 -05:00
juanelas df7019fa68 issue #3 fixed. Better building process in general 2020-03-15 17:06:00 +01:00
juanelas e0713c541e fixed documentation 2019-12-20 17:07:32 +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
Aisse-258 e36650460e Build 2.2.0 2019-07-14 13:09:54 +03: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 e2f9b26c84 Fixed some comments and the dev dependencies 2019-05-28 18:07:34 +02:00
Juan Hernández Serrano 29b2665097 some small fixes 2019-05-27 16:42:46 +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 445c6ea913 (helpler) constants to the the top 2019-04-29 13:23:15 +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 b2d2c4e794 typo 2019-04-24 13:17:29 +02:00
juanelas 6bb0b2f78e minor improvements in code structure 2019-04-23 16:57:06 +02:00
juanelas 4069f4a335 fixed typo 2019-04-23 15:22:48 +02:00
Juan Hernández Serrano 3f7caf4572 Fixed typo 2019-04-21 09:39:28 +02:00
Juan Hernández Serrano f48ae77485 Better JSDoc 2019-04-20 22:21:41 +02:00