chore(deps): pin dependencies and enforce 14-day update cooldown (#27948)

This commit is contained in:
Gal Zahavi
2026-06-18 16:58:35 -07:00
committed by GitHub
parent c427d18fea
commit 93844dfa10
71 changed files with 4647 additions and 1457 deletions
+5 -2
View File
@@ -44,8 +44,11 @@ export function resolveEnvVarsInString(
if (customEnv && typeof customEnv[varName] === 'string') {
return customEnv[varName];
}
if (process && process.env && typeof process.env[varName] === 'string') {
return process.env[varName];
if (process && process.env) {
const val = process.env[varName];
if (typeof val === 'string') {
return val;
}
}
if (defaultValue !== undefined) {
return defaultValue;
+7 -1
View File
@@ -69,7 +69,13 @@ export const getLatestGitHubRelease = async (
'X-GitHub-Api-Version': '2022-11-28',
},
dispatcher: proxy ? new ProxyAgent(proxy) : undefined,
signal: AbortSignal.any([AbortSignal.timeout(30_000), controller.signal]),
/* eslint-disable @typescript-eslint/no-unsafe-type-assertion */
signal: (
AbortSignal as unknown as {
any: (signals: AbortSignal[]) => AbortSignal;
}
).any([AbortSignal.timeout(30_000), controller.signal]),
/* eslint-enable @typescript-eslint/no-unsafe-type-assertion */
} as RequestInit);
if (!response.ok) {
+1 -1
View File
@@ -805,7 +805,7 @@ export async function start_sandbox(
});
return await new Promise<number>((resolve, reject) => {
sandboxProcess.on('error', (err) => {
sandboxProcess?.on('error', (err) => {
coreEvents.emitFeedback('error', 'Sandbox process error', err);
reject(err);
});