@hot-updater/console 0.30.2 → 0.30.3
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 +3 -3
- package/.output/server/{__tanstack-start-server-fn-resolver-_tshRSrU.mjs → __tanstack-start-server-fn-resolver-DB7Vwz3A.mjs} +11 -11
- package/.output/server/_chunks/ssr-renderer.mjs +2 -2
- package/.output/server/_libs/@tanstack/react-form+[...].mjs +5 -5
- package/.output/server/_libs/h3+rou3+srvx.mjs +101 -49
- package/.output/server/_libs/hookable.mjs +2 -2
- package/.output/server/_libs/isaacs__fs-minipass+minipass.mjs +35 -1
- package/.output/server/_libs/minizlib.mjs +25 -2
- package/.output/server/_libs/radix-ui__react-direction.mjs +2 -0
- package/.output/server/_libs/{tar.mjs → tar+yallist.mjs} +1344 -24
- package/.output/server/_libs/unctx.mjs +82 -0
- package/.output/server/_ssr/{api-rpc-CO6sLvit.mjs → api-rpc-kX2sZt80.mjs} +1 -1
- package/.output/server/_ssr/promoteBundle-BBOSMtwu.mjs +1 -1
- package/.output/server/_ssr/{router-B-zW1hRH.mjs → router-fogqFSFT.mjs} +2 -2
- package/.output/server/_ssr/{routes-JrS17vVq.mjs → routes-CgYYFBNT.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +3 -3
- package/.output/server/_ssr/start-DsRb6TkZ.mjs +4 -0
- package/.output/server/index.mjs +57 -46
- package/package.json +6 -6
- package/.output/server/_ssr/start-C-dW39LD.mjs +0 -4
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_97f61cc24ed75a40553113785315eaba/node_modules/nitro/dist/node_modules/unctx/dist/index.mjs
|
|
2
|
+
function createContext(opts = {}) {
|
|
3
|
+
let currentInstance;
|
|
4
|
+
let isSingleton = false;
|
|
5
|
+
const checkConflict = (instance) => {
|
|
6
|
+
if (currentInstance && currentInstance !== instance) throw new Error("Context conflict");
|
|
7
|
+
};
|
|
8
|
+
let als;
|
|
9
|
+
if (opts.asyncContext) {
|
|
10
|
+
const _AsyncLocalStorage = opts.AsyncLocalStorage || globalThis.AsyncLocalStorage;
|
|
11
|
+
if (_AsyncLocalStorage) als = new _AsyncLocalStorage();
|
|
12
|
+
else console.warn("[unctx] `AsyncLocalStorage` is not provided.");
|
|
13
|
+
}
|
|
14
|
+
const _getCurrentInstance = () => {
|
|
15
|
+
if (als) {
|
|
16
|
+
const instance = als.getStore();
|
|
17
|
+
if (instance !== void 0) return instance;
|
|
18
|
+
}
|
|
19
|
+
return currentInstance;
|
|
20
|
+
};
|
|
21
|
+
return {
|
|
22
|
+
use: () => {
|
|
23
|
+
const _instance = _getCurrentInstance();
|
|
24
|
+
if (_instance === void 0) throw new Error("Context is not available");
|
|
25
|
+
return _instance;
|
|
26
|
+
},
|
|
27
|
+
tryUse: () => {
|
|
28
|
+
return _getCurrentInstance();
|
|
29
|
+
},
|
|
30
|
+
set: (instance, replace) => {
|
|
31
|
+
if (!replace) checkConflict(instance);
|
|
32
|
+
currentInstance = instance;
|
|
33
|
+
isSingleton = true;
|
|
34
|
+
},
|
|
35
|
+
unset: () => {
|
|
36
|
+
currentInstance = void 0;
|
|
37
|
+
isSingleton = false;
|
|
38
|
+
},
|
|
39
|
+
call: (instance, callback) => {
|
|
40
|
+
checkConflict(instance);
|
|
41
|
+
currentInstance = instance;
|
|
42
|
+
try {
|
|
43
|
+
return als ? als.run(instance, callback) : callback();
|
|
44
|
+
} finally {
|
|
45
|
+
if (!isSingleton) currentInstance = void 0;
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
async callAsync(instance, callback) {
|
|
49
|
+
currentInstance = instance;
|
|
50
|
+
const onRestore = () => {
|
|
51
|
+
currentInstance = instance;
|
|
52
|
+
};
|
|
53
|
+
const onLeave = () => currentInstance === instance ? onRestore : void 0;
|
|
54
|
+
asyncHandlers.add(onLeave);
|
|
55
|
+
try {
|
|
56
|
+
const r = als ? als.run(instance, callback) : callback();
|
|
57
|
+
if (!isSingleton) currentInstance = void 0;
|
|
58
|
+
return await r;
|
|
59
|
+
} finally {
|
|
60
|
+
asyncHandlers.delete(onLeave);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function createNamespace(defaultOpts = {}) {
|
|
66
|
+
const contexts = {};
|
|
67
|
+
return { get(key, opts = {}) {
|
|
68
|
+
if (!contexts[key]) contexts[key] = createContext({
|
|
69
|
+
...defaultOpts,
|
|
70
|
+
...opts
|
|
71
|
+
});
|
|
72
|
+
return contexts[key];
|
|
73
|
+
} };
|
|
74
|
+
}
|
|
75
|
+
var _globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : {};
|
|
76
|
+
var globalKey = "__unctx__";
|
|
77
|
+
var defaultNamespace = _globalThis[globalKey] || (_globalThis[globalKey] = createNamespace());
|
|
78
|
+
var getContext = (key, opts = {}) => defaultNamespace.get(key, opts);
|
|
79
|
+
var asyncHandlersKey = "__unctx_async_handlers__";
|
|
80
|
+
var asyncHandlers = _globalThis[asyncHandlersKey] || (_globalThis[asyncHandlersKey] = /* @__PURE__ */ new Set());
|
|
81
|
+
//#endregion
|
|
82
|
+
export { getContext as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createServerFn, i as TSS_SERVER_FUNCTION } from "./createServerFn-CdeRXnVy.mjs";
|
|
2
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-
|
|
2
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-kX2sZt80.js
|
|
3
3
|
var createServerRpc = (serverFnMeta, splitImportFn) => {
|
|
4
4
|
const url = "/_serverFn/" + serverFnMeta.id;
|
|
5
5
|
return Object.assign(splitImportFn, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { t as createUUIDv7 } from "./extract-timestamp-from-uuidv7-DO_lXhMa.mjs";
|
|
3
3
|
import { t as require_lib } from "../_libs/jszip+[...].mjs";
|
|
4
|
-
import { t as extract } from "../_libs/tar.mjs";
|
|
4
|
+
import { t as extract } from "../_libs/tar+yallist.mjs";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { createTarBrTargetFiles, createTarGzTargetFiles, createZipTargetFiles } from "@hot-updater/cli-tools";
|
|
@@ -8,7 +8,7 @@ import { t as QueryClient } from "../_libs/tanstack__query-core.mjs";
|
|
|
8
8
|
import { r as QueryClientProvider } from "../_libs/tanstack__react-query.mjs";
|
|
9
9
|
import { t as z } from "../_libs/next-themes.mjs";
|
|
10
10
|
import { t as Toaster } from "../_libs/sonner.mjs";
|
|
11
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/router-
|
|
11
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/router-fogqFSFT.js
|
|
12
12
|
var import_jsx_runtime = require_jsx_runtime();
|
|
13
13
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
14
14
|
function HotUpdaterLogo({ className }) {
|
|
@@ -227,7 +227,7 @@ function RootLayout() {
|
|
|
227
227
|
(0, import_react.useEffect)(() => {}, []);
|
|
228
228
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarProvider, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppSidebar, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarInset, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Outlet, {}) })] });
|
|
229
229
|
}
|
|
230
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
230
|
+
var $$splitComponentImporter = () => import("./routes-CgYYFBNT.mjs");
|
|
231
231
|
var rootRouteChildren = { IndexRoute: createFileRoute("/")({
|
|
232
232
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
233
233
|
validateSearch: (search) => {
|
|
@@ -14,11 +14,11 @@ import { d as useNavigate, f as useSearch } from "../_libs/@tanstack/react-route
|
|
|
14
14
|
import { n as useStore, t as useForm } from "../_libs/@tanstack/react-form+[...].mjs";
|
|
15
15
|
import { i as useQueryClient, n as useQuery, t as useMutation } from "../_libs/tanstack__react-query.mjs";
|
|
16
16
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
17
|
-
import { t as getServerFnById } from "../__tanstack-start-server-fn-resolver-
|
|
17
|
+
import { t as getServerFnById } from "../__tanstack-start-server-fn-resolver-DB7Vwz3A.mjs";
|
|
18
18
|
import { t as require_semver } from "../_libs/semver.mjs";
|
|
19
19
|
import { i as getCoreRowModel, n as useReactTable, r as createColumnHelper, t as flexRender } from "../_libs/@tanstack/react-table+[...].mjs";
|
|
20
20
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
21
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
21
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-CgYYFBNT.js
|
|
22
22
|
var import_jsx_runtime = require_jsx_runtime();
|
|
23
23
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
24
24
|
var import_semver = /* @__PURE__ */ __toESM(require_semver());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as X_TSS_RAW_RESPONSE, d as isRedirect, f as isResolvedRedirect, h as safeObjectMerge, i as TSS_SERVER_FUNCTION, l as flattenMiddlewares, m as runWithStartContext, n as TSS_CONTENT_TYPE_FRAMED_VERSIONED, o as X_TSS_SERIALIZED, p as mergeHeaders, r as TSS_FORMDATA_CONTEXT, s as createNullProtoObject, t as FrameType, u as getStartOptions } from "./createServerFn-CdeRXnVy.mjs";
|
|
2
2
|
import { P as require_jsx_runtime } from "../_libs/@radix-ui/react-alert-dialog+[...].mjs";
|
|
3
3
|
import { i as RouterProvider, t as renderRouterToStream } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
|
-
import { t as getServerFnById } from "../__tanstack-start-server-fn-resolver-
|
|
4
|
+
import { t as getServerFnById } from "../__tanstack-start-server-fn-resolver-DB7Vwz3A.mjs";
|
|
5
5
|
import { t as defineHandlerCallback } from "../_libs/tanstack__router-core.mjs";
|
|
6
6
|
import { PassThrough, Readable } from "node:stream";
|
|
7
7
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -4374,9 +4374,9 @@ var entriesPromise;
|
|
|
4374
4374
|
var baseManifestPromise;
|
|
4375
4375
|
var cachedFinalManifestPromise;
|
|
4376
4376
|
async function loadEntries() {
|
|
4377
|
-
const routerEntry = await import("./router-
|
|
4377
|
+
const routerEntry = await import("./router-fogqFSFT.mjs");
|
|
4378
4378
|
return {
|
|
4379
|
-
startEntry: await import("./start-
|
|
4379
|
+
startEntry: await import("./start-DsRb6TkZ.mjs"),
|
|
4380
4380
|
routerEntry
|
|
4381
4381
|
};
|
|
4382
4382
|
}
|
package/.output/server/index.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
globalThis.__nitro_main__ = import.meta.url;
|
|
2
2
|
import { a as toEventHandler, c as serve, i as defineLazyEventHandler, n as HTTPError, r as defineHandler, s as NodeResponse, t as H3Core } from "./_libs/h3+rou3+srvx.mjs";
|
|
3
3
|
import "./_libs/hookable.mjs";
|
|
4
|
+
import { t as getContext } from "./_libs/unctx.mjs";
|
|
4
5
|
import { i as withoutTrailingSlash, n as joinURL, r as withLeadingSlash, t as decodePath } from "./_libs/ufo.mjs";
|
|
6
|
+
import "node:async_hooks";
|
|
5
7
|
import { promises } from "node:fs";
|
|
6
8
|
import { fileURLToPath } from "node:url";
|
|
7
9
|
import { dirname, resolve } from "node:path";
|
|
@@ -16,8 +18,12 @@ function lazyService(loader) {
|
|
|
16
18
|
}
|
|
17
19
|
var services = { ["ssr"]: lazyService(() => import("./_ssr/ssr.mjs")) };
|
|
18
20
|
globalThis.__nitro_vite_envs__ = services;
|
|
21
|
+
getContext("nitro-app", {
|
|
22
|
+
asyncContext: void 0,
|
|
23
|
+
AsyncLocalStorage: void 0
|
|
24
|
+
});
|
|
19
25
|
//#endregion
|
|
20
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.
|
|
26
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_97f61cc24ed75a40553113785315eaba/node_modules/nitro/dist/runtime/internal/error/prod.mjs
|
|
21
27
|
var errorHandler = (error, event) => {
|
|
22
28
|
const res = defaultHandler(error, event);
|
|
23
29
|
return new NodeResponse(typeof res.body === "string" ? res.body : JSON.stringify(res.body, null, 2), res);
|
|
@@ -64,7 +70,7 @@ async function error_handler_default(error, event) {
|
|
|
64
70
|
}
|
|
65
71
|
}
|
|
66
72
|
//#endregion
|
|
67
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.
|
|
73
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_97f61cc24ed75a40553113785315eaba/node_modules/nitro/dist/runtime/internal/route-rules.mjs
|
|
68
74
|
var headers = ((m) => function headersRouteRule(event) {
|
|
69
75
|
for (const [key, value] of Object.entries(m.options || {})) event.res.headers.set(key, value);
|
|
70
76
|
});
|
|
@@ -74,128 +80,128 @@ var public_assets_data_default = {
|
|
|
74
80
|
"/apple-touch-icon.png": {
|
|
75
81
|
"type": "image/png",
|
|
76
82
|
"etag": "\"329e-uyxOmLQHjRnOIdaE3FE7O/uZ9l4\"",
|
|
77
|
-
"mtime": "2026-04-
|
|
83
|
+
"mtime": "2026-04-23T15:05:16.254Z",
|
|
78
84
|
"size": 12958,
|
|
79
85
|
"path": "../public/apple-touch-icon.png"
|
|
80
86
|
},
|
|
87
|
+
"/favicon-16x16.png": {
|
|
88
|
+
"type": "image/png",
|
|
89
|
+
"etag": "\"240-h6ktCVLfjIcsDJuLwUXP4nCJxlI\"",
|
|
90
|
+
"mtime": "2026-04-23T15:05:16.255Z",
|
|
91
|
+
"size": 576,
|
|
92
|
+
"path": "../public/favicon-16x16.png"
|
|
93
|
+
},
|
|
81
94
|
"/favicon-32x32.png": {
|
|
82
95
|
"type": "image/png",
|
|
83
96
|
"etag": "\"4f0-0qQrV3Eq3PzIigrp+8htf8vFCYA\"",
|
|
84
|
-
"mtime": "2026-04-
|
|
97
|
+
"mtime": "2026-04-23T15:05:16.255Z",
|
|
85
98
|
"size": 1264,
|
|
86
99
|
"path": "../public/favicon-32x32.png"
|
|
87
100
|
},
|
|
88
101
|
"/favicon.ico": {
|
|
89
102
|
"type": "image/vnd.microsoft.icon",
|
|
90
103
|
"etag": "\"3c2e-eMwmbJNNg6G+Uu+rqWtuvtI2Om4\"",
|
|
91
|
-
"mtime": "2026-04-
|
|
104
|
+
"mtime": "2026-04-23T15:05:16.255Z",
|
|
92
105
|
"size": 15406,
|
|
93
106
|
"path": "../public/favicon.ico"
|
|
94
107
|
},
|
|
95
|
-
"/favicon-16x16.png": {
|
|
96
|
-
"type": "image/png",
|
|
97
|
-
"etag": "\"240-h6ktCVLfjIcsDJuLwUXP4nCJxlI\"",
|
|
98
|
-
"mtime": "2026-04-17T09:42:38.777Z",
|
|
99
|
-
"size": 576,
|
|
100
|
-
"path": "../public/favicon-16x16.png"
|
|
101
|
-
},
|
|
102
108
|
"/logo.svg": {
|
|
103
109
|
"type": "image/svg+xml",
|
|
104
110
|
"etag": "\"478-zKvD9Jp5dDLCBmng0McewYMBxfs\"",
|
|
105
|
-
"mtime": "2026-04-
|
|
111
|
+
"mtime": "2026-04-23T15:05:16.255Z",
|
|
106
112
|
"size": 1144,
|
|
107
113
|
"path": "../public/logo.svg"
|
|
108
114
|
},
|
|
109
115
|
"/manifest.json": {
|
|
110
116
|
"type": "application/json",
|
|
111
117
|
"etag": "\"258-CQdbkGDhbZhU+yrcSXanXKWFEpw\"",
|
|
112
|
-
"mtime": "2026-04-
|
|
118
|
+
"mtime": "2026-04-23T15:05:16.255Z",
|
|
113
119
|
"size": 600,
|
|
114
120
|
"path": "../public/manifest.json"
|
|
115
121
|
},
|
|
116
122
|
"/robots.txt": {
|
|
117
123
|
"type": "text/plain; charset=utf-8",
|
|
118
124
|
"etag": "\"43-BEzmj4PuhUNHX+oW9uOnPSihxtU\"",
|
|
119
|
-
"mtime": "2026-04-
|
|
125
|
+
"mtime": "2026-04-23T15:05:16.256Z",
|
|
120
126
|
"size": 67,
|
|
121
127
|
"path": "../public/robots.txt"
|
|
122
128
|
},
|
|
123
129
|
"/assets/dist-BKho179_.js": {
|
|
124
130
|
"type": "text/javascript; charset=utf-8",
|
|
125
131
|
"etag": "\"35235-u/sDKSWfxLQCuHBIXR8IYoldgSQ\"",
|
|
126
|
-
"mtime": "2026-04-
|
|
132
|
+
"mtime": "2026-04-23T15:05:15.460Z",
|
|
127
133
|
"size": 217653,
|
|
128
134
|
"path": "../public/assets/dist-BKho179_.js"
|
|
129
135
|
},
|
|
130
136
|
"/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2": {
|
|
131
137
|
"type": "font/woff2",
|
|
132
138
|
"etag": "\"6568-cF1iUGbboMFZ8TfnP5HiMgl9II0\"",
|
|
133
|
-
"mtime": "2026-04-
|
|
139
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
134
140
|
"size": 25960,
|
|
135
141
|
"path": "../public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2"
|
|
136
142
|
},
|
|
137
143
|
"/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2": {
|
|
138
144
|
"type": "font/woff2",
|
|
139
145
|
"etag": "\"493c-n3Oy9D6jvzfMjpClqox+Zo7ERQQ\"",
|
|
140
|
-
"mtime": "2026-04-
|
|
146
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
141
147
|
"size": 18748,
|
|
142
148
|
"path": "../public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2"
|
|
143
149
|
},
|
|
144
150
|
"/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2": {
|
|
145
151
|
"type": "font/woff2",
|
|
146
152
|
"etag": "\"2be0-BP5iTzJeB8nLqYAgKpWNi5o1Zm8\"",
|
|
147
|
-
"mtime": "2026-04-
|
|
153
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
148
154
|
"size": 11232,
|
|
149
155
|
"path": "../public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2"
|
|
150
156
|
},
|
|
151
157
|
"/assets/inter-greek-wght-normal-CkhJZR-_.woff2": {
|
|
152
158
|
"type": "font/woff2",
|
|
153
159
|
"etag": "\"4a34-xor/hj4YNqI52zFecXnUbzQ4Xs4\"",
|
|
154
|
-
"mtime": "2026-04-
|
|
160
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
155
161
|
"size": 18996,
|
|
156
162
|
"path": "../public/assets/inter-greek-wght-normal-CkhJZR-_.woff2"
|
|
157
163
|
},
|
|
164
|
+
"/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": {
|
|
165
|
+
"type": "font/woff2",
|
|
166
|
+
"etag": "\"14c4c-zz61D7IQFMB9QxHvTAOk/Vh4ibQ\"",
|
|
167
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
168
|
+
"size": 85068,
|
|
169
|
+
"path": "../public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2"
|
|
170
|
+
},
|
|
158
171
|
"/assets/inter-latin-wght-normal-Dx4kXJAl.woff2": {
|
|
159
172
|
"type": "font/woff2",
|
|
160
173
|
"etag": "\"bc80-8R1ym7Ck2DUNLqPQ/AYs9u8tUpg\"",
|
|
161
|
-
"mtime": "2026-04-
|
|
174
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
162
175
|
"size": 48256,
|
|
163
176
|
"path": "../public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2"
|
|
164
177
|
},
|
|
165
178
|
"/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2": {
|
|
166
179
|
"type": "font/woff2",
|
|
167
180
|
"etag": "\"280c-nBythjoDQ0+5wVAendJ6wU7Xz2M\"",
|
|
168
|
-
"mtime": "2026-04-
|
|
181
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
169
182
|
"size": 10252,
|
|
170
183
|
"path": "../public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2"
|
|
171
184
|
},
|
|
172
|
-
"/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": {
|
|
173
|
-
"type": "font/woff2",
|
|
174
|
-
"etag": "\"14c4c-zz61D7IQFMB9QxHvTAOk/Vh4ibQ\"",
|
|
175
|
-
"mtime": "2026-04-17T09:42:38.022Z",
|
|
176
|
-
"size": 85068,
|
|
177
|
-
"path": "../public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2"
|
|
178
|
-
},
|
|
179
185
|
"/assets/main-CoPJhqkz.js": {
|
|
180
186
|
"type": "text/javascript; charset=utf-8",
|
|
181
187
|
"etag": "\"439bb-uLvRmjLg5Gac65VCaKbIpqIGKpo\"",
|
|
182
|
-
"mtime": "2026-04-
|
|
188
|
+
"mtime": "2026-04-23T15:05:15.460Z",
|
|
183
189
|
"size": 276923,
|
|
184
190
|
"path": "../public/assets/main-CoPJhqkz.js"
|
|
185
191
|
},
|
|
186
|
-
"/assets/styles-M2W42JQb.css": {
|
|
187
|
-
"type": "text/css; charset=utf-8",
|
|
188
|
-
"etag": "\"16c09-0PgJUH0UJ7vffHYoje/awxCquoI\"",
|
|
189
|
-
"mtime": "2026-04-17T09:42:38.022Z",
|
|
190
|
-
"size": 93193,
|
|
191
|
-
"path": "../public/assets/styles-M2W42JQb.css"
|
|
192
|
-
},
|
|
193
192
|
"/assets/routes-CVEbccVq.js": {
|
|
194
193
|
"type": "text/javascript; charset=utf-8",
|
|
195
194
|
"etag": "\"34b05-3mdibK1idGwv4pZIDgSJq2HS4Vc\"",
|
|
196
|
-
"mtime": "2026-04-
|
|
195
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
197
196
|
"size": 215813,
|
|
198
197
|
"path": "../public/assets/routes-CVEbccVq.js"
|
|
198
|
+
},
|
|
199
|
+
"/assets/styles-M2W42JQb.css": {
|
|
200
|
+
"type": "text/css; charset=utf-8",
|
|
201
|
+
"etag": "\"16c09-0PgJUH0UJ7vffHYoje/awxCquoI\"",
|
|
202
|
+
"mtime": "2026-04-23T15:05:15.461Z",
|
|
203
|
+
"size": 93193,
|
|
204
|
+
"path": "../public/assets/styles-M2W42JQb.css"
|
|
199
205
|
}
|
|
200
206
|
};
|
|
201
207
|
//#endregion
|
|
@@ -216,7 +222,7 @@ function getAsset(id) {
|
|
|
216
222
|
return public_assets_data_default[id];
|
|
217
223
|
}
|
|
218
224
|
//#endregion
|
|
219
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.
|
|
225
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_97f61cc24ed75a40553113785315eaba/node_modules/nitro/dist/runtime/internal/static.mjs
|
|
220
226
|
var METHODS = new Set(["HEAD", "GET"]);
|
|
221
227
|
var EncodingMap = {
|
|
222
228
|
gzip: ".gz",
|
|
@@ -285,11 +291,11 @@ var findRouteRules = /* @__PURE__ */ (() => {
|
|
|
285
291
|
return r;
|
|
286
292
|
};
|
|
287
293
|
})();
|
|
288
|
-
var
|
|
294
|
+
var _lazy_A8Xk7L = defineLazyEventHandler(() => import("./_chunks/ssr-renderer.mjs"));
|
|
289
295
|
var findRoute = /* @__PURE__ */ (() => {
|
|
290
296
|
const data = {
|
|
291
297
|
route: "/**",
|
|
292
|
-
handler:
|
|
298
|
+
handler: _lazy_A8Xk7L
|
|
293
299
|
};
|
|
294
300
|
return ((_m, p) => {
|
|
295
301
|
return {
|
|
@@ -300,7 +306,7 @@ var findRoute = /* @__PURE__ */ (() => {
|
|
|
300
306
|
})();
|
|
301
307
|
var globalMiddleware = [toEventHandler(static_default)].filter(Boolean);
|
|
302
308
|
//#endregion
|
|
303
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.
|
|
309
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_97f61cc24ed75a40553113785315eaba/node_modules/nitro/dist/runtime/internal/app.mjs
|
|
304
310
|
var APP_ID = "default";
|
|
305
311
|
function useNitroApp() {
|
|
306
312
|
let instance = useNitroApp._instance;
|
|
@@ -382,7 +388,8 @@ function getRouteRules(method, pathname) {
|
|
|
382
388
|
};
|
|
383
389
|
}
|
|
384
390
|
const middleware = [];
|
|
385
|
-
|
|
391
|
+
const orderedRules = Object.values(routeRules).sort((a, b) => (a.handler?.order || 0) - (b.handler?.order || 0));
|
|
392
|
+
for (const rule of orderedRules) {
|
|
386
393
|
if (rule.options === false || !rule.handler) continue;
|
|
387
394
|
middleware.push(rule.handler(rule));
|
|
388
395
|
}
|
|
@@ -392,7 +399,7 @@ function getRouteRules(method, pathname) {
|
|
|
392
399
|
};
|
|
393
400
|
}
|
|
394
401
|
//#endregion
|
|
395
|
-
//#region ../../node_modules/.pnpm/nitro@3.0.
|
|
402
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_97f61cc24ed75a40553113785315eaba/node_modules/nitro/dist/runtime/internal/error/hooks.mjs
|
|
396
403
|
function _captureError(error, type) {
|
|
397
404
|
console.error(`[${type}]`, error);
|
|
398
405
|
useNitroApp().captureError?.(error, { tags: [type] });
|
|
@@ -402,7 +409,10 @@ function trapUnhandledErrors() {
|
|
|
402
409
|
process.on("uncaughtException", (error) => _captureError(error, "uncaughtException"));
|
|
403
410
|
}
|
|
404
411
|
//#endregion
|
|
405
|
-
//#region
|
|
412
|
+
//#region #nitro/virtual/tracing
|
|
413
|
+
var tracingSrvxPlugins = [];
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260415-beta_@electric-sql+pglite@0.2.17_@libsql+client@0.15.15_better-sqlite3_97f61cc24ed75a40553113785315eaba/node_modules/nitro/dist/presets/node/runtime/node-server.mjs
|
|
406
416
|
var _parsedPort = Number.parseInt(process.env.NITRO_PORT ?? process.env.PORT ?? "");
|
|
407
417
|
var port = Number.isNaN(_parsedPort) ? 3e3 : _parsedPort;
|
|
408
418
|
var host = process.env.NITRO_HOST || process.env.HOST;
|
|
@@ -416,7 +426,8 @@ serve({
|
|
|
416
426
|
cert,
|
|
417
427
|
key
|
|
418
428
|
} : void 0,
|
|
419
|
-
fetch: nitroApp.fetch
|
|
429
|
+
fetch: nitroApp.fetch,
|
|
430
|
+
plugins: [...tracingSrvxPlugins]
|
|
420
431
|
});
|
|
421
432
|
trapUnhandledErrors();
|
|
422
433
|
var node_server_default = {};
|
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.3",
|
|
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.3"
|
|
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/
|
|
61
|
+
"@hot-updater/cli-tools": "0.30.3",
|
|
62
|
+
"@hot-updater/mock": "0.30.3",
|
|
63
|
+
"@hot-updater/plugin-core": "0.30.3",
|
|
64
|
+
"@hot-updater/core": "0.30.3"
|
|
65
65
|
},
|
|
66
66
|
"description": "React Native OTA solution for self-hosted",
|
|
67
67
|
"license": "MIT",
|