Releases: regevbr/json-expression-eval
Releases · regevbr/json-expression-eval
v4.0.1
Added new operators:
regexp: RegExp
- True if matches the compiled regular expression.
regexpi: RegExp
- True if matches the compiled regular expression with the i
flag set.
nin: any[]
- True if not in an array of values. Comparison is done using the ===
operator
inq: any[]
- True if in an array of values. Comparison is done using the ===
operator
between: readonly [number, number] (as const)
- True if the value is between the two specified values: greater than or equal to first value and less than or equal to second value.
v4.0.0
- Complete overhaul of the code base and typing system.
Notice there are breaking changes (mostly moving nested properties to doted notation and not failing on expressions using non existing keys at runtime - use validate instead)
v3.3.0
- Added ability to extend the expression parts type with custom interface
v3.2.0
- Added a class for easier curry functionality
- Improved code base structure
- Added helper type
ExpressionParts
which can help you enforce a structure to describe the available option of the expression. See the examples dir.
v3.0.0
- Updated dependencies
- Added support for accessing nested properties in the context
- Fixed #4 - implementing short circuit evaluation
v2.0.3
publish only relevant files to npm