diff --git a/.github/local-actions/branch-manager/main.js b/.github/local-actions/branch-manager/main.js index 4dad8f985..ebed6a9cd 100644 --- a/.github/local-actions/branch-manager/main.js +++ b/.github/local-actions/branch-manager/main.js @@ -40250,7 +40250,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -43370,7 +43370,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -43378,12 +43377,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -45042,8 +45035,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -46484,10 +46479,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -46644,11 +46642,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -47206,8 +47200,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -47750,7 +47746,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -47871,9 +47867,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -47890,16 +47883,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -48788,6 +48782,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -48989,11 +48989,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/.github/local-actions/labels-sync/main.js b/.github/local-actions/labels-sync/main.js index dc89db3d2..d0f77b34b 100644 --- a/.github/local-actions/labels-sync/main.js +++ b/.github/local-actions/labels-sync/main.js @@ -24661,7 +24661,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27781,7 +27781,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27789,12 +27788,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29453,8 +29446,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30895,10 +30890,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31055,11 +31053,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31617,8 +31611,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32161,7 +32157,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32282,9 +32278,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32301,16 +32294,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33199,6 +33193,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33400,11 +33400,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/.github/local-actions/lock-closed/main.js b/.github/local-actions/lock-closed/main.js index 701d4d5e2..2bfeca7a7 100644 --- a/.github/local-actions/lock-closed/main.js +++ b/.github/local-actions/lock-closed/main.js @@ -24661,7 +24661,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27781,7 +27781,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27789,12 +27788,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29453,8 +29446,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30895,10 +30890,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31055,11 +31053,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31617,8 +31611,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32161,7 +32157,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32282,9 +32278,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32301,16 +32294,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33199,6 +33193,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33400,11 +33400,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/github-actions/branch-manager/main.js b/github-actions/branch-manager/main.js index a7a19cd8c..a6adfcd17 100644 --- a/github-actions/branch-manager/main.js +++ b/github-actions/branch-manager/main.js @@ -24661,7 +24661,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27781,7 +27781,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27789,12 +27788,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29453,8 +29446,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30895,10 +30890,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31055,11 +31053,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31617,8 +31611,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32161,7 +32157,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32282,9 +32278,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32301,16 +32294,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33199,6 +33193,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33400,11 +33400,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/github-actions/commit-message-based-labels/main.js b/github-actions/commit-message-based-labels/main.js index 7f2e0b20e..054679094 100644 --- a/github-actions/commit-message-based-labels/main.js +++ b/github-actions/commit-message-based-labels/main.js @@ -24661,7 +24661,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27781,7 +27781,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27789,12 +27788,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29453,8 +29446,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30895,10 +30890,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31055,11 +31053,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31617,8 +31611,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a2 = this.#entries.get(topLevelKey)) == null ? void 0 : _a2.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a3; - return entry2.vary[headerName] === ((_a3 = key.headers) == null ? void 0 : _a3[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32161,7 +32157,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32282,9 +32278,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32301,16 +32294,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33199,6 +33193,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33400,11 +33400,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/github-actions/create-pr-for-changes/main.js b/github-actions/create-pr-for-changes/main.js index 77c0da7cd..936175175 100644 --- a/github-actions/create-pr-for-changes/main.js +++ b/github-actions/create-pr-for-changes/main.js @@ -24656,7 +24656,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27776,7 +27776,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27784,12 +27783,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29448,8 +29441,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30890,10 +30885,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31050,11 +31048,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31612,8 +31606,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32156,7 +32152,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32277,9 +32273,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32296,16 +32289,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33194,6 +33188,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33395,11 +33395,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/github-actions/feature-request/main.js b/github-actions/feature-request/main.js index e8c1c80e8..69dafe8da 100644 --- a/github-actions/feature-request/main.js +++ b/github-actions/feature-request/main.js @@ -24661,7 +24661,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27781,7 +27781,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27789,12 +27788,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29453,8 +29446,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30895,10 +30890,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31055,11 +31053,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31617,8 +31611,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32161,7 +32157,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32282,9 +32278,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32301,16 +32294,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33199,6 +33193,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33400,11 +33400,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/github-actions/google-internal-tests/main.js b/github-actions/google-internal-tests/main.js index 2a195251d..501dd7dc7 100644 --- a/github-actions/google-internal-tests/main.js +++ b/github-actions/google-internal-tests/main.js @@ -24660,7 +24660,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27780,7 +27780,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27788,12 +27787,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29452,8 +29445,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30894,10 +30889,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31054,11 +31052,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31616,8 +31610,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32160,7 +32156,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32281,9 +32277,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32300,16 +32293,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33198,6 +33192,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33399,11 +33399,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/github-actions/org-file-sync/main.js b/github-actions/org-file-sync/main.js index 902831db2..8062f48fb 100644 --- a/github-actions/org-file-sync/main.js +++ b/github-actions/org-file-sync/main.js @@ -24661,7 +24661,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27781,7 +27781,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27789,12 +27788,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29453,8 +29446,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30895,10 +30890,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31055,11 +31053,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31617,8 +31611,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32161,7 +32157,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32282,9 +32278,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32301,16 +32294,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33199,6 +33193,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33400,11 +33400,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/github-actions/post-approval-changes/main.js b/github-actions/post-approval-changes/main.js index b16dc6b90..0ccbfdb33 100644 --- a/github-actions/post-approval-changes/main.js +++ b/github-actions/post-approval-changes/main.js @@ -24661,7 +24661,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27781,7 +27781,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27789,12 +27788,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29453,8 +29446,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30895,10 +30890,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31055,11 +31053,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31617,8 +31611,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32161,7 +32157,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32282,9 +32278,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32301,16 +32294,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33199,6 +33193,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33400,11 +33400,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/github-actions/unified-status-check/main.js b/github-actions/unified-status-check/main.js index 429639b6a..04046ec86 100644 --- a/github-actions/unified-status-check/main.js +++ b/github-actions/unified-status-check/main.js @@ -24757,7 +24757,7 @@ var require_body2 = __commonJS({ const crypto = __require("node:crypto"); random = (max) => crypto.randomInt(0, max); } catch { - random = (max) => Math.floor(Math.random(max)); + random = (max) => Math.floor(Math.random() * max); } var textEncoder = new TextEncoder(); function noop2() { @@ -27877,7 +27877,6 @@ var require_env_http_proxy_agent = __commonJS({ "http:": 80, "https:": 443 }; - var experimentalWarned = false; var EnvHttpProxyAgent = class extends DispatcherBase { #noProxyValue = null; #noProxyEntries = null; @@ -27885,12 +27884,6 @@ var require_env_http_proxy_agent = __commonJS({ constructor(opts = {}) { super(); this.#opts = opts; - if (!experimentalWarned) { - experimentalWarned = true; - process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.", { - code: "UNDICI-EHPA" - }); - } const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts; this[kNoProxyAgent] = new Agent(agentOpts); const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY; @@ -29549,8 +29542,10 @@ var require_mock_utils2 = __commonJS({ return data; } else if (typeof data === "object") { return JSON.stringify(data); - } else { + } else if (data) { return data.toString(); + } else { + return ""; } } function getMockDispatch(mockDispatches, key) { @@ -30991,10 +30986,13 @@ var require_cache2 = __commonJS({ if (typeof key !== "string" || typeof val !== "string") { throw new Error("opts.headers is not a valid header map"); } - headers[key] = val; + headers[key.toLowerCase()] = val; } } else if (typeof opts.headers === "object") { - headers = opts.headers; + headers = {}; + for (const key of Object.keys(opts.headers)) { + headers[key.toLowerCase()] = opts.headers[key]; + } } else { throw new Error("opts.headers is not an object"); } @@ -31151,11 +31149,7 @@ var require_cache2 = __commonJS({ const varyingHeaders = typeof varyHeader === "string" ? varyHeader.split(",") : varyHeader; for (const header of varyingHeaders) { const trimmedHeader = header.trim().toLowerCase(); - if (headers[trimmedHeader]) { - output[trimmedHeader] = headers[trimmedHeader]; - } else { - return void 0; - } + output[trimmedHeader] = headers[trimmedHeader] ?? null; } return output; } @@ -31713,8 +31707,10 @@ var require_memory_cache_store = __commonJS({ const topLevelKey = `${key.origin}:${key.path}`; const now = Date.now(); const entry = (_a = this.#entries.get(topLevelKey)) == null ? void 0 : _a.find((entry2) => entry2.deleteAt > now && entry2.method === key.method && (entry2.vary == null || Object.keys(entry2.vary).every((headerName) => { - var _a2; - return entry2.vary[headerName] === ((_a2 = key.headers) == null ? void 0 : _a2[headerName]); + if (entry2.vary[headerName] === null) { + return key.headers[headerName] === void 0; + } + return entry2.vary[headerName] === key.headers[headerName]; }))); return entry == null ? void 0 : { statusMessage: entry.statusMessage, @@ -32257,7 +32253,7 @@ var require_sqlite_cache_store = __commonJS({ assertCacheKey(key); const value = this.#findValue(key); return value ? { - body: value.body ? Buffer.from(value.body.buffer) : void 0, + body: value.body ? Buffer.from(value.body.buffer, value.body.byteOffset, value.body.byteLength) : void 0, statusCode: value.statusCode, statusMessage: value.statusMessage, headers: value.headers ? JSON.parse(value.headers) : void 0, @@ -32378,9 +32374,6 @@ var require_sqlite_cache_store = __commonJS({ } let matches = true; if (value.vary) { - if (!headers) { - return void 0; - } const vary = JSON.parse(value.vary); for (const header in vary) { if (!headerValueEquals(headers[header], vary[header])) { @@ -32397,16 +32390,17 @@ var require_sqlite_cache_store = __commonJS({ } }; function headerValueEquals(lhs, rhs) { + if (lhs == null && rhs == null) { + return true; + } + if (lhs == null && rhs != null || lhs != null && rhs == null) { + return false; + } if (Array.isArray(lhs) && Array.isArray(rhs)) { if (lhs.length !== rhs.length) { return false; } - for (let i = 0; i < lhs.length; i++) { - if (rhs.includes(lhs[i])) { - return false; - } - } - return true; + return lhs.every((x, i) => x === rhs[i]); } return lhs === rhs; } @@ -33295,6 +33289,12 @@ var require_request4 = __commonJS({ signal.removeEventListener("abort", abort); }); var dependentControllerMap = /* @__PURE__ */ new WeakMap(); + var abortSignalHasEventHandlerLeakWarning; + try { + abortSignalHasEventHandlerLeakWarning = getMaxListeners(new AbortController().signal) > 0; + } catch { + abortSignalHasEventHandlerLeakWarning = false; + } function buildAbort(acRef) { return abort; function abort() { @@ -33496,11 +33496,8 @@ var require_request4 = __commonJS({ this[kAbortController] = ac; const acRef = new WeakRef(ac); const abort = buildAbort(acRef); - try { - if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { - setMaxListeners(1500, signal); - } - } catch { + if (abortSignalHasEventHandlerLeakWarning && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(1500, signal); } util.addAbortListener(signal, abort); requestFinalizer.register(ac, { signal, abort }, abort); diff --git a/yarn.lock b/yarn.lock index 9799f6158..9d964824e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2732,7 +2732,7 @@ __metadata: languageName: node linkType: hard -"@keyv/serialize@npm:^1.0.2": +"@keyv/serialize@npm:^1.0.3": version: 1.0.3 resolution: "@keyv/serialize@npm:1.0.3" dependencies: @@ -4607,9 +4607,9 @@ __metadata: linkType: hard "@types/dom-view-transitions@npm:^1.0.4": - version: 1.0.5 - resolution: "@types/dom-view-transitions@npm:1.0.5" - checksum: 10c0/644d755796194b5ee357077d4462ec58d37c97500c9fff9ca9614ba24cf090e3824158581efd5b3d1df7e4a3a68bbea30cace711b0dc72631a96a03ffca1e562 + version: 1.0.6 + resolution: "@types/dom-view-transitions@npm:1.0.6" + checksum: 10c0/d6b87e9ee3a097bd5fc462a5e95bb94c0296790d4921f19ebedaa7e903adf045dcbcb82a8837e22fbf7e44f2dce33610381d9eb76c51106d0e63b21d6cb364e8 languageName: node linkType: hard @@ -6000,13 +6000,13 @@ __metadata: languageName: node linkType: hard -"cacheable@npm:^1.8.8": - version: 1.8.8 - resolution: "cacheable@npm:1.8.8" +"cacheable@npm:^1.8.9": + version: 1.8.9 + resolution: "cacheable@npm:1.8.9" dependencies: - hookified: "npm:^1.7.0" - keyv: "npm:^5.2.3" - checksum: 10c0/24e0f93782015be75b1ec9fe3fb151b2921f61c282091b873f78a0efeb141e95a21d8aa5f4c6bd99a8acb0b485deb5801aa32b4ecf4b666efa7446739368588b + hookified: "npm:^1.7.1" + keyv: "npm:^5.3.1" + checksum: 10c0/355ed0b9a312542176bf98b8d0582f8882163b7831baea3fdc6ba78d7a698e15abc3818ec049b79ad969de0f50771148bb99a616c5632c809ef7fc40f266397d languageName: node linkType: hard @@ -7963,12 +7963,12 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^10.0.5": - version: 10.0.6 - resolution: "file-entry-cache@npm:10.0.6" +"file-entry-cache@npm:^10.0.6": + version: 10.0.7 + resolution: "file-entry-cache@npm:10.0.7" dependencies: - flat-cache: "npm:^6.1.6" - checksum: 10c0/4e7226a5dbe7b5130c848c5fd3a352bb16e4ddb1de10cb4b3ea8375f6ab6085ed10da4db2db8119c61fc7e56fc59a40eeb837a4ae1a3a7c8357a17e69004f113 + flat-cache: "npm:^6.1.7" + checksum: 10c0/b56ea1b6f3f0faf7954667c1991d8ff50901c53cd37c775b72d18d6fa5641bbf0e2cddb84b9d10f900a6ad3d1432f1525405a966b113d7512d9d8f820f1bb7a4 languageName: node linkType: hard @@ -8105,8 +8105,8 @@ __metadata: linkType: hard "firebase-tools@npm:^13.0.0": - version: 13.31.2 - resolution: "firebase-tools@npm:13.31.2" + version: 13.32.0 + resolution: "firebase-tools@npm:13.32.0" dependencies: "@electric-sql/pglite": "npm:^0.2.16" "@google-cloud/cloud-sql-connector": "npm:^1.3.3" @@ -8178,7 +8178,7 @@ __metadata: yaml: "npm:^2.4.1" bin: firebase: lib/bin/firebase.js - checksum: 10c0/f5aedfc3ac25f24276318fbb6a33f3fa19d34960f26f43fd0907b642a1cf89a48a0ff56d5e4b775135af327e99c06e3d993ca5561ac7bf66f42bce9bfea824b0 + checksum: 10c0/41a484c8918f72b1f1dd04028d8317be72bde8caedecd2aa005339f87e46959d09bd86ccfe7657fb787d4e3c1d720a5a03c3027d3a488a9d4454c336f7a85a57 languageName: node linkType: hard @@ -8218,18 +8218,18 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^6.1.6": - version: 6.1.6 - resolution: "flat-cache@npm:6.1.6" +"flat-cache@npm:^6.1.7": + version: 6.1.7 + resolution: "flat-cache@npm:6.1.7" dependencies: - cacheable: "npm:^1.8.8" - flatted: "npm:^3.3.2" - hookified: "npm:^1.7.0" - checksum: 10c0/2aeba555b61d32d7f0803e6b6b3ba959610cdc0e5b591ed0f80a3ad70c4e80e81afb6853c495cafdcbc3a02386d76a1522babcf04e50c4a1e81df2decfd02e9f + cacheable: "npm:^1.8.9" + flatted: "npm:^3.3.3" + hookified: "npm:^1.7.1" + checksum: 10c0/37bf101b35483e2df3f2fbee46e549d8e6ebd932fb4969a800dc595a13bd239b7dfe804a8f565518b39bec78d827344afa21d66849f1f12ca8f13901411f2b9d languageName: node linkType: hard -"flatted@npm:^3.2.7, flatted@npm:^3.3.2": +"flatted@npm:^3.2.7, flatted@npm:^3.3.3": version: 3.3.3 resolution: "flatted@npm:3.3.3" checksum: 10c0/e957a1c6b0254aa15b8cce8533e24165abd98fadc98575db082b786b5da1b7d72062b81bfdcd1da2f4d46b6ed93bec2434e62333e9b4261d79ef2e75a10dd538 @@ -8946,7 +8946,7 @@ __metadata: languageName: node linkType: hard -"hookified@npm:^1.7.0": +"hookified@npm:^1.7.1": version: 1.7.1 resolution: "hookified@npm:1.7.1" checksum: 10c0/779cb2f912d19f9cf00ec081d2fb07068553093e8cfaab7fb536b45a04b5743ac836e7fd4d09f1473f82c105338aa2539a104e5fb28e55f4ec1ce0be28ea9acc @@ -10381,12 +10381,12 @@ __metadata: languageName: node linkType: hard -"keyv@npm:^5.2.3": - version: 5.2.3 - resolution: "keyv@npm:5.2.3" +"keyv@npm:^5.3.1": + version: 5.3.1 + resolution: "keyv@npm:5.3.1" dependencies: - "@keyv/serialize": "npm:^1.0.2" - checksum: 10c0/76b87dd2c21a4c1c5c05e9ff3b85670beab98f153429aaa9aee544b72b65411a7d80d96c29f3fef3e9dcebb672c8268e7209d6f80beb5da939b4e019722948b4 + "@keyv/serialize": "npm:^1.0.3" + checksum: 10c0/d5ffe3d2d547a50a5e1189d5acbc0480821c22c025082851a8eeb26667d789f3f7b7ee7beb933660d98c239f7e7c403c652a511693670a78a73f06cd411e04fa languageName: node linkType: hard @@ -12340,7 +12340,7 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^7.0.0": +"postcss-selector-parser@npm:^7.1.0": version: 7.1.0 resolution: "postcss-selector-parser@npm:7.1.0" dependencies: @@ -12357,7 +12357,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.49, postcss@npm:^8.5.1": +"postcss@npm:^8.4.49, postcss@npm:^8.5.1, postcss@npm:^8.5.3": version: 8.5.3 resolution: "postcss@npm:8.5.3" dependencies: @@ -14223,8 +14223,8 @@ __metadata: linkType: hard "stylelint@npm:^16.0.0": - version: 16.14.1 - resolution: "stylelint@npm:16.14.1" + version: 16.15.0 + resolution: "stylelint@npm:16.15.0" dependencies: "@csstools/css-parser-algorithms": "npm:^3.0.4" "@csstools/css-tokenizer": "npm:^3.0.3" @@ -14239,7 +14239,7 @@ __metadata: debug: "npm:^4.3.7" fast-glob: "npm:^3.3.3" fastest-levenshtein: "npm:^1.0.16" - file-entry-cache: "npm:^10.0.5" + file-entry-cache: "npm:^10.0.6" global-modules: "npm:^2.0.0" globby: "npm:^11.1.0" globjoin: "npm:^0.1.4" @@ -14253,20 +14253,20 @@ __metadata: micromatch: "npm:^4.0.8" normalize-path: "npm:^3.0.0" picocolors: "npm:^1.1.1" - postcss: "npm:^8.5.1" + postcss: "npm:^8.5.3" postcss-resolve-nested-selector: "npm:^0.1.6" postcss-safe-parser: "npm:^7.0.1" - postcss-selector-parser: "npm:^7.0.0" + postcss-selector-parser: "npm:^7.1.0" postcss-value-parser: "npm:^4.2.0" resolve-from: "npm:^5.0.0" string-width: "npm:^4.2.3" - supports-hyperlinks: "npm:^3.1.0" + supports-hyperlinks: "npm:^3.2.0" svg-tags: "npm:^1.0.0" table: "npm:^6.9.0" write-file-atomic: "npm:^5.0.1" bin: stylelint: bin/stylelint.mjs - checksum: 10c0/cce94374dc721d491d955f548ee81ba835d4955fa37d58a11323454f9f3721e5644fa89a04c14f85bdfa12790bdd043a41be2001a99cb0bfe23b38eb933199d7 + checksum: 10c0/32dee221fe8980e08adcdc7c48ddab51eac263784b0cc2f4eb9c029e3589ad6ce7dae710ec2aadb57bdbfecec579326c75918686f1563576715cbd3095c5dd12 languageName: node linkType: hard @@ -14342,7 +14342,7 @@ __metadata: languageName: node linkType: hard -"supports-hyperlinks@npm:^3.1.0": +"supports-hyperlinks@npm:^3.1.0, supports-hyperlinks@npm:^3.2.0": version: 3.2.0 resolution: "supports-hyperlinks@npm:3.2.0" dependencies: @@ -14938,9 +14938,9 @@ __metadata: linkType: hard "undici@npm:^7.0.0": - version: 7.3.0 - resolution: "undici@npm:7.3.0" - checksum: 10c0/62c5e335725cadb02e19950932c7823fc330cbfd80106e6836daa6db1379aa727510b77de0a4e6f912087b288ded93f7daf4b8c154ad36fd5c9c4b96b26888b8 + version: 7.4.0 + resolution: "undici@npm:7.4.0" + checksum: 10c0/0d8d8d627c87e72cf58148d257a79d019ce058b6761363ee5752103aa0ab57d132448fce4ef15171671ee138ef156a695ec1daeb72cd09ae408afa74dee070b5 languageName: node linkType: hard