@astral/ui 4.112.0 → 4.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,9 @@ export const CONDITION_TYPE_ERROR = [
|
|
|
7
7
|
{
|
|
8
8
|
type: ErrorBoundaryTypeError.OutdatedRelease,
|
|
9
9
|
condition: (error) => error.name === 'ChunkLoadError' ||
|
|
10
|
-
error.message.includes('Failed to fetch dynamically imported module')
|
|
10
|
+
error.message.includes('Failed to fetch dynamically imported module') || // Chrome
|
|
11
|
+
error.message.includes('error loading dynamically imported module') || // Firefox
|
|
12
|
+
error.message.includes('Importing a module script failed'), // Safari
|
|
11
13
|
},
|
|
12
14
|
{ type: ErrorBoundaryTypeError.Default, condition: () => true },
|
|
13
15
|
];
|
|
@@ -10,7 +10,9 @@ exports.CONDITION_TYPE_ERROR = [
|
|
|
10
10
|
{
|
|
11
11
|
type: enums_1.ErrorBoundaryTypeError.OutdatedRelease,
|
|
12
12
|
condition: (error) => error.name === 'ChunkLoadError' ||
|
|
13
|
-
error.message.includes('Failed to fetch dynamically imported module')
|
|
13
|
+
error.message.includes('Failed to fetch dynamically imported module') || // Chrome
|
|
14
|
+
error.message.includes('error loading dynamically imported module') || // Firefox
|
|
15
|
+
error.message.includes('Importing a module script failed'), // Safari
|
|
14
16
|
},
|
|
15
17
|
{ type: enums_1.ErrorBoundaryTypeError.Default, condition: () => true },
|
|
16
18
|
];
|