brew-tui 2.3.0 → 2.3.1

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.
@@ -6,7 +6,7 @@ import {
6
6
  launchBrewTUIBar,
7
7
  syncAndLaunchBrewTUIBar,
8
8
  uninstallBrewTUIBar
9
- } from "./chunk-YEMLGOXS.js";
9
+ } from "./chunk-I5VZR55J.js";
10
10
  import "./chunk-NRRQECXA.js";
11
11
  import "./chunk-SDQYHY2L.js";
12
12
  import "./chunk-KDHEUNRI.js";
@@ -19,4 +19,4 @@ export {
19
19
  syncAndLaunchBrewTUIBar,
20
20
  uninstallBrewTUIBar
21
21
  };
22
- //# sourceMappingURL=brew-tui-bar-installer-LS6N5D5P.js.map
22
+ //# sourceMappingURL=brew-tui-bar-installer-PCHNYMZL.js.map
@@ -224,7 +224,7 @@ async function launchBrewTUIBar() {
224
224
  }
225
225
  async function syncAndLaunchBrewTUIBar() {
226
226
  if (process.platform !== "darwin") return;
227
- const { checkBrewTUIBarVersion } = await import("./version-check-3JMI6HOO.js");
227
+ const { checkBrewTUIBarVersion } = await import("./version-check-UUJMLUK6.js");
228
228
  try {
229
229
  if (!await isBrewTUIBarInstalled()) {
230
230
  console.log(t("cli_brewtuibarInstalling"));
@@ -263,4 +263,4 @@ export {
263
263
  syncAndLaunchBrewTUIBar,
264
264
  uninstallBrewTUIBar
265
265
  };
266
- //# sourceMappingURL=chunk-YEMLGOXS.js.map
266
+ //# sourceMappingURL=chunk-I5VZR55J.js.map
@@ -6,7 +6,7 @@ var execFileAsync = promisify(execFile);
6
6
  var BREWTUIBAR_INFO_PLIST = "/Applications/Brew-TUI-Bar.app/Contents/Info.plist";
7
7
  var CONTRACT_VERSION = 1;
8
8
  function expectedVersion() {
9
- return "2.3.0";
9
+ return "2.3.1";
10
10
  }
11
11
  async function readBrewTUIBarVersion() {
12
12
  try {
@@ -62,4 +62,4 @@ export {
62
62
  compareSemver,
63
63
  checkBrewTUIBarVersion
64
64
  };
65
- //# sourceMappingURL=chunk-HXTTSU3T.js.map
65
+ //# sourceMappingURL=chunk-KR6EAHEE.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  checkBrewTUIBarVersion,
3
3
  readBrewTUIBarVersion
4
- } from "./chunk-HXTTSU3T.js";
4
+ } from "./chunk-KR6EAHEE.js";
5
5
  import {
6
6
  useLicenseStore
7
7
  } from "./chunk-CCAT52XY.js";
@@ -9,7 +9,7 @@ import {
9
9
  bundleIdAt,
10
10
  isBrewTUIBarInstalled,
11
11
  isBrewTUIBarRunning
12
- } from "./chunk-YEMLGOXS.js";
12
+ } from "./chunk-I5VZR55J.js";
13
13
  import "./chunk-PYDQHHI2.js";
14
14
  import "./chunk-NRRQECXA.js";
15
15
  import "./chunk-SDQYHY2L.js";
@@ -53,7 +53,7 @@ async function findBrewBinary() {
53
53
  }
54
54
  }
55
55
  async function runDoctor() {
56
- const cliVersion = "2.3.0";
56
+ const cliVersion = "2.3.1";
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-VRBE2VXF.js.map
133
+ //# sourceMappingURL=doctor-D56LDODR.js.map
package/build/index.js CHANGED
@@ -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.0" })
4553
+ t("app_version", { version: "2.3.1" })
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.0" : "unknown";
6061
+ const version = true ? "2.3.1" : "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.0" : "unknown";
6070
+ const version = true ? "2.3.1" : "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.0";
6085
+ const cliVersion = "2.3.1";
6088
6086
  process.stdout.write(cliVersion + "\n");
6089
6087
  if (process.platform === "darwin") {
6090
6088
  try {
6091
- const { readBrewTUIBarVersion } = await import("./version-check-3JMI6HOO.js");
6089
+ const { readBrewTUIBarVersion } = await import("./version-check-UUJMLUK6.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");
@@ -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-LS6N5D5P.js");
6237
+ const { installBrewTUIBar } = await import("./brew-tui-bar-installer-PCHNYMZL.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-LS6N5D5P.js");
6252
+ const { uninstallBrewTUIBar } = await import("./brew-tui-bar-installer-PCHNYMZL.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-VRBE2VXF.js");
6263
+ const { runDoctor } = await import("./doctor-D56LDODR.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-LS6N5D5P.js");
6287
+ const { syncAndLaunchBrewTUIBar } = await import("./brew-tui-bar-installer-PCHNYMZL.js");
6290
6288
  await syncAndLaunchBrewTUIBar();
6291
6289
  }
6292
6290
  runCli().catch((err) => {