@jsswift/ui 1.0.46 → 1.0.48

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsswift/ui",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "description": "JSswift UI layer built on top of @jsswift/core",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,6 +38,6 @@
38
38
  "src"
39
39
  ],
40
40
  "peerDependencies": {
41
- "@jsswift/core": "^1.0.46"
41
+ "@jsswift/core": "^1.0.48"
42
42
  }
43
43
  }
@@ -226,7 +226,7 @@
226
226
  };
227
227
 
228
228
  function uiIsSignal(v) {
229
- return Array.isArray(v) && v.length === 2 && typeof v[0] === "function" && typeof v[1] === "function";
229
+ return Array.isArray(v) && (v.length === 2 || (v.length === 3 && typeof v[2] === "function")) && typeof v[0] === "function" && typeof v[1] === "function";
230
230
  }
231
231
 
232
232
  function uiIsRod(v) {