@bpmn-io/form-js-viewer 1.16.0 → 1.17.0
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/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +1 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +7 -7
package/dist/index.es.js
CHANGED
|
@@ -11,7 +11,6 @@ import flatpickr from 'flatpickr';
|
|
|
11
11
|
import * as React from 'preact/compat';
|
|
12
12
|
import { createPortal } from 'preact/compat';
|
|
13
13
|
import DOMPurify from 'dompurify';
|
|
14
|
-
import { isEqual as isEqual$1 } from 'lodash';
|
|
15
14
|
import { Injector } from 'didi';
|
|
16
15
|
import { parseExpression, parseUnaryTests, evaluate, unaryTest } from 'feelin';
|
|
17
16
|
import { evaluate as evaluate$1, parser, buildSimpleTree } from 'feelers';
|
|
@@ -5098,7 +5097,7 @@ function ExpressionField(props) {
|
|
|
5098
5097
|
});
|
|
5099
5098
|
}, [field, evaluationMemo, onChange]);
|
|
5100
5099
|
useEffect(() => {
|
|
5101
|
-
if (computeOn !== 'change' || isEqual
|
|
5100
|
+
if (computeOn !== 'change' || isEqual(evaluationMemo, value) || !expressionLoopPreventer.registerExpressionExecution(this)) {
|
|
5102
5101
|
return;
|
|
5103
5102
|
}
|
|
5104
5103
|
sendValue();
|