Socket
Socket
Sign inDemoInstall

hubkit

Package Overview
Dependencies
41
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.2 to 0.7.3

7

hubkit.js

@@ -349,3 +349,6 @@ if (typeof require !== 'undefined') {

}
} else if (res.body && (Array.isArray(res.body) || Array.isArray(res.body.items))) {
} else if (res.body && (
Array.isArray(res.body) || Array.isArray(res.body.items) ||
Array.isArray(res.body.statuses)
)) {
if (!result) {

@@ -357,2 +360,4 @@ result = res.body;

result.items = result.items.concat(res.body.items);
} else if (Array.isArray(res.body.statuses) && Array.isArray(result.statuses)) {
result.statuses = result.statuses.concat(res.body.statuses);
} else {

@@ -359,0 +364,0 @@ throw new Error(formatError('Hubkit', 'unable to concatenate paged results'));

2

package.json
{
"name": "hubkit",
"version": "0.7.2",
"version": "0.7.3",
"description": "GitHub API library for JavaScript, promise-based, for both NodeJS and the browser",

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