mobbdev 1.0.38 → 1.0.40

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 +5 -1
  2. package/package.json +14 -14
package/dist/index.mjs CHANGED
@@ -846,7 +846,8 @@ var FixPageFixReportZ = z3.object({
846
846
  name: z3.string().nullable(),
847
847
  originalUrl: z3.string(),
848
848
  reference: z3.string(),
849
- commitSha: z3.string()
849
+ commitSha: z3.string(),
850
+ isKnownBranch: z3.boolean().nullable()
850
851
  }),
851
852
  vulnerabilityReport: z3.object({
852
853
  vendor: z3.nativeEnum(Vulnerability_Report_Vendor_Enum),
@@ -6443,6 +6444,9 @@ function getOctoKit(options) {
6443
6444
  ...options,
6444
6445
  auth: token,
6445
6446
  baseUrl,
6447
+ //GITHUB_API_TOKEN is only defined in the backend and not when running Bugsy as CLI. We want to enable these debug logs in the backend
6448
+ //to debug the performance of these API calls.
6449
+ log: GITHUB_API_TOKEN ? console : void 0,
6446
6450
  request: {
6447
6451
  fetch: getFetch(baseUrl)
6448
6452
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
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",
@@ -47,7 +47,7 @@
47
47
  "debug": "4.4.0",
48
48
  "dotenv": "16.4.7",
49
49
  "extract-zip": "2.0.1",
50
- "globby": "14.0.2",
50
+ "globby": "14.1.0",
51
51
  "graphql": "16.10.0",
52
52
  "graphql-request": "6.1.0",
53
53
  "graphql-tag": "2.12.6",
@@ -61,24 +61,24 @@
61
61
  "octokit": "3.2.1",
62
62
  "open": "8.4.2",
63
63
  "parse-diff": "0.11.1",
64
- "semver": "7.6.3",
64
+ "semver": "7.7.1",
65
65
  "simple-git": "3.27.0",
66
- "snyk": "1.1295.2",
66
+ "snyk": "1.1295.3",
67
67
  "supports-color": "10.0.0",
68
68
  "tar": "6.2.1",
69
69
  "tmp": "0.2.3",
70
70
  "undici": "6.21.1",
71
- "uuid": "11.0.5",
71
+ "uuid": "11.1.0",
72
72
  "ws": "8.18.0",
73
73
  "yargs": "17.7.2",
74
- "zod": "3.24.1"
74
+ "zod": "3.24.2"
75
75
  },
76
76
  "devDependencies": {
77
- "@graphql-codegen/cli": "5.0.3",
78
- "@graphql-codegen/typescript": "4.1.2",
77
+ "@graphql-codegen/cli": "5.0.5",
78
+ "@graphql-codegen/typescript": "4.1.4",
79
79
  "@graphql-codegen/typescript-graphql-request": "6.2.0",
80
- "@graphql-codegen/typescript-operations": "4.4.0",
81
- "@octokit/types": "13.7.0",
80
+ "@graphql-codegen/typescript-operations": "4.5.0",
81
+ "@octokit/types": "13.8.0",
82
82
  "@types/adm-zip": "0.5.7",
83
83
  "@types/chalk-animation": "1.6.3",
84
84
  "@types/configstore": "6.0.2",
@@ -92,16 +92,16 @@
92
92
  "@types/yargs": "17.0.33",
93
93
  "@typescript-eslint/eslint-plugin": "7.17.0",
94
94
  "@typescript-eslint/parser": "7.17.0",
95
- "@vitest/coverage-istanbul": "3.0.4",
96
- "@vitest/ui": "3.0.4",
95
+ "@vitest/coverage-istanbul": "3.0.6",
96
+ "@vitest/ui": "3.0.6",
97
97
  "eslint": "8.57.0",
98
98
  "eslint-plugin-import": "2.31.0",
99
99
  "eslint-plugin-prettier": "5.2.3",
100
100
  "eslint-plugin-simple-import-sort": "10.0.0",
101
- "prettier": "3.4.2",
101
+ "prettier": "3.5.1",
102
102
  "tsup": "7.2.0",
103
103
  "typescript": "4.9.5",
104
- "vitest": "3.0.4"
104
+ "vitest": "3.0.6"
105
105
  },
106
106
  "engines": {
107
107
  "node": ">=18.20.4"