@uniflowed/state 0.9.0 → 0.11.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.
@@ -452,7 +452,7 @@ export function atomWithStorage<T>(
452
452
  *
453
453
  * # Why this guard is written twice
454
454
  *
455
- * `@uniflowed/hooks`'s `useStorage` (`packages/hooks/state.js`) guards the
455
+ * `@uniflowed/hooks`'s `useStorage` (`npm/hooks/state.js`) guards the
456
456
  * same four hazards — a storage property that throws, a read that throws, a
457
457
  * write that throws, and finding the object a `storage` event arrives on —
458
458
  * and was written from the same reasoning by somebody who had not read this.
@@ -710,7 +710,7 @@ function sameLoadable<T>(
710
710
  * not there yet. ubugeeei-prod/uf#317 is where that was worked out.
711
711
  *
712
712
  * Three things had to be decided rather than typed, and each is a property
713
- * `packages/state/state.test.js` holds this to.
713
+ * `npm/state/state.test.js` holds this to.
714
714
  *
715
715
  * **A write while the first read is in flight wins, and the read is dropped.**
716
716
  * Not by a flag counting generations — `@uniflowed/cell` already has one, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniflowed/state",
3
- "version": "0.9.0",
3
+ "version": "0.11.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",
@@ -8,7 +8,7 @@
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/ubugeeei-prod/uf.git",
11
- "directory": "packages/state"
11
+ "directory": "npm/state"
12
12
  },
13
13
  "exports": {
14
14
  ".": "./index.js"
@@ -19,7 +19,7 @@
19
19
  "!*.test.js"
20
20
  ],
21
21
  "dependencies": {
22
- "@uniflowed/cell": "0.9.0",
23
- "@uniflowed/react": "0.9.0"
22
+ "@uniflowed/cell": "0.11.0",
23
+ "@uniflowed/react": "0.11.0"
24
24
  }
25
25
  }