@hot-updater/bare 0.20.5 → 0.20.6

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
@@ -632,6 +632,7 @@ const fallbackSymbols = {
632
632
  };
633
633
  const shouldUseMain = isUnicodeSupported();
634
634
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
635
+ var figures_default = figures;
635
636
  const replacements = Object.entries(specialMainSymbols);
636
637
 
637
638
  //#endregion
@@ -713,8 +714,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
713
714
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
714
715
  const padField = (field, padding) => String(field).padStart(padding, "0");
715
716
  const getFinalIcon = ({ failed, reject }) => {
716
- if (!failed) return figures.tick;
717
- return reject ? figures.cross : figures.warning;
717
+ if (!failed) return figures_default.tick;
718
+ return reject ? figures_default.cross : figures_default.warning;
718
719
  };
719
720
  const ICONS = {
720
721
  command: ({ piped }) => piped ? "|" : "$",
package/dist/index.js CHANGED
@@ -634,6 +634,7 @@ const fallbackSymbols = {
634
634
  };
635
635
  const shouldUseMain = isUnicodeSupported();
636
636
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
637
+ var figures_default = figures;
637
638
  const replacements = Object.entries(specialMainSymbols);
638
639
 
639
640
  //#endregion
@@ -715,8 +716,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
715
716
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
716
717
  const padField = (field, padding) => String(field).padStart(padding, "0");
717
718
  const getFinalIcon = ({ failed, reject }) => {
718
- if (!failed) return figures.tick;
719
- return reject ? figures.cross : figures.warning;
719
+ if (!failed) return figures_default.tick;
720
+ return reject ? figures_default.cross : figures_default.warning;
720
721
  };
721
722
  const ICONS = {
722
723
  command: ({ piped }) => piped ? "|" : "$",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/bare",
3
3
  "type": "module",
4
- "version": "0.20.5",
4
+ "version": "0.20.6",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -21,11 +21,11 @@
21
21
  "package.json"
22
22
  ],
23
23
  "dependencies": {
24
- "@hot-updater/plugin-core": "0.20.5"
24
+ "@hot-updater/plugin-core": "0.20.6"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/node": "^22.8.7",
28
- "execa": "^9.5.2",
27
+ "@types/node": "^20",
28
+ "execa": "9.5.2",
29
29
  "uuidv7": "^1.0.2"
30
30
  },
31
31
  "scripts": {