mobbdev 0.0.104 → 0.0.105

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 +2 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1099,7 +1099,7 @@ var GQLClient = class {
1099
1099
  // src/features/analysis/handle_finished_analysis.ts
1100
1100
  import { Octokit as Octokit3 } from "@octokit/core";
1101
1101
  import Debug5 from "debug";
1102
- import parseDiff2 from "parse-diff";
1102
+ import parseDiff from "parse-diff";
1103
1103
  import { z as z10 } from "zod";
1104
1104
 
1105
1105
  // src/features/analysis/scm/ado.ts
@@ -2015,7 +2015,6 @@ initGitlabFetchMock();
2015
2015
  // src/features/analysis/scm/scmSubmit/index.ts
2016
2016
  import fs from "node:fs/promises";
2017
2017
  import os from "os";
2018
- import parseDiff from "parse-diff";
2019
2018
  import path3 from "path";
2020
2019
  import { simpleGit as simpleGit2 } from "simple-git";
2021
2020
  import tmp from "tmp";
@@ -3783,7 +3782,7 @@ function scannerToFriendlyString(scanner) {
3783
3782
  }
3784
3783
  async function getRelevantVulenrabilitiesFromDiff(params) {
3785
3784
  const { gqlClient, diff, vulnerabilityReportId } = params;
3786
- const parsedDiff = parseDiff2(diff);
3785
+ const parsedDiff = parseDiff(diff);
3787
3786
  const fileHunks = parsedDiff.map((file) => {
3788
3787
  const fileNumbers = file.chunks.flatMap((chunk) => chunk.changes).filter((change) => change.type === "add").map((_change) => {
3789
3788
  const change = _change;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "0.0.104",
3
+ "version": "0.0.105",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "https://github.com/mobb-dev/bugsy",
6
6
  "main": "dist/index.js",