@hot-updater/console 0.30.6 → 0.30.8

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.
Files changed (26) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{main-CoPJhqkz.js → main-5MdOCmsM.js} +2 -2
  3. package/.output/public/assets/{routes-CVEbccVq.js → routes-BmbL4goz.js} +2 -2
  4. package/.output/server/{__tanstack-start-server-fn-resolver-DB7Vwz3A.mjs → __tanstack-start-server-fn-resolver-rXMsqALt.mjs} +11 -11
  5. package/.output/server/_chunks/ssr-renderer.mjs +2 -2
  6. package/.output/server/_libs/unctx.mjs +1 -1
  7. package/.output/server/_ssr/{api-rpc-kX2sZt80.mjs → api-rpc-DYKuUgOh.mjs} +2 -2
  8. package/.output/server/_ssr/{router-fogqFSFT.mjs → router-D-WWsYjv.mjs} +3 -3
  9. package/.output/server/_ssr/{routes-CgYYFBNT.mjs → routes-DyUhibF4.mjs} +87 -67
  10. package/.output/server/_ssr/{sidebar-B6a7DDef.mjs → sidebar-DXng0IOP.mjs} +1 -1
  11. package/.output/server/_ssr/ssr.mjs +3 -3
  12. package/.output/server/{_tanstack-start-manifest_v-OXy-e32b.mjs → _tanstack-start-manifest_v-xpdCj2Ct.mjs} +4 -4
  13. package/.output/server/index.mjs +60 -60
  14. package/README.md +0 -1
  15. package/package.json +6 -6
  16. package/.output/server/_libs/chownr.mjs +0 -60
  17. package/.output/server/_libs/core-util-is.mjs +0 -67
  18. package/.output/server/_libs/immediate.mjs +0 -57
  19. package/.output/server/_libs/inherits.mjs +0 -39
  20. package/.output/server/_libs/isaacs__fs-minipass+minipass.mjs +0 -1154
  21. package/.output/server/_libs/isarray.mjs +0 -10
  22. package/.output/server/_libs/jszip+[...].mjs +0 -8311
  23. package/.output/server/_libs/minizlib.mjs +0 -368
  24. package/.output/server/_libs/tar+yallist.mjs +0 -3318
  25. package/.output/server/_ssr/extract-timestamp-from-uuidv7-DO_lXhMa.mjs +0 -24
  26. package/.output/server/_ssr/promoteBundle-BBOSMtwu.mjs +0 -1571
package/README.md CHANGED
@@ -83,7 +83,6 @@ src/
83
83
  │ ├── api.ts # React Query hooks
84
84
  │ ├── constants.ts # Shared constants
85
85
  │ ├── utils.ts # Utility functions
86
- │ ├── extract-timestamp-from-uuidv7.ts
87
86
  │ └── server/
88
87
  │ ├── api.server.ts # Server functions
89
88
  │ └── config.server.ts # Hot Updater config loader
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/console",
3
3
  "type": "module",
4
- "version": "0.30.6",
4
+ "version": "0.30.8",
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.6"
13
+ "@hot-updater/cli-tools": "0.30.8"
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/core": "0.30.6",
62
- "@hot-updater/mock": "0.30.6",
63
- "@hot-updater/plugin-core": "0.30.6",
64
- "@hot-updater/cli-tools": "0.30.6"
61
+ "@hot-updater/cli-tools": "0.30.8",
62
+ "@hot-updater/core": "0.30.8",
63
+ "@hot-updater/mock": "0.30.8",
64
+ "@hot-updater/plugin-core": "0.30.8"
65
65
  },
66
66
  "description": "React Native OTA solution for self-hosted",
67
67
  "license": "MIT",
@@ -1,60 +0,0 @@
1
- import fs from "node:fs";
2
- import path from "node:path";
3
- //#region ../../node_modules/.pnpm/chownr@3.0.0/node_modules/chownr/dist/esm/index.js
4
- var lchownSync = (path, uid, gid) => {
5
- try {
6
- return fs.lchownSync(path, uid, gid);
7
- } catch (er) {
8
- if (er?.code !== "ENOENT") throw er;
9
- }
10
- };
11
- var chown = (cpath, uid, gid, cb) => {
12
- fs.lchown(cpath, uid, gid, (er) => {
13
- cb(er && er?.code !== "ENOENT" ? er : null);
14
- });
15
- };
16
- var chownrKid = (p, child, uid, gid, cb) => {
17
- if (child.isDirectory()) chownr(path.resolve(p, child.name), uid, gid, (er) => {
18
- if (er) return cb(er);
19
- chown(path.resolve(p, child.name), uid, gid, cb);
20
- });
21
- else chown(path.resolve(p, child.name), uid, gid, cb);
22
- };
23
- var chownr = (p, uid, gid, cb) => {
24
- fs.readdir(p, { withFileTypes: true }, (er, children) => {
25
- if (er) {
26
- if (er.code === "ENOENT") return cb();
27
- else if (er.code !== "ENOTDIR" && er.code !== "ENOTSUP") return cb(er);
28
- }
29
- if (er || !children.length) return chown(p, uid, gid, cb);
30
- let len = children.length;
31
- let errState = null;
32
- const then = (er) => {
33
- /* c8 ignore start */
34
- if (errState) return;
35
- /* c8 ignore stop */
36
- if (er) return cb(errState = er);
37
- if (--len === 0) return chown(p, uid, gid, cb);
38
- };
39
- for (const child of children) chownrKid(p, child, uid, gid, then);
40
- });
41
- };
42
- var chownrKidSync = (p, child, uid, gid) => {
43
- if (child.isDirectory()) chownrSync(path.resolve(p, child.name), uid, gid);
44
- lchownSync(path.resolve(p, child.name), uid, gid);
45
- };
46
- var chownrSync = (p, uid, gid) => {
47
- let children;
48
- try {
49
- children = fs.readdirSync(p, { withFileTypes: true });
50
- } catch (er) {
51
- const e = er;
52
- if (e?.code === "ENOENT") return;
53
- else if (e?.code === "ENOTDIR" || e?.code === "ENOTSUP") return lchownSync(p, uid, gid);
54
- else throw e;
55
- }
56
- for (const child of children) chownrKidSync(p, child, uid, gid);
57
- return lchownSync(p, uid, gid);
58
- };
59
- //#endregion
60
- export { chownrSync as n, chownr as t };
@@ -1,67 +0,0 @@
1
- import { n as __require, t as __commonJSMin } from "../_runtime.mjs";
2
- //#region ../../node_modules/.pnpm/core-util-is@1.0.3/node_modules/core-util-is/lib/util.js
3
- var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
4
- function isArray(arg) {
5
- if (Array.isArray) return Array.isArray(arg);
6
- return objectToString(arg) === "[object Array]";
7
- }
8
- exports.isArray = isArray;
9
- function isBoolean(arg) {
10
- return typeof arg === "boolean";
11
- }
12
- exports.isBoolean = isBoolean;
13
- function isNull(arg) {
14
- return arg === null;
15
- }
16
- exports.isNull = isNull;
17
- function isNullOrUndefined(arg) {
18
- return arg == null;
19
- }
20
- exports.isNullOrUndefined = isNullOrUndefined;
21
- function isNumber(arg) {
22
- return typeof arg === "number";
23
- }
24
- exports.isNumber = isNumber;
25
- function isString(arg) {
26
- return typeof arg === "string";
27
- }
28
- exports.isString = isString;
29
- function isSymbol(arg) {
30
- return typeof arg === "symbol";
31
- }
32
- exports.isSymbol = isSymbol;
33
- function isUndefined(arg) {
34
- return arg === void 0;
35
- }
36
- exports.isUndefined = isUndefined;
37
- function isRegExp(re) {
38
- return objectToString(re) === "[object RegExp]";
39
- }
40
- exports.isRegExp = isRegExp;
41
- function isObject(arg) {
42
- return typeof arg === "object" && arg !== null;
43
- }
44
- exports.isObject = isObject;
45
- function isDate(d) {
46
- return objectToString(d) === "[object Date]";
47
- }
48
- exports.isDate = isDate;
49
- function isError(e) {
50
- return objectToString(e) === "[object Error]" || e instanceof Error;
51
- }
52
- exports.isError = isError;
53
- function isFunction(arg) {
54
- return typeof arg === "function";
55
- }
56
- exports.isFunction = isFunction;
57
- function isPrimitive(arg) {
58
- return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || typeof arg === "undefined";
59
- }
60
- exports.isPrimitive = isPrimitive;
61
- exports.isBuffer = __require("buffer").Buffer.isBuffer;
62
- function objectToString(o) {
63
- return Object.prototype.toString.call(o);
64
- }
65
- }));
66
- //#endregion
67
- export { require_util as t };
@@ -1,57 +0,0 @@
1
- import { t as __commonJSMin } from "../_runtime.mjs";
2
- //#region ../../node_modules/.pnpm/immediate@3.0.6/node_modules/immediate/lib/index.js
3
- var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
- var Mutation = global.MutationObserver || global.WebKitMutationObserver;
5
- var scheduleDrain;
6
- if (process.browser) if (Mutation) {
7
- var called = 0;
8
- var observer = new Mutation(nextTick);
9
- var element = global.document.createTextNode("");
10
- observer.observe(element, { characterData: true });
11
- scheduleDrain = function() {
12
- element.data = called = ++called % 2;
13
- };
14
- } else if (!global.setImmediate && typeof global.MessageChannel !== "undefined") {
15
- var channel = new global.MessageChannel();
16
- channel.port1.onmessage = nextTick;
17
- scheduleDrain = function() {
18
- channel.port2.postMessage(0);
19
- };
20
- } else if ("document" in global && "onreadystatechange" in global.document.createElement("script")) scheduleDrain = function() {
21
- var scriptEl = global.document.createElement("script");
22
- scriptEl.onreadystatechange = function() {
23
- nextTick();
24
- scriptEl.onreadystatechange = null;
25
- scriptEl.parentNode.removeChild(scriptEl);
26
- scriptEl = null;
27
- };
28
- global.document.documentElement.appendChild(scriptEl);
29
- };
30
- else scheduleDrain = function() {
31
- setTimeout(nextTick, 0);
32
- };
33
- else scheduleDrain = function() {
34
- process.nextTick(nextTick);
35
- };
36
- var draining;
37
- var queue = [];
38
- function nextTick() {
39
- draining = true;
40
- var i, oldQueue;
41
- var len = queue.length;
42
- while (len) {
43
- oldQueue = queue;
44
- queue = [];
45
- i = -1;
46
- while (++i < len) oldQueue[i]();
47
- len = queue.length;
48
- }
49
- draining = false;
50
- }
51
- module.exports = immediate;
52
- function immediate(task) {
53
- if (queue.push(task) === 1 && !draining) scheduleDrain();
54
- }
55
- }));
56
- //#endregion
57
- export { require_lib as t };
@@ -1,39 +0,0 @@
1
- import { n as __require, t as __commonJSMin } from "../_runtime.mjs";
2
- //#region ../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js
3
- var require_inherits_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
- if (typeof Object.create === "function") module.exports = function inherits(ctor, superCtor) {
5
- if (superCtor) {
6
- ctor.super_ = superCtor;
7
- ctor.prototype = Object.create(superCtor.prototype, { constructor: {
8
- value: ctor,
9
- enumerable: false,
10
- writable: true,
11
- configurable: true
12
- } });
13
- }
14
- };
15
- else module.exports = function inherits(ctor, superCtor) {
16
- if (superCtor) {
17
- ctor.super_ = superCtor;
18
- var TempCtor = function() {};
19
- TempCtor.prototype = superCtor.prototype;
20
- ctor.prototype = new TempCtor();
21
- ctor.prototype.constructor = ctor;
22
- }
23
- };
24
- }));
25
- //#endregion
26
- //#region ../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js
27
- var require_inherits = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28
- try {
29
- var util = __require("util");
30
- /* istanbul ignore next */
31
- if (typeof util.inherits !== "function") throw "";
32
- module.exports = util.inherits;
33
- } catch (e) {
34
- /* istanbul ignore next */
35
- module.exports = require_inherits_browser();
36
- }
37
- }));
38
- //#endregion
39
- export { require_inherits as t };