Illogical

Latest version: v1.0.1

Safety actively analyzes 623412 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.0.0

- Removed classes, migrated to pure functions.
- Unlimited expression nesting, i.e. comparison expression operands now could be arbitrary expressions. (e.g.: [==, $RefA, [==, 1, 1]])
- Any primitive values could be now evaluated, i.e. the parser does not restrict the expression input to be a logical expression. (e.g.: illogical.evaluate(1) evaluated as 1)
- Collections starting with logical or comparison expression operator symbol could be now escaped to be processed as regular collections. (e.g.: [IN, $RefA, [\==, 1, 1]] ... "\" is used as escape character (configurable))
- Refactoring of parser options.
- Simplification of references now allows to use regular expressions in "ignoredPaths".
- Complete test coverage.

1.5.1

- Fix issue with nested conditions not being completely simplified.

1.5.0

- Add simplify capability to strictly evaluate the expression for all referred values
not present in the context except for a specified list of optional keys

1.4.3

- Prevent unexpected parsing of any expression used as an operand in a comparison expression

1.4.2

- Change `babel/env` preset target to `> 1%, node 12`

1.4.0

- Add support for reference variable data type casting before expression evaluation

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.