@hot-updater/console 0.20.0-rc.0 → 0.20.0

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/dist/index.cjs CHANGED
@@ -325,7 +325,7 @@ var getPattern = (label) => {
325
325
  if (!patternCache[label]) if (match[2]) patternCache[label] = [
326
326
  label,
327
327
  match[1],
328
- new RegExp("^" + match[2] + "$")
328
+ /* @__PURE__ */ new RegExp("^" + match[2] + "$")
329
329
  ];
330
330
  else patternCache[label] = [
331
331
  label,
@@ -1033,7 +1033,7 @@ var LABEL_REG_EXP_STR = "[^/]+";
1033
1033
  var ONLY_WILDCARD_REG_EXP_STR = ".*";
1034
1034
  var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
1035
1035
  var PATH_ERROR = Symbol();
1036
- var regExpMetaChars = new Set(".\\+*[^]$()");
1036
+ var regExpMetaChars = /* @__PURE__ */ new Set(".\\+*[^]$()");
1037
1037
  function compareKey(a, b) {
1038
1038
  if (a.length === 1) return b.length === 1 ? a < b ? -1 : 1 : -1;
1039
1039
  if (b.length === 1) return 1;
@@ -1159,7 +1159,7 @@ var Trie = class {
1159
1159
  return "";
1160
1160
  });
1161
1161
  return [
1162
- new RegExp(`^${regexp}`),
1162
+ /* @__PURE__ */ new RegExp(`^${regexp}`),
1163
1163
  indexReplacementMap,
1164
1164
  paramReplacementMap
1165
1165
  ];
@@ -1176,7 +1176,7 @@ var nullMatcher = [
1176
1176
  ];
1177
1177
  var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
1178
1178
  function buildWildcardRegExp(path$2) {
1179
- return wildcardRegExpCache[path$2] ??= new RegExp(path$2 === "*" ? "" : `^${path$2.replace(/\/\*$|([.\\+*[^\]$()])/g, (_, metaChar) => metaChar ? `\\${metaChar}` : "(?:|/.*)")}$`);
1179
+ return wildcardRegExpCache[path$2] ??= /* @__PURE__ */ new RegExp(path$2 === "*" ? "" : `^${path$2.replace(/\/\*$|([.\\+*[^\]$()])/g, (_, metaChar) => metaChar ? `\\${metaChar}` : "(?:|/.*)")}$`);
1180
1180
  }
1181
1181
  function clearWildcardRegExpCache() {
1182
1182
  wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
@@ -1532,7 +1532,7 @@ var Hono = class extends Hono$1 {
1532
1532
 
1533
1533
  //#endregion
1534
1534
  //#region ../../node_modules/.pnpm/typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.3/node_modules/typia/lib/internal/_validateReport.js
1535
- var require__validateReport = __commonJS({ "../../node_modules/.pnpm/typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.3/node_modules/typia/lib/internal/_validateReport.js"(exports) {
1535
+ var require__validateReport = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.3/node_modules/typia/lib/internal/_validateReport.js": ((exports) => {
1536
1536
  Object.defineProperty(exports, "__esModule", { value: true });
1537
1537
  exports._validateReport = void 0;
1538
1538
  const _validateReport = (array) => {
@@ -1547,7 +1547,7 @@ var require__validateReport = __commonJS({ "../../node_modules/.pnpm/typia@8.0.3
1547
1547
  };
1548
1548
  };
1549
1549
  exports._validateReport = _validateReport;
1550
- } });
1550
+ }) });
1551
1551
 
1552
1552
  //#endregion
1553
1553
  //#region ../../node_modules/.pnpm/hono@4.6.3/node_modules/hono/dist/utils/cookie.js
@@ -1680,6 +1680,7 @@ var validator = (target, validationFunc) => {
1680
1680
 
1681
1681
  //#endregion
1682
1682
  //#region ../../node_modules/.pnpm/@hono+typia-validator@0.1.2_hono@4.6.3_typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.3_/node_modules/@hono/typia-validator/dist/esm/index.js
1683
+ var import__validateReport = /* @__PURE__ */ __toESM(require__validateReport(), 1);
1683
1684
  const typiaValidator = (target, validate, hook) => validator(target, async (value, c) => {
1684
1685
  const result = validate(value);
1685
1686
  if (hook) {
@@ -1701,7 +1702,6 @@ const typiaValidator = (target, validate, hook) => validator(target, async (valu
1701
1702
 
1702
1703
  //#endregion
1703
1704
  //#region src-server/rpc.ts
1704
- var import__validateReport = __toESM(require__validateReport());
1705
1705
  const DEFAULT_PAGE_LIMIT = 20;
1706
1706
  const DEFAULT_PAGE_OFFSET = 0;
1707
1707
  const queryBundlesSchema = (() => {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as hono_utils_http_status0 from "hono/utils/http-status";
2
- import * as _hot_updater_core4 from "@hot-updater/core";
2
+ import * as _hot_updater_core0 from "@hot-updater/core";
3
3
  import { Hono } from "hono";
4
4
 
5
5
  //#region src-server/index.d.ts
@@ -52,7 +52,7 @@ declare const app: Hono<{}, {
52
52
  output: {
53
53
  data: {
54
54
  id: string;
55
- platform: _hot_updater_core4.Platform;
55
+ platform: _hot_updater_core0.Platform;
56
56
  shouldForceUpdate: boolean;
57
57
  enabled: boolean;
58
58
  fileHash: string;
@@ -86,7 +86,7 @@ declare const app: Hono<{}, {
86
86
  };
87
87
  output: {
88
88
  id: string;
89
- platform: _hot_updater_core4.Platform;
89
+ platform: _hot_updater_core0.Platform;
90
90
  shouldForceUpdate: boolean;
91
91
  enabled: boolean;
92
92
  fileHash: string;
@@ -105,7 +105,7 @@ declare const app: Hono<{}, {
105
105
  };
106
106
  $patch: {
107
107
  input: {
108
- json: Partial<_hot_updater_core4.Bundle>;
108
+ json: Partial<_hot_updater_core0.Bundle>;
109
109
  } & {
110
110
  param: {
111
111
  bundleId: string;
@@ -118,7 +118,7 @@ declare const app: Hono<{}, {
118
118
  status: 400;
119
119
  } | {
120
120
  input: {
121
- json: Partial<_hot_updater_core4.Bundle>;
121
+ json: Partial<_hot_updater_core0.Bundle>;
122
122
  } & {
123
123
  param: {
124
124
  bundleId: string;
@@ -131,7 +131,7 @@ declare const app: Hono<{}, {
131
131
  status: hono_utils_http_status0.StatusCode;
132
132
  } | {
133
133
  input: {
134
- json: Partial<_hot_updater_core4.Bundle>;
134
+ json: Partial<_hot_updater_core0.Bundle>;
135
135
  } & {
136
136
  param: {
137
137
  bundleId: string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as hono_utils_http_status0 from "hono/utils/http-status";
2
- import * as _hot_updater_core4 from "@hot-updater/core";
2
+ import * as _hot_updater_core0 from "@hot-updater/core";
3
3
  import { Hono } from "hono";
4
4
 
5
5
  //#region src-server/index.d.ts
@@ -52,7 +52,7 @@ declare const app: Hono<{}, {
52
52
  output: {
53
53
  data: {
54
54
  id: string;
55
- platform: _hot_updater_core4.Platform;
55
+ platform: _hot_updater_core0.Platform;
56
56
  shouldForceUpdate: boolean;
57
57
  enabled: boolean;
58
58
  fileHash: string;
@@ -86,7 +86,7 @@ declare const app: Hono<{}, {
86
86
  };
87
87
  output: {
88
88
  id: string;
89
- platform: _hot_updater_core4.Platform;
89
+ platform: _hot_updater_core0.Platform;
90
90
  shouldForceUpdate: boolean;
91
91
  enabled: boolean;
92
92
  fileHash: string;
@@ -105,7 +105,7 @@ declare const app: Hono<{}, {
105
105
  };
106
106
  $patch: {
107
107
  input: {
108
- json: Partial<_hot_updater_core4.Bundle>;
108
+ json: Partial<_hot_updater_core0.Bundle>;
109
109
  } & {
110
110
  param: {
111
111
  bundleId: string;
@@ -118,7 +118,7 @@ declare const app: Hono<{}, {
118
118
  status: 400;
119
119
  } | {
120
120
  input: {
121
- json: Partial<_hot_updater_core4.Bundle>;
121
+ json: Partial<_hot_updater_core0.Bundle>;
122
122
  } & {
123
123
  param: {
124
124
  bundleId: string;
@@ -131,7 +131,7 @@ declare const app: Hono<{}, {
131
131
  status: hono_utils_http_status0.StatusCode;
132
132
  } | {
133
133
  input: {
134
- json: Partial<_hot_updater_core4.Bundle>;
134
+ json: Partial<_hot_updater_core0.Bundle>;
135
135
  } & {
136
136
  param: {
137
137
  bundleId: string;
package/dist/index.js CHANGED
@@ -325,7 +325,7 @@ var getPattern = (label) => {
325
325
  if (!patternCache[label]) if (match[2]) patternCache[label] = [
326
326
  label,
327
327
  match[1],
328
- new RegExp("^" + match[2] + "$")
328
+ /* @__PURE__ */ new RegExp("^" + match[2] + "$")
329
329
  ];
330
330
  else patternCache[label] = [
331
331
  label,
@@ -1033,7 +1033,7 @@ var LABEL_REG_EXP_STR = "[^/]+";
1033
1033
  var ONLY_WILDCARD_REG_EXP_STR = ".*";
1034
1034
  var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
1035
1035
  var PATH_ERROR = Symbol();
1036
- var regExpMetaChars = new Set(".\\+*[^]$()");
1036
+ var regExpMetaChars = /* @__PURE__ */ new Set(".\\+*[^]$()");
1037
1037
  function compareKey(a, b) {
1038
1038
  if (a.length === 1) return b.length === 1 ? a < b ? -1 : 1 : -1;
1039
1039
  if (b.length === 1) return 1;
@@ -1159,7 +1159,7 @@ var Trie = class {
1159
1159
  return "";
1160
1160
  });
1161
1161
  return [
1162
- new RegExp(`^${regexp}`),
1162
+ /* @__PURE__ */ new RegExp(`^${regexp}`),
1163
1163
  indexReplacementMap,
1164
1164
  paramReplacementMap
1165
1165
  ];
@@ -1176,7 +1176,7 @@ var nullMatcher = [
1176
1176
  ];
1177
1177
  var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
1178
1178
  function buildWildcardRegExp(path$1) {
1179
- return wildcardRegExpCache[path$1] ??= new RegExp(path$1 === "*" ? "" : `^${path$1.replace(/\/\*$|([.\\+*[^\]$()])/g, (_, metaChar) => metaChar ? `\\${metaChar}` : "(?:|/.*)")}$`);
1179
+ return wildcardRegExpCache[path$1] ??= /* @__PURE__ */ new RegExp(path$1 === "*" ? "" : `^${path$1.replace(/\/\*$|([.\\+*[^\]$()])/g, (_, metaChar) => metaChar ? `\\${metaChar}` : "(?:|/.*)")}$`);
1180
1180
  }
1181
1181
  function clearWildcardRegExpCache() {
1182
1182
  wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
@@ -1532,7 +1532,7 @@ var Hono = class extends Hono$1 {
1532
1532
 
1533
1533
  //#endregion
1534
1534
  //#region ../../node_modules/.pnpm/typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.3/node_modules/typia/lib/internal/_validateReport.js
1535
- var require__validateReport = __commonJS({ "../../node_modules/.pnpm/typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.3/node_modules/typia/lib/internal/_validateReport.js"(exports) {
1535
+ var require__validateReport = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.3/node_modules/typia/lib/internal/_validateReport.js": ((exports) => {
1536
1536
  Object.defineProperty(exports, "__esModule", { value: true });
1537
1537
  exports._validateReport = void 0;
1538
1538
  const _validateReport = (array) => {
@@ -1547,7 +1547,7 @@ var require__validateReport = __commonJS({ "../../node_modules/.pnpm/typia@8.0.3
1547
1547
  };
1548
1548
  };
1549
1549
  exports._validateReport = _validateReport;
1550
- } });
1550
+ }) });
1551
1551
 
1552
1552
  //#endregion
1553
1553
  //#region ../../node_modules/.pnpm/hono@4.6.3/node_modules/hono/dist/utils/cookie.js
@@ -1680,6 +1680,7 @@ var validator = (target, validationFunc) => {
1680
1680
 
1681
1681
  //#endregion
1682
1682
  //#region ../../node_modules/.pnpm/@hono+typia-validator@0.1.2_hono@4.6.3_typia@8.0.3_@samchon+openapi@3.1.0_typescript@5.8.3_/node_modules/@hono/typia-validator/dist/esm/index.js
1683
+ var import__validateReport = /* @__PURE__ */ __toESM(require__validateReport(), 1);
1683
1684
  const typiaValidator = (target, validate, hook) => validator(target, async (value, c) => {
1684
1685
  const result = validate(value);
1685
1686
  if (hook) {
@@ -1701,7 +1702,6 @@ const typiaValidator = (target, validate, hook) => validator(target, async (valu
1701
1702
 
1702
1703
  //#endregion
1703
1704
  //#region src-server/rpc.ts
1704
- var import__validateReport = __toESM(require__validateReport());
1705
1705
  const DEFAULT_PAGE_LIMIT = 20;
1706
1706
  const DEFAULT_PAGE_OFFSET = 0;
1707
1707
  const queryBundlesSchema = (() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/console",
3
3
  "type": "module",
4
- "version": "0.20.0-rc.0",
4
+ "version": "0.20.0",
5
5
  "files": [
6
6
  "dist",
7
7
  "package.json"
@@ -48,12 +48,12 @@
48
48
  "vite": "^6.1.0",
49
49
  "vite-plugin-solid": "^2.11.1",
50
50
  "vite-tsconfig-paths": "^5.1.4",
51
- "@hot-updater/mock": "0.20.0-rc.0"
51
+ "@hot-updater/mock": "0.20.0"
52
52
  },
53
53
  "dependencies": {
54
54
  "solid-icons": "^1.1.0",
55
- "@hot-updater/core": "0.20.0-rc.0",
56
- "@hot-updater/plugin-core": "0.20.0-rc.0"
55
+ "@hot-updater/core": "0.20.0",
56
+ "@hot-updater/plugin-core": "0.20.0"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "vite build --mode client && tsdown",