mobbdev 0.0.96 → 0.0.98

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 +8 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1725,7 +1725,9 @@ var GitlabAuthResultZ = z4.object({
1725
1725
  // src/features/analysis/scm/gitlab/gitlab.ts
1726
1726
  var EnvVariablesZod2 = z5.object({
1727
1727
  GITLAB_API_TOKEN: z5.string().optional(),
1728
- BROKERED_HOSTS: z5.string().toLowerCase().transform((x) => x.split(",").map((url) => url.trim(), [])).default("")
1728
+ BROKERED_HOSTS: z5.string().toLowerCase().transform(
1729
+ (x) => x.split(",").map((url) => url.trim(), []).filter(Boolean)
1730
+ ).default("")
1729
1731
  });
1730
1732
  var { GITLAB_API_TOKEN, BROKERED_HOSTS } = EnvVariablesZod2.parse(process.env);
1731
1733
  function removeTrailingSlash2(str) {
@@ -2094,7 +2096,9 @@ var SubmitFixesResponseMessageZ = z6.discriminatedUnion("type", [
2094
2096
 
2095
2097
  // src/features/analysis/scm/scmSubmit/index.ts
2096
2098
  var EnvVariablesZod3 = z7.object({
2097
- BROKERED_HOSTS: z7.string().toLowerCase().transform((x) => x.split(",").map((url) => url.trim(), [])).default("")
2099
+ BROKERED_HOSTS: z7.string().toLowerCase().transform(
2100
+ (x) => x.split(",").map((url) => url.trim(), []).filter(Boolean)
2101
+ ).default("")
2098
2102
  });
2099
2103
  var { BROKERED_HOSTS: BROKERED_HOSTS2 } = EnvVariablesZod3.parse(process.env);
2100
2104
  var isValidBranchName = async (branchName) => {
@@ -3632,6 +3636,8 @@ var getIssueType = (issueType) => {
3632
3636
  return "Insecure Cookie";
3633
3637
  case "TRUST_BOUNDARY_VIOLATION" /* TrustBoundaryViolation */:
3634
3638
  return "Trust Boundary Violation";
3639
+ case "MISSING_EQUALS_OR_HASHCODE" /* MissingEqualsOrHashcode */:
3640
+ return "Missing equals or hashcode method";
3635
3641
  default: {
3636
3642
  return issueType ? issueType.replaceAll("_", " ") : "Other";
3637
3643
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "0.0.96",
3
+ "version": "0.0.98",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "https://github.com/mobb-dev/bugsy",
6
6
  "main": "dist/index.js",