@hot-updater/aws 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.
@@ -1811,6 +1811,7 @@ const fallbackSymbols = {
1811
1811
  };
1812
1812
  const shouldUseMain = isUnicodeSupported();
1813
1813
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
1814
+ var figures_default = figures;
1814
1815
  const replacements = Object.entries(specialMainSymbols);
1815
1816
 
1816
1817
  //#endregion
@@ -1892,8 +1893,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
1892
1893
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
1893
1894
  const padField = (field, padding) => String(field).padStart(padding, "0");
1894
1895
  const getFinalIcon = ({ failed, reject }) => {
1895
- if (!failed) return figures.tick;
1896
- return reject ? figures.cross : figures.warning;
1896
+ if (!failed) return figures_default.tick;
1897
+ return reject ? figures_default.cross : figures_default.warning;
1897
1898
  };
1898
1899
  const ICONS = {
1899
1900
  command: ({ piped }) => piped ? "|" : "$",
package/dist/iac/index.js CHANGED
@@ -1814,6 +1814,7 @@ const fallbackSymbols = {
1814
1814
  };
1815
1815
  const shouldUseMain = isUnicodeSupported();
1816
1816
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
1817
+ var figures_default = figures;
1817
1818
  const replacements = Object.entries(specialMainSymbols);
1818
1819
 
1819
1820
  //#endregion
@@ -1895,8 +1896,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
1895
1896
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
1896
1897
  const padField = (field, padding) => String(field).padStart(padding, "0");
1897
1898
  const getFinalIcon = ({ failed, reject }) => {
1898
- if (!failed) return figures.tick;
1899
- return reject ? figures.cross : figures.warning;
1899
+ if (!failed) return figures_default.tick;
1900
+ return reject ? figures_default.cross : figures_default.warning;
1900
1901
  };
1901
1902
  const ICONS = {
1902
1903
  command: ({ piped }) => piped ? "|" : "$",
package/dist/index.cjs CHANGED
@@ -29,7 +29,7 @@ const path = __toESM(require("path"));
29
29
  const fs_promises = __toESM(require("fs/promises"));
30
30
 
31
31
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
32
- const types = {
32
+ const types$1 = {
33
33
  "application/prs.cww": ["cww"],
34
34
  "application/prs.xsf+xml": ["xsf"],
35
35
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -840,11 +840,12 @@ const types = {
840
840
  "video/x-smv": ["smv"],
841
841
  "x-conference/x-cooltalk": ["ice"]
842
842
  };
843
- Object.freeze(types);
843
+ Object.freeze(types$1);
844
+ var other_default = types$1;
844
845
 
845
846
  //#endregion
846
847
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
847
- const types$1 = {
848
+ const types = {
848
849
  "application/andrew-inset": ["ez"],
849
850
  "application/appinstaller": ["appinstaller"],
850
851
  "application/applixware": ["aw"],
@@ -1286,7 +1287,8 @@ const types$1 = {
1286
1287
  "video/quicktime": ["qt", "mov"],
1287
1288
  "video/webm": ["webm"]
1288
1289
  };
1289
- Object.freeze(types$1);
1290
+ Object.freeze(types);
1291
+ var standard_default = types;
1290
1292
 
1291
1293
  //#endregion
1292
1294
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
@@ -1358,10 +1360,11 @@ var Mime = class {
1358
1360
  }
1359
1361
  };
1360
1362
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
1363
+ var Mime_default = Mime;
1361
1364
 
1362
1365
  //#endregion
1363
1366
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
1364
- var src_default = new Mime(types$1, types)._freeze();
1367
+ var src_default = new Mime_default(standard_default, other_default)._freeze();
1365
1368
 
1366
1369
  //#endregion
1367
1370
  //#region src/utils/streamToString.ts
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import path from "path";
6
6
  import fs from "fs/promises";
7
7
 
8
8
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
9
- const types = {
9
+ const types$1 = {
10
10
  "application/prs.cww": ["cww"],
11
11
  "application/prs.xsf+xml": ["xsf"],
12
12
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -817,11 +817,12 @@ const types = {
817
817
  "video/x-smv": ["smv"],
818
818
  "x-conference/x-cooltalk": ["ice"]
819
819
  };
820
- Object.freeze(types);
820
+ Object.freeze(types$1);
821
+ var other_default = types$1;
821
822
 
822
823
  //#endregion
823
824
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
824
- const types$1 = {
825
+ const types = {
825
826
  "application/andrew-inset": ["ez"],
826
827
  "application/appinstaller": ["appinstaller"],
827
828
  "application/applixware": ["aw"],
@@ -1263,7 +1264,8 @@ const types$1 = {
1263
1264
  "video/quicktime": ["qt", "mov"],
1264
1265
  "video/webm": ["webm"]
1265
1266
  };
1266
- Object.freeze(types$1);
1267
+ Object.freeze(types);
1268
+ var standard_default = types;
1267
1269
 
1268
1270
  //#endregion
1269
1271
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
@@ -1335,10 +1337,11 @@ var Mime = class {
1335
1337
  }
1336
1338
  };
1337
1339
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
1340
+ var Mime_default = Mime;
1338
1341
 
1339
1342
  //#endregion
1340
1343
  //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
1341
- var src_default = new Mime(types$1, types)._freeze();
1344
+ var src_default = new Mime_default(standard_default, other_default)._freeze();
1342
1345
 
1343
1346
  //#endregion
1344
1347
  //#region src/utils/streamToString.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/aws",
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",
@@ -37,16 +37,16 @@
37
37
  "devDependencies": {
38
38
  "@aws-sdk/cloudfront-signer": "3.772.0",
39
39
  "@types/aws-lambda": "^8.10.147",
40
- "@types/node": "^22.13.1",
40
+ "@types/node": "^20",
41
41
  "aws-sdk-client-mock": "^4.1.0",
42
42
  "es-toolkit": "^1.32.0",
43
- "execa": "^9.5.2",
43
+ "execa": "9.5.2",
44
44
  "hono": "^4.6.3",
45
45
  "mime": "^4.0.4",
46
- "picocolors": "^1.0.0",
46
+ "picocolors": "1.1.1",
47
47
  "@clack/prompts": "0.10.0",
48
- "@hot-updater/core": "0.20.5",
49
- "@hot-updater/js": "0.20.5"
48
+ "@hot-updater/core": "0.20.7",
49
+ "@hot-updater/js": "0.20.7"
50
50
  },
51
51
  "dependencies": {
52
52
  "@aws-sdk/client-cloudfront": "3.772.0",
@@ -57,7 +57,7 @@
57
57
  "@aws-sdk/credential-providers": "3.772.0",
58
58
  "@aws-sdk/lib-storage": "3.772.0",
59
59
  "aws-lambda": "1.0.7",
60
- "@hot-updater/plugin-core": "0.20.5"
60
+ "@hot-updater/plugin-core": "0.20.7"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "tsdown",