Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

octokit

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

octokit - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

13

dist-node/index.js

@@ -13,3 +13,3 @@ 'use strict';

const VERSION = "2.0.9";
const VERSION = "2.0.10";

@@ -22,7 +22,6 @@ const Octokit = core.Octokit.plugin(pluginRestEndpointMethods.restEndpointMethods, pluginPaginateRest.paginateRest, pluginRetry.retry, pluginThrottling.throttling).defaults({

}
}); // istanbul ignore next no need to test internals of the throttle plugin
});
// istanbul ignore next no need to test internals of the throttle plugin
function onRateLimit(retryAfter, options, octokit) {
octokit.log.warn(`Request quota exhausted for request ${options.method} ${options.url}`);
if (options.request.retryCount === 0) {

@@ -33,8 +32,6 @@ // only retries once

}
} // istanbul ignore next no need to test internals of the throttle plugin
}
// istanbul ignore next no need to test internals of the throttle plugin
function onSecondaryRateLimit(retryAfter, options, octokit) {
octokit.log.warn(`SecondaryRateLimit detected for request ${options.method} ${options.url}`);
if (options.request.retryCount === 0) {

@@ -41,0 +38,0 @@ // only retries once

@@ -1,1 +0,1 @@

export const VERSION = "2.0.9";
export const VERSION = "2.0.10";

@@ -1,1 +0,1 @@

export declare const VERSION = "2.0.9";
export declare const VERSION = "2.0.10";

@@ -10,3 +10,3 @@ import { Octokit as Octokit$1 } from '@octokit/core';

const VERSION = "2.0.9";
const VERSION = "2.0.10";

@@ -13,0 +13,0 @@ const Octokit = Octokit$1.plugin(restEndpointMethods, paginateRest, retry, throttling).defaults({

{
"name": "octokit",
"description": "The all-batteries-included GitHub SDK for Browsers, Node.js, and Deno",
"version": "2.0.9",
"version": "2.0.10",
"license": "MIT",

@@ -29,3 +29,3 @@ "files": [

"@octokit/plugin-rest-endpoint-methods": "^6.0.0",
"@octokit/plugin-retry": "^3.0.9",
"@octokit/plugin-retry": "^4.0.3",
"@octokit/plugin-throttling": "^4.0.1",

@@ -41,3 +41,3 @@ "@octokit/types": "^8.0.0"

"@types/jest": "^29.0.0",
"@types/node": "^17.0.44",
"@types/node": "^18.0.0",
"@types/node-fetch": "^2.5.10",

@@ -44,0 +44,0 @@ "fetch-mock": "^9.11.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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