Comparing version 2.0.9 to 2.0.10
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
230
53377
+ Added@octokit/plugin-retry@4.1.6(transitive)
- Removed@octokit/openapi-types@12.11.0(transitive)
- Removed@octokit/plugin-retry@3.0.9(transitive)
- Removed@octokit/types@6.41.0(transitive)
Updated@octokit/plugin-retry@^4.0.3