@briza/illogical 1.6.1 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +14 -4
- package/lib/illogical.esm.js +589 -34
- package/lib/illogical.js +589 -34
- package/package.json +3 -3
- package/readme.md +21 -9
- package/types/common/type-check.d.ts +2 -0
- package/types/index.d.ts +1 -0
- package/types/operand/collection.d.ts +5 -0
- package/types/parser/index.d.ts +4 -1
- package/types/unsafe/and.d.ts +3 -0
- package/types/unsafe/arithmetic.d.ts +6 -0
- package/types/unsafe/comparison.d.ts +7 -0
- package/types/unsafe/equality.d.ts +5 -0
- package/types/unsafe/in.d.ts +3 -0
- package/types/unsafe/nor.d.ts +4 -0
- package/types/unsafe/not-in.d.ts +3 -0
- package/types/unsafe/not.d.ts +3 -0
- package/types/unsafe/or.d.ts +3 -0
- package/types/unsafe/overlap.d.ts +3 -0
- package/types/unsafe/prefix.d.ts +5 -0
- package/types/unsafe/present.d.ts +4 -0
- package/types/unsafe/simplify.d.ts +4 -0
- package/types/unsafe/type-check.d.ts +12 -0
- package/types/unsafe/xor.d.ts +4 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# illogical changelog
|
|
2
2
|
|
|
3
|
+
## 1.7.1
|
|
4
|
+
|
|
5
|
+
- Adding Reference cache and other performance improvements to condition parsing.
|
|
6
|
+
|
|
7
|
+
## 1.7.0
|
|
8
|
+
|
|
9
|
+
- Introducing unsafeSimplify which simplifies the condition without fully parsing it beforehand.
|
|
10
|
+
Useful when processing complex conditions that have been previously parsed. Should be faster
|
|
11
|
+
compared to the standard simplify when it can short circuit logical expressions.
|
|
12
|
+
|
|
3
13
|
## 1.6.1
|
|
4
14
|
|
|
5
15
|
- Bugfix on Arithmetic evaluate. Returns false when ContextValue is not present in the Context.
|
|
@@ -7,10 +17,10 @@
|
|
|
7
17
|
## 1.6.0
|
|
8
18
|
|
|
9
19
|
- Added support for Arithmetic expressions within other Comparison expressions. This allows for
|
|
10
|
-
more complex and dynamic comparisons to be made. Now, you can perform mathematical operations
|
|
11
|
-
within your conditional expressions, making them even more powerful and flexible. Whether you need
|
|
12
|
-
to calculate sums, differences, products, or divisions, the new Arithmetic expression feature has
|
|
13
|
-
got you covered. There are no breaking changes if this new kind of expression isn't being used.
|
|
20
|
+
more complex and dynamic comparisons to be made. Now, you can perform mathematical operations
|
|
21
|
+
within your conditional expressions, making them even more powerful and flexible. Whether you need
|
|
22
|
+
to calculate sums, differences, products, or divisions, the new Arithmetic expression feature has
|
|
23
|
+
got you covered. There are no breaking changes if this new kind of expression isn't being used.
|
|
14
24
|
|
|
15
25
|
## 1.5.9
|
|
16
26
|
|