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