@hot-updater/rock 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.
package/dist/index.cjs CHANGED
@@ -631,6 +631,7 @@ const fallbackSymbols = {
631
631
  };
632
632
  const shouldUseMain = isUnicodeSupported();
633
633
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
634
+ var figures_default = figures;
634
635
  const replacements = Object.entries(specialMainSymbols);
635
636
 
636
637
  //#endregion
@@ -712,8 +713,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
712
713
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
713
714
  const padField = (field, padding) => String(field).padStart(padding, "0");
714
715
  const getFinalIcon = ({ failed, reject }) => {
715
- if (!failed) return figures.tick;
716
- return reject ? figures.cross : figures.warning;
716
+ if (!failed) return figures_default.tick;
717
+ return reject ? figures_default.cross : figures_default.warning;
717
718
  };
718
719
  const ICONS = {
719
720
  command: ({ piped }) => piped ? "|" : "$",
package/dist/index.js CHANGED
@@ -633,6 +633,7 @@ const fallbackSymbols = {
633
633
  };
634
634
  const shouldUseMain = isUnicodeSupported();
635
635
  const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
636
+ var figures_default = figures;
636
637
  const replacements = Object.entries(specialMainSymbols);
637
638
 
638
639
  //#endregion
@@ -714,8 +715,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
714
715
  const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
715
716
  const padField = (field, padding) => String(field).padStart(padding, "0");
716
717
  const getFinalIcon = ({ failed, reject }) => {
717
- if (!failed) return figures.tick;
718
- return reject ? figures.cross : figures.warning;
718
+ if (!failed) return figures_default.tick;
719
+ return reject ? figures_default.cross : figures_default.warning;
719
720
  };
720
721
  const ICONS = {
721
722
  command: ({ piped }) => piped ? "|" : "$",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/rock",
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",
@@ -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.7"
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": {