@dog-ai/github-wrapper
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -67,3 +67,3 @@ 'use strict'; | ||
const mergedPull = yield mergeGreenkeeperPullRequest(owner, repo, pull); | ||
const mergedPull = yield mergeGreenkeeperPullRequest.bind(this)(owner, repo, pull); | ||
@@ -130,6 +130,6 @@ if (mergedPull) { | ||
const data = _ref3.data; | ||
const login = _ref3.data.login; | ||
return data; | ||
return login; | ||
})(); | ||
@@ -225,10 +225,10 @@ } | ||
mergeUserGreenkeeperPullRequests() { | ||
mergeGreenkeeperPullRequests(org) { | ||
var _this7 = this; | ||
return _asyncToGenerator(function* () { | ||
const login = yield _this7.getUser(); | ||
const repos = yield _this7.getUserRepos(); | ||
const repos = !org ? yield _this7.getUserRepos() : yield _this7.getOrgRepos(org); | ||
const owner = !org ? yield _this7.getUser() : org; | ||
var _ref5 = yield mergeGreenkeeperPullRequests.bind(_this7)(login, repos); | ||
var _ref5 = yield mergeGreenkeeperPullRequests.bind(_this7)(owner, repos); | ||
@@ -240,3 +240,3 @@ const openedPulls = _ref5.openedPulls, | ||
return { | ||
login, | ||
owner, | ||
availableRepos: repos.length, | ||
@@ -248,25 +248,4 @@ openedPulls, | ||
} | ||
mergeOrgGreenkeeperPullRequests(org) { | ||
var _this8 = this; | ||
return _asyncToGenerator(function* () { | ||
const repos = yield _this8.getOrgRepos(org); | ||
var _ref6 = yield mergeGreenkeeperPullRequests.bind(_this8)(org, repos); | ||
const openedPulls = _ref6.openedPulls, | ||
mergedPulls = _ref6.mergedPulls; | ||
return { | ||
org, | ||
availableRepos: repos.length, | ||
openedPulls, | ||
mergedPulls | ||
}; | ||
})(); | ||
} | ||
} | ||
module.exports = GitHubWrapper; |
{ | ||
"name": "@dog-ai/github-wrapper", | ||
"description": "A GitHub wrapper library", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"engines": { | ||
@@ -6,0 +6,0 @@ "node": ">= 6.0.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
11973
191