@hot-updater/cloudflare 0.20.5 → 0.20.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.
@@ -2112,6 +2112,7 @@ const fallbackSymbols = {
2112
2112
  };
2113
2113
  const shouldUseMain = isUnicodeSupported();
2114
2114
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
2115
+ var figures_default = figures;
2115
2116
  const replacements = Object.entries(specialMainSymbols);
2116
2117
 
2117
2118
  //#endregion
@@ -2193,8 +2194,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
2193
2194
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
2194
2195
  const padField = (field, padding) => String(field).padStart(padding, "0");
2195
2196
  const getFinalIcon = ({ failed, reject }) => {
2196
- if (!failed) return figures.tick;
2197
- return reject ? figures.cross : figures.warning;
2197
+ if (!failed) return figures_default.tick;
2198
+ return reject ? figures_default.cross : figures_default.warning;
2198
2199
  };
2199
2200
  const ICONS = {
2200
2201
  command: ({ piped }) => piped ? "|" : "$",
@@ -12265,9 +12266,10 @@ var require_mod_cjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg
12265
12266
  //#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js
12266
12267
  var import_toml = /* @__PURE__ */ __toESM(require_toml(), 1);
12267
12268
  var mod_esm_exports = {};
12268
- __export(mod_esm_exports, { default: () => import_mod_cjs.default });
12269
+ __export(mod_esm_exports, { default: () => mod_esm_default });
12269
12270
  var import_mod_cjs = /* @__PURE__ */ __toESM(require_mod_cjs(), 1);
12270
12271
  __reExport(mod_esm_exports, /* @__PURE__ */ __toESM(require_mod_cjs(), 1));
12272
+ var mod_esm_default = import_mod_cjs.default;
12271
12273
 
12272
12274
  //#endregion
12273
12275
  //#region iac/getWranglerLoginAuthToken.ts
@@ -12279,7 +12281,7 @@ const isDirectory = (configPath) => {
12279
12281
  }
12280
12282
  };
12281
12283
  const getGlobalWranglerConfigPath = () => {
12282
- const configDir = (0, import_mod_cjs.default)(".wrangler").config();
12284
+ const configDir = mod_esm_default(".wrangler").config();
12283
12285
  const legacyConfigDir = path.default.join(os.default.homedir(), ".wrangler");
12284
12286
  if (isDirectory(legacyConfigDir)) return legacyConfigDir;
12285
12287
  return configDir;
package/dist/iac/index.js CHANGED
@@ -2115,6 +2115,7 @@ const fallbackSymbols = {
2115
2115
  };
2116
2116
  const shouldUseMain = isUnicodeSupported();
2117
2117
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
2118
+ var figures_default = figures;
2118
2119
  const replacements = Object.entries(specialMainSymbols);
2119
2120
 
2120
2121
  //#endregion
@@ -2196,8 +2197,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
2196
2197
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
2197
2198
  const padField = (field, padding) => String(field).padStart(padding, "0");
2198
2199
  const getFinalIcon = ({ failed, reject }) => {
2199
- if (!failed) return figures.tick;
2200
- return reject ? figures.cross : figures.warning;
2200
+ if (!failed) return figures_default.tick;
2201
+ return reject ? figures_default.cross : figures_default.warning;
2201
2202
  };
2202
2203
  const ICONS = {
2203
2204
  command: ({ piped }) => piped ? "|" : "$",
@@ -12268,9 +12269,10 @@ var require_mod_cjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/xdg
12268
12269
  //#region ../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js
12269
12270
  var import_toml = /* @__PURE__ */ __toESM(require_toml(), 1);
12270
12271
  var mod_esm_exports = {};
12271
- __export(mod_esm_exports, { default: () => import_mod_cjs.default });
12272
+ __export(mod_esm_exports, { default: () => mod_esm_default });
12272
12273
  var import_mod_cjs = /* @__PURE__ */ __toESM(require_mod_cjs(), 1);
12273
12274
  __reExport(mod_esm_exports, /* @__PURE__ */ __toESM(require_mod_cjs(), 1));
12275
+ var mod_esm_default = import_mod_cjs.default;
12274
12276
 
12275
12277
  //#endregion
12276
12278
  //#region iac/getWranglerLoginAuthToken.ts
@@ -12282,7 +12284,7 @@ const isDirectory = (configPath) => {
12282
12284
  }
12283
12285
  };
12284
12286
  const getGlobalWranglerConfigPath = () => {
12285
- const configDir = (0, import_mod_cjs.default)(".wrangler").config();
12287
+ const configDir = mod_esm_default(".wrangler").config();
12286
12288
  const legacyConfigDir = path.join(os.homedir(), ".wrangler");
12287
12289
  if (isDirectory(legacyConfigDir)) return legacyConfigDir;
12288
12290
  return configDir;
package/dist/index.cjs CHANGED
@@ -1042,6 +1042,7 @@ const fallbackSymbols = {
1042
1042
  };
1043
1043
  const shouldUseMain = isUnicodeSupported();
1044
1044
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
1045
+ var figures_default = figures;
1045
1046
  const replacements = Object.entries(specialMainSymbols);
1046
1047
 
1047
1048
  //#endregion
@@ -1123,8 +1124,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
1123
1124
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
1124
1125
  const padField = (field, padding) => String(field).padStart(padding, "0");
1125
1126
  const getFinalIcon = ({ failed, reject }) => {
1126
- if (!failed) return figures.tick;
1127
- return reject ? figures.cross : figures.warning;
1127
+ if (!failed) return figures_default.tick;
1128
+ return reject ? figures_default.cross : figures_default.warning;
1128
1129
  };
1129
1130
  const ICONS = {
1130
1131
  command: ({ piped }) => piped ? "|" : "$",
@@ -6879,7 +6880,7 @@ const createWrangler = ({ stdio, accountId, cloudflareApiToken, cwd }) => {
6879
6880
 
6880
6881
  //#endregion
6881
6882
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
6882
- const types = {
6883
+ const types$1 = {
6883
6884
  "application/prs.cww": ["cww"],
6884
6885
  "application/prs.xsf+xml": ["xsf"],
6885
6886
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -7690,11 +7691,12 @@ const types = {
7690
7691
  "video/x-smv": ["smv"],
7691
7692
  "x-conference/x-cooltalk": ["ice"]
7692
7693
  };
7693
- Object.freeze(types);
7694
+ Object.freeze(types$1);
7695
+ var other_default = types$1;
7694
7696
 
7695
7697
  //#endregion
7696
7698
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
7697
- const types$1 = {
7699
+ const types = {
7698
7700
  "application/andrew-inset": ["ez"],
7699
7701
  "application/appinstaller": ["appinstaller"],
7700
7702
  "application/applixware": ["aw"],
@@ -8136,7 +8138,8 @@ const types$1 = {
8136
8138
  "video/quicktime": ["qt", "mov"],
8137
8139
  "video/webm": ["webm"]
8138
8140
  };
8139
- Object.freeze(types$1);
8141
+ Object.freeze(types);
8142
+ var standard_default = types;
8140
8143
 
8141
8144
  //#endregion
8142
8145
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
@@ -8208,10 +8211,11 @@ var Mime = class {
8208
8211
  }
8209
8212
  };
8210
8213
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
8214
+ var Mime_default = Mime;
8211
8215
 
8212
8216
  //#endregion
8213
8217
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
8214
- var src_default = new Mime(types$1, types)._freeze();
8218
+ var src_default = new Mime_default(standard_default, other_default)._freeze();
8215
8219
 
8216
8220
  //#endregion
8217
8221
  //#region src/r2Storage.ts
package/dist/index.js CHANGED
@@ -1044,6 +1044,7 @@ const fallbackSymbols = {
1044
1044
  };
1045
1045
  const shouldUseMain = isUnicodeSupported();
1046
1046
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
1047
+ var figures_default = figures;
1047
1048
  const replacements = Object.entries(specialMainSymbols);
1048
1049
 
1049
1050
  //#endregion
@@ -1125,8 +1126,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
1125
1126
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
1126
1127
  const padField = (field, padding) => String(field).padStart(padding, "0");
1127
1128
  const getFinalIcon = ({ failed, reject }) => {
1128
- if (!failed) return figures.tick;
1129
- return reject ? figures.cross : figures.warning;
1129
+ if (!failed) return figures_default.tick;
1130
+ return reject ? figures_default.cross : figures_default.warning;
1130
1131
  };
1131
1132
  const ICONS = {
1132
1133
  command: ({ piped }) => piped ? "|" : "$",
@@ -6881,7 +6882,7 @@ const createWrangler = ({ stdio, accountId, cloudflareApiToken, cwd }) => {
6881
6882
 
6882
6883
  //#endregion
6883
6884
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
6884
- const types = {
6885
+ const types$1 = {
6885
6886
  "application/prs.cww": ["cww"],
6886
6887
  "application/prs.xsf+xml": ["xsf"],
6887
6888
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -7692,11 +7693,12 @@ const types = {
7692
7693
  "video/x-smv": ["smv"],
7693
7694
  "x-conference/x-cooltalk": ["ice"]
7694
7695
  };
7695
- Object.freeze(types);
7696
+ Object.freeze(types$1);
7697
+ var other_default = types$1;
7696
7698
 
7697
7699
  //#endregion
7698
7700
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
7699
- const types$1 = {
7701
+ const types = {
7700
7702
  "application/andrew-inset": ["ez"],
7701
7703
  "application/appinstaller": ["appinstaller"],
7702
7704
  "application/applixware": ["aw"],
@@ -8138,7 +8140,8 @@ const types$1 = {
8138
8140
  "video/quicktime": ["qt", "mov"],
8139
8141
  "video/webm": ["webm"]
8140
8142
  };
8141
- Object.freeze(types$1);
8143
+ Object.freeze(types);
8144
+ var standard_default = types;
8142
8145
 
8143
8146
  //#endregion
8144
8147
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
@@ -8210,10 +8213,11 @@ var Mime = class {
8210
8213
  }
8211
8214
  };
8212
8215
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
8216
+ var Mime_default = Mime;
8213
8217
 
8214
8218
  //#endregion
8215
8219
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
8216
- var src_default = new Mime(types$1, types)._freeze();
8220
+ var src_default = new Mime_default(standard_default, other_default)._freeze();
8217
8221
 
8218
8222
  //#endregion
8219
8223
  //#region src/r2Storage.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/cloudflare",
3
3
  "type": "module",
4
- "version": "0.20.5",
4
+ "version": "0.20.7",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -40,22 +40,22 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "cloudflare": "4.2.0",
43
- "@hot-updater/js": "0.20.5",
44
- "@hot-updater/core": "0.20.5",
45
- "@hot-updater/plugin-core": "0.20.5"
43
+ "@hot-updater/core": "0.20.7",
44
+ "@hot-updater/js": "0.20.7",
45
+ "@hot-updater/plugin-core": "0.20.7"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@clack/prompts": "0.10.0",
49
49
  "@cloudflare/vitest-pool-workers": "^0.8.26",
50
50
  "@cloudflare/workers-types": "^4.20250507.0",
51
- "@types/node": "^22.13.0",
51
+ "@types/node": "^20",
52
52
  "@types/semver": "^7.5.8",
53
53
  "dayjs": "^1.11.13",
54
- "execa": "^9.5.2",
54
+ "execa": "9.5.2",
55
55
  "hono": "^4.6.3",
56
56
  "mime": "^4.0.4",
57
57
  "pg-minify": "^1.6.5",
58
- "picocolors": "^1.0.0",
58
+ "picocolors": "1.1.1",
59
59
  "semver": "^7.6.3",
60
60
  "toml": "^3.0.0",
61
61
  "typescript": "^5.5.2",
@@ -1 +1 @@
1
- This folder contains the built output assets for the worker "hot-updater" generated at 2025-08-21T08:44:44.456Z.
1
+ This folder contains the built output assets for the worker "hot-updater" generated at 2025-08-26T15:39:32.305Z.