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.3 to 0.7.4

6

hubkit.js

@@ -500,3 +500,5 @@ if (typeof require !== 'undefined') {

if (options.media) req.accept('application/vnd.github.' + options.media);
req.query({per_page: options.perPage}); // eslint-disable-line camelcase
if (options.method === 'GET' || options.method === 'HEAD') {
req.query({per_page: options.perPage}); // eslint-disable-line camelcase
}
if (options.responseType) {

@@ -510,3 +512,3 @@ // eslint-disable-next-line no-invalid-this

// https://bugzilla.mozilla.org/show_bug.cgi?id=428916
if (typeof module === 'undefined') {
if (typeof module === 'undefined' && (options.method === 'GET' || options.method === 'HEAD')) {
req.query({'_nocache': Math.round(Math.random() * 1000000)});

@@ -513,0 +515,0 @@ }

{
"name": "hubkit",
"version": "0.7.3",
"version": "0.7.4",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc