Fix dependabot errors

I explicitly had to downgrade "@octokit/plugin-retry" to "^6.0.0". Other
dependencies were upgraded.
This commit is contained in:
Andrew Eisenberg 2025-03-14 13:13:56 -07:00
parent f338ec87a3
commit 5f98c40063
1536 changed files with 52911 additions and 424849 deletions

View file

@ -34,7 +34,7 @@ async function wrapRequest(state, octokit, request, options) {
}
async function requestWithGraphqlErrorHandling(state, octokit, request, options) {
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
)) {
const error = new RequestError(response.data.errors[0].message, 500, {
@ -47,7 +47,7 @@ async function requestWithGraphqlErrorHandling(state, octokit, request, options)
}
// pkg/dist-src/index.js
var VERSION = "5.0.5";
var VERSION = "6.1.0";
function retry(octokit, octokitOptions) {
const state = Object.assign(
{