mobbdev 1.0.119 → 1.0.120

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 +9 -7
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -7560,13 +7560,15 @@ function getGithubSdk(params = {}) {
7560
7560
  if (!res?.repository?.object?.blame?.ranges) {
7561
7561
  return [];
7562
7562
  }
7563
- return res.repository.object.blame.ranges.map((range) => ({
7564
- startingLine: range.startingLine,
7565
- endingLine: range.endingLine,
7566
- email: range.commit.author.user?.email || "",
7567
- name: range.commit.author.user?.name || "",
7568
- login: range.commit.author.user?.login || ""
7569
- }));
7563
+ return res.repository.object.blame.ranges.map(
7564
+ (range) => ({
7565
+ startingLine: range.startingLine,
7566
+ endingLine: range.endingLine,
7567
+ email: range.commit.author.user?.email || "",
7568
+ name: range.commit.author.user?.name || "",
7569
+ login: range.commit.author.user?.login || ""
7570
+ })
7571
+ );
7570
7572
  },
7571
7573
  // todo: refactor the name for this function
7572
7574
  async createPr(params2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.0.119",
3
+ "version": "1.0.120",
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",