json-rules-engine
json-rules-engine copied to clipboard
A rules engine expressed in JSON
This - changes a test to use the correct setter method to change a Rule's conditions - adds a test that shows that Rule.conditions is not the right setter -...
[Rule.conditions](https://github.com/CacheControl/json-rules-engine/blob/0a01da6b6bf5a67a71be412054e33a195b5a6a96/types/index.d.ts#L177) is described as being a setter, and is also [used as such](https://github.com/CacheControl/json-rules-engine/blob/0a01da6b6bf5a67a71be412054e33a195b5a6a96/test/engine.test.js#L96) in one of the tests. But doing this and then running the engine leads to a `RuleResult`...
I see that latest version is 7 on npm but the CHANGELOG file here only goes until 6. How can we upgrade to v7?
This library will no longer work in browser `jsonpath-plus` serves ESM when being used in the browser, however, this package only supports commonJS, so we get into a situation where...
The operator class has an `evaluate` method. It's helpful to be able to call it explicitly to test custom operators so I'm updating the type definition to include it.
High severity security flaw in JSONPath Plus allows Remote Code Execution - please update dependency
High severity security flaw in JSONPath Plus allows Remote Code Execution - please update dependency 

To avoid mistakes it would be great to have operator autocomplete in types. We could either just use a union type and then allow also for any string to account...
Add Testing for examples
Migrate JSON Rules engine to Typescript