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
360d06b4b2
minor fixes
2022-10-03 23:20:46 +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
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
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
9f9a367d72
fixes pull request #13 - Fixed randBetween example comment
2022-04-20 21:31:43 +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
cf5ddfbb3b
types are now moved to another directory
2021-08-06 17:13:51 +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
5bba6de3f9
better docs
2021-04-21 20:05:45 +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
ee20c7d313
updated usage instructions. updated deps
2020-11-12 12:04:13 +01:00
juanelas
5256398e40
fixes #8
2020-09-22 23:40:00 +02:00
Juanra Dikal
a2da4b0c4b
Throw RangeError instead of returning NaN (which is not a bigint)
2020-05-29 17:33:07 +02:00
Juanra Dikal
0a12b744d8
removed bigint-mod-arith dependency to solve issues with webpack in Angular 9
2020-05-11 20:56:30 +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
04cad8250b
fixed browser tests
2020-04-21 02:41:32 +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
5022ebef3e
fixed email in package.json. self.crypto
2020-04-08 19:15:03 +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
7e792b5e2e
randBitsSync
2020-04-07 19:41:29 +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
818c3b09f3
fixed bug in prime bitlength. Fixed dts
2020-04-07 19:26:26 +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
ed764d29be
slighty faster _isProbablyPrume. node_modules removed from git
2020-04-06 19:01:44 +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
Coffee Converter
155dd49434
slightly improves performance in randBits()
...
- only calculates (bitLength % 8) once
- uses const where possible
2020-03-24 16:01:09 -05:00
Coffee Converter
36d9786b3d
fixes bug in randBits()
...
- the bug was causing the whole first byte to be zeroed out when (bitLength % 8 === 0)
- added a check of the above condition before zeroing out the extra bits
2020-03-24 16:01:09 -05:00
juanelas
5d2e2a7fd0
TypeScript definitions. Browser module defaults to minified ES6
2020-03-03 09:36:04 +01:00
juanelas
be910483f6
better packing for npn. better structure
2020-03-02 23:16:05 +01:00