@tui-sandbox/library 7.2.0 → 7.2.1

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": "@tui-sandbox/library",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,8 +8,8 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@catppuccin/palette": "1.7.1",
11
- "@trpc/client": "11.0.0-rc.643",
12
- "@trpc/server": "11.0.0-rc.643",
11
+ "@trpc/client": "11.0.0-rc.648",
12
+ "@trpc/server": "11.0.0-rc.648",
13
13
  "@xterm/addon-attach": "0.11.0",
14
14
  "@xterm/addon-fit": "0.10.0",
15
15
  "@xterm/xterm": "5.5.0",
@@ -20,9 +20,9 @@
20
20
  "express": "4.21.1",
21
21
  "neovim": "5.3.0",
22
22
  "node-pty": "1.0.0",
23
- "prettier": "3.3.3",
23
+ "prettier": "3.4.1",
24
24
  "tsx": "4.19.2",
25
- "type-fest": "4.27.0",
25
+ "type-fest": "4.29.0",
26
26
  "winston": "3.17.0",
27
27
  "zod": "3.23.8"
28
28
  },
@@ -31,10 +31,10 @@
31
31
  "@types/command-exists": "1.2.3",
32
32
  "@types/cors": "2.8.17",
33
33
  "@types/express": "5.0.0",
34
- "@types/node": "22.9.1",
34
+ "@types/node": "22.10.0",
35
35
  "nodemon": "3.1.7",
36
- "vite": "5.4.11",
37
- "vitest": "2.1.5"
36
+ "vite": "6.0.1",
37
+ "vitest": "2.1.6"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "cypress": "^13",
@@ -39,7 +39,9 @@ export class TestServer {
39
39
  } catch (e) {
40
40
  // This is normal when developing the tui-sandbox library locally. It
41
41
  // should always exist when using it as an npm package, however.
42
- console.log(`⚠️ Warning: the tui-sandbox root contents directory is not accessible at: ${publicPath}`)
42
+ console.log(
43
+ `⚠️ Warning: Looks like the tui-sandbox root contents directory is not accessible at: ${publicPath}`
44
+ )
43
45
  }
44
46
 
45
47
  // eslint-disable-next-line import-x/no-named-as-default-member
@@ -47,24 +49,24 @@ export class TestServer {
47
49
  }
48
50
 
49
51
  app.use("/ping", (_, res) => {
50
- console.log("🏓 received /ping")
52
+ // console.log("🏓 received /ping")
51
53
  res.send("pong")
52
54
  })
53
55
 
54
56
  const server = app.listen(this.settings.port, "0.0.0.0")
55
57
 
56
58
  server.on("connection", socket => {
57
- const connectionInfo = `${socket.remoteAddress}:${socket.remotePort}`
58
- console.log(`➕➕ Connection from ${connectionInfo}`)
59
+ // const connectionInfo = `${socket.remoteAddress}:${socket.remotePort}`
60
+ // console.log(`➕➕ Connection from ${connectionInfo}`)
59
61
  socket.once("close", () => {
60
- console.log(`➖➖ Connection from ${connectionInfo}`)
62
+ // console.log(`➖➖ Connection from ${connectionInfo}`)
61
63
  })
62
64
  })
63
65
 
64
66
  console.log(`✅ Server listening on port ${this.settings.port}`)
65
67
 
66
68
  await Promise.race([once(process, "SIGTERM"), once(process, "SIGINT")])
67
- console.log("Shutting down...")
69
+ console.log("😴 Shutting down...")
68
70
  server.close(error => {
69
71
  if (error) {
70
72
  console.error("Error closing server", error)