mobbdev 1.0.97 → 1.0.99

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 +11 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -418,6 +418,7 @@ var IssueType_Enum = /* @__PURE__ */ ((IssueType_Enum2) => {
418
418
  IssueType_Enum2["NonReadonlyField"] = "NON_READONLY_FIELD";
419
419
  IssueType_Enum2["NoEquivalenceMethod"] = "NO_EQUIVALENCE_METHOD";
420
420
  IssueType_Enum2["NoLimitsOrThrottling"] = "NO_LIMITS_OR_THROTTLING";
421
+ IssueType_Enum2["NoNestedTry"] = "NO_NESTED_TRY";
421
422
  IssueType_Enum2["NoOpOverhead"] = "NO_OP_OVERHEAD";
422
423
  IssueType_Enum2["NoPrintStatement"] = "NO_PRINT_STATEMENT";
423
424
  IssueType_Enum2["NoReturnInFinally"] = "NO_RETURN_IN_FINALLY";
@@ -432,6 +433,7 @@ var IssueType_Enum = /* @__PURE__ */ ((IssueType_Enum2) => {
432
433
  IssueType_Enum2["PrototypePollution"] = "PROTOTYPE_POLLUTION";
433
434
  IssueType_Enum2["Pt"] = "PT";
434
435
  IssueType_Enum2["RaceConditionFormatFlaw"] = "RACE_CONDITION_FORMAT_FLAW";
436
+ IssueType_Enum2["Redos"] = "REDOS";
435
437
  IssueType_Enum2["RegexInjection"] = "REGEX_INJECTION";
436
438
  IssueType_Enum2["RegexMissingTimeout"] = "REGEX_MISSING_TIMEOUT";
437
439
  IssueType_Enum2["ReturnShouldNotBeInvariant"] = "RETURN_SHOULD_NOT_BE_INVARIANT";
@@ -445,6 +447,7 @@ var IssueType_Enum = /* @__PURE__ */ ((IssueType_Enum2) => {
445
447
  IssueType_Enum2["TrustBoundaryViolation"] = "TRUST_BOUNDARY_VIOLATION";
446
448
  IssueType_Enum2["TypeConfusion"] = "TYPE_CONFUSION";
447
449
  IssueType_Enum2["UncheckedLoopCondition"] = "UNCHECKED_LOOP_CONDITION";
450
+ IssueType_Enum2["UnnecessaryImports"] = "UNNECESSARY_IMPORTS";
448
451
  IssueType_Enum2["UnsafeDeserialization"] = "UNSAFE_DESERIALIZATION";
449
452
  IssueType_Enum2["UnsafeTargetBlank"] = "UNSAFE_TARGET_BLANK";
450
453
  IssueType_Enum2["UnsafeWebThread"] = "UNSAFE_WEB_THREAD";
@@ -1565,7 +1568,10 @@ var issueTypeMap = {
1565
1568
  ["NO_PRINT_STATEMENT" /* NoPrintStatement */]: 'Python 2 "print" Statement Is Obsolete',
1566
1569
  ["NO_OP_OVERHEAD" /* NoOpOverhead */]: "Expensive Arguments in Conditional Methods",
1567
1570
  ["DO_NOT_RAISE_EXCEPTION" /* DoNotRaiseException */]: "Do Not Raise Exception",
1568
- ["DECLARE_VARIABLE_EXPLICITLY" /* DeclareVariableExplicitly */]: "Declare Variable Explicitly"
1571
+ ["DECLARE_VARIABLE_EXPLICITLY" /* DeclareVariableExplicitly */]: "Declare Variable Explicitly",
1572
+ ["NO_NESTED_TRY" /* NoNestedTry */]: "No Nested Try",
1573
+ ["UNNECESSARY_IMPORTS" /* UnnecessaryImports */]: "Unnecessary Imports",
1574
+ ["REDOS" /* Redos */]: "Regular Expression Denial of Service"
1569
1575
  };
1570
1576
  var issueTypeZ = z5.nativeEnum(IssueType_Enum);
1571
1577
  var getIssueTypeFriendlyString = (issueType) => {
@@ -2309,7 +2315,10 @@ var fixDetailsData = {
2309
2315
  ["NO_PRINT_STATEMENT" /* NoPrintStatement */]: void 0,
2310
2316
  ["NO_OP_OVERHEAD" /* NoOpOverhead */]: void 0,
2311
2317
  ["DO_NOT_RAISE_EXCEPTION" /* DoNotRaiseException */]: void 0,
2312
- ["DECLARE_VARIABLE_EXPLICITLY" /* DeclareVariableExplicitly */]: void 0
2318
+ ["DECLARE_VARIABLE_EXPLICITLY" /* DeclareVariableExplicitly */]: void 0,
2319
+ ["UNNECESSARY_IMPORTS" /* UnnecessaryImports */]: void 0,
2320
+ ["NO_NESTED_TRY" /* NoNestedTry */]: void 0,
2321
+ ["REDOS" /* Redos */]: void 0
2313
2322
  };
2314
2323
 
2315
2324
  // src/features/analysis/scm/shared/src/commitDescriptionMarkup.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
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",