json-rules-engine
json-rules-engine copied to clipboard
A rules engine expressed in JSON
Starting a thread here to put notes on a version 7 design. Version 7 is an opportunity to make a number of changes that have been suggested in issues filed...
I am getting the following error while running the rule in chrome :  The error is thrown at the red circled code π  and the call chain started...
### Problem: When directly subscribing to an emitted event through the engine's `on` method, the parameter types for the callback function do not match the types of the parameters at...
Hi @CacheControl Hope your doing well π First I'd like to thank you for the work done, this is a really useful package ! I'd like to point out a...
This is a simple dependency bump of the jsonpath-plus dependency. This dependency is vulnerable according to Snyk: https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884 As this is a non-major upgrade and I have not seen the...
@CacheControl this is very much just a rough sketch of what a "FactDecorator" that matched the "Operator Decorator" would look like. The idea here is to add support for a...
Hi, The jsonpath-plus module contains a 9.3/10 vulnerability about remote code execution. CVE details : https://github.com/advisories/GHSA-pppg-cpfq-h7wr The module vulnerability seems fixed in 10.xx versions.
it not working on date(json-rules-engine-6.5.0). greaterThan working only on dateβs day, it is not considering month and year. Let say datefield ABC value is β05 Apr 2022β, and we configure...
Usecase: Is there any equipment with type embroidery and setting speed 250? Fact: ``` const facts = { equipmentList: [ { type: 'embroidery', setting: { speed: 250 } }, {...
In the documentation on JSON rules engine operators it states that the fact passed to the contains/notContains operators must be arrays. And I see in the [Operator class](https://github.com/CacheControl/json-rules-engine/blob/master/src/operator.js#L8) that a...