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.0 to 2.0.1

16

lib/github-wrapper.js

@@ -9,4 +9,2 @@ 'use strict';

const EventEmitter = require('events');
const _ = require('lodash');

@@ -20,6 +18,4 @@

class GitHubWrapper extends EventEmitter {
class GitHubWrapper {
constructor(options = {}) {
super();
this._options = _.defaultsDeep({}, options, defaultOptions);

@@ -136,4 +132,2 @@

_this6.emit('pulls:create', owner, repo, title, head, base);
return data;

@@ -152,4 +146,2 @@ } catch (error) {

yield _this7._octokit.pulls.update({ owner, repo, pull_number: number, state: 'closed' });
_this7.emit('pulls:close', owner, repo, number);
} catch (error) {

@@ -179,4 +171,2 @@ throw new Error(_.get(error, 'errors[0].message', error.message));

_this8.emit('pulls:merge', owner, repo, number, sha, data, title, message, method);
return data;

@@ -201,4 +191,2 @@ } catch (error) {

});
_this9.emit('pulls:review', owner, repo, number, commitId, event);
} catch (error) {

@@ -221,4 +209,2 @@ throw new Error(_.get(error, 'errors[0].message', error.message));

});
_this10.emit('pulls:review:request', owner, repo, number, reviewers);
} catch (error) {

@@ -225,0 +211,0 @@ throw new Error(_.get(error, 'errors[0].message', error.message));

4

package.json
{
"name": "@dog-ai/github-wrapper",
"description": "A GitHub wrapper library",
"version": "2.0.0",
"version": "2.0.1",
"engines": {

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

"semantic-release": "15.13.12",
"snyk": "1.167.2"
"snyk": "1.169.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