brew-tui 2.3.0 → 2.3.2
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/build/{brew-tui-bar-installer-LS6N5D5P.js → brew-tui-bar-installer-5L4RUQF4.js} +3 -3
- package/build/{brewfile-manager-DNRM6CQ7.js → brewfile-manager-VMQSH6WR.js} +3 -3
- package/build/{chunk-HXTTSU3T.js → chunk-4XUWG775.js} +2 -2
- package/build/{chunk-PYDQHHI2.js → chunk-7UREKBJD.js} +2 -2
- package/build/{chunk-SDQYHY2L.js → chunk-AYWJHS5X.js} +9 -9
- package/build/{chunk-SDQYHY2L.js.map → chunk-AYWJHS5X.js.map} +1 -1
- package/build/{chunk-CCAT52XY.js → chunk-GOUEYUCQ.js} +2 -2
- package/build/{chunk-YEMLGOXS.js → chunk-PETT3DQP.js} +3 -3
- package/build/{chunk-UZMGXQKF.js → chunk-RMYDKHAQ.js} +2 -2
- package/build/{chunk-7R4ME2NC.js → chunk-VLAOY7ZM.js} +2 -2
- package/build/{doctor-VRBE2VXF.js → doctor-K5HUAVBP.js} +7 -7
- package/build/index.js +17 -19
- package/build/index.js.map +1 -1
- package/build/postinstall.js +2 -2
- package/build/{sync-engine-KTH4K3NG.js → sync-engine-UNCZIREV.js} +4 -4
- package/build/{version-check-3JMI6HOO.js → version-check-LTPHFA73.js} +2 -2
- package/package.json +1 -1
- /package/build/{brew-tui-bar-installer-LS6N5D5P.js.map → brew-tui-bar-installer-5L4RUQF4.js.map} +0 -0
- /package/build/{brewfile-manager-DNRM6CQ7.js.map → brewfile-manager-VMQSH6WR.js.map} +0 -0
- /package/build/{chunk-HXTTSU3T.js.map → chunk-4XUWG775.js.map} +0 -0
- /package/build/{chunk-PYDQHHI2.js.map → chunk-7UREKBJD.js.map} +0 -0
- /package/build/{chunk-CCAT52XY.js.map → chunk-GOUEYUCQ.js.map} +0 -0
- /package/build/{chunk-YEMLGOXS.js.map → chunk-PETT3DQP.js.map} +0 -0
- /package/build/{chunk-UZMGXQKF.js.map → chunk-RMYDKHAQ.js.map} +0 -0
- /package/build/{chunk-7R4ME2NC.js.map → chunk-VLAOY7ZM.js.map} +0 -0
- /package/build/{doctor-VRBE2VXF.js.map → doctor-K5HUAVBP.js.map} +0 -0
- /package/build/{sync-engine-KTH4K3NG.js.map → sync-engine-UNCZIREV.js.map} +0 -0
- /package/build/{version-check-3JMI6HOO.js.map → version-check-LTPHFA73.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadLicense
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7UREKBJD.js";
|
|
4
4
|
import {
|
|
5
5
|
captureSnapshot
|
|
6
6
|
} from "./chunk-OXDZ4DCK.js";
|
|
@@ -339,4 +339,4 @@ export {
|
|
|
339
339
|
sync,
|
|
340
340
|
applyConflictResolutions
|
|
341
341
|
};
|
|
342
|
-
//# sourceMappingURL=chunk-
|
|
342
|
+
//# sourceMappingURL=chunk-VLAOY7ZM.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkBrewTUIBarVersion,
|
|
3
3
|
readBrewTUIBarVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4XUWG775.js";
|
|
5
5
|
import {
|
|
6
6
|
useLicenseStore
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GOUEYUCQ.js";
|
|
8
8
|
import {
|
|
9
9
|
bundleIdAt,
|
|
10
10
|
isBrewTUIBarInstalled,
|
|
11
11
|
isBrewTUIBarRunning
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-PETT3DQP.js";
|
|
13
|
+
import "./chunk-7UREKBJD.js";
|
|
14
14
|
import "./chunk-NRRQECXA.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-AYWJHS5X.js";
|
|
16
16
|
import "./chunk-KDHEUNRI.js";
|
|
17
17
|
import "./chunk-LFGDNAXH.js";
|
|
18
18
|
|
|
@@ -53,7 +53,7 @@ async function findBrewBinary() {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
async function runDoctor() {
|
|
56
|
-
const cliVersion = "2.3.
|
|
56
|
+
const cliVersion = "2.3.2";
|
|
57
57
|
console.log(format("Brew-TUI", [
|
|
58
58
|
{ label: "CLI version", value: cliVersion },
|
|
59
59
|
{ label: "Platform", value: `${process.platform} (${arch()})` },
|
|
@@ -130,4 +130,4 @@ async function runDoctor() {
|
|
|
130
130
|
export {
|
|
131
131
|
runDoctor
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=doctor-
|
|
133
|
+
//# sourceMappingURL=doctor-K5HUAVBP.js.map
|
package/build/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useLicenseStore,
|
|
3
3
|
verifyStoreIntegrity
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GOUEYUCQ.js";
|
|
5
5
|
import {
|
|
6
6
|
brewUpdate,
|
|
7
7
|
casksToListItems,
|
|
@@ -28,21 +28,21 @@ import {
|
|
|
28
28
|
uninstallPackage,
|
|
29
29
|
unpinPackage,
|
|
30
30
|
validatePackageName
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RMYDKHAQ.js";
|
|
32
32
|
import {
|
|
33
33
|
applyConflictResolutions,
|
|
34
34
|
decryptPayload,
|
|
35
35
|
loadSyncConfig,
|
|
36
36
|
readSyncEnvelope,
|
|
37
37
|
sync
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VLAOY7ZM.js";
|
|
39
39
|
import {
|
|
40
40
|
activate,
|
|
41
41
|
deactivate,
|
|
42
42
|
getDegradationLevel,
|
|
43
43
|
loadLicense,
|
|
44
44
|
revalidate
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-7UREKBJD.js";
|
|
46
46
|
import {
|
|
47
47
|
fetchWithRetry
|
|
48
48
|
} from "./chunk-NRRQECXA.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
t,
|
|
52
52
|
tp,
|
|
53
53
|
useLocaleStore
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-AYWJHS5X.js";
|
|
55
55
|
import {
|
|
56
56
|
checkCompliance
|
|
57
57
|
} from "./chunk-S3NRCC23.js";
|
|
@@ -1047,9 +1047,7 @@ var useBrewStore = create3((set, get) => ({
|
|
|
1047
1047
|
store.fetchInstalled(),
|
|
1048
1048
|
store.fetchOutdated(),
|
|
1049
1049
|
store.fetchServices(),
|
|
1050
|
-
store.fetchConfig()
|
|
1051
|
-
store.fetchLeaves(),
|
|
1052
|
-
store.fetchDoctor()
|
|
1050
|
+
store.fetchConfig()
|
|
1053
1051
|
]).then(() => void 0).finally(() => {
|
|
1054
1052
|
fetchAllInFlight = null;
|
|
1055
1053
|
});
|
|
@@ -4552,7 +4550,7 @@ function AccountView() {
|
|
|
4552
4550
|
status === "pro" || status === "team" || status === "expired" ? `v ${t("hint_revalidate")} ` : "",
|
|
4553
4551
|
revalidating ? t("account_revalidating") : "",
|
|
4554
4552
|
" ",
|
|
4555
|
-
t("app_version", { version: "2.3.
|
|
4553
|
+
t("app_version", { version: "2.3.2" })
|
|
4556
4554
|
] }) })
|
|
4557
4555
|
] });
|
|
4558
4556
|
}
|
|
@@ -6060,7 +6058,7 @@ async function reportError(err, context = {}) {
|
|
|
6060
6058
|
const config = await resolveConfig();
|
|
6061
6059
|
if (!config.enabled || !config.endpoint) return;
|
|
6062
6060
|
const machineId = await getMachineId();
|
|
6063
|
-
const version = true ? "2.3.
|
|
6061
|
+
const version = true ? "2.3.2" : "unknown";
|
|
6064
6062
|
await postReport(buildReport("error", err, context, machineId, version), config);
|
|
6065
6063
|
}
|
|
6066
6064
|
async function installCrashReporter() {
|
|
@@ -6069,7 +6067,7 @@ async function installCrashReporter() {
|
|
|
6069
6067
|
if (!config.enabled || !config.endpoint) return;
|
|
6070
6068
|
_installed = true;
|
|
6071
6069
|
const machineId = await getMachineId();
|
|
6072
|
-
const version = true ? "2.3.
|
|
6070
|
+
const version = true ? "2.3.2" : "unknown";
|
|
6073
6071
|
process.on("uncaughtException", (err) => {
|
|
6074
6072
|
void postReport(buildReport("fatal", err, { kind: "uncaughtException" }, machineId, version), config);
|
|
6075
6073
|
});
|
|
@@ -6084,11 +6082,11 @@ import { jsx as jsx39 } from "react/jsx-runtime";
|
|
|
6084
6082
|
var [, , command, arg] = process.argv;
|
|
6085
6083
|
async function runCli() {
|
|
6086
6084
|
if (command === "--version" || command === "-v" || command === "version") {
|
|
6087
|
-
const cliVersion = "2.3.
|
|
6085
|
+
const cliVersion = "2.3.2";
|
|
6088
6086
|
process.stdout.write(cliVersion + "\n");
|
|
6089
6087
|
if (process.platform === "darwin") {
|
|
6090
6088
|
try {
|
|
6091
|
-
const { readBrewTUIBarVersion } = await import("./version-check-
|
|
6089
|
+
const { readBrewTUIBarVersion } = await import("./version-check-LTPHFA73.js");
|
|
6092
6090
|
const appVersion = await readBrewTUIBarVersion();
|
|
6093
6091
|
if (appVersion && appVersion !== cliVersion) {
|
|
6094
6092
|
process.stderr.write(t("cli_versionMismatchWarning", { installed: appVersion, expected: cliVersion }) + "\n");
|
|
@@ -6203,7 +6201,7 @@ Snapshots: ${snapshots.length} (latest: ${latest ? formatDate(latest.capturedAt)
|
|
|
6203
6201
|
} catch {
|
|
6204
6202
|
}
|
|
6205
6203
|
try {
|
|
6206
|
-
const { loadBrewfile: loadBrewfile2, computeDrift: computeDrift2 } = await import("./brewfile-manager-
|
|
6204
|
+
const { loadBrewfile: loadBrewfile2, computeDrift: computeDrift2 } = await import("./brewfile-manager-VMQSH6WR.js");
|
|
6207
6205
|
const schema = await loadBrewfile2();
|
|
6208
6206
|
if (schema) {
|
|
6209
6207
|
const drift = await computeDrift2(schema);
|
|
@@ -6212,7 +6210,7 @@ Snapshots: ${snapshots.length} (latest: ${latest ? formatDate(latest.capturedAt)
|
|
|
6212
6210
|
} catch {
|
|
6213
6211
|
}
|
|
6214
6212
|
try {
|
|
6215
|
-
const { loadSyncConfig: loadSyncConfig2 } = await import("./sync-engine-
|
|
6213
|
+
const { loadSyncConfig: loadSyncConfig2 } = await import("./sync-engine-UNCZIREV.js");
|
|
6216
6214
|
const syncConfig = await loadSyncConfig2();
|
|
6217
6215
|
if (syncConfig?.lastSync) {
|
|
6218
6216
|
console.log(`Sync: last sync ${formatDate(syncConfig.lastSync)}`);
|
|
@@ -6236,7 +6234,7 @@ Snapshots: ${snapshots.length} (latest: ${latest ? formatDate(latest.capturedAt)
|
|
|
6236
6234
|
if (command === "install-brewbar") {
|
|
6237
6235
|
console.warn(t("cli_brewtuibarLegacyAlias", { legacy: command, current: "install-brew-tui-bar" }));
|
|
6238
6236
|
}
|
|
6239
|
-
const { installBrewTUIBar } = await import("./brew-tui-bar-installer-
|
|
6237
|
+
const { installBrewTUIBar } = await import("./brew-tui-bar-installer-5L4RUQF4.js");
|
|
6240
6238
|
try {
|
|
6241
6239
|
console.log(t("cli_brewtuibarInstalling"));
|
|
6242
6240
|
await installBrewTUIBar(false, arg === "--force");
|
|
@@ -6251,7 +6249,7 @@ Snapshots: ${snapshots.length} (latest: ${latest ? formatDate(latest.capturedAt)
|
|
|
6251
6249
|
if (command === "uninstall-brewbar") {
|
|
6252
6250
|
console.warn(t("cli_brewtuibarLegacyAlias", { legacy: command, current: "uninstall-brew-tui-bar" }));
|
|
6253
6251
|
}
|
|
6254
|
-
const { uninstallBrewTUIBar } = await import("./brew-tui-bar-installer-
|
|
6252
|
+
const { uninstallBrewTUIBar } = await import("./brew-tui-bar-installer-5L4RUQF4.js");
|
|
6255
6253
|
try {
|
|
6256
6254
|
await uninstallBrewTUIBar();
|
|
6257
6255
|
console.log(t("cli_brewtuibarUninstalled"));
|
|
@@ -6262,7 +6260,7 @@ Snapshots: ${snapshots.length} (latest: ${latest ? formatDate(latest.capturedAt)
|
|
|
6262
6260
|
return;
|
|
6263
6261
|
}
|
|
6264
6262
|
if (command === "doctor") {
|
|
6265
|
-
const { runDoctor } = await import("./doctor-
|
|
6263
|
+
const { runDoctor } = await import("./doctor-K5HUAVBP.js");
|
|
6266
6264
|
await runDoctor();
|
|
6267
6265
|
return;
|
|
6268
6266
|
}
|
|
@@ -6286,7 +6284,7 @@ Snapshots: ${snapshots.length} (latest: ${latest ? formatDate(latest.capturedAt)
|
|
|
6286
6284
|
async function ensureBrewTUIBarRunning() {
|
|
6287
6285
|
if (process.platform !== "darwin") return;
|
|
6288
6286
|
await useLicenseStore.getState().initialize();
|
|
6289
|
-
const { syncAndLaunchBrewTUIBar } = await import("./brew-tui-bar-installer-
|
|
6287
|
+
const { syncAndLaunchBrewTUIBar } = await import("./brew-tui-bar-installer-5L4RUQF4.js");
|
|
6290
6288
|
await syncAndLaunchBrewTUIBar();
|
|
6291
6289
|
}
|
|
6292
6290
|
runCli().catch((err) => {
|