mobbdev 1.0.110 → 1.0.113

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.
Files changed (2) hide show
  1. package/dist/index.mjs +40 -7
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3349,6 +3349,16 @@ var FixRatingZ = z7.object({
3349
3349
  name: z7.string()
3350
3350
  })
3351
3351
  });
3352
+ var IssueSharedStateZ = z7.object({
3353
+ id: z7.string().uuid(),
3354
+ isArchived: z7.boolean(),
3355
+ ticketIntegrationId: z7.string().uuid().nullable(),
3356
+ ticketIntegrations: z7.array(
3357
+ z7.object({
3358
+ url: z7.string()
3359
+ })
3360
+ )
3361
+ });
3352
3362
  var FixSharedStateZ = z7.object({
3353
3363
  state: z7.nativeEnum(Fix_State_Enum),
3354
3364
  isArchived: z7.boolean(),
@@ -3384,7 +3394,12 @@ var FixQueryZ = z7.object({
3384
3394
  z7.object({
3385
3395
  vendorIssueId: z7.string(),
3386
3396
  issueLanguage: z7.string(),
3387
- parsedSeverity: ParsedSeverityZ
3397
+ parsedSeverity: ParsedSeverityZ,
3398
+ sharedState: z7.object({
3399
+ id: z7.string().uuid(),
3400
+ isArchived: z7.boolean(),
3401
+ ticketIntegrationId: z7.string().uuid().nullable()
3402
+ })
3388
3403
  })
3389
3404
  ),
3390
3405
  patchAndQuestions: PatchAndQuestionsZ,
@@ -3396,7 +3411,8 @@ var FixPartsForFixScreenZ = FixQueryZ.merge(
3396
3411
  z7.object({
3397
3412
  vendorIssueId: z7.string(),
3398
3413
  issueType: z7.string(),
3399
- issueLanguage: z7.string()
3414
+ issueLanguage: z7.string(),
3415
+ sharedState: IssueSharedStateZ
3400
3416
  })
3401
3417
  )
3402
3418
  })
@@ -3486,7 +3502,13 @@ var ValidCategoriesZ = z9.union([
3486
3502
  ]);
3487
3503
  var VulnerabilityReportIssueSharedStateZ = z9.object({
3488
3504
  id: z9.string().uuid(),
3489
- isArchived: z9.boolean()
3505
+ isArchived: z9.boolean(),
3506
+ ticketIntegrationId: z9.string().uuid().nullable(),
3507
+ ticketIntegrations: z9.array(
3508
+ z9.object({
3509
+ url: z9.string()
3510
+ })
3511
+ )
3490
3512
  }).nullish();
3491
3513
  var BaseIssuePartsZ = z9.object({
3492
3514
  id: z9.string().uuid(),
@@ -3671,6 +3693,16 @@ var AnalysisReportDigestedZ = z11.object({
3671
3693
  })
3672
3694
  })
3673
3695
  });
3696
+ var IssueSharedStateZ2 = z11.object({
3697
+ id: z11.string().uuid(),
3698
+ isArchived: z11.boolean(),
3699
+ ticketIntegrationId: z11.string().uuid().nullable(),
3700
+ ticketIntegrations: z11.array(
3701
+ z11.object({
3702
+ url: z11.string()
3703
+ })
3704
+ )
3705
+ });
3674
3706
  var ReportQueryResultZ = z11.object({
3675
3707
  fixReport_by_pk: z11.object({
3676
3708
  id: z11.string().uuid(),
@@ -3717,10 +3749,10 @@ var ReportQueryResultZ = z11.object({
3717
3749
  id: z11.string().uuid(),
3718
3750
  issueType: z11.string(),
3719
3751
  issueLanguage: z11.string(),
3720
- category: z11.string()
3752
+ category: z11.string(),
3753
+ sharedState: IssueSharedStateZ2
3721
3754
  })
3722
3755
  )
3723
- // scmSubmitFixRequests: ScmSubmitFixRequestsZ,
3724
3756
  })
3725
3757
  ),
3726
3758
  repo: z11.object({
@@ -3820,7 +3852,8 @@ var ReportFixesQueryFixZ = z11.object({
3820
3852
  vulnerabilityReportIssues: z11.array(
3821
3853
  z11.object({
3822
3854
  issueType: z11.string(),
3823
- issueLanguage: z11.string()
3855
+ issueLanguage: z11.string(),
3856
+ sharedState: IssueSharedStateZ2
3824
3857
  })
3825
3858
  ).min(1)
3826
3859
  });
@@ -11224,7 +11257,7 @@ function validateRepoUrl(args) {
11224
11257
  });
11225
11258
  }
11226
11259
  }
11227
- var supportExtensions = [".json", ".xml", ".fpr", ".sarif"];
11260
+ var supportExtensions = [".json", ".xml", ".fpr", ".sarif", ".zip"];
11228
11261
  function validateReportFileFormat(reportFile) {
11229
11262
  if (!supportExtensions.includes(path10.extname(reportFile))) {
11230
11263
  throw new CliError(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.0.110",
3
+ "version": "1.0.113",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "git+https://github.com/mobb-dev/bugsy.git",
6
6
  "main": "dist/index.js",