hot-updater 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 +6 -4
- package/dist/index.js +7 -5
- package/package.json +11 -11
package/dist/index.cjs
CHANGED
|
@@ -3704,6 +3704,7 @@ const fallbackSymbols = {
|
|
|
3704
3704
|
};
|
|
3705
3705
|
const shouldUseMain = isUnicodeSupported();
|
|
3706
3706
|
const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
3707
|
+
var figures_default = figures;
|
|
3707
3708
|
const replacements = Object.entries(specialMainSymbols);
|
|
3708
3709
|
|
|
3709
3710
|
//#endregion
|
|
@@ -3785,8 +3786,8 @@ const defaultVerboseFunction = ({ type: type$1, message, timestamp, piped, comma
|
|
|
3785
3786
|
const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
|
|
3786
3787
|
const padField = (field, padding) => String(field).padStart(padding, "0");
|
|
3787
3788
|
const getFinalIcon = ({ failed, reject }) => {
|
|
3788
|
-
if (!failed) return
|
|
3789
|
-
return reject ?
|
|
3789
|
+
if (!failed) return figures_default.tick;
|
|
3790
|
+
return reject ? figures_default.cross : figures_default.warning;
|
|
3790
3791
|
};
|
|
3791
3792
|
const ICONS = {
|
|
3792
3793
|
command: ({ piped }) => piped ? "|" : "$",
|
|
@@ -35420,6 +35421,7 @@ defineLazyProperty(apps, "edge", () => detectPlatformBinary({
|
|
|
35420
35421
|
}, { wsl: "/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe" }));
|
|
35421
35422
|
defineLazyProperty(apps, "browser", () => "browser");
|
|
35422
35423
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
35424
|
+
var open_default = open;
|
|
35423
35425
|
|
|
35424
35426
|
//#endregion
|
|
35425
35427
|
//#region src/commands/deploy.ts
|
|
@@ -35595,9 +35597,9 @@ const deploy = async (options) => {
|
|
|
35595
35597
|
initialValue: false
|
|
35596
35598
|
});
|
|
35597
35599
|
if (!__clack_prompts.isCancel(result) && result) await openConsole(port, () => {
|
|
35598
|
-
|
|
35600
|
+
open_default(url$2);
|
|
35599
35601
|
});
|
|
35600
|
-
} else
|
|
35602
|
+
} else open_default(url$2);
|
|
35601
35603
|
__clack_prompts.note(note);
|
|
35602
35604
|
}
|
|
35603
35605
|
__clack_prompts.outro("🚀 Deployment Successful");
|
package/dist/index.js
CHANGED
|
@@ -3704,6 +3704,7 @@ const fallbackSymbols = {
|
|
|
3704
3704
|
};
|
|
3705
3705
|
const shouldUseMain = isUnicodeSupported();
|
|
3706
3706
|
const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
3707
|
+
var figures_default = figures;
|
|
3707
3708
|
const replacements = Object.entries(specialMainSymbols);
|
|
3708
3709
|
|
|
3709
3710
|
//#endregion
|
|
@@ -3785,8 +3786,8 @@ const defaultVerboseFunction = ({ type: type$1, message, timestamp, piped, comma
|
|
|
3785
3786
|
const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
|
|
3786
3787
|
const padField = (field, padding) => String(field).padStart(padding, "0");
|
|
3787
3788
|
const getFinalIcon = ({ failed, reject }) => {
|
|
3788
|
-
if (!failed) return
|
|
3789
|
-
return reject ?
|
|
3789
|
+
if (!failed) return figures_default.tick;
|
|
3790
|
+
return reject ? figures_default.cross : figures_default.warning;
|
|
3790
3791
|
};
|
|
3791
3792
|
const ICONS = {
|
|
3792
3793
|
command: ({ piped }) => piped ? "|" : "$",
|
|
@@ -9623,7 +9624,7 @@ const getDefaultOutputPath = () => {
|
|
|
9623
9624
|
};
|
|
9624
9625
|
|
|
9625
9626
|
//#endregion
|
|
9626
|
-
//#region ../../node_modules/.pnpm/tsdown@0.14.
|
|
9627
|
+
//#region ../../node_modules/.pnpm/tsdown@0.14.2_typescript@5.8.3/node_modules/tsdown/esm-shims.js
|
|
9627
9628
|
const getFilename = () => fileURLToPath(import.meta.url);
|
|
9628
9629
|
const getDirname = () => path.dirname(getFilename());
|
|
9629
9630
|
const __dirname$1 = /* @__PURE__ */ getDirname();
|
|
@@ -35426,6 +35427,7 @@ defineLazyProperty(apps, "edge", () => detectPlatformBinary({
|
|
|
35426
35427
|
}, { wsl: "/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe" }));
|
|
35427
35428
|
defineLazyProperty(apps, "browser", () => "browser");
|
|
35428
35429
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
35430
|
+
var open_default = open;
|
|
35429
35431
|
|
|
35430
35432
|
//#endregion
|
|
35431
35433
|
//#region src/commands/deploy.ts
|
|
@@ -35601,9 +35603,9 @@ const deploy = async (options) => {
|
|
|
35601
35603
|
initialValue: false
|
|
35602
35604
|
});
|
|
35603
35605
|
if (!p.isCancel(result) && result) await openConsole(port, () => {
|
|
35604
|
-
|
|
35606
|
+
open_default(url$2);
|
|
35605
35607
|
});
|
|
35606
|
-
} else
|
|
35608
|
+
} else open_default(url$2);
|
|
35607
35609
|
p.note(note);
|
|
35608
35610
|
}
|
|
35609
35611
|
p.outro("🚀 Deployment Successful");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hot-updater",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.7",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hot-updater": "./dist/index.js"
|
|
7
7
|
},
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"cosmiconfig": "9.0.0",
|
|
54
54
|
"cosmiconfig-typescript-loader": "5.0.0",
|
|
55
55
|
"es-git": "0.4.0",
|
|
56
|
-
"@hot-updater/console": "0.20.
|
|
57
|
-
"@hot-updater/core": "0.20.
|
|
58
|
-
"@hot-updater/plugin-core": "0.20.
|
|
56
|
+
"@hot-updater/console": "0.20.7",
|
|
57
|
+
"@hot-updater/core": "0.20.7",
|
|
58
|
+
"@hot-updater/plugin-core": "0.20.7"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"fast-xml-parser": "^5.2.3",
|
|
@@ -74,22 +74,22 @@
|
|
|
74
74
|
"@types/babel__traverse": "7.20.6",
|
|
75
75
|
"@types/connect": "^3.4.38",
|
|
76
76
|
"@types/cosmiconfig": "^6.0.0",
|
|
77
|
-
"@types/node": "^
|
|
77
|
+
"@types/node": "^20",
|
|
78
78
|
"@types/plist": "^3.0.5",
|
|
79
79
|
"@types/semver": "^7.5.8",
|
|
80
80
|
"es-toolkit": "^1.32.0",
|
|
81
|
-
"execa": "
|
|
81
|
+
"execa": "9.5.2",
|
|
82
82
|
"is-port-reachable": "^4.0.0",
|
|
83
83
|
"open": "^10.1.0",
|
|
84
|
-
"picocolors": "
|
|
84
|
+
"picocolors": "1.1.1",
|
|
85
85
|
"plist": "^3.1.0",
|
|
86
86
|
"read-package-up": "^11.0.0",
|
|
87
87
|
"semver": "^7.6.3",
|
|
88
88
|
"uuidv7": "^1.0.2",
|
|
89
|
-
"@hot-updater/
|
|
90
|
-
"@hot-updater/
|
|
91
|
-
"@hot-updater/firebase": "0.20.
|
|
92
|
-
"@hot-updater/supabase": "0.20.
|
|
89
|
+
"@hot-updater/aws": "0.20.7",
|
|
90
|
+
"@hot-updater/cloudflare": "0.20.7",
|
|
91
|
+
"@hot-updater/firebase": "0.20.7",
|
|
92
|
+
"@hot-updater/supabase": "0.20.7"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"@hot-updater/aws": "*",
|