@hot-updater/console 0.30.5 → 0.30.7
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/.output/nitro.json
CHANGED
|
@@ -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.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
2
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/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.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
9
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
1
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/node_modules/nitro/dist/node_modules/unctx/dist/index.mjs
|
|
2
2
|
function createContext(opts = {}) {
|
|
3
3
|
let currentInstance;
|
|
4
4
|
let isSingleton = false;
|
|
@@ -3439,7 +3439,8 @@ var FastURL = /* @__PURE__ */ (() => {
|
|
|
3439
3439
|
#searchParams;
|
|
3440
3440
|
#pos;
|
|
3441
3441
|
constructor(url) {
|
|
3442
|
-
if (typeof url === "string") this.#href = url;
|
|
3442
|
+
if (typeof url === "string") if (url[0] === "/") this.#href = url;
|
|
3443
|
+
else this.#url = new NativeURL(url);
|
|
3443
3444
|
else if (_needsNormRE.test(url.pathname)) this.#url = new NativeURL(`${url.protocol || "http:"}//${url.host || "localhost"}${url.pathname}${url.search || ""}`);
|
|
3444
3445
|
else {
|
|
3445
3446
|
this.#protocol = url.protocol;
|
package/.output/server/index.mjs
CHANGED
|
@@ -23,7 +23,7 @@ getContext("nitro-app", {
|
|
|
23
23
|
AsyncLocalStorage: void 0
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
26
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/node_modules/nitro/dist/runtime/internal/error/prod.mjs
|
|
27
27
|
var errorHandler = (error, event) => {
|
|
28
28
|
const res = defaultHandler(error, event);
|
|
29
29
|
return new NodeResponse(typeof res.body === "string" ? res.body : JSON.stringify(res.body, null, 2), res);
|
|
@@ -70,7 +70,7 @@ async function error_handler_default(error, event) {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
73
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/node_modules/nitro/dist/runtime/internal/route-rules.mjs
|
|
74
74
|
var headers = ((m) => function headersRouteRule(event) {
|
|
75
75
|
for (const [key, value] of Object.entries(m.options || {})) event.res.headers.set(key, value);
|
|
76
76
|
});
|
|
@@ -80,128 +80,128 @@ var public_assets_data_default = {
|
|
|
80
80
|
"/apple-touch-icon.png": {
|
|
81
81
|
"type": "image/png",
|
|
82
82
|
"etag": "\"329e-uyxOmLQHjRnOIdaE3FE7O/uZ9l4\"",
|
|
83
|
-
"mtime": "2026-
|
|
83
|
+
"mtime": "2026-05-02T07:14:38.374Z",
|
|
84
84
|
"size": 12958,
|
|
85
85
|
"path": "../public/apple-touch-icon.png"
|
|
86
86
|
},
|
|
87
87
|
"/favicon-16x16.png": {
|
|
88
88
|
"type": "image/png",
|
|
89
89
|
"etag": "\"240-h6ktCVLfjIcsDJuLwUXP4nCJxlI\"",
|
|
90
|
-
"mtime": "2026-
|
|
90
|
+
"mtime": "2026-05-02T07:14:38.374Z",
|
|
91
91
|
"size": 576,
|
|
92
92
|
"path": "../public/favicon-16x16.png"
|
|
93
93
|
},
|
|
94
94
|
"/favicon-32x32.png": {
|
|
95
95
|
"type": "image/png",
|
|
96
96
|
"etag": "\"4f0-0qQrV3Eq3PzIigrp+8htf8vFCYA\"",
|
|
97
|
-
"mtime": "2026-
|
|
97
|
+
"mtime": "2026-05-02T07:14:38.374Z",
|
|
98
98
|
"size": 1264,
|
|
99
99
|
"path": "../public/favicon-32x32.png"
|
|
100
100
|
},
|
|
101
101
|
"/favicon.ico": {
|
|
102
102
|
"type": "image/vnd.microsoft.icon",
|
|
103
103
|
"etag": "\"3c2e-eMwmbJNNg6G+Uu+rqWtuvtI2Om4\"",
|
|
104
|
-
"mtime": "2026-
|
|
104
|
+
"mtime": "2026-05-02T07:14:38.374Z",
|
|
105
105
|
"size": 15406,
|
|
106
106
|
"path": "../public/favicon.ico"
|
|
107
107
|
},
|
|
108
108
|
"/logo.svg": {
|
|
109
109
|
"type": "image/svg+xml",
|
|
110
110
|
"etag": "\"478-zKvD9Jp5dDLCBmng0McewYMBxfs\"",
|
|
111
|
-
"mtime": "2026-
|
|
111
|
+
"mtime": "2026-05-02T07:14:38.375Z",
|
|
112
112
|
"size": 1144,
|
|
113
113
|
"path": "../public/logo.svg"
|
|
114
114
|
},
|
|
115
115
|
"/manifest.json": {
|
|
116
116
|
"type": "application/json",
|
|
117
117
|
"etag": "\"258-CQdbkGDhbZhU+yrcSXanXKWFEpw\"",
|
|
118
|
-
"mtime": "2026-
|
|
118
|
+
"mtime": "2026-05-02T07:14:38.375Z",
|
|
119
119
|
"size": 600,
|
|
120
120
|
"path": "../public/manifest.json"
|
|
121
121
|
},
|
|
122
122
|
"/robots.txt": {
|
|
123
123
|
"type": "text/plain; charset=utf-8",
|
|
124
124
|
"etag": "\"43-BEzmj4PuhUNHX+oW9uOnPSihxtU\"",
|
|
125
|
-
"mtime": "2026-
|
|
125
|
+
"mtime": "2026-05-02T07:14:38.375Z",
|
|
126
126
|
"size": 67,
|
|
127
127
|
"path": "../public/robots.txt"
|
|
128
128
|
},
|
|
129
|
-
"/assets/
|
|
130
|
-
"type": "
|
|
131
|
-
"etag": "\"
|
|
132
|
-
"mtime": "2026-
|
|
133
|
-
"size":
|
|
134
|
-
"path": "../public/assets/
|
|
129
|
+
"/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2": {
|
|
130
|
+
"type": "font/woff2",
|
|
131
|
+
"etag": "\"493c-n3Oy9D6jvzfMjpClqox+Zo7ERQQ\"",
|
|
132
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
133
|
+
"size": 18748,
|
|
134
|
+
"path": "../public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2"
|
|
135
135
|
},
|
|
136
136
|
"/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2": {
|
|
137
137
|
"type": "font/woff2",
|
|
138
138
|
"etag": "\"6568-cF1iUGbboMFZ8TfnP5HiMgl9II0\"",
|
|
139
|
-
"mtime": "2026-
|
|
139
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
140
140
|
"size": 25960,
|
|
141
141
|
"path": "../public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2"
|
|
142
142
|
},
|
|
143
|
-
"/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2": {
|
|
144
|
-
"type": "font/woff2",
|
|
145
|
-
"etag": "\"493c-n3Oy9D6jvzfMjpClqox+Zo7ERQQ\"",
|
|
146
|
-
"mtime": "2026-04-24T07:47:06.316Z",
|
|
147
|
-
"size": 18748,
|
|
148
|
-
"path": "../public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2"
|
|
149
|
-
},
|
|
150
143
|
"/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2": {
|
|
151
144
|
"type": "font/woff2",
|
|
152
145
|
"etag": "\"2be0-BP5iTzJeB8nLqYAgKpWNi5o1Zm8\"",
|
|
153
|
-
"mtime": "2026-
|
|
146
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
154
147
|
"size": 11232,
|
|
155
148
|
"path": "../public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2"
|
|
156
149
|
},
|
|
150
|
+
"/assets/dist-BKho179_.js": {
|
|
151
|
+
"type": "text/javascript; charset=utf-8",
|
|
152
|
+
"etag": "\"35235-u/sDKSWfxLQCuHBIXR8IYoldgSQ\"",
|
|
153
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
154
|
+
"size": 217653,
|
|
155
|
+
"path": "../public/assets/dist-BKho179_.js"
|
|
156
|
+
},
|
|
157
157
|
"/assets/inter-greek-wght-normal-CkhJZR-_.woff2": {
|
|
158
158
|
"type": "font/woff2",
|
|
159
159
|
"etag": "\"4a34-xor/hj4YNqI52zFecXnUbzQ4Xs4\"",
|
|
160
|
-
"mtime": "2026-
|
|
160
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
161
161
|
"size": 18996,
|
|
162
162
|
"path": "../public/assets/inter-greek-wght-normal-CkhJZR-_.woff2"
|
|
163
163
|
},
|
|
164
164
|
"/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": {
|
|
165
165
|
"type": "font/woff2",
|
|
166
166
|
"etag": "\"14c4c-zz61D7IQFMB9QxHvTAOk/Vh4ibQ\"",
|
|
167
|
-
"mtime": "2026-
|
|
167
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
168
168
|
"size": 85068,
|
|
169
169
|
"path": "../public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2"
|
|
170
170
|
},
|
|
171
171
|
"/assets/inter-latin-wght-normal-Dx4kXJAl.woff2": {
|
|
172
172
|
"type": "font/woff2",
|
|
173
173
|
"etag": "\"bc80-8R1ym7Ck2DUNLqPQ/AYs9u8tUpg\"",
|
|
174
|
-
"mtime": "2026-
|
|
174
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
175
175
|
"size": 48256,
|
|
176
176
|
"path": "../public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2"
|
|
177
177
|
},
|
|
178
178
|
"/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2": {
|
|
179
179
|
"type": "font/woff2",
|
|
180
180
|
"etag": "\"280c-nBythjoDQ0+5wVAendJ6wU7Xz2M\"",
|
|
181
|
-
"mtime": "2026-
|
|
181
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
182
182
|
"size": 10252,
|
|
183
183
|
"path": "../public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2"
|
|
184
184
|
},
|
|
185
|
-
"/assets/
|
|
186
|
-
"type": "text/
|
|
187
|
-
"etag": "\"
|
|
188
|
-
"mtime": "2026-
|
|
189
|
-
"size":
|
|
190
|
-
"path": "../public/assets/
|
|
185
|
+
"/assets/styles-M2W42JQb.css": {
|
|
186
|
+
"type": "text/css; charset=utf-8",
|
|
187
|
+
"etag": "\"16c09-0PgJUH0UJ7vffHYoje/awxCquoI\"",
|
|
188
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
189
|
+
"size": 93193,
|
|
190
|
+
"path": "../public/assets/styles-M2W42JQb.css"
|
|
191
191
|
},
|
|
192
192
|
"/assets/routes-CVEbccVq.js": {
|
|
193
193
|
"type": "text/javascript; charset=utf-8",
|
|
194
194
|
"etag": "\"34b05-3mdibK1idGwv4pZIDgSJq2HS4Vc\"",
|
|
195
|
-
"mtime": "2026-
|
|
195
|
+
"mtime": "2026-05-02T07:14:37.725Z",
|
|
196
196
|
"size": 215813,
|
|
197
197
|
"path": "../public/assets/routes-CVEbccVq.js"
|
|
198
198
|
},
|
|
199
|
-
"/assets/
|
|
200
|
-
"type": "text/
|
|
201
|
-
"etag": "\"
|
|
202
|
-
"mtime": "2026-
|
|
203
|
-
"size":
|
|
204
|
-
"path": "../public/assets/
|
|
199
|
+
"/assets/main-CoPJhqkz.js": {
|
|
200
|
+
"type": "text/javascript; charset=utf-8",
|
|
201
|
+
"etag": "\"439bb-uLvRmjLg5Gac65VCaKbIpqIGKpo\"",
|
|
202
|
+
"mtime": "2026-05-02T07:14:37.723Z",
|
|
203
|
+
"size": 276923,
|
|
204
|
+
"path": "../public/assets/main-CoPJhqkz.js"
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
//#endregion
|
|
@@ -222,7 +222,7 @@ function getAsset(id) {
|
|
|
222
222
|
return public_assets_data_default[id];
|
|
223
223
|
}
|
|
224
224
|
//#endregion
|
|
225
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
225
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/node_modules/nitro/dist/runtime/internal/static.mjs
|
|
226
226
|
var METHODS = new Set(["HEAD", "GET"]);
|
|
227
227
|
var EncodingMap = {
|
|
228
228
|
gzip: ".gz",
|
|
@@ -291,11 +291,11 @@ var findRouteRules = /* @__PURE__ */ (() => {
|
|
|
291
291
|
return r;
|
|
292
292
|
};
|
|
293
293
|
})();
|
|
294
|
-
var
|
|
294
|
+
var _lazy_HjP54o = defineLazyEventHandler(() => import("./_chunks/ssr-renderer.mjs"));
|
|
295
295
|
var findRoute = /* @__PURE__ */ (() => {
|
|
296
296
|
const data = {
|
|
297
297
|
route: "/**",
|
|
298
|
-
handler:
|
|
298
|
+
handler: _lazy_HjP54o
|
|
299
299
|
};
|
|
300
300
|
return ((_m, p) => {
|
|
301
301
|
return {
|
|
@@ -306,7 +306,7 @@ var findRoute = /* @__PURE__ */ (() => {
|
|
|
306
306
|
})();
|
|
307
307
|
var globalMiddleware = [toEventHandler(static_default)].filter(Boolean);
|
|
308
308
|
//#endregion
|
|
309
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
309
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/node_modules/nitro/dist/runtime/internal/app.mjs
|
|
310
310
|
var APP_ID = "default";
|
|
311
311
|
function useNitroApp() {
|
|
312
312
|
let instance = useNitroApp._instance;
|
|
@@ -399,7 +399,7 @@ function getRouteRules(method, pathname) {
|
|
|
399
399
|
};
|
|
400
400
|
}
|
|
401
401
|
//#endregion
|
|
402
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
402
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/node_modules/nitro/dist/runtime/internal/error/hooks.mjs
|
|
403
403
|
function _captureError(error, type) {
|
|
404
404
|
console.error(`[${type}]`, error);
|
|
405
405
|
useNitroApp().captureError?.(error, { tags: [type] });
|
|
@@ -412,7 +412,7 @@ function trapUnhandledErrors() {
|
|
|
412
412
|
//#region #nitro/virtual/tracing
|
|
413
413
|
var tracingSrvxPlugins = [];
|
|
414
414
|
//#endregion
|
|
415
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-
|
|
415
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_5b73c6b95f7d9a006cb3b526e6a5b16f/node_modules/nitro/dist/presets/node/runtime/node-server.mjs
|
|
416
416
|
var _parsedPort = Number.parseInt(process.env.NITRO_PORT ?? process.env.PORT ?? "");
|
|
417
417
|
var port = Number.isNaN(_parsedPort) ? 3e3 : _parsedPort;
|
|
418
418
|
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.30.
|
|
4
|
+
"version": "0.30.7",
|
|
5
5
|
"files": [
|
|
6
6
|
".output",
|
|
7
7
|
"package.json"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"./package.json": "./package.json"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@hot-updater/cli-tools": "0.30.
|
|
13
|
+
"@hot-updater/cli-tools": "0.30.7"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@base-ui/react": "^1.3.0",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
"vite-tsconfig-paths": "^6.1.1",
|
|
59
59
|
"vitest": "4.1.4",
|
|
60
60
|
"web-vitals": "^5.1.0",
|
|
61
|
-
"@hot-updater/cli-tools": "0.30.
|
|
62
|
-
"@hot-updater/
|
|
63
|
-
"@hot-updater/
|
|
64
|
-
"@hot-updater/plugin-core": "0.30.
|
|
61
|
+
"@hot-updater/cli-tools": "0.30.7",
|
|
62
|
+
"@hot-updater/core": "0.30.7",
|
|
63
|
+
"@hot-updater/mock": "0.30.7",
|
|
64
|
+
"@hot-updater/plugin-core": "0.30.7"
|
|
65
65
|
},
|
|
66
66
|
"description": "React Native OTA solution for self-hosted",
|
|
67
67
|
"license": "MIT",
|