atom.io 0.30.3 → 0.30.5

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.30.3",
3
+ "version": "0.30.5",
4
4
  "description": "Composable and testable reactive data library.",
5
5
  "homepage": "https://atom.io.fyi",
6
6
  "sideEffects": false,
@@ -21,7 +21,7 @@
21
21
  "@testing-library/react": ">=14.0.0",
22
22
  "eslint": ">=9.0.0",
23
23
  "motion": ">=11.0.0",
24
- "react": ">=18.0.0",
24
+ "react": "^18.0.0 || ^19.0.0",
25
25
  "socket.io": ">=4.0.0",
26
26
  "socket.io-client": ">=4.0.0"
27
27
  },
@@ -52,39 +52,39 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@testing-library/react": "16.0.1",
55
+ "@testing-library/react": "16.1.0",
56
56
  "@types/eslint": "9.6.1",
57
57
  "@types/estree": "1.0.6",
58
58
  "@types/http-proxy": "1.17.15",
59
59
  "@types/npmlog": "7.0.0",
60
- "@types/react": "18.3.12",
60
+ "@types/react": "19.0.1",
61
61
  "@types/tmp": "0.2.6",
62
- "@typescript-eslint/parser": "8.14.0",
63
- "@typescript-eslint/rule-tester": "8.14.0",
64
- "@vitest/coverage-v8": "2.1.5",
65
- "@vitest/ui": "2.1.5",
62
+ "@typescript-eslint/parser": "8.17.0",
63
+ "@typescript-eslint/rule-tester": "8.17.0",
64
+ "@vitest/coverage-v8": "3.0.0-beta.1",
65
+ "@vitest/ui": "3.0.0-beta.1",
66
66
  "concurrently": "9.1.0",
67
- "drizzle-kit": "0.28.0",
68
- "drizzle-orm": "0.36.1",
69
- "eslint": "9.14.0",
70
- "happy-dom": "15.11.4",
67
+ "drizzle-kit": "0.29.1",
68
+ "drizzle-orm": "0.37.0",
69
+ "eslint": "9.16.0",
70
+ "happy-dom": "15.11.7",
71
71
  "http-proxy": "1.18.1",
72
- "motion": "11.11.15",
72
+ "motion": "11.13.1",
73
73
  "npmlog": "7.0.1",
74
74
  "postgres": "3.4.5",
75
- "preact": "10.24.3",
76
- "react": "18.3.1",
77
- "react-dom": "18.3.1",
78
- "react-router-dom": "6.28.0",
75
+ "preact": "10.25.1",
76
+ "react": "19.0.0",
77
+ "react-dom": "19.0.0",
78
+ "react-router-dom": "7.0.2",
79
79
  "socket.io": "4.8.1",
80
80
  "socket.io-client": "4.8.1",
81
81
  "tmp": "0.2.3",
82
82
  "tsup": "8.3.5",
83
83
  "tsx": "4.19.2",
84
- "typescript": "5.6.3",
85
- "vite": "5.4.11",
86
- "vite-tsconfig-paths": "5.1.2",
87
- "vitest": "2.1.5",
84
+ "typescript": "5.7.2",
85
+ "vite": "6.0.3",
86
+ "vite-tsconfig-paths": "5.1.4",
87
+ "vitest": "3.0.0-beta.1",
88
88
  "zod": "3.23.8"
89
89
  },
90
90
  "main": "dist/index.js",
@@ -1,5 +1,5 @@
1
1
  /* react-devtools/src/devtools.scss */
2
- main.atom_io_devtools {
2
+ main[data-css=atom_io_devtools] {
3
3
  --fg-color: #eee;
4
4
  --bg-color: #111;
5
5
  --bg-tint1: #222;
@@ -1388,7 +1388,7 @@ var AtomIODevtoolsInternal = () => {
1388
1388
  motion.span,
1389
1389
  {
1390
1390
  ref: constraintsRef,
1391
- className: "atom_io_devtools_zone",
1391
+ "data-css": "atom_io_devtools_zone",
1392
1392
  style: {
1393
1393
  position: `fixed`,
1394
1394
  top: 0,
@@ -1404,7 +1404,7 @@ var AtomIODevtoolsInternal = () => {
1404
1404
  {
1405
1405
  drag: true,
1406
1406
  dragConstraints: constraintsRef,
1407
- className: "atom_io_devtools",
1407
+ "data-css": "atom_io_devtools",
1408
1408
  transition: spring,
1409
1409
  style: devtoolsAreOpen ? {} : {
1410
1410
  backgroundColor: `#0000`,
@@ -18,7 +18,7 @@ export const AtomIODevtools: React.FC = () => {
18
18
  )
19
19
  }
20
20
 
21
- const AtomIODevtoolsInternal = (): JSX.Element => {
21
+ const AtomIODevtoolsInternal = (): React.ReactNode => {
22
22
  const constraintsRef = useRef(null)
23
23
 
24
24
  const {
@@ -41,7 +41,7 @@ const AtomIODevtoolsInternal = (): JSX.Element => {
41
41
  <>
42
42
  <motion.span
43
43
  ref={constraintsRef}
44
- className="atom_io_devtools_zone"
44
+ data-css="atom_io_devtools_zone"
45
45
  style={{
46
46
  position: `fixed`,
47
47
  top: 0,
@@ -54,7 +54,7 @@ const AtomIODevtoolsInternal = (): JSX.Element => {
54
54
  <motion.main
55
55
  drag
56
56
  dragConstraints={constraintsRef}
57
- className="atom_io_devtools"
57
+ data-css="atom_io_devtools"
58
58
  transition={spring}
59
59
  style={
60
60
  devtoolsAreOpen
@@ -1,4 +1,4 @@
1
- main.atom_io_devtools {
1
+ main[data-css="atom_io_devtools"] {
2
2
  --fg-color: #eee;
3
3
  --bg-color: #111;
4
4
  --bg-tint1: #222;
@@ -82,7 +82,7 @@ var ChildSocket = class extends CustomSocket {
82
82
  `data`,
83
83
  (buffer) => {
84
84
  const chunk = buffer.toString();
85
- if (chunk === `\u2728`) {
85
+ if (chunk === `ALIVE`) {
86
86
  return;
87
87
  }
88
88
  this.unprocessedEvents.push(...chunk.split(``));
@@ -302,7 +302,7 @@ var ParentSocket = class extends CustomSocket {
302
302
  this.relays.delete(username);
303
303
  }
304
304
  });
305
- process.stdout.write(`\u2728`);
305
+ process.stdout.write(`ALIVE`);
306
306
  }
307
307
  relay(attachServices) {
308
308
  this.logger.info(`\u{1F517}`, `running relay method`);
@@ -325,7 +325,7 @@ var roomSelectors = selectorFamily({
325
325
  (resolve) => {
326
326
  const room = spawn(script, options, { env: process.env });
327
327
  const resolver = (data) => {
328
- if (data.toString() === `\u2728`) {
328
+ if (data.toString() === `ALIVE`) {
329
329
  room.stdout.off(`data`, resolver);
330
330
  resolve(room);
331
331
  }
@@ -65,7 +65,7 @@ export class ChildSocket<
65
65
  <Event extends keyof I>(buffer: EventBuffer<string, I[Event]>) => {
66
66
  const chunk = buffer.toString()
67
67
 
68
- if (chunk === `✨`) {
68
+ if (chunk === `ALIVE`) {
69
69
  // console.log(chunk)
70
70
  return
71
71
  }
@@ -180,7 +180,7 @@ export class ParentSocket<
180
180
  }
181
181
  })
182
182
 
183
- process.stdout.write(`✨`)
183
+ process.stdout.write(`ALIVE`)
184
184
  }
185
185
 
186
186
  public relay(
@@ -30,7 +30,7 @@ export const roomSelectors = selectorFamily<
30
30
  (resolve) => {
31
31
  const room = spawn(script, options, { env: process.env })
32
32
  const resolver = (data: Buffer) => {
33
- if (data.toString() === `✨`) {
33
+ if (data.toString() === `ALIVE`) {
34
34
  room.stdout.off(`data`, resolver)
35
35
  resolve(room)
36
36
  }