13 Commits

Author SHA1 Message Date
ba63be64dd merge dev branch (more tests) (#47)
* more tests and bugfixes on spells

* linting
2021-05-06 19:35:58 +00:00
79c95cea97 (dev) remove rewire, add babel-plugin-rewire. (#44)
* removed rewire. now using babel-rewire instead

* implemented more tests

* changed some eslint params

* linting

* linting

* coverage on getChant

Co-authored-by: Marcus Netz <marcus.netz@godyo.com>
2021-05-06 10:52:33 +00:00
4fa2dc7ab7 (fix) !spells and !chants returned null value (#40) 2021-05-04 20:39:59 +00:00
895f47847e Tweak: Add --all to !List command (#39)
* tweaked on list command

* added more tests
2021-05-03 19:44:05 +00:00
c6cacdae5e switched nedb to nedb-promises (#37)
* breaking change: switched to nedb-promises
* Linting
* some dev dependencies
* more tests
* updated package version
* bug fixing
* changed isNaN to isString
* (fix) args[0]
2021-05-03 18:39:33 +02:00
dc746276ab fix attribute checks (#34) 2021-05-01 21:21:33 +00:00
d45e4faad6 Security fixes (#32)
* Generic Object Injection Sink

* (fix) "Character" is not defined.

* added eslint

* improve code quality, use refactored function

* (fix) eslint jest

* "Character" is not defined

* removed unused file Compare.js

* (fix) PointsUsed is not defined

* (fix) eslint moans jsconfig

* turn off "no-prototype-builtins"

* push code coverage
2021-05-01 20:13:15 +02:00
351c90577f (fix) attack handler, more tests. (#30) 2021-05-01 07:12:07 +00:00
f22df0dec1 Refactoring (#29)
* refactor Attack command

* add test to Attack functions

* changed README.md

* install dev dependency rewire

* stop autoloading due to ci errors
2021-04-30 23:14:27 +02:00
924fca5b90 add more tests (#26)
* added more tests

* (fix) no cpu profile.
2021-04-29 19:42:51 +00:00
126dce828d Cleanup (#19)
* reformatting of skill checks table

* Including own Random "generator", more refactoring
2021-04-22 17:36:10 +02:00
d1d6ce474b jest throws no errors 2021-04-10 20:14:29 +02:00
24a07c4588 refactoring (#4) 2021-04-10 19:17:18 +02:00