Skip to content

Commit 29824e6

Browse files
build(release): 2.2.1 [skip ci]
## [2.2.1](v2.2.0...v2.2.1) (2025-12-05) ### Bug Fixes * **deps:** bump the production-dependencies group with 2 updates ([#311](#311)) ([b212e6a](b212e6a))
1 parent b212e6a commit 29824e6

File tree

4 files changed

+98
-76
lines changed

4 files changed

+98
-76
lines changed

dist/main.cjs

Lines changed: 48 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -9201,7 +9201,7 @@ var require_readable = __commonJS({
92019201
var kBody = Symbol("kBody");
92029202
var kAbort = Symbol("abort");
92039203
var kContentType = Symbol("kContentType");
9204-
var noop = () => {
9204+
var noop2 = () => {
92059205
};
92069206
module2.exports = class BodyReadable extends Readable {
92079207
constructor({
@@ -9323,15 +9323,15 @@ var require_readable = __commonJS({
93239323
return new Promise((resolve, reject) => {
93249324
const signalListenerCleanup = signal ? util.addAbortListener(signal, () => {
93259325
this.destroy();
9326-
}) : noop;
9326+
}) : noop2;
93279327
this.on("close", function() {
93289328
signalListenerCleanup();
93299329
if (signal && signal.aborted) {
93309330
reject(signal.reason || Object.assign(new Error("The operation was aborted"), { name: "AbortError" }));
93319331
} else {
93329332
resolve(null);
93339333
}
9334-
}).on("error", noop).on("data", function(chunk) {
9334+
}).on("error", noop2).on("data", function(chunk) {
93359335
limit -= chunk.length;
93369336
if (limit <= 0) {
93379337
this.destroy();
@@ -20879,7 +20879,7 @@ var require_util8 = __commonJS({
2087920879
yield* this[kBody];
2088020880
}
2088120881
};
20882-
function noop() {
20882+
function noop2() {
2088320883
}
2088420884
function wrapRequestBody(body) {
2088520885
if (isStream(body)) {
@@ -21290,7 +21290,7 @@ var require_util8 = __commonJS({
2129021290
}
2129121291
var setupConnectTimeout = process.platform === "win32" ? (socketWeakRef, opts) => {
2129221292
if (!opts.timeout) {
21293-
return noop;
21293+
return noop2;
2129421294
}
2129521295
let s1 = null;
2129621296
let s2 = null;
@@ -21306,7 +21306,7 @@ var require_util8 = __commonJS({
2130621306
};
2130721307
} : (socketWeakRef, opts) => {
2130821308
if (!opts.timeout) {
21309-
return noop;
21309+
return noop2;
2131021310
}
2131121311
let s1 = null;
2131221312
const fastTimer = timers.setFastTimeout(() => {
@@ -25556,12 +25556,12 @@ var require_body2 = __commonJS({
2555625556
random = (max) => Math.floor(Math.random() * max);
2555725557
}
2555825558
var textEncoder = new TextEncoder();
25559-
function noop() {
25559+
function noop2() {
2556025560
}
2556125561
var streamRegistry = new FinalizationRegistry((weakRef) => {
2556225562
const stream = weakRef.deref();
2556325563
if (stream && !stream.locked && !isDisturbed(stream) && !isErrored(stream)) {
25564-
stream.cancel("Response object has been garbage collected").catch(noop);
25564+
stream.cancel("Response object has been garbage collected").catch(noop2);
2556525565
}
2556625566
});
2556725567
function extractBody(object, keepalive = false) {
@@ -27650,7 +27650,7 @@ var require_client2 = __commonJS({
2765027650
var getDefaultNodeMaxHeaderSize = http && http.maxHeaderSize && Number.isInteger(http.maxHeaderSize) && http.maxHeaderSize > 0 ? () => http.maxHeaderSize : () => {
2765127651
throw new InvalidArgumentError("http module not available or http.maxHeaderSize invalid");
2765227652
};
27653-
var noop = () => {
27653+
var noop2 = () => {
2765427654
};
2765527655
function getPipelining(client) {
2765627656
return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1;
@@ -27924,15 +27924,15 @@ var require_client2 = __commonJS({
2792427924
return;
2792527925
}
2792627926
if (client.destroyed) {
27927-
util.destroy(socket.on("error", noop), new ClientDestroyedError());
27927+
util.destroy(socket.on("error", noop2), new ClientDestroyedError());
2792827928
client[kResume]();
2792927929
return;
2793027930
}
2793127931
assert(socket);
2793227932
try {
2793327933
client[kHTTPContext] = socket.alpnProtocol === "h2" ? connectH2(client, socket) : connectH1(client, socket);
2793427934
} catch (err2) {
27935-
socket.destroy().on("error", noop);
27935+
socket.destroy().on("error", noop2);
2793627936
handleConnectError(client, err2, { host, hostname, protocol, port });
2793727937
client[kResume]();
2793827938
return;
@@ -28716,7 +28716,7 @@ var require_proxy_agent2 = __commonJS({
2871628716
function defaultFactory(origin, opts) {
2871728717
return new Pool(origin, opts);
2871828718
}
28719-
var noop = () => {
28719+
var noop2 = () => {
2872028720
};
2872128721
function defaultAgentFactory(origin, opts) {
2872228722
if (opts.connections === 1) {
@@ -28833,7 +28833,7 @@ var require_proxy_agent2 = __commonJS({
2883328833
servername: this[kProxyTls]?.servername || proxyHostname
2883428834
});
2883528835
if (statusCode !== 200) {
28836-
socket.on("error", noop).destroy();
28836+
socket.on("error", noop2).destroy();
2883728837
callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`));
2883828838
}
2883928839
if (opts2.protocol !== "https:") {
@@ -29500,7 +29500,7 @@ var require_readable2 = __commonJS({
2950029500
var kContentLength = Symbol("kContentLength");
2950129501
var kUsed = Symbol("kUsed");
2950229502
var kBytesRead = Symbol("kBytesRead");
29503-
var noop = () => {
29503+
var noop2 = () => {
2950429504
};
2950529505
var BodyReadable = class extends Readable {
2950629506
/**
@@ -29725,7 +29725,7 @@ var require_readable2 = __commonJS({
2972529725
} else {
2972629726
this.on("close", resolve);
2972729727
}
29728-
this.on("error", noop).on("data", () => {
29728+
this.on("error", noop2).on("data", () => {
2972929729
if (this[kBytesRead] > limit) {
2973029730
this.destroy();
2973129731
}
@@ -29894,7 +29894,7 @@ var require_api_request2 = __commonJS({
2989429894
var { Readable } = require_readable2();
2989529895
var { InvalidArgumentError, RequestAbortedError } = require_errors2();
2989629896
var util = require_util8();
29897-
function noop() {
29897+
function noop2() {
2989829898
}
2989929899
var RequestHandler = class extends AsyncResource {
2990029900
constructor(opts, callback) {
@@ -29921,7 +29921,7 @@ var require_api_request2 = __commonJS({
2992129921
super("UNDICI_REQUEST");
2992229922
} catch (err) {
2992329923
if (util.isStream(body)) {
29924-
util.destroy(body.on("error", noop), err);
29924+
util.destroy(body.on("error", noop2), err);
2992529925
}
2992629926
throw err;
2992729927
}
@@ -29944,7 +29944,7 @@ var require_api_request2 = __commonJS({
2994429944
this.removeAbortListener = util.addAbortListener(signal, () => {
2994529945
this.reason = signal.reason ?? new RequestAbortedError();
2994629946
if (this.res) {
29947-
util.destroy(this.res.on("error", noop), this.reason);
29947+
util.destroy(this.res.on("error", noop2), this.reason);
2994829948
} else if (this.abort) {
2994929949
this.abort(this.reason);
2995029950
}
@@ -29997,7 +29997,7 @@ var require_api_request2 = __commonJS({
2999729997
});
2999829998
} catch (err) {
2999929999
this.res = null;
30000-
util.destroy(res.on("error", noop), err);
30000+
util.destroy(res.on("error", noop2), err);
3000130001
queueMicrotask(() => {
3000230002
throw err;
3000330003
});
@@ -30022,13 +30022,13 @@ var require_api_request2 = __commonJS({
3002230022
if (res) {
3002330023
this.res = null;
3002430024
queueMicrotask(() => {
30025-
util.destroy(res.on("error", noop), err);
30025+
util.destroy(res.on("error", noop2), err);
3002630026
});
3002730027
}
3002830028
if (body) {
3002930029
this.body = null;
3003030030
if (util.isStream(body)) {
30031-
body.on("error", noop);
30031+
body.on("error", noop2);
3003230032
util.destroy(body, err);
3003330033
}
3003430034
}
@@ -30124,7 +30124,7 @@ var require_api_stream2 = __commonJS({
3012430124
var { InvalidArgumentError, InvalidReturnValueError } = require_errors2();
3012530125
var util = require_util8();
3012630126
var { addSignal, removeSignal } = require_abort_signal2();
30127-
function noop() {
30127+
function noop2() {
3012830128
}
3012930129
var StreamHandler = class extends AsyncResource {
3013030130
constructor(opts, factory, callback) {
@@ -30151,7 +30151,7 @@ var require_api_stream2 = __commonJS({
3015130151
super("UNDICI_STREAM");
3015230152
} catch (err) {
3015330153
if (util.isStream(body)) {
30154-
util.destroy(body.on("error", noop), err);
30154+
util.destroy(body.on("error", noop2), err);
3015530155
}
3015630156
throw err;
3015730157
}
@@ -30293,7 +30293,7 @@ var require_api_pipeline2 = __commonJS({
3029330293
} = require_errors2();
3029430294
var util = require_util8();
3029530295
var { addSignal, removeSignal } = require_abort_signal2();
30296-
function noop() {
30296+
function noop2() {
3029730297
}
3029830298
var kResume = Symbol("resume");
3029930299
var PipelineRequest = class extends Readable {
@@ -30353,7 +30353,7 @@ var require_api_pipeline2 = __commonJS({
3035330353
this.abort = null;
3035430354
this.context = null;
3035530355
this.onInfo = onInfo || null;
30356-
this.req = new PipelineRequest().on("error", noop);
30356+
this.req = new PipelineRequest().on("error", noop2);
3035730357
this.ret = new Duplex({
3035830358
readableObjectMode: opts.objectMode,
3035930359
autoDestroy: true,
@@ -30424,7 +30424,7 @@ var require_api_pipeline2 = __commonJS({
3042430424
context
3042530425
});
3042630426
} catch (err) {
30427-
this.res.on("error", noop);
30427+
this.res.on("error", noop2);
3042830428
throw err;
3042930429
}
3043030430
if (!body || typeof body.on !== "function") {
@@ -32646,7 +32646,7 @@ var require_redirect_handler = __commonJS({
3264632646
var EE = require("node:events");
3264732647
var redirectableStatusCodes = [300, 301, 302, 303, 307, 308];
3264832648
var kBody = Symbol("body");
32649-
var noop = () => {
32649+
var noop2 = () => {
3265032650
};
3265132651
var BodyAsyncIterable = class {
3265232652
constructor(body) {
@@ -32709,14 +32709,14 @@ var require_redirect_handler = __commonJS({
3270932709
if ((statusCode === 301 || statusCode === 302) && this.opts.method === "POST") {
3271032710
this.opts.method = "GET";
3271132711
if (util.isStream(this.opts.body)) {
32712-
util.destroy(this.opts.body.on("error", noop));
32712+
util.destroy(this.opts.body.on("error", noop2));
3271332713
}
3271432714
this.opts.body = null;
3271532715
}
3271632716
if (statusCode === 303 && this.opts.method !== "HEAD") {
3271732717
this.opts.method = "GET";
3271832718
if (util.isStream(this.opts.body)) {
32719-
util.destroy(this.opts.body.on("error", noop));
32719+
util.destroy(this.opts.body.on("error", noop2));
3272032720
}
3272132721
this.opts.body = null;
3272232722
}
@@ -34104,7 +34104,7 @@ var require_cache_handler = __commonJS({
3410434104
isEtagUsable
3410534105
} = require_cache2();
3410634106
var { parseHttpDate } = require_date();
34107-
function noop() {
34107+
function noop2() {
3410834108
}
3410934109
var HEURISTICALLY_CACHEABLE_STATUS_CODES = [
3411034110
200,
@@ -34185,7 +34185,7 @@ var require_cache_handler = __commonJS({
3418534185
);
3418634186
if (!util.safeHTTPMethods.includes(this.#cacheKey.method) && statusCode >= 200 && statusCode <= 399) {
3418734187
try {
34188-
this.#store.delete(this.#cacheKey)?.catch?.(noop);
34188+
this.#store.delete(this.#cacheKey)?.catch?.(noop2);
3418934189
} catch {
3419034190
}
3419134191
return downstreamOnHeaders();
@@ -42681,7 +42681,7 @@ var RequestError = class extends Error {
4268142681
*/
4268242682
response;
4268342683
constructor(message, statusCode, options) {
42684-
super(message);
42684+
super(message, { cause: options.cause });
4268542685
this.name = "HttpError";
4268642686
this.status = Number.parseInt(statusCode);
4268742687
if (Number.isNaN(this.status)) {
@@ -42705,7 +42705,7 @@ var RequestError = class extends Error {
4270542705
};
4270642706

4270742707
// node_modules/@octokit/request/dist-bundle/index.js
42708-
var VERSION2 = "10.0.5";
42708+
var VERSION2 = "10.0.7";
4270942709
var defaults_default = {
4271042710
headers: {
4271142711
"user-agent": `octokit-request.js/${VERSION2} ${getUserAgent()}`
@@ -42719,6 +42719,7 @@ function isPlainObject2(value) {
4271942719
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
4272042720
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
4272142721
}
42722+
var noop = () => "";
4272242723
async function fetchWrapper(requestOptions) {
4272342724
const fetch = requestOptions.request?.fetch || globalThis.fetch;
4272442725
if (!fetch) {
@@ -42820,7 +42821,7 @@ async function fetchWrapper(requestOptions) {
4282042821
async function getResponseData(response) {
4282142822
const contentType = response.headers.get("content-type");
4282242823
if (!contentType) {
42823-
return response.text().catch(() => "");
42824+
return response.text().catch(noop);
4282442825
}
4282542826
const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
4282642827
if (isJSONResponse(mimetype)) {
@@ -42832,9 +42833,12 @@ async function getResponseData(response) {
4283242833
return text;
4283342834
}
4283442835
} else if (mimetype.type.startsWith("text/") || mimetype.parameters.charset?.toLowerCase() === "utf-8") {
42835-
return response.text().catch(() => "");
42836+
return response.text().catch(noop);
4283642837
} else {
42837-
return response.arrayBuffer().catch(() => new ArrayBuffer(0));
42838+
return response.arrayBuffer().catch(
42839+
/* v8 ignore next -- @preserve */
42840+
() => new ArrayBuffer(0)
42841+
);
4283842842
}
4283942843
}
4284042844
function isJSONResponse(mimetype) {
@@ -44148,7 +44152,7 @@ async function sendRequestWithRetries(state, request2, options, createdAt, retri
4414844152
return sendRequestWithRetries(state, request2, options, createdAt, retries);
4414944153
}
4415044154
}
44151-
var VERSION6 = "8.1.1";
44155+
var VERSION6 = "8.1.2";
4415244156
function createAppAuth(options) {
4415344157
if (!options.appId) {
4415444158
throw new Error("[@octokit/auth-app] appId option is required");
@@ -44589,6 +44593,13 @@ undici/lib/websocket/frame.js:
4458944593
undici/lib/web/websocket/frame.js:
4459044594
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
4459144595

44596+
@octokit/request-error/dist-src/index.js:
44597+
(* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
44598+
44599+
@octokit/request/dist-bundle/index.js:
44600+
(* v8 ignore next -- @preserve *)
44601+
(* v8 ignore else -- @preserve *)
44602+
4459244603
toad-cache/dist/toad-cache.mjs:
4459344604
(**
4459444605
* toad-cache

0 commit comments

Comments
 (0)