Socket
Socket
Sign inDemoInstall

githulk

Package Overview
Dependencies
69
Maintainers
5
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

18

endpoints/organizations.js

@@ -38,2 +38,20 @@ 'use strict';

/**
* List all organizations for the authenticated user.
*
* @param {Object} options Optional options.
* @param {function} fn The callback.
* @returns {Assign}
* @api public
*/
Organization.prototype.list = function list(args) {
args = this.api.args(arguments);
return this.send(
['user', 'orgs'],
this.api.options(args.options || {}),
args.fn
);
};
/**
* Get public member information for a given org.

@@ -40,0 +58,0 @@ *

6

index.js

@@ -201,5 +201,5 @@ 'use strict';

//
// We've reached the end of the of the iternation, also bail out.
// We've reached the end of the of the iteration, also bail out.
//
if (!link.next) return assign.end();
if (!link.next || !link.next.query) return assign.end();

@@ -225,3 +225,3 @@ //

//
if (link.next.query.page === link.last.query.page) {
if (!link.last || link.next.query.page === link.last.query.page) {
delete oargs.options.next;

@@ -228,0 +228,0 @@ }

{
"name": "githulk",
"version": "0.2.0",
"version": "0.2.1",
"description": "Small but powerful Github client",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc