chore(deps-dev): bump @eslint/js from 9.39.4 to 10.0.1 in /ui (#10976)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Douwe Osinga <douwe@block.xyz>
Co-authored-by: Douwe Osinga <douwe.osinga@gmail.com>
This commit is contained in:
dependabot[bot]
2026-08-19 17:18:44 +00:00
committed by GitHub
parent 33fb29402e
commit c5ae024638
9 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -115,7 +115,7 @@
"@electron-forge/plugin-fuses": "^7.11.1",
"@electron-forge/plugin-vite": "^7.11.1",
"@electron/fuses": "^2.1.3",
"@eslint/js": "^9.39.2",
"@eslint/js": "^10.0.1",
"@formatjs/cli": "^6.14.0",
"@formatjs/icu-messageformat-parser": "3.5.3",
"@modelcontextprotocol/sdk": "^1.27.0",
@@ -14,7 +14,7 @@ export const ModeSection = () => {
setCurrentMode(newMode);
} catch (error) {
console.error('Error updating goose mode:', error);
throw new Error(`Failed to store new goose mode: ${newMode}`);
throw new Error(`Failed to store new goose mode: ${newMode}`, { cause: error });
}
};
+1 -1
View File
@@ -350,7 +350,7 @@ export const startGooseServe = async ({
} catch (error) {
const message = errorMessage(error);
startupTrace?.record('binary_resolve_error', { message });
throw new Error(withStartupDiagnosticsPath(message, startupDiagnosticsPath));
throw new Error(withStartupDiagnosticsPath(message, startupDiagnosticsPath), { cause: error });
}
const port = await findAvailablePort();
+2 -2
View File
@@ -449,7 +449,7 @@ if (MAIN_WINDOW_VITE_DEV_SERVER_URL) {
// Apply single instance lock on Windows and Linux where it's needed for deep links
// macOS uses the 'open-url' event instead
let gotTheLock = true;
let gotTheLock: boolean;
let openUrlHandledLaunch = false;
if (process.platform !== 'darwin') {
gotTheLock = app.requestSingleInstanceLock();
@@ -2684,7 +2684,7 @@ async function appMain() {
);
}
fileMenu.submenu.insert(menuIndex++, new MenuItem({ type: 'separator' }));
fileMenu.submenu.insert(menuIndex, new MenuItem({ type: 'separator' }));
if (shortcuts.focusWindow) {
fileMenu.submenu.append(
+1 -1
View File
@@ -86,7 +86,7 @@ export async function parseRecipeFromFile(fileContent: string): Promise<Recipe>
if (typeof error === 'object' && error !== null && 'message' in error) {
errorMessage = error.message as string;
}
throw new Error(errorMessage);
throw new Error(errorMessage, { cause: error });
}
}
+1 -1
View File
@@ -25,7 +25,7 @@ export const saveRecipe = async (
if (typeof error === 'object' && error !== null && 'message' in error) {
error_message = error.message as string;
}
throw new Error(error_message);
throw new Error(error_message, { cause: error });
}
};
+1 -1
View File
@@ -6,7 +6,7 @@ export async function safeJsonParse<T>(
return (await response.json()) as T;
} catch (error) {
if (error instanceof SyntaxError) {
throw new Error(errorMessage);
throw new Error(errorMessage, { cause: error });
}
throw error;
}
+1 -1
View File
@@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
+15 -2
View File
@@ -212,8 +212,8 @@ importers:
specifier: ^2.1.3
version: 2.1.3
'@eslint/js':
specifier: ^9.39.2
version: 9.39.4
specifier: ^10.0.1
version: 10.0.1(eslint@9.39.4(jiti@2.6.1))
'@formatjs/cli':
specifier: ^6.14.0
version: 6.14.0
@@ -990,6 +990,15 @@ packages:
resolution: {integrity: sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/js@10.0.1':
resolution: {integrity: sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
peerDependencies:
eslint: ^10.0.0
peerDependenciesMeta:
eslint:
optional: true
'@eslint/js@9.39.4':
resolution: {integrity: sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -7796,6 +7805,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@eslint/js@10.0.1(eslint@9.39.4(jiti@2.6.1))':
optionalDependencies:
eslint: 9.39.4(jiti@2.6.1)
'@eslint/js@9.39.4': {}
'@eslint/object-schema@2.1.7': {}