From 24823febf8aa94f7229b6d602f3dab9f7fb721c8 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 5 Jun 2026 21:54:13 -0400 Subject: fixes for june 2026 beta errorboundary --- frontend/package.json | 2 +- frontend/pnpm-lock.yaml | 10 +++++----- frontend/src/errorboundary-hook.tsx | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index b0eb2f51..6c75744a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -47,7 +47,7 @@ } }, "dependencies": { - "@decky/ui": "^4.11.4", + "@decky/ui": "^4.11.5", "compare-versions": "^6.1.1", "filesize": "^10.1.2", "i18next": "^25.6.0", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 2b047aa8..ccd81780 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@decky/ui': - specifier: ^4.11.4 - version: 4.11.4 + specifier: ^4.11.5 + version: 4.11.5 compare-versions: specifier: ^6.1.1 version: 6.1.1 @@ -222,8 +222,8 @@ packages: '@decky/api@1.1.3': resolution: {integrity: sha512-XsPCZxfxk5I1UtylIUN3qaWQI31siQbKfbLIskkI5innEatY1m4NQqBv/6hwPaO9mKMbdqYpnh5PSJDeMEOOBA==} - '@decky/ui@4.11.4': - resolution: {integrity: sha512-8rANkj5vkYTcT7VBBUzlBuowyBctU8gU5reWtsntmYdr7dGPLRqfgKDRqVH09HCd5plXyJKWDSpqiDsUHmKRJg==} + '@decky/ui@4.11.5': + resolution: {integrity: sha512-3LXvGZoyj4U37oVglU+LEPm4Dg1LBqVhpwqfZ70bu40H7v/UJslTGzTBnb/bwldG8lhrxqNtdAlu75N9R65OQQ==} '@esbuild/aix-ppc64@0.20.2': resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} @@ -2311,7 +2311,7 @@ snapshots: '@decky/api@1.1.3': {} - '@decky/ui@4.11.4': {} + '@decky/ui@4.11.5': {} '@esbuild/aix-ppc64@0.20.2': optional: true diff --git a/frontend/src/errorboundary-hook.tsx b/frontend/src/errorboundary-hook.tsx index 2c69a267..70aa2188 100644 --- a/frontend/src/errorboundary-hook.tsx +++ b/frontend/src/errorboundary-hook.tsx @@ -24,7 +24,7 @@ class ErrorBoundaryHook extends Logger { window.__ERRORBOUNDARY_HOOK_INSTANCE = this; // valve writes only the sanest of code - const exp = /^\(\)=>\(.\|\|.\(new .\),.\)$/; + const exp = /^\(\)=>\(.\|\|(?:.\(|\(.=)new .\),.\)$/; const initErrorReportingStore = findModuleExport( (e) => typeof e == 'function' && e?.toString && exp.test(e.toString()), ); -- cgit v1.2.3