@ldmjs/ui 1.0.31 → 1.0.32
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.js +7 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18857,11 +18857,13 @@ function unregister(input) {
|
|
|
18857
18857
|
}
|
|
18858
18858
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
18859
18859
|
const unwatch = this.watchers.find((i) => i.uid === found.uid);
|
|
18860
|
-
if (unwatch
|
|
18861
|
-
unwatch.valid
|
|
18862
|
-
|
|
18863
|
-
|
|
18864
|
-
unwatch.shouldValidate
|
|
18860
|
+
if (unwatch) {
|
|
18861
|
+
if (unwatch.valid) {
|
|
18862
|
+
unwatch.valid();
|
|
18863
|
+
}
|
|
18864
|
+
if (unwatch.shouldValidate) {
|
|
18865
|
+
unwatch.shouldValidate();
|
|
18866
|
+
}
|
|
18865
18867
|
}
|
|
18866
18868
|
let index = 0;
|
|
18867
18869
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|