vike 0.4.257-commit-c6e29ea → 0.4.257-commit-3b8b557

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.
@@ -21,10 +21,13 @@ async function loadAndParseVirtualFilePageEntry(pageConfig, isDev) {
21
21
  configValues = parseVirtualFileExportsPageEntry(virtualFileExportsPageEntry);
22
22
  }
23
23
  catch (e) {
24
- if (!(e instanceof ReferenceError))
24
+ // Safari WebKit bug: dynamic import() may resolve before the module body executes.
25
+ if (
26
+ // Throwing ReferenceError (TDZ): https://github.com/vikejs/vike/issues/3121
27
+ !(e instanceof ReferenceError) &&
28
+ // Or TypeError (undefined exports) on some WebKit builds: https://github.com/vikejs/vike/issues/3199
29
+ !(e instanceof TypeError))
25
30
  throw e;
26
- // Safari WebKit bug: dynamic import() may resolve before the module body executes,
27
- // https://github.com/vikejs/vike/issues/3121
28
31
  await new Promise((resolve) => setTimeout(resolve));
29
32
  configValues = parseVirtualFileExportsPageEntry(virtualFileExportsPageEntry);
30
33
  }
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: "0.4.257-commit-c6e29ea";
1
+ export declare const PROJECT_VERSION: "0.4.257-commit-3b8b557";
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.257-commit-c6e29ea';
2
+ export const PROJECT_VERSION = '0.4.257-commit-3b8b557';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.257-commit-c6e29ea",
3
+ "version": "0.4.257-commit-3b8b557",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {