mobbdev 0.0.80 → 0.0.81

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 +4 -3
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -1426,7 +1426,7 @@ async function createPr({
1426
1426
  const { data: repository } = await oktoKit.rest.repos.get({ owner, repo });
1427
1427
  const defaultBranch = repository.default_branch;
1428
1428
  const newBranchName = `mobb/workflow-${Date.now()}`;
1429
- oktoKit.rest.git.createRef({
1429
+ await oktoKit.rest.git.createRef({
1430
1430
  owner,
1431
1431
  repo,
1432
1432
  ref: `refs/heads/${newBranchName}`,
@@ -1492,9 +1492,10 @@ async function createPr({
1492
1492
  owner,
1493
1493
  repo,
1494
1494
  title,
1495
- body,
1496
1495
  head: newBranchName,
1497
- base: "main"
1496
+ head_repo: sourceRepo,
1497
+ body,
1498
+ base: defaultBranch
1498
1499
  });
1499
1500
  return {
1500
1501
  pull_request_url: createPRResponse.data.html_url
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "https://github.com/mobb-dev/bugsy",
6
6
  "main": "dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "chalk-animation": "2.0.3",
38
38
  "configstore": "6.0.0",
39
39
  "debug": "4.3.4",
40
- "dotenv": "16.0.3",
40
+ "dotenv": "16.4.1",
41
41
  "extract-zip": "2.0.1",
42
42
  "globby": "13.2.2",
43
43
  "graphql": "16.8.1",
@@ -53,7 +53,7 @@
53
53
  "open": "8.4.2",
54
54
  "parse-diff": "0.11.1",
55
55
  "semver": "7.5.4",
56
- "simple-git": "3.19.1",
56
+ "simple-git": "3.22.0",
57
57
  "snyk": "1.1118.0",
58
58
  "supports-color": "9.4.0",
59
59
  "tar": "6.2.0",
@@ -80,11 +80,11 @@
80
80
  "@types/yargs": "17.0.24",
81
81
  "@typescript-eslint/eslint-plugin": "5.44.0",
82
82
  "@typescript-eslint/parser": "5.44.0",
83
- "eslint": "8.36.0",
83
+ "eslint": "8.56.0",
84
84
  "eslint-plugin-import": "2.27.5",
85
85
  "eslint-plugin-prettier": "4.2.1",
86
86
  "eslint-plugin-simple-import-sort": "10.0.0",
87
- "prettier": "2.8.4",
87
+ "prettier": "2.8.8",
88
88
  "tsup": "7.2.0",
89
89
  "typescript": "4.9.5",
90
90
  "vitest": "0.34.6"