@hot-updater/console 0.29.3 → 0.29.4

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-04-04T12:00:05.705Z",
2
+ "date": "2026-04-07T10:08:43.778Z",
3
3
  "preset": "node-server",
4
4
  "framework": {
5
5
  "name": "nitro",
@@ -1,12 +1,12 @@
1
1
  import { n as HTTPError, o as toRequest } from "../_libs/h3+rou3+srvx.mjs";
2
- //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_fb41d3d5404f68a399873cc90b9e25fd/node_modules/nitro/dist/runtime/vite.mjs
2
+ //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_6e1d935189b5e0f3fabe50b3ea4f847c/node_modules/nitro/dist/runtime/vite.mjs
3
3
  function fetchViteEnv(viteEnvName, input, init) {
4
4
  const viteEnv = (globalThis.__nitro_vite_envs__ || {})[viteEnvName];
5
5
  if (!viteEnv) throw HTTPError.status(404);
6
6
  return Promise.resolve(viteEnv.fetch(toRequest(input, init)));
7
7
  }
8
8
  //#endregion
9
- //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_fb41d3d5404f68a399873cc90b9e25fd/node_modules/nitro/dist/runtime/internal/vite/ssr-renderer.mjs
9
+ //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_6e1d935189b5e0f3fabe50b3ea4f847c/node_modules/nitro/dist/runtime/internal/vite/ssr-renderer.mjs
10
10
  /** @param {{ req: Request }} HTTPEvent */
11
11
  function ssrRenderer({ req }) {
12
12
  return fetchViteEnv("ssr", req);
@@ -17,7 +17,7 @@ function lazyService(loader) {
17
17
  var services = { ["ssr"]: lazyService(() => import("./_ssr/ssr.mjs")) };
18
18
  globalThis.__nitro_vite_envs__ = services;
19
19
  //#endregion
20
- //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_fb41d3d5404f68a399873cc90b9e25fd/node_modules/nitro/dist/runtime/internal/error/prod.mjs
20
+ //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_6e1d935189b5e0f3fabe50b3ea4f847c/node_modules/nitro/dist/runtime/internal/error/prod.mjs
21
21
  var errorHandler = (error, event) => {
22
22
  const res = defaultHandler(error, event);
23
23
  return new NodeResponse(typeof res.body === "string" ? res.body : JSON.stringify(res.body, null, 2), res);
@@ -64,131 +64,131 @@ async function error_handler_default(error, event) {
64
64
  }
65
65
  }
66
66
  //#endregion
67
- //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_fb41d3d5404f68a399873cc90b9e25fd/node_modules/nitro/dist/runtime/internal/route-rules.mjs
67
+ //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_6e1d935189b5e0f3fabe50b3ea4f847c/node_modules/nitro/dist/runtime/internal/route-rules.mjs
68
68
  var headers = ((m) => function headersRouteRule(event) {
69
69
  for (const [key, value] of Object.entries(m.options || {})) event.res.headers.set(key, value);
70
70
  });
71
71
  //#endregion
72
72
  //#region #nitro/virtual/public-assets-data
73
73
  var public_assets_data_default = {
74
- "/favicon-16x16.png": {
75
- "type": "image/png",
76
- "etag": "\"240-h6ktCVLfjIcsDJuLwUXP4nCJxlI\"",
77
- "mtime": "2026-04-04T12:00:04.526Z",
78
- "size": 576,
79
- "path": "../public/favicon-16x16.png"
80
- },
81
74
  "/apple-touch-icon.png": {
82
75
  "type": "image/png",
83
76
  "etag": "\"329e-uyxOmLQHjRnOIdaE3FE7O/uZ9l4\"",
84
- "mtime": "2026-04-04T12:00:04.526Z",
77
+ "mtime": "2026-04-07T10:08:42.671Z",
85
78
  "size": 12958,
86
79
  "path": "../public/apple-touch-icon.png"
87
80
  },
81
+ "/favicon-16x16.png": {
82
+ "type": "image/png",
83
+ "etag": "\"240-h6ktCVLfjIcsDJuLwUXP4nCJxlI\"",
84
+ "mtime": "2026-04-07T10:08:42.671Z",
85
+ "size": 576,
86
+ "path": "../public/favicon-16x16.png"
87
+ },
88
88
  "/favicon-32x32.png": {
89
89
  "type": "image/png",
90
90
  "etag": "\"4f0-0qQrV3Eq3PzIigrp+8htf8vFCYA\"",
91
- "mtime": "2026-04-04T12:00:04.526Z",
91
+ "mtime": "2026-04-07T10:08:42.671Z",
92
92
  "size": 1264,
93
93
  "path": "../public/favicon-32x32.png"
94
94
  },
95
95
  "/favicon.ico": {
96
96
  "type": "image/vnd.microsoft.icon",
97
97
  "etag": "\"3c2e-eMwmbJNNg6G+Uu+rqWtuvtI2Om4\"",
98
- "mtime": "2026-04-04T12:00:04.526Z",
98
+ "mtime": "2026-04-07T10:08:42.672Z",
99
99
  "size": 15406,
100
100
  "path": "../public/favicon.ico"
101
101
  },
102
102
  "/logo.svg": {
103
103
  "type": "image/svg+xml",
104
104
  "etag": "\"478-zKvD9Jp5dDLCBmng0McewYMBxfs\"",
105
- "mtime": "2026-04-04T12:00:04.526Z",
105
+ "mtime": "2026-04-07T10:08:42.672Z",
106
106
  "size": 1144,
107
107
  "path": "../public/logo.svg"
108
108
  },
109
109
  "/manifest.json": {
110
110
  "type": "application/json",
111
111
  "etag": "\"258-CQdbkGDhbZhU+yrcSXanXKWFEpw\"",
112
- "mtime": "2026-04-04T12:00:04.526Z",
112
+ "mtime": "2026-04-07T10:08:42.672Z",
113
113
  "size": 600,
114
114
  "path": "../public/manifest.json"
115
115
  },
116
116
  "/robots.txt": {
117
117
  "type": "text/plain; charset=utf-8",
118
118
  "etag": "\"43-BEzmj4PuhUNHX+oW9uOnPSihxtU\"",
119
- "mtime": "2026-04-04T12:00:04.526Z",
119
+ "mtime": "2026-04-07T10:08:42.672Z",
120
120
  "size": 67,
121
121
  "path": "../public/robots.txt"
122
122
  },
123
123
  "/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2": {
124
124
  "type": "font/woff2",
125
125
  "etag": "\"6568-cF1iUGbboMFZ8TfnP5HiMgl9II0\"",
126
- "mtime": "2026-04-04T12:00:03.728Z",
126
+ "mtime": "2026-04-07T10:08:41.949Z",
127
127
  "size": 25960,
128
128
  "path": "../public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2"
129
129
  },
130
130
  "/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2": {
131
131
  "type": "font/woff2",
132
132
  "etag": "\"493c-n3Oy9D6jvzfMjpClqox+Zo7ERQQ\"",
133
- "mtime": "2026-04-04T12:00:03.728Z",
133
+ "mtime": "2026-04-07T10:08:41.949Z",
134
134
  "size": 18748,
135
135
  "path": "../public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2"
136
136
  },
137
137
  "/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2": {
138
138
  "type": "font/woff2",
139
139
  "etag": "\"2be0-BP5iTzJeB8nLqYAgKpWNi5o1Zm8\"",
140
- "mtime": "2026-04-04T12:00:03.728Z",
140
+ "mtime": "2026-04-07T10:08:41.949Z",
141
141
  "size": 11232,
142
142
  "path": "../public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2"
143
143
  },
144
144
  "/assets/inter-greek-wght-normal-CkhJZR-_.woff2": {
145
145
  "type": "font/woff2",
146
146
  "etag": "\"4a34-xor/hj4YNqI52zFecXnUbzQ4Xs4\"",
147
- "mtime": "2026-04-04T12:00:03.728Z",
147
+ "mtime": "2026-04-07T10:08:41.949Z",
148
148
  "size": 18996,
149
149
  "path": "../public/assets/inter-greek-wght-normal-CkhJZR-_.woff2"
150
150
  },
151
- "/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": {
152
- "type": "font/woff2",
153
- "etag": "\"14c4c-zz61D7IQFMB9QxHvTAOk/Vh4ibQ\"",
154
- "mtime": "2026-04-04T12:00:03.728Z",
155
- "size": 85068,
156
- "path": "../public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2"
157
- },
158
151
  "/assets/inter-latin-wght-normal-Dx4kXJAl.woff2": {
159
152
  "type": "font/woff2",
160
153
  "etag": "\"bc80-8R1ym7Ck2DUNLqPQ/AYs9u8tUpg\"",
161
- "mtime": "2026-04-04T12:00:03.728Z",
154
+ "mtime": "2026-04-07T10:08:41.949Z",
162
155
  "size": 48256,
163
156
  "path": "../public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2"
164
157
  },
165
158
  "/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2": {
166
159
  "type": "font/woff2",
167
160
  "etag": "\"280c-nBythjoDQ0+5wVAendJ6wU7Xz2M\"",
168
- "mtime": "2026-04-04T12:00:03.728Z",
161
+ "mtime": "2026-04-07T10:08:41.950Z",
169
162
  "size": 10252,
170
163
  "path": "../public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2"
171
164
  },
172
165
  "/assets/main-Dlx8-qN-.js": {
173
166
  "type": "text/javascript; charset=utf-8",
174
167
  "etag": "\"787be-CeNiIm+8hi12YIUcPI+BeocO3xE\"",
175
- "mtime": "2026-04-04T12:00:03.727Z",
168
+ "mtime": "2026-04-07T10:08:41.948Z",
176
169
  "size": 493502,
177
170
  "path": "../public/assets/main-Dlx8-qN-.js"
178
171
  },
179
172
  "/assets/routes-DB0tWmiJ.js": {
180
173
  "type": "text/javascript; charset=utf-8",
181
174
  "etag": "\"33432-UyAsBMnU9T2V9ystwTzCbstnIm0\"",
182
- "mtime": "2026-04-04T12:00:03.728Z",
175
+ "mtime": "2026-04-07T10:08:41.949Z",
183
176
  "size": 209970,
184
177
  "path": "../public/assets/routes-DB0tWmiJ.js"
185
178
  },
186
179
  "/assets/styles-Bfxg4M1x.css": {
187
180
  "type": "text/css; charset=utf-8",
188
181
  "etag": "\"16bc6-p7C0HAFVLco8kaVMGNcx6RYBlpk\"",
189
- "mtime": "2026-04-04T12:00:03.728Z",
182
+ "mtime": "2026-04-07T10:08:41.950Z",
190
183
  "size": 93126,
191
184
  "path": "../public/assets/styles-Bfxg4M1x.css"
185
+ },
186
+ "/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": {
187
+ "type": "font/woff2",
188
+ "etag": "\"14c4c-zz61D7IQFMB9QxHvTAOk/Vh4ibQ\"",
189
+ "mtime": "2026-04-07T10:08:41.949Z",
190
+ "size": 85068,
191
+ "path": "../public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2"
192
192
  }
193
193
  };
194
194
  //#endregion
@@ -209,7 +209,7 @@ function getAsset(id) {
209
209
  return public_assets_data_default[id];
210
210
  }
211
211
  //#endregion
212
- //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_fb41d3d5404f68a399873cc90b9e25fd/node_modules/nitro/dist/runtime/internal/static.mjs
212
+ //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_6e1d935189b5e0f3fabe50b3ea4f847c/node_modules/nitro/dist/runtime/internal/static.mjs
213
213
  var METHODS = new Set(["HEAD", "GET"]);
214
214
  var EncodingMap = {
215
215
  gzip: ".gz",
@@ -278,11 +278,11 @@ var findRouteRules = /* @__PURE__ */ (() => {
278
278
  return r;
279
279
  };
280
280
  })();
281
- var _lazy_iMhIIT = defineLazyEventHandler(() => import("./_chunks/ssr-renderer.mjs"));
281
+ var _lazy_2u_hPw = defineLazyEventHandler(() => import("./_chunks/ssr-renderer.mjs"));
282
282
  var findRoute = /* @__PURE__ */ (() => {
283
283
  const data = {
284
284
  route: "/**",
285
- handler: _lazy_iMhIIT
285
+ handler: _lazy_2u_hPw
286
286
  };
287
287
  return ((_m, p) => {
288
288
  return {
@@ -293,7 +293,7 @@ var findRoute = /* @__PURE__ */ (() => {
293
293
  })();
294
294
  var globalMiddleware = [toEventHandler(static_default)].filter(Boolean);
295
295
  //#endregion
296
- //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_fb41d3d5404f68a399873cc90b9e25fd/node_modules/nitro/dist/runtime/internal/app.mjs
296
+ //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_6e1d935189b5e0f3fabe50b3ea4f847c/node_modules/nitro/dist/runtime/internal/app.mjs
297
297
  var APP_ID = "default";
298
298
  function useNitroApp() {
299
299
  let instance = useNitroApp._instance;
@@ -385,7 +385,7 @@ function getRouteRules(method, pathname) {
385
385
  };
386
386
  }
387
387
  //#endregion
388
- //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_fb41d3d5404f68a399873cc90b9e25fd/node_modules/nitro/dist/runtime/internal/error/hooks.mjs
388
+ //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_6e1d935189b5e0f3fabe50b3ea4f847c/node_modules/nitro/dist/runtime/internal/error/hooks.mjs
389
389
  function _captureError(error, type) {
390
390
  console.error(`[${type}]`, error);
391
391
  useNitroApp().captureError?.(error, { tags: [type] });
@@ -395,7 +395,7 @@ function trapUnhandledErrors() {
395
395
  process.on("uncaughtException", (error) => _captureError(error, "uncaughtException"));
396
396
  }
397
397
  //#endregion
398
- //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_fb41d3d5404f68a399873cc90b9e25fd/node_modules/nitro/dist/presets/node/runtime/node-server.mjs
398
+ //#region ../../node_modules/.pnpm/nitro@3.0.260311-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_6e1d935189b5e0f3fabe50b3ea4f847c/node_modules/nitro/dist/presets/node/runtime/node-server.mjs
399
399
  var _parsedPort = Number.parseInt(process.env.NITRO_PORT ?? process.env.PORT ?? "");
400
400
  var port = Number.isNaN(_parsedPort) ? 3e3 : _parsedPort;
401
401
  var host = process.env.NITRO_HOST || process.env.HOST;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/console",
3
3
  "type": "module",
4
- "version": "0.29.3",
4
+ "version": "0.29.4",
5
5
  "files": [
6
6
  ".output",
7
7
  "package.json"
@@ -10,10 +10,9 @@
10
10
  "./package.json": "./package.json"
11
11
  },
12
12
  "peerDependencies": {
13
- "@hot-updater/cli-tools": "0.29.3"
13
+ "@hot-updater/cli-tools": "0.29.4"
14
14
  },
15
15
  "devDependencies": {
16
- "tslib": "^2.8.1",
17
16
  "@base-ui/react": "^1.3.0",
18
17
  "@fontsource-variable/inter": "^5.2.8",
19
18
  "@tailwindcss/vite": "^4.2.1",
@@ -27,9 +26,17 @@
27
26
  "@tanstack/react-start": "^1.166.11",
28
27
  "@tanstack/react-table": "^8.21.3",
29
28
  "@tanstack/router-plugin": "^1.166.9",
29
+ "@testing-library/dom": "^10.4.0",
30
+ "@testing-library/react": "^16.3.2",
31
+ "@types/node": "^25.5.0",
32
+ "@types/react": "^19.2.14",
33
+ "@types/react-dom": "^19.2.0",
34
+ "@types/semver": "^7.7.1",
35
+ "@vitejs/plugin-react": "^6.0.1",
30
36
  "class-variance-authority": "^0.7.1",
31
37
  "clsx": "^2.1.1",
32
38
  "dayjs": "^1.11.20",
39
+ "jsdom": "^29.0.0",
33
40
  "jszip": "^3.10.1",
34
41
  "lucide-react": "^0.577.0",
35
42
  "next-themes": "^0.4.6",
@@ -37,31 +44,24 @@
37
44
  "radix-ui": "^1.4.3",
38
45
  "react": "^19.2.4",
39
46
  "react-dom": "^19.2.4",
47
+ "react-grab": "^0.1.28",
40
48
  "semver": "^7.7.4",
41
49
  "shadcn": "^4.0.8",
42
50
  "sonner": "^2.0.7",
43
- "tar": "^7.5.1",
44
51
  "tailwind-merge": "^3.5.0",
45
52
  "tailwindcss": "^4.2.1",
53
+ "tar": "^7.5.1",
54
+ "tslib": "^2.8.1",
46
55
  "tw-animate-css": "^1.4.0",
47
- "@testing-library/dom": "^10.4.0",
48
- "@testing-library/react": "^16.3.2",
49
- "@types/node": "^25.5.0",
50
- "@types/react": "^19.2.14",
51
- "@types/react-dom": "^19.2.0",
52
- "@types/semver": "^7.7.1",
53
- "@vitejs/plugin-react": "^6.0.1",
54
- "jsdom": "^29.0.0",
55
- "react-grab": "^0.1.28",
56
- "typescript": "^5.7.2",
56
+ "typescript": "^6.0.2",
57
57
  "vite": "^8.0.0",
58
58
  "vite-tsconfig-paths": "^6.1.1",
59
59
  "vitest": "4.1.0",
60
60
  "web-vitals": "^5.1.0",
61
- "@hot-updater/cli-tools": "0.29.3",
62
- "@hot-updater/plugin-core": "0.29.3",
63
- "@hot-updater/core": "0.29.3",
64
- "@hot-updater/mock": "0.29.3"
61
+ "@hot-updater/cli-tools": "0.29.4",
62
+ "@hot-updater/core": "0.29.4",
63
+ "@hot-updater/plugin-core": "0.29.4",
64
+ "@hot-updater/mock": "0.29.4"
65
65
  },
66
66
  "description": "React Native OTA solution for self-hosted",
67
67
  "license": "MIT",
@@ -96,8 +96,8 @@
96
96
  "scripts": {
97
97
  "dev": "vite dev --port 3000",
98
98
  "build": "vite build && node copy-assets.mjs",
99
- "check": "biome check --write",
100
- "format": "biome format --write",
99
+ "check": "oxfmt --write \"**/*.{ts,tsx}\" && oxlint --fix --fix-suggestions --fix-dangerously .",
100
+ "format": "oxfmt --write \"**/*.{ts,tsx}\"",
101
101
  "preview": "vite preview",
102
102
  "test": "vitest run",
103
103
  "test:type": "tsc --noEmit"