json-rules-engine icon indicating copy to clipboard operation
json-rules-engine copied to clipboard

A rules engine expressed in JSON

Results 80 json-rules-engine issues
Sort by recently updated
recently updated
newest added

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...

next-major

I am getting the following error while running the rule in chrome : ![image](https://github.com/user-attachments/assets/6cf2ae13-4b30-42c6-aebf-423c4267df15) The error is thrown at the red circled code πŸ‘ ![image](https://github.com/user-attachments/assets/bf9d6d93-d479-42d8-b71b-b79f8df7b58e) 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...

next-major

@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...