@solidjs/signals 0.2.1 → 0.2.2
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/dev.js +4 -2
- package/dist/node.cjs +4 -2
- package/dist/prod.js +4 -2
- package/package.json +1 -1
package/dist/dev.js
CHANGED
|
@@ -666,8 +666,10 @@ function isPending(fn, loadingValue) {
|
|
|
666
666
|
latest(fn);
|
|
667
667
|
return staleCheck._value;
|
|
668
668
|
} catch (err) {
|
|
669
|
-
if (
|
|
670
|
-
return
|
|
669
|
+
if (!(err instanceof NotReadyError))
|
|
670
|
+
return false;
|
|
671
|
+
if (argLength > 1)
|
|
672
|
+
return loadingValue;
|
|
671
673
|
throw err;
|
|
672
674
|
} finally {
|
|
673
675
|
staleCheck = current;
|
package/dist/node.cjs
CHANGED
|
@@ -663,8 +663,10 @@ function isPending(fn, loadingValue) {
|
|
|
663
663
|
latest(fn);
|
|
664
664
|
return staleCheck.e;
|
|
665
665
|
} catch (err) {
|
|
666
|
-
if (
|
|
667
|
-
return
|
|
666
|
+
if (!(err instanceof NotReadyError))
|
|
667
|
+
return false;
|
|
668
|
+
if (argLength > 1)
|
|
669
|
+
return loadingValue;
|
|
668
670
|
throw err;
|
|
669
671
|
} finally {
|
|
670
672
|
staleCheck = current;
|
package/dist/prod.js
CHANGED
|
@@ -659,8 +659,10 @@ function isPending(fn, loadingValue) {
|
|
|
659
659
|
latest(fn);
|
|
660
660
|
return staleCheck.e;
|
|
661
661
|
} catch (err) {
|
|
662
|
-
if (
|
|
663
|
-
return
|
|
662
|
+
if (!(err instanceof NotReadyError))
|
|
663
|
+
return false;
|
|
664
|
+
if (argLength > 1)
|
|
665
|
+
return loadingValue;
|
|
664
666
|
throw err;
|
|
665
667
|
} finally {
|
|
666
668
|
staleCheck = current;
|