atom.io 0.38.1 → 0.38.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom.io",
3
- "version": "0.38.1",
3
+ "version": "0.38.2",
4
4
  "description": "Composable and testable reactive data library.",
5
5
  "homepage": "https://atom.io.fyi",
6
6
  "sideEffects": false,
@@ -61,16 +61,16 @@
61
61
  },
62
62
  "devDependencies": {
63
63
  "@eslint/core": "0.15.2",
64
- "@storybook/addon-docs": "9.1.2",
65
- "@storybook/addon-onboarding": "9.1.2",
66
- "@storybook/react-vite": "9.1.2",
64
+ "@storybook/addon-docs": "9.1.3",
65
+ "@storybook/addon-onboarding": "9.1.3",
66
+ "@storybook/react-vite": "9.1.3",
67
67
  "@testing-library/react": "16.3.0",
68
68
  "@types/bun": "npm:bun-types@1.2.20",
69
69
  "@types/eslint": "9.6.1",
70
70
  "@types/estree": "1.0.8",
71
71
  "@types/http-proxy": "1.17.16",
72
72
  "@types/npmlog": "7.0.0",
73
- "@types/react": "19.1.10",
73
+ "@types/react": "19.1.11",
74
74
  "@types/tmp": "0.2.6",
75
75
  "@typescript-eslint/parser": "8.40.0",
76
76
  "@typescript-eslint/rule-tester": "8.40.0",
@@ -80,7 +80,7 @@
80
80
  "concurrently": "9.2.0",
81
81
  "drizzle-kit": "0.31.4",
82
82
  "drizzle-orm": "0.44.4",
83
- "eslint": "9.33.0",
83
+ "eslint": "9.34.0",
84
84
  "happy-dom": "18.0.1",
85
85
  "http-proxy": "1.18.1",
86
86
  "motion": "12.23.12",
@@ -90,11 +90,11 @@
90
90
  "preact": "10.27.1",
91
91
  "react": "19.1.1",
92
92
  "react-dom": "19.1.1",
93
- "react-router-dom": "7.8.1",
93
+ "react-router-dom": "7.8.2",
94
94
  "recoverage": "0.1.11",
95
95
  "socket.io": "4.8.1",
96
96
  "socket.io-client": "4.8.1",
97
- "storybook": "9.1.2",
97
+ "storybook": "9.1.3",
98
98
  "tmp": "0.2.5",
99
99
  "tsdown": "0.14.1",
100
100
  "tsx": "4.20.4",
@@ -14,6 +14,7 @@ import type { Canonical, stringified } from "atom.io/json"
14
14
  import { parseJson, stringifyJson } from "atom.io/json"
15
15
 
16
16
  import { disposeFromStore, findInStore } from "./families"
17
+ import { getFromStore } from "./get-state"
17
18
  import { getTrace } from "./get-trace"
18
19
  import { newest } from "./lineage"
19
20
  import type { Store } from "./store"
@@ -208,7 +209,8 @@ export function deallocateFromStore<H extends Hierarchy, V extends Vassal<H>>(
208
209
  // biome-ignore lint/style/noNonNullAssertion: tokens of molecules must have a family
209
210
  const family = target.families.get(familyKey)!
210
211
  const token = findInStore(store, family, molecule.key)
211
- values.push([family.key, token])
212
+ const value = getFromStore(store, token)
213
+ values.push([family.key, value])
212
214
  disposeFromStore(store, token)
213
215
  }
214
216
  }