@octokit/plugin-retry
Advanced tools
Comparing version
@@ -72,3 +72,3 @@ "use strict"; | ||
const response = await request(request, options); | ||
if (response.data && response.data.errors && /Something went wrong while executing your query/.test( | ||
if (response.data && response.data.errors && response.data.errors.length > 0 && /Something went wrong while executing your query/.test( | ||
response.data.errors[0].message | ||
@@ -86,3 +86,3 @@ )) { | ||
// pkg/dist-src/index.js | ||
var VERSION = "6.0.1"; | ||
var VERSION = "6.1.0"; | ||
function retry(octokit, octokitOptions) { | ||
@@ -89,0 +89,0 @@ const state = Object.assign( |
@@ -1,4 +0,4 @@ | ||
const VERSION = "6.0.1"; | ||
const VERSION = "6.1.0"; | ||
export { | ||
VERSION | ||
}; |
@@ -21,3 +21,3 @@ import Bottleneck from "bottleneck/light"; | ||
const response = await request(request, options); | ||
if (response.data && response.data.errors && /Something went wrong while executing your query/.test( | ||
if (response.data && response.data.errors && response.data.errors.length > 0 && /Something went wrong while executing your query/.test( | ||
response.data.errors[0].message | ||
@@ -24,0 +24,0 @@ )) { |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "6.0.1"; | ||
export declare const VERSION = "6.1.0"; |
@@ -37,3 +37,3 @@ // pkg/dist-src/index.js | ||
const response = await request(request, options); | ||
if (response.data && response.data.errors && /Something went wrong while executing your query/.test( | ||
if (response.data && response.data.errors && response.data.errors.length > 0 && /Something went wrong while executing your query/.test( | ||
response.data.errors[0].message | ||
@@ -51,3 +51,3 @@ )) { | ||
// pkg/dist-src/index.js | ||
var VERSION = "6.0.1"; | ||
var VERSION = "6.1.0"; | ||
function retry(octokit, octokitOptions) { | ||
@@ -54,0 +54,0 @@ const state = Object.assign( |
{ | ||
"name": "@octokit/plugin-retry", | ||
"version": "6.0.1", | ||
"version": "6.1.0", | ||
"publishConfig": { | ||
"access": "public" | ||
"access": "public", | ||
"provenance": true | ||
}, | ||
@@ -12,3 +13,3 @@ "description": "Automatic retry plugin for octokit", | ||
"dependencies": { | ||
"@octokit/types": "^12.0.0", | ||
"@octokit/types": "^13.0.0", | ||
"@octokit/request-error": "^5.0.0", | ||
@@ -18,3 +19,3 @@ "bottleneck": "^2.15.3" | ||
"peerDependencies": { | ||
"@octokit/core": ">=5" | ||
"@octokit/core": "5" | ||
}, | ||
@@ -21,0 +22,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23977
1.04%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated