@bragduck/cli 2.9.1 → 2.9.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.
@@ -2176,6 +2176,10 @@ var theme = {
2176
2176
  * Format values
2177
2177
  */
2178
2178
  value: (text) => colors.highlight(text),
2179
+ /**
2180
+ * Format highlighted text
2181
+ */
2182
+ highlight: (text) => colors.highlight(text),
2179
2183
  /**
2180
2184
  * Format counts and numbers
2181
2185
  */
@@ -3326,6 +3330,11 @@ var JiraService = class {
3326
3330
  throw new JiraError("Resource not found", {
3327
3331
  originalError: statusText
3328
3332
  });
3333
+ } else if (status === 410) {
3334
+ throw new JiraError("Resource no longer available (deleted, archived, or moved)", {
3335
+ hint: "The Jira issue, project, or instance may have been deleted/archived. Verify your instance URL and that the resource still exists.",
3336
+ originalError: statusText
3337
+ });
3329
3338
  } else if (status === 429) {
3330
3339
  throw new JiraError("Rate limit exceeded", {
3331
3340
  hint: "Wait a few minutes before trying again",
@@ -3595,6 +3604,11 @@ var ConfluenceService = class {
3595
3604
  throw new ConfluenceError("Resource not found", {
3596
3605
  originalError: statusText
3597
3606
  });
3607
+ } else if (status === 410) {
3608
+ throw new ConfluenceError("Resource no longer available (deleted, archived, or moved)", {
3609
+ hint: "The Confluence page, space, or instance may have been deleted/archived. Verify your instance URL and that the resource still exists.",
3610
+ originalError: statusText
3611
+ });
3598
3612
  } else if (status === 429) {
3599
3613
  throw new ConfluenceError("Rate limit exceeded", {
3600
3614
  hint: "Wait a few minutes before trying again",