@uniflowed/state 0.22.0 → 0.24.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.
@@ -674,9 +674,10 @@ function doNothing(): void {}
674
674
  * [`atomWithStorage`] gets this for nothing, because the value it returns *is*
675
675
  * the `T`.
676
676
  */
677
- function sameLoadable<T>(
678
- equals: void | ((previous: T, next: T) => boolean),
679
- ): (previous: Loadable<T>, next: Loadable<T>) => boolean {
677
+ function sameLoadable<T>(equals: void | ((previous: T, next: T) => boolean)): (
678
+ previous: Loadable<T>,
679
+ next: Loadable<T>,
680
+ ) => boolean {
680
681
  const sameValue = equals ?? Object.is;
681
682
  return (previous, next) => {
682
683
  if (previous.state !== next.state) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniflowed/state",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "Atoms and the React binding for @uniflowed/state, part of the Unified Toolchain for Flow.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "!*.test.js"
20
20
  ],
21
21
  "dependencies": {
22
- "@uniflowed/cell": "0.22.0",
23
- "@uniflowed/react": "0.22.0"
22
+ "@uniflowed/cell": "0.24.0",
23
+ "@uniflowed/react": "0.24.0"
24
24
  }
25
25
  }