mobbdev 0.0.134 → 0.0.138
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.
- package/README.md +3 -3
- package/dist/index.mjs +10 -11
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Bugsy
|
|
2
2
|
|
|
3
|
-
Bugsy is a command-line interface (CLI) tool that provides automatic security vulnerability remediation for your code. It is the community edition version of [Mobb](https://
|
|
3
|
+
Bugsy is a command-line interface (CLI) tool that provides automatic security vulnerability remediation for your code. It is the community edition version of [Mobb](https://mobb.ai), the first vendor-agnostic automated security vulnerability remediation tool. Bugsy is designed to help developers quickly identify and fix security vulnerabilities in their code.
|
|
4
4
|
|
|
5
5
|
<img width="1888" alt="Bugsy" src="./img/bugsy2.png">
|
|
6
6
|
|
|
7
|
-
## What is [Mobb](https://
|
|
7
|
+
## What is [Mobb](https://mobb.ai)?
|
|
8
8
|
|
|
9
|
-
[Mobb](https://
|
|
9
|
+
[Mobb](https://mobb.ai) is the first vendor-agnostic automatic security vulnerability remediation tool. It ingests SAST results from Checkmarx, CodeQL (GitHub Advanced Security), OpenText Fortify, and Snyk and produces code fixes for developers to review and commit to their code.
|
|
10
10
|
|
|
11
11
|
## What does Bugsy do?
|
|
12
12
|
|
package/dist/index.mjs
CHANGED
|
@@ -1037,15 +1037,14 @@ async function getAdoRepoDefaultBranch({
|
|
|
1037
1037
|
orgName: owner
|
|
1038
1038
|
});
|
|
1039
1039
|
const git = await api2.getGitApi();
|
|
1040
|
-
const
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
if (!res || !res.name) {
|
|
1040
|
+
const getRepositoryRes = await git.getRepository(
|
|
1041
|
+
decodeURI(repo),
|
|
1042
|
+
projectName ? decodeURI(projectName) : void 0
|
|
1043
|
+
);
|
|
1044
|
+
if (!getRepositoryRes?.defaultBranch) {
|
|
1046
1045
|
throw new InvalidRepoUrlError("no default branch");
|
|
1047
1046
|
}
|
|
1048
|
-
return
|
|
1047
|
+
return getRepositoryRes.defaultBranch.replace("refs/heads/", "");
|
|
1049
1048
|
}
|
|
1050
1049
|
async function getAdoReferenceData({
|
|
1051
1050
|
ref,
|
|
@@ -1148,9 +1147,9 @@ function parseAdoOwnerAndRepo(adoUrl) {
|
|
|
1148
1147
|
}
|
|
1149
1148
|
const { organization, repoName, projectName, projectPath, pathElements } = parsingResult;
|
|
1150
1149
|
return {
|
|
1151
|
-
owner: organization,
|
|
1152
|
-
repo: repoName,
|
|
1153
|
-
projectName,
|
|
1150
|
+
owner: decodeURI(organization),
|
|
1151
|
+
repo: decodeURI(repoName),
|
|
1152
|
+
projectName: projectName ? decodeURI(projectName) : void 0,
|
|
1154
1153
|
projectPath,
|
|
1155
1154
|
pathElements
|
|
1156
1155
|
};
|
|
@@ -3782,7 +3781,7 @@ function getFromArraySafe(array) {
|
|
|
3782
3781
|
}
|
|
3783
3782
|
|
|
3784
3783
|
// src/features/analysis/add_fix_comments_for_pr/constants.ts
|
|
3785
|
-
var contactUsMarkdown = `For specific requests [contact us](https://mobb.ai/contact) and we'll do the most to answer your need quickly.`;
|
|
3784
|
+
var contactUsMarkdown = `For specific requests [contact us](https://content.mobb.ai/contact) and we'll do the most to answer your need quickly.`;
|
|
3786
3785
|
var MobbIconMarkdown = ``;
|
|
3787
3786
|
var noVulnerabilitiesFoundTitle = `# ${MobbIconMarkdown} No security issues were found \u2705`;
|
|
3788
3787
|
var COMMIT_FIX_SVG = `https://app.mobb.ai/gh-action/commit-button.svg`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mobbdev",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.138",
|
|
4
4
|
"description": "Automated secure code remediation tool",
|
|
5
5
|
"repository": "https://github.com/mobb-dev/bugsy",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"chalk": "5.3.0",
|
|
40
40
|
"chalk-animation": "2.0.3",
|
|
41
41
|
"configstore": "6.0.0",
|
|
42
|
-
"debug": "4.3.
|
|
42
|
+
"debug": "4.3.6",
|
|
43
43
|
"dotenv": "16.4.5",
|
|
44
44
|
"extract-zip": "2.0.1",
|
|
45
45
|
"globby": "13.2.2",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"supports-color": "9.4.0",
|
|
63
63
|
"tar": "6.2.1",
|
|
64
64
|
"tmp": "0.2.3",
|
|
65
|
-
"undici": "6.19.
|
|
65
|
+
"undici": "6.19.4",
|
|
66
66
|
"uuid": "10.0.0",
|
|
67
67
|
"ws": "8.18.0",
|
|
68
68
|
"yargs": "17.7.2",
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
"@types/uuid": "10.0.0",
|
|
87
87
|
"@types/ws": "8.5.11",
|
|
88
88
|
"@types/yargs": "17.0.32",
|
|
89
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
90
|
-
"@typescript-eslint/parser": "7.
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
90
|
+
"@typescript-eslint/parser": "7.17.0",
|
|
91
91
|
"eslint": "8.57.0",
|
|
92
92
|
"eslint-plugin-import": "2.29.1",
|
|
93
|
-
"eslint-plugin-prettier": "5.1
|
|
93
|
+
"eslint-plugin-prettier": "5.2.1",
|
|
94
94
|
"eslint-plugin-simple-import-sort": "10.0.0",
|
|
95
95
|
"prettier": "3.3.3",
|
|
96
96
|
"tsup": "7.2.0",
|