Skip to content

Commit 5a9f640

Browse files
authored
Merge pull request #4485 from github/nickrolfe/fix-octokit-retrycount-types
Bump @octokit/plugin-throttling, plus fixes
2 parents 762440b + d3b601e commit 5a9f640

5 files changed

Lines changed: 21 additions & 133 deletions

File tree

extensions/ql-vscode/package-lock.json

Lines changed: 12 additions & 132 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@
20712071
"@floating-ui/react": "^0.27.19",
20722072
"@hpcc-js/wasm-graphviz": "^1.22.0",
20732073
"@octokit/plugin-retry": "^8.1.0",
2074-
"@octokit/plugin-throttling": "^9.6.0",
2074+
"@octokit/plugin-throttling": "^11.0.3",
20752075
"@octokit/rest": "^22.0.1",
20762076
"@vscode-elements/react-elements": "^2.4.0",
20772077
"@vscode/codicons": "^0.0.44",

extensions/ql-vscode/test/unit-tests/variant-analysis/custom-errors.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ function mockRequestError(status: number, body: any): RequestError {
156156
"Content-Type": "application/json",
157157
},
158158
data: body,
159+
retryCount: 0,
159160
},
160161
},
161162
);

extensions/ql-vscode/test/vscode-tests/activated-extension/variant-analysis/variant-analysis-monitor.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ describe("Variant Analysis Monitor", () => {
325325
headers: {},
326326
url: "",
327327
data: {},
328+
retryCount: 0,
328329
},
329330
}),
330331
);

extensions/ql-vscode/test/vscode-tests/no-workspace/databases/github-databases/api.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ describe("listDatabases", () => {
119119
headers: {},
120120
url: "",
121121
data: {},
122+
retryCount: 0,
122123
},
123124
}),
124125
);
@@ -145,6 +146,7 @@ describe("listDatabases", () => {
145146
headers: {},
146147
url: "",
147148
data: {},
149+
retryCount: 0,
148150
},
149151
}),
150152
);
@@ -193,6 +195,7 @@ describe("listDatabases", () => {
193195
headers: {},
194196
url: "",
195197
data: {},
198+
retryCount: 0,
196199
},
197200
}),
198201
);
@@ -226,6 +229,7 @@ describe("listDatabases", () => {
226229
headers: {},
227230
url: "",
228231
data: {},
232+
retryCount: 0,
229233
},
230234
}),
231235
);
@@ -262,6 +266,7 @@ describe("listDatabases", () => {
262266
headers: {},
263267
url: "",
264268
data: {},
269+
retryCount: 0,
265270
},
266271
}),
267272
);
@@ -288,6 +293,7 @@ describe("listDatabases", () => {
288293
headers: {},
289294
url: "",
290295
data: {},
296+
retryCount: 0,
291297
},
292298
}),
293299
);

0 commit comments

Comments
 (0)