Bump @octokit/plugin-retry from 5.0.4 to 5.0.5 (#610)

This commit is contained in:
MaksimZhukov
2023-07-10 13:01:42 +02:00
committed by GitHub
parent 7542ec79bb
commit ac9175f8a1
4 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
---
name: "@octokit/plugin-retry"
version: 5.0.4
version: 5.0.5
type: npm
summary: Automatic retry plugin for octokit
homepage:

4
dist/index.js vendored
View File

@@ -4476,13 +4476,13 @@ async function requestWithGraphqlErrorHandling(state, octokit, request, options)
}
// pkg/dist-src/index.js
var VERSION = "5.0.4";
var VERSION = "5.0.5";
function retry(octokit, octokitOptions) {
const state = Object.assign(
{
enabled: true,
retryAfterBaseValue: 1e3,
doNotRetry: [400, 401, 403, 404, 422],
doNotRetry: [400, 401, 403, 404, 422, 451],
retries: 3
},
octokitOptions.retry

14
package-lock.json generated
View File

@@ -11,7 +11,7 @@
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"@octokit/plugin-retry": "^5.0.4",
"@octokit/plugin-retry": "^5.0.5",
"jest-each": "^29.6.1",
"js-yaml": "^4.1.0",
"minimatch": "^7.4.3"
@@ -1246,9 +1246,9 @@
}
},
"node_modules/@octokit/plugin-retry": {
"version": "5.0.4",
"resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-5.0.4.tgz",
"integrity": "sha512-hw00fDIhOgijy4aSxS6weWF5uqZVeoiC/AptLLyjL8KFCJRGRaXfcfgj76h/Z3cSLTjRsEIQnNCTig8INttL/g==",
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-5.0.5.tgz",
"integrity": "sha512-sB1RWMhSrre02Atv95K6bhESlJ/sPdZkK/wE/w1IdSCe0yM6FxSjksLa6T7aAvxvxlLKzQEC4KIiqpqyov1Tbg==",
"dependencies": {
"@octokit/request-error": "^4.0.1",
"@octokit/types": "^10.0.0",
@@ -6977,9 +6977,9 @@
}
},
"@octokit/plugin-retry": {
"version": "5.0.4",
"resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-5.0.4.tgz",
"integrity": "sha512-hw00fDIhOgijy4aSxS6weWF5uqZVeoiC/AptLLyjL8KFCJRGRaXfcfgj76h/Z3cSLTjRsEIQnNCTig8INttL/g==",
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-5.0.5.tgz",
"integrity": "sha512-sB1RWMhSrre02Atv95K6bhESlJ/sPdZkK/wE/w1IdSCe0yM6FxSjksLa6T7aAvxvxlLKzQEC4KIiqpqyov1Tbg==",
"requires": {
"@octokit/request-error": "^4.0.1",
"@octokit/types": "^10.0.0",

View File

@@ -26,7 +26,7 @@
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"@octokit/plugin-retry": "^5.0.4",
"@octokit/plugin-retry": "^5.0.5",
"jest-each": "^29.6.1",
"js-yaml": "^4.1.0",
"minimatch": "^7.4.3"