Skip to content

Releases: regevbr/json-expression-eval

v4.2.1

26 Jun 14:41
8bd849d
Compare
Choose a tag to compare

removed unused param

v4.2.0

26 Jun 11:29
7c54cc0
Compare
Choose a tag to compare

Add rule engine support

v4.0.1

21 Mar 19:25
83ad8b8
Compare
Choose a tag to compare

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

12 Mar 21:41
d4debcc
Compare
Choose a tag to compare
  • 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

09 Mar 09:43
88105f0
Compare
Choose a tag to compare
  • Added ability to extend the expression parts type with custom interface

v3.2.0

08 Mar 15:31
350a9dd
Compare
Choose a tag to compare
  • 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.1.0

02 Mar 17:35
12d6e80
Compare
Choose a tag to compare
  • Added validation method

v3.0.1

02 Mar 15:30
861aff4
Compare
Choose a tag to compare
  • Updated dependencies

v3.0.0

02 Mar 10:56
0ba8ae5
Compare
Choose a tag to compare
  • Updated dependencies
  • Added support for accessing nested properties in the context
  • Fixed #4 - implementing short circuit evaluation

v2.0.3

18 Aug 08:26
Compare
Choose a tag to compare

publish only relevant files to npm