Releases: edloidas/roll-parser
Releases · edloidas/roll-parser
v2.3.2
v2.3.1
v2.3.0
v2.2.0
v2.1.1
v2.1.0
Notable changes
Updated:
- Roll and parse&roll methods are now using converters, so the plain objects can be passed without risks.
parse()
andparseAndRoll()
functions will returnnull
, ifnull
or `undefined is passed.
Added:
- Converters to convert any parameters to
Roll
andWodRoll
objects.
v2.0.3
v2.0.2
v2.0.1
v2.0.0
❗ npm distribution is broken for this version. Fixed in v2.0.2
.
Notable changes
Updated:
- Parser names.
- List of exported functions.
Added:
- Support of WoD notation:
4d10!>6f1
. - Roll generators for dice rolling, according to the parsed notation.
WodRoll
object for parsed WoD notation. Same asRoll
for simple or classic notations.Result
object, that represents the dice rolls result.- Documentation for functions in code (JSDoc) and API reference.
Removed:
- Range from classic and simple notations:
2d10+1 (3, 8)
=>2d10
.