New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github4

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github4 - npm Package Compare versions

Comparing version 0.2.16 to 0.2.17

2

package.json
{
"name": "github4",
"version": "0.2.16",
"version": "0.2.17",
"description": "NodeJS wrapper for the GitHub API",

@@ -5,0 +5,0 @@ "author": "Mike de Boer <info@mikedeboer.nl>",

@@ -32,3 +32,4 @@ /*

org: "String",
user: "String"
user: "String",
role: "String"
},

@@ -43,4 +44,4 @@ function(err, res) {

it("should successfully execute PUT /teams/:id/members/:user (addTeamMember)", function(next) {
client.orgs.addTeamMember(
it("should successfully execute PUT /teams/:id/memberships/:user (addTeamMembership)", function(next) {
client.orgs.addTeamMembership(
{

@@ -58,6 +59,21 @@ id: "String",

it("should successfully execute PUT /teams/:id/memberships/:user (addTeamMembership)", function(next) {
client.orgs.addTeamMembership(
it("should successfully execute PUT /teams/:id/repos/:user/:repo (addTeamRepo)", function(next) {
client.orgs.addTeamRepo(
{
id: "String",
user: "String",
repo: "String"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /orgs/:org/members/:user (checkMembership)", function(next) {
client.orgs.checkMembership(
{
org: "String",
user: "String"

@@ -73,5 +89,19 @@ },

it("should successfully execute PUT /teams/:id/repos/:user/:repo (addTeamRepo)", function(next) {
client.orgs.addTeamRepo(
it("should successfully execute GET /orgs/:org/public_members/:user (checkPublicMembership)", function(next) {
client.orgs.checkPublicMembership(
{
org: "String",
user: "String"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /teams/:id/repos/:user/:repo (checkTeamRepo)", function(next) {
client.orgs.checkTeamRepo(
{
id: "String",

@@ -103,2 +133,19 @@ user: "String",

it("should successfully execute POST /orgs/:org/hooks (createHook)", function(next) {
client.orgs.createHook(
{
org: "String",
name: "String",
config: "Json",
events: "Array",
active: "Boolean"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute POST /orgs/:org/teams (createTeam)", function(next) {

@@ -109,4 +156,4 @@ client.orgs.createTeam(

name: "String",
repo_names: "Array",
permission: "String"
description: "String",
repo_names: "Array"
},

@@ -121,5 +168,6 @@ function(err, res) {

it("should successfully execute DELETE /teams/:id (deleteTeam)", function(next) {
client.orgs.deleteTeam(
it("should successfully execute DELETE /orgs/:org/hooks/:id (deleteHook)", function(next) {
client.orgs.deleteHook(
{
org: "String",
id: "String"

@@ -135,7 +183,6 @@ },

it("should successfully execute DELETE /teams/:id/members/:user (deleteTeamMember)", function(next) {
client.orgs.deleteTeamMember(
it("should successfully execute DELETE /teams/:id (deleteTeam)", function(next) {
client.orgs.deleteTeam(
{
id: "String",
user: "String"
id: "String"
},

@@ -165,2 +212,34 @@ function(err, res) {

it("should successfully execute PATCH /orgs/:org/hooks/:id (editHook)", function(next) {
client.orgs.editHook(
{
org: "String",
id: "String",
config: "Json",
events: "Array",
active: "Boolean"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute PATCH /teams/:id (editTeam)", function(next) {
client.orgs.editTeam(
{
id: "String",
name: "String",
description: "String"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /orgs/:org (get)", function(next) {

@@ -181,5 +260,19 @@ client.orgs.get(

it("should successfully execute GET /users/:user/orgs (getFromUser)", function(next) {
client.orgs.getFromUser(
it("should successfully execute GET /organizations (getAll)", function(next) {
client.orgs.getAll(
{
page: "Number",
per_page: "Number"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /users/:user/orgs (getForUser)", function(next) {
client.orgs.getForUser(
{
user: "String",

@@ -197,7 +290,7 @@ page: "Number",

it("should successfully execute GET /orgs/:org/members/:user (getMember)", function(next) {
client.orgs.getMember(
it("should successfully execute GET /orgs/:org/hooks/:id (getHook)", function(next) {
client.orgs.getHook(
{
org: "String",
user: "String"
id: "String"
},

@@ -212,2 +305,17 @@ function(err, res) {

it("should successfully execute GET /orgs/:org/hooks (getHooks)", function(next) {
client.orgs.getHooks(
{
org: "String",
page: "Number",
per_page: "Number"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /orgs/:org/members (getMembers)", function(next) {

@@ -229,4 +337,4 @@ client.orgs.getMembers(

it("should successfully execute GET /orgs/:org/public_members/:user (getPublicMember)", function(next) {
client.orgs.getPublicMember(
it("should successfully execute GET /orgs/:org/memberships/:user (getOrganizationMembership)", function(next) {
client.orgs.getOrganizationMembership(
{

@@ -244,6 +352,6 @@ org: "String",

it("should successfully execute GET /orgs/:org/public_members (getPublicMembers)", function(next) {
client.orgs.getPublicMembers(
it("should successfully execute GET /user/memberships/orgs (getOrganizationMemberships)", function(next) {
client.orgs.getOrganizationMemberships(
{
org: "String"
state: "String"
},

@@ -258,6 +366,6 @@ function(err, res) {

it("should successfully execute GET /teams/:id (getTeam)", function(next) {
client.orgs.getTeam(
it("should successfully execute GET /orgs/:org/public_members (getPublicMembers)", function(next) {
client.orgs.getPublicMembers(
{
id: "String"
org: "String"
},

@@ -272,7 +380,6 @@ function(err, res) {

it("should successfully execute GET /teams/:id/members/:user (getTeamMember)", function(next) {
client.orgs.getTeamMember(
it("should successfully execute GET /teams/:id (getTeam)", function(next) {
client.orgs.getTeam(
{
id: "String",
user: "String"
id: "String"
},

@@ -316,8 +423,8 @@ function(err, res) {

it("should successfully execute GET /teams/:id/repos/:user/:repo (getTeamRepo)", function(next) {
client.orgs.getTeamRepo(
it("should successfully execute GET /teams/:id/repos (getTeamRepos)", function(next) {
client.orgs.getTeamRepos(
{
id: "String",
user: "String",
repo: "String"
page: "Number",
per_page: "Number"
},

@@ -332,6 +439,6 @@ function(err, res) {

it("should successfully execute GET /teams/:id/repos (getTeamRepos)", function(next) {
client.orgs.getTeamRepos(
it("should successfully execute GET /orgs/:org/teams (getTeams)", function(next) {
client.orgs.getTeams(
{
id: "String",
org: "String",
page: "Number",

@@ -348,8 +455,7 @@ per_page: "Number"

it("should successfully execute GET /orgs/:org/teams (getTeams)", function(next) {
client.orgs.getTeams(
it("should successfully execute POST /orgs/:org/hooks/:id/pings (pingHook)", function(next) {
client.orgs.pingHook(
{
org: "String",
page: "Number",
per_page: "Number"
id: "String"
},

@@ -406,11 +512,7 @@ function(err, res) {

it("should successfully execute PATCH /orgs/:org (update)", function(next) {
client.orgs.update(
it("should successfully execute DELETE /teams/:id/memberships/:user (removeTeamMembership)", function(next) {
client.orgs.removeTeamMembership(
{
org: "String",
billing_email: "String",
company: "String",
email: "String",
location: "String",
name: "String"
id: "String",
user: "String"
},

@@ -425,8 +527,12 @@ function(err, res) {

it("should successfully execute PATCH /teams/:id (updateTeam)", function(next) {
client.orgs.updateTeam(
it("should successfully execute PATCH /orgs/:org (update)", function(next) {
client.orgs.update(
{
id: "String",
org: "String",
billing_email: "String",
company: "String",
email: "String",
location: "String",
name: "String",
permission: "String"
description: "String"
},

@@ -433,0 +539,0 @@ function(err, res) {

@@ -256,2 +256,15 @@ /*

it("should successfully execute GET /user/memberships/orgs/:org (getOrganizationMembership)", function(next) {
client.user.getOrganizationMembership(
{
org: "String"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /user/orgs (getOrgs)", function(next) {

@@ -258,0 +271,0 @@ client.user.getOrgs(

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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