Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dog-ai/github-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dog-ai/github-wrapper - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

37

lib/github-wrapper.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc