fixes for june 2026 beta errorboundary

This commit is contained in:
AAGaming
2026-06-05 21:54:13 -04:00
parent 9f58dc64a1
commit 24823febf8
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -47,7 +47,7 @@
} }
}, },
"dependencies": { "dependencies": {
"@decky/ui": "^4.11.4", "@decky/ui": "^4.11.5",
"compare-versions": "^6.1.1", "compare-versions": "^6.1.1",
"filesize": "^10.1.2", "filesize": "^10.1.2",
"i18next": "^25.6.0", "i18next": "^25.6.0",
+5 -5
View File
@@ -9,8 +9,8 @@ importers:
.: .:
dependencies: dependencies:
'@decky/ui': '@decky/ui':
specifier: ^4.11.4 specifier: ^4.11.5
version: 4.11.4 version: 4.11.5
compare-versions: compare-versions:
specifier: ^6.1.1 specifier: ^6.1.1
version: 6.1.1 version: 6.1.1
@@ -222,8 +222,8 @@ packages:
'@decky/api@1.1.3': '@decky/api@1.1.3':
resolution: {integrity: sha512-XsPCZxfxk5I1UtylIUN3qaWQI31siQbKfbLIskkI5innEatY1m4NQqBv/6hwPaO9mKMbdqYpnh5PSJDeMEOOBA==} resolution: {integrity: sha512-XsPCZxfxk5I1UtylIUN3qaWQI31siQbKfbLIskkI5innEatY1m4NQqBv/6hwPaO9mKMbdqYpnh5PSJDeMEOOBA==}
'@decky/ui@4.11.4': '@decky/ui@4.11.5':
resolution: {integrity: sha512-8rANkj5vkYTcT7VBBUzlBuowyBctU8gU5reWtsntmYdr7dGPLRqfgKDRqVH09HCd5plXyJKWDSpqiDsUHmKRJg==} resolution: {integrity: sha512-3LXvGZoyj4U37oVglU+LEPm4Dg1LBqVhpwqfZ70bu40H7v/UJslTGzTBnb/bwldG8lhrxqNtdAlu75N9R65OQQ==}
'@esbuild/aix-ppc64@0.20.2': '@esbuild/aix-ppc64@0.20.2':
resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==}
@@ -2311,7 +2311,7 @@ snapshots:
'@decky/api@1.1.3': {} '@decky/api@1.1.3': {}
'@decky/ui@4.11.4': {} '@decky/ui@4.11.5': {}
'@esbuild/aix-ppc64@0.20.2': '@esbuild/aix-ppc64@0.20.2':
optional: true optional: true
+1 -1
View File
@@ -24,7 +24,7 @@ class ErrorBoundaryHook extends Logger {
window.__ERRORBOUNDARY_HOOK_INSTANCE = this; window.__ERRORBOUNDARY_HOOK_INSTANCE = this;
// valve writes only the sanest of code // valve writes only the sanest of code
const exp = /^\(\)=>\(.\|\|.\(new .\),.\)$/; const exp = /^\(\)=>\(.\|\|(?:.\(|\(.=)new .\),.\)$/;
const initErrorReportingStore = findModuleExport( const initErrorReportingStore = findModuleExport(
(e) => typeof e == 'function' && e?.toString && exp.test(e.toString()), (e) => typeof e == 'function' && e?.toString && exp.test(e.toString()),
); );