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 2.0.1 to 2.0.2

24

lib/github-wrapper.js

@@ -174,8 +174,18 @@ 'use strict';

reviewPullRequest(owner, repo, number, commitId, event) {
listPullRequestReviews(owner, repo, number) {
var _this9 = this;
return _asyncToGenerator(function* () {
const options = _this9._octokit.pulls.listReviews.endpoint.merge({ owner, repo, pull_number: number });
return _this9._octokit.paginate(options);
})();
}
reviewPullRequest(owner, repo, number, commitId, event) {
var _this10 = this;
return _asyncToGenerator(function* () {
try {
yield _this9._octokit.pulls.createReview({
yield _this10._octokit.pulls.createReview({
owner,

@@ -194,7 +204,7 @@ repo,

requestPullRequestReview(owner, repo, number, reviewers) {
var _this10 = this;
var _this11 = this;
return _asyncToGenerator(function* () {
try {
yield _this10.octokit.pulls.createReviewRequest({
yield _this11.octokit.pulls.createReviewRequest({
owner,

@@ -212,8 +222,8 @@ repo,

getPullRequestComments(owner, repo, number) {
var _this11 = this;
var _this12 = this;
return _asyncToGenerator(function* () {
const options = _this11._octokit.issues.listComments.endpoint.merge({ owner, repo, issue_number: number });
const options = _this12._octokit.issues.listComments.endpoint.merge({ owner, repo, issue_number: number });
const comments = yield _this11._octokit.paginate(options);
const comments = yield _this12._octokit.paginate(options);

@@ -220,0 +230,0 @@ return comments;

{
"name": "@dog-ai/github-wrapper",
"description": "A GitHub wrapper library",
"version": "2.0.1",
"version": "2.0.2",
"engines": {

@@ -41,3 +41,3 @@ "node": ">= 6.0.0"

"semantic-release": "15.13.12",
"snyk": "1.169.0"
"snyk": "1.170.0"
},

@@ -44,0 +44,0 @@ "config": {

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