e766a42235
Fix bug where the randomiser would pick -1
...
continuous-integration/drone/push Build is passing
This was caused by the randomiser using the wrong brackets.
We needed the maximum index of the length - 1, but the randomiser would
take the 1 AFTER randomising, adding brackets made it do this BEFORE.
2023-05-29 16:48:01 +01:00
06485e0a88
Setup Jest ( #57 )
...
continuous-integration/drone/push Build is passing
- Setup Jest
- Add test scripts
- Configure Drone
Fixes #1
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/57
2023-04-22 13:20:30 +01:00
cd541ddd4f
Update project to allow for ESM modules
2023-02-27 18:33:32 +00:00
089f693413
Remove maxTries variable
2023-02-22 18:18:50 +00:00
031a5455b5
hotfix/2.0.3 ( #41 )
...
- Bump minimatch from 3.0.4 to 3.1.2
- Update discord links
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/41
Reviewed-by: VylpesTester <tester@vylpes.com>
2022-12-18 15:27:03 +00:00
dbf1d03524
Make sortBy optional
2021-12-01 20:53:45 +00:00
d32b44052c
Replace fetch with got
2021-12-01 20:39:02 +00:00
f673339d90
rewrite in typescript
2021-12-01 20:32:20 +00:00