storybook 9.0.12 → 9.0.13

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.
@@ -36079,7 +36079,7 @@ var el = require("storybook/internal/telemetry");
36079
36079
  var Ni = require("storybook/internal/common"), aF = require("storybook/internal/node-logger"), Li = require("storybook/internal/telemetry"),
36080
36080
  uF = Y(xm(), 1);
36081
36081
  var GV = /* @__PURE__ */ s(async () => {
36082
- if (process.env.CI)
36082
+ if (process.env.CI || !process.stdout.isTTY)
36083
36083
  return;
36084
36084
  let { enableCrashReports: e } = await (0, uF.default)({
36085
36085
  type: "confirm",
@@ -36164,7 +36164,7 @@ async function XV(e, t, r) {
36164
36164
  }
36165
36165
  throw i && await Zu(a, e, t), a;
36166
36166
  } finally {
36167
- process.off("SIGINIT", o);
36167
+ process.off("SIGINT", o);
36168
36168
  }
36169
36169
  }
36170
36170
  s(XV, "withTelemetry");
@@ -36121,7 +36121,7 @@ import { HandledError as jV, cache as Vd, loadAllPresets as qV } from "storybook
36121
36121
  import { logger as $V } from "storybook/internal/node-logger";
36122
36122
  import { getPrecedingUpgrade as VV, oneWayHash as UV, telemetry as Ud } from "storybook/internal/telemetry";
36123
36123
  var WV = /* @__PURE__ */ s(async () => {
36124
- if (process.env.CI)
36124
+ if (process.env.CI || !process.stdout.isTTY)
36125
36125
  return;
36126
36126
  let { enableCrashReports: e } = await (0, hS.default)({
36127
36127
  type: "confirm",
@@ -36206,7 +36206,7 @@ async function xoe(e, t, r) {
36206
36206
  }
36207
36207
  throw i && await Wd(a, e, t), a;
36208
36208
  } finally {
36209
- process.off("SIGINIT", o);
36209
+ process.off("SIGINT", o);
36210
36210
  }
36211
36211
  }
36212
36212
  s(xoe, "withTelemetry");
@@ -9870,7 +9870,7 @@ n(to, "invariant");
9870
9870
  var bt = require("storybook/internal/common"), OE = require("storybook/internal/node-logger"), Ht = require("storybook/internal/telemetry"),
9871
9871
  Mm = L(Nm(), 1);
9872
9872
  var DE = /* @__PURE__ */ n(async () => {
9873
- if (process.env.CI)
9873
+ if (process.env.CI || !process.stdout.isTTY)
9874
9874
  return;
9875
9875
  let { enableCrashReports: t } = await (0, Mm.default)({
9876
9876
  type: "confirm",
@@ -9934,7 +9934,7 @@ import { HandledError as dD, cache as Yo, loadAllPresets as QE } from "storybook
9934
9934
  import { logger as mD } from "storybook/internal/node-logger";
9935
9935
  import { getPrecedingUpgrade as ZE, oneWayHash as JE, telemetry as eP } from "storybook/internal/telemetry";
9936
9936
  var tP = /* @__PURE__ */ n(async () => {
9937
- if (process.env.CI)
9937
+ if (process.env.CI || !process.stdout.isTTY)
9938
9938
  return;
9939
9939
  let { enableCrashReports: t } = await (0, pm.default)({
9940
9940
  type: "confirm",