Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency updates for swc_core update #47589

Closed
wants to merge 4 commits into from
Closed

dependency updates for swc_core update #47589

wants to merge 4 commits into from

Conversation

sokra
Copy link
Member

@sokra sokra commented Mar 28, 2023

What?

see vercel/turborepo#4358

Why?

Avoiding conflicts between dependencies and having only a single swc_core version in lockfile

@ijjk ijjk added created-by: Turbopack team PRs by the Turbopack team. type: next labels Mar 28, 2023
@sokra sokra requested a review from kdy1 March 28, 2023 07:23
kdy1
kdy1 previously approved these changes Mar 28, 2023
@ijjk
Copy link
Member

ijjk commented Mar 28, 2023

Stats from current PR

Default Build (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js kdy1/swc-update Change
buildDuration 51.8s 51.3s -466ms
buildDurationCached 20.4s 13.7s -6.7s
nodeModulesSize 120 MB 120 MB
nextStartRea..uration (ms) 390ms 409ms ⚠️ +19ms
Client Bundles (main, webpack) Overall decrease ✓
vercel/next.js canary vercel/next.js kdy1/swc-update Change
869.HASH.js gzip 181 B 180 B -1 B
933-HASH.js gzip 69.6 kB 69.5 kB -33 B
main-app-HASH.js gzip 211 B 209 B -2 B
main-HASH.js gzip 82.8 kB 82.8 kB ⚠️ +10 B
webpack-HASH.js gzip 1.7 kB 1.7 kB -2 B
Overall change 154 kB 154 kB -28 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js kdy1/swc-update Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages Overall decrease ✓
vercel/next.js canary vercel/next.js kdy1/swc-update Change
_app-HASH.js gzip 192 B 192 B
_error-HASH.js gzip 180 B 179 B -1 B
amp-HASH.js gzip 483 B 481 B -2 B
css-HASH.js gzip 801 B 799 B -2 B
dynamic-HASH.js gzip 2.27 kB 2.27 kB -4 B
edge-ssr-HASH.js gzip 259 B 259 B
head-HASH.js gzip 828 B 827 B -1 B
hooks-HASH.js gzip 849 B 847 B -2 B
image-HASH.js gzip 4.44 kB 4.43 kB -5 B
index-HASH.js gzip 252 B 254 B ⚠️ +2 B
link-HASH.js gzip 2.76 kB 2.76 kB
routerDirect..HASH.js gzip 781 B 782 B ⚠️ +1 B
script-HASH.js gzip 858 B 856 B -2 B
withRouter-HASH.js gzip 782 B 779 B -3 B
85e02e95b279..7e3.css gzip 107 B 107 B
Overall change 15.8 kB 15.8 kB -19 B
Client Build Manifests
vercel/next.js canary vercel/next.js kdy1/swc-update Change
_buildManifest.js gzip 483 B 483 B
Overall change 483 B 483 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary vercel/next.js kdy1/swc-update Change
index.html gzip 548 B 548 B
link.html gzip 557 B 558 B ⚠️ +1 B
withRouter.html gzip 544 B 544 B
Overall change 1.65 kB 1.65 kB ⚠️ +1 B
Edge SSR bundle Size Overall increase ⚠️
vercel/next.js canary vercel/next.js kdy1/swc-update Change
edge-ssr.js gzip 131 kB 131 kB -6 B
page.js gzip 117 kB 117 kB ⚠️ +9 B
Overall change 248 kB 248 kB ⚠️ +3 B
Middleware size Overall increase ⚠️
vercel/next.js canary vercel/next.js kdy1/swc-update Change
middleware-b..fest.js gzip 584 B 585 B ⚠️ +1 B
middleware-r..fest.js gzip 145 B 144 B -1 B
middleware.js gzip 18.4 kB 18.4 kB ⚠️ +6 B
edge-runtime..pack.js gzip 1.83 kB 1.83 kB
Overall change 21 kB 21 kB ⚠️ +6 B

Diffs

Diff for page.js

Diff too large to display

Diff for middleware-b..-manifest.js
@@ -7,81 +7,81 @@ self.__BUILD_MANIFEST = {
     "static/BUILD_ID/_ssgManifest.js",
   ],
   rootMainFiles: [
-    "static/chunks/webpack-d9965445ebce461e.js",
-    "static/chunks/933-a28024173dbf0115.js",
-    "static/chunks/main-app-bd8bdf1b593c8af2.js",
+    "static/chunks/webpack-c61449b956bd4ddc.js",
+    "static/chunks/893-4c7dbe4800568879.js",
+    "static/chunks/main-app-c26b2a0087e528a9.js",
   ],
   pages: {
     "/": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/index-96b4df8f97c0f01a.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/index-b21e2d2005e858d6.js",
     ],
     "/_app": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/_app-39c49a32fdfb4902.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/_app-fd2fd11c0153c1f4.js",
     ],
     "/_error": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/_error-d79135b4d7090152.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/_error-65d572d29e2548b7.js",
     ],
     "/amp": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/amp-3e73e98c5f333ae8.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/amp-62aee2a49812a08f.js",
     ],
     "/css": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
       "static/css/94fdbc56eafa2039.css",
-      "static/chunks/pages/css-5e256e56d8e26951.js",
+      "static/chunks/pages/css-90c3ee39f7bca7ef.js",
     ],
     "/dynamic": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/dynamic-c81f7204b8a7f946.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/dynamic-b2fe956bab12dbce.js",
     ],
     "/edge-ssr": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/edge-ssr-36372aa7b0810cd4.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/edge-ssr-53842fa626eeba30.js",
     ],
     "/head": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/head-bba3641f74516a0d.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/head-0b621999ef90df87.js",
     ],
     "/hooks": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/hooks-5bc49a85e3a1ebb1.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/hooks-2b5b04fc08660760.js",
     ],
     "/image": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/image-1f0902240b5d0446.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/image-6f22db55fbf57ed3.js",
     ],
     "/link": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/link-ee4f7deeb8112e61.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/link-6af118e4c6f497bb.js",
     ],
     "/routerDirect": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/routerDirect-5d7d47d901e3719c.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/routerDirect-99b080df5d4700e8.js",
     ],
     "/script": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/script-7181948a834b7ae4.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/script-1cb960fab1da586d.js",
     ],
     "/withRouter": [
-      "static/chunks/webpack-d9965445ebce461e.js",
-      "static/chunks/main-1bb7975e6f5e0ea6.js",
-      "static/chunks/pages/withRouter-ebac16c2d9b51247.js",
+      "static/chunks/webpack-c61449b956bd4ddc.js",
+      "static/chunks/main-1a0a91468fd09afe.js",
+      "static/chunks/pages/withRouter-00f6845c2afd30e2.js",
     ],
   },
   ampFirstPages: [],
Diff for middleware-r..-manifest.js
@@ -1,6 +1,6 @@
 self.__REACT_LOADABLE_MANIFEST = {
   "dynamic.js -> ../components/hello": {
-    id: 4869,
-    files: ["static/chunks/869.cb3f1602da3175db.js"],
+    id: 959,
+    files: ["static/chunks/959.34508e89b1d2d329.js"],
   },
 };
Diff for middleware.js
@@ -2,7 +2,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [826],
   {
-    /***/ 7036: /***/ (
+    /***/ 440: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -15,7 +15,7 @@
       __webpack_require__.d(__webpack_exports__, {
         default: () =>
           /* binding */ next_middleware_loaderabsolutePagePath_private_next_root_dir_2Fmiddleware_js_page_2Fmiddleware_rootDir_2Ftmp_2Fnext_statsGIsW4I_2Fstats_app_matchers_,
-      }); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/error.js
+      }); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/error.js
 
       class PageSignatureError extends Error {
         constructor({ page }) {
@@ -42,7 +42,7 @@
   Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
   `);
         }
-      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/utils.js
+      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/utils.js
 
       //# sourceMappingURL=error.js.map
       function fromNodeHeaders(object) {
@@ -156,7 +156,7 @@
             }
           );
         }
-      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/fetch-event.js
+      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/fetch-event.js
 
       //# sourceMappingURL=utils.js.map
       const responseSymbol = Symbol("response");
@@ -202,7 +202,7 @@
             page: this.sourcePage,
           });
         }
-      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/i18n/detect-domain-locale.js
+      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/i18n/detect-domain-locale.js
 
       //# sourceMappingURL=fetch-event.js.map
       function detectDomainLocale(domainItems, hostname, detectedLocale) {
@@ -227,7 +227,7 @@
             return item;
           }
         }
-      } //# sourceMappingURL=detect-domain-locale.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/remove-trailing-slash.js
+      } //# sourceMappingURL=detect-domain-locale.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/remove-trailing-slash.js
 
       /**
        * Removes the trailing slash for a given route or page path. Preserves the
@@ -237,7 +237,7 @@
        *   - `/` -> `/`
        */ function removeTrailingSlash(route) {
         return route.replace(/\/$/, "") || "/";
-      } //# sourceMappingURL=remove-trailing-slash.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/parse-path.js
+      } //# sourceMappingURL=remove-trailing-slash.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/parse-path.js
 
       /**
        * Given a path this function will find the pathname, query and hash and return
@@ -265,7 +265,7 @@
           query: "",
           hash: "",
         };
-      } //# sourceMappingURL=parse-path.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-path-prefix.js
+      } //# sourceMappingURL=parse-path.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-path-prefix.js
 
       /**
        * Adds the provided prefix to the given path. It first ensures that the path
@@ -276,7 +276,7 @@
         }
         const { pathname, query, hash } = parsePath(path);
         return `${prefix}${pathname}${query}${hash}`;
-      } //# sourceMappingURL=add-path-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-path-suffix.js
+      } //# sourceMappingURL=add-path-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-path-suffix.js
 
       /**
        * Similarly to `addPathPrefix`, this function adds a suffix at the end on the
@@ -288,7 +288,7 @@
         }
         const { pathname, query, hash } = parsePath(path);
         return `${pathname}${suffix}${query}${hash}`;
-      } //# sourceMappingURL=add-path-suffix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/path-has-prefix.js
+      } //# sourceMappingURL=add-path-suffix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/path-has-prefix.js
 
       /**
        * Checks if a given path starts with a given prefix. It ensures it matches
@@ -302,7 +302,7 @@
         }
         const { pathname } = parsePath(path);
         return pathname === prefix || pathname.startsWith(prefix + "/");
-      } //# sourceMappingURL=path-has-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-locale.js
+      } //# sourceMappingURL=path-has-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/add-locale.js
 
       /**
        * For a given path and a locale, if the locale is given, it will prefix the
@@ -321,7 +321,7 @@
         }
         // Add the locale prefix to the path.
         return addPathPrefix(path, `/${locale}`);
-      } //# sourceMappingURL=add-locale.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/format-next-pathname-info.js
+      } //# sourceMappingURL=add-locale.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/format-next-pathname-info.js
 
       function formatNextPathnameInfo(info) {
         let pathname = addLocale(
@@ -345,7 +345,7 @@
             ? addPathSuffix(pathname, "/")
             : pathname
           : removeTrailingSlash(pathname);
-      } //# sourceMappingURL=format-next-pathname-info.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/get-hostname.js
+      } //# sourceMappingURL=format-next-pathname-info.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/get-hostname.js
 
       /**
        * Takes an object with a hostname property (like a parsed URL) and some
@@ -360,7 +360,7 @@
           parsed.hostname) == null
           ? void 0
           : ref.split(":")[0].toLowerCase();
-      } //# sourceMappingURL=get-hostname.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/i18n/normalize-locale-path.js
+      } //# sourceMappingURL=get-hostname.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/i18n/normalize-locale-path.js
 
       /**
        * For a pathname that may include a locale from a list of locales, it
@@ -390,7 +390,7 @@
           pathname,
           detectedLocale,
         };
-      } //# sourceMappingURL=normalize-locale-path.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/remove-path-prefix.js
+      } //# sourceMappingURL=normalize-locale-path.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/remove-path-prefix.js
 
       /**
        * Given a path and a prefix it will remove the prefix when it exists in the
@@ -424,7 +424,7 @@
         // If the path without the prefix doesn't start with a `/` we need to add it
         // back to the path to make sure it's a valid path.
         return `/${withoutPrefix}`;
-      } //# sourceMappingURL=remove-path-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/get-next-pathname-info.js
+      } //# sourceMappingURL=remove-path-prefix.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/get-next-pathname-info.js
 
       function getNextPathnameInfo(pathname, options) {
         var _nextConfig;
@@ -471,7 +471,7 @@
               : info.pathname;
         }
         return info;
-      } //# sourceMappingURL=get-next-pathname-info.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/next-url.js
+      } //# sourceMappingURL=get-next-pathname-info.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/next-url.js
 
       const REGEX_LOCALHOST_HOSTNAME =
         /(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|::1|localhost)/;
@@ -688,8 +688,8 @@
       }
 
       //# sourceMappingURL=next-url.js.map
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js
-      var cookies = __webpack_require__(29); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/cookies.js // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/request.js
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js
+      var cookies = __webpack_require__(8432); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/cookies.js // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/request.js
       //# sourceMappingURL=cookies.js.map
       const INTERNALS = Symbol("internal request");
       class NextRequest extends Request {
@@ -762,7 +762,7 @@
         get url() {
           return this[INTERNALS].url.toString();
         }
-      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/response.js
+      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/spec-extension/response.js
 
       //# sourceMappingURL=request.js.map
       const response_INTERNALS = Symbol("internal response");
@@ -862,7 +862,7 @@
             headers,
           });
         }
-      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/relativize-url.js
+      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/relativize-url.js
 
       //# sourceMappingURL=response.js.map
       /**
@@ -876,7 +876,7 @@
         return `${relative.protocol}//${relative.host}` === origin
           ? relative.toString().replace(origin, "")
           : relative.toString();
-      } //# sourceMappingURL=relativize-url.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/internal-utils.js
+      } //# sourceMappingURL=relativize-url.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/internal-utils.js
 
       const INTERNAL_QUERY_NAMES = [
         "__nextFallback",
@@ -901,7 +901,7 @@
           }
         }
         return searchParams;
-      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/app-paths.js
+      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/shared/lib/router/utils/app-paths.js
 
       //# sourceMappingURL=internal-utils.js.map
       /**
@@ -953,7 +953,7 @@
        * Since this function is used on full urls it checks `?` for searchParams handling.
        */ function normalizeRscPath(pathname, enabled) {
         return enabled ? pathname.replace(/\.rsc($|\?)/, "$1") : pathname;
-      } //# sourceMappingURL=app-paths.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/client/components/app-router-headers.js
+      } //# sourceMappingURL=app-paths.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/client/components/app-router-headers.js
 
       const RSC = "RSC";
       const ACTION = "Next-Action";
@@ -966,7 +966,7 @@
         [RSC],
         [NEXT_ROUTER_STATE_TREE],
         [NEXT_ROUTER_PREFETCH],
-      ]; //# sourceMappingURL=app-router-headers.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/adapter.js
+      ]; //# sourceMappingURL=app-router-headers.js.map // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/esm/server/web/adapter.js
 
       class NextRequestHint extends NextRequest {
         constructor(params) {
@@ -1209,12 +1209,12 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
             throw err;
           }
         }
-      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js?absolutePagePath=private-next-root-dir%2Fmiddleware.js&page=%2Fmiddleware&rootDir=%2Ftmp%2Fnext-statsGIsW4I%2Fstats-app&matchers=!
+      } // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js?absolutePagePath=private-next-root-dir%2Fmiddleware.js&page=%2Fmiddleware&rootDir=%2Ftmp%2Fnext-statsGIsW4I%2Fstats-app&matchers=!
 
       //# sourceMappingURL=adapter.js.map
       enhanceGlobals();
 
-      var mod = __webpack_require__(7917);
+      var mod = __webpack_require__(619);
       var handler = mod.middleware || mod.default;
 
       if (typeof handler !== "function") {
@@ -1236,7 +1236,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 7917: /***/ (
+    /***/ 619: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -1248,7 +1248,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         /* harmony export */
       });
       /* harmony import */ var next_dist_server_web_exports_next_response__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(7721);
+        __webpack_require__(4716);
 
       async function middleware() {
         return next_dist_server_web_exports_next_response__WEBPACK_IMPORTED_MODULE_0__ /* ["default"].next */.Z.next();
@@ -1257,7 +1257,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 1710: /***/ (__unused_webpack_module, exports) => {
+    /***/ 3426: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -1277,7 +1277,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 8771: /***/ (__unused_webpack_module, exports) => {
+    /***/ 5253: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -1311,7 +1311,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 6567: /***/ (__unused_webpack_module, exports) => {
+    /***/ 1425: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -1343,7 +1343,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 7139: /***/ (
+    /***/ 5259: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1354,8 +1354,8 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true,
       });
       exports.addLocale = addLocale;
-      var _addPathPrefix = __webpack_require__(1330);
-      var _pathHasPrefix = __webpack_require__(4434);
+      var _addPathPrefix = __webpack_require__(4208);
+      var _pathHasPrefix = __webpack_require__(9301);
       function addLocale(path, locale, defaultLocale, ignorePrefix) {
         // If no locale was given or the locale is the default locale, we don't need
         // to prefix the path.
@@ -1377,7 +1377,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 1330: /***/ (
+    /***/ 4208: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1388,7 +1388,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true,
       });
       exports.addPathPrefix = addPathPrefix;
-      var _parsePath = __webpack_require__(211);
+      var _parsePath = __webpack_require__(2929);
       function addPathPrefix(path, prefix) {
         if (!path.startsWith("/") || !prefix) {
           return path;
@@ -1400,7 +1400,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 8756: /***/ (
+    /***/ 9670: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1411,7 +1411,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true,
       });
       exports.addPathSuffix = addPathSuffix;
-      var _parsePath = __webpack_require__(211);
+      var _parsePath = __webpack_require__(2929);
       function addPathSuffix(path, suffix) {
         if (!path.startsWith("/") || !suffix) {
           return path;
@@ -1423,7 +1423,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 1442: /***/ (
+    /***/ 8265: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1434,10 +1434,10 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true,
       });
       exports.formatNextPathnameInfo = formatNextPathnameInfo;
-      var _removeTrailingSlash = __webpack_require__(4877);
-      var _addPathPrefix = __webpack_require__(1330);
-      var _addPathSuffix = __webpack_require__(8756);
-      var _addLocale = __webpack_require__(7139);
+      var _removeTrailingSlash = __webpack_require__(7876);
+      var _addPathPrefix = __webpack_require__(4208);
+      var _addPathSuffix = __webpack_require__(9670);
+      var _addLocale = __webpack_require__(5259);
       function formatNextPathnameInfo(info) {
         let pathname = (0, _addLocale).addLocale(
           info.pathname,
@@ -1468,7 +1468,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 4132: /***/ (
+    /***/ 4751: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1479,9 +1479,9 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true,
       });
       exports.getNextPathnameInfo = getNextPathnameInfo;
-      var _normalizeLocalePath = __webpack_require__(6567);
-      var _removePathPrefix = __webpack_require__(6881);
-      var _pathHasPrefix = __webpack_require__(4434);
+      var _normalizeLocalePath = __webpack_require__(1425);
+      var _removePathPrefix = __webpack_require__(2576);
+      var _pathHasPrefix = __webpack_require__(9301);
       function getNextPathnameInfo(pathname, options) {
         var _nextConfig;
         const { basePath, i18n, trailingSlash } =
@@ -1541,7 +1541,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 211: /***/ (__unused_webpack_module, exports) => {
+    /***/ 2929: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -1575,7 +1575,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 4434: /***/ (
+    /***/ 9301: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1586,7 +1586,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true,
       });
       exports.pathHasPrefix = pathHasPrefix;
-      var _parsePath = __webpack_require__(211);
+      var _parsePath = __webpack_require__(2929);
       function pathHasPrefix(path, prefix) {
         if (typeof path !== "string") {
           return false;
@@ -1598,7 +1598,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 6881: /***/ (
+    /***/ 2576: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1609,7 +1609,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
         value: true,
       });
       exports.removePathPrefix = removePathPrefix;
-      var _pathHasPrefix = __webpack_require__(4434);
+      var _pathHasPrefix = __webpack_require__(9301);
       function removePathPrefix(path, prefix) {
         // If the path doesn't start with the prefix we can return it as is. This
         // protects us from situations where the prefix is a substring of the path
@@ -1640,7 +1640,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 4877: /***/ (__unused_webpack_module, exports) => {
+    /***/ 7876: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -1654,7 +1654,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 29: /***/ (module) => {
+    /***/ 8432: /***/ (module) => {
       "use strict";
 
       var __defProp = Object.defineProperty;
@@ -1976,7 +1976,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 7721: /***/ (
+    /***/ 4716: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -1993,14 +1993,14 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
           return _response.NextResponse;
         },
       });
-      var _response = __webpack_require__(5277);
+      var _response = __webpack_require__(5165);
 
       //# sourceMappingURL=next-response.js.map
 
       /***/
     },
 
-    /***/ 3062: /***/ (
+    /***/ 4901: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -2010,10 +2010,10 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       Object.defineProperty(exports, "__esModule", {
         value: true,
       });
-      var _detectDomainLocale = __webpack_require__(8771);
-      var _formatNextPathnameInfo = __webpack_require__(1442);
-      var _getHostname = __webpack_require__(1710);
-      var _getNextPathnameInfo = __webpack_require__(4132);
+      var _detectDomainLocale = __webpack_require__(5253);
+      var _formatNextPathnameInfo = __webpack_require__(8265);
+      var _getHostname = __webpack_require__(3426);
+      var _getNextPathnameInfo = __webpack_require__(4751);
       const REGEX_LOCALHOST_HOSTNAME =
         /(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|::1|localhost)/;
       function parseURL(url, base) {
@@ -2237,7 +2237,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 3868: /***/ (
+    /***/ 4570: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -2247,7 +2247,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       Object.defineProperty(exports, "__esModule", {
         value: true,
       });
-      var _cookies = _interopRequireWildcard(__webpack_require__(29));
+      var _cookies = _interopRequireWildcard(__webpack_require__(8432));
       Object.keys(_cookies).forEach(function (key) {
         if (key === "default" || key === "__esModule") return;
         if (key in exports && exports[key] === _cookies[key]) return;
@@ -2309,7 +2309,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 5277: /***/ (
+    /***/ 5165: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -2319,9 +2319,9 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       Object.defineProperty(exports, "__esModule", {
         value: true,
       });
-      var _nextUrl = __webpack_require__(3062);
-      var _utils = __webpack_require__(88);
-      var _cookies = __webpack_require__(3868);
+      var _nextUrl = __webpack_require__(4901);
+      var _utils = __webpack_require__(30);
+      var _cookies = __webpack_require__(4570);
       const INTERNALS = Symbol("internal response");
       const REDIRECTS = new Set([301, 302, 303, 307, 308]);
       function handleMiddlewareField(init, headers) {
@@ -2430,7 +2430,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
       /***/
     },
 
-    /***/ 88: /***/ (__unused_webpack_module, exports) => {
+    /***/ 30: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -2551,7 +2551,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
-    /******/ var __webpack_exports__ = __webpack_exec__(7036);
+    /******/ var __webpack_exports__ = __webpack_exec__(440);
     /******/ (_ENTRIES =
       typeof _ENTRIES === "undefined" ? {} : _ENTRIES).middleware_middleware =
       __webpack_exports__;
Diff for edge-ssr.js

Diff too large to display

Diff for _buildManifest.js
@@ -1,28 +1,28 @@
 self.__BUILD_MANIFEST = {
   __rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
-  "/": ["static\u002Fchunks\u002Fpages\u002Findex-96b4df8f97c0f01a.js"],
-  "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-d79135b4d7090152.js"],
-  "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-3e73e98c5f333ae8.js"],
+  "/": ["static\u002Fchunks\u002Fpages\u002Findex-b21e2d2005e858d6.js"],
+  "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-65d572d29e2548b7.js"],
+  "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-62aee2a49812a08f.js"],
   "/css": [
     "static\u002Fcss\u002F94fdbc56eafa2039.css",
-    "static\u002Fchunks\u002Fpages\u002Fcss-5e256e56d8e26951.js",
+    "static\u002Fchunks\u002Fpages\u002Fcss-90c3ee39f7bca7ef.js",
   ],
   "/dynamic": [
-    "static\u002Fchunks\u002Fpages\u002Fdynamic-c81f7204b8a7f946.js",
+    "static\u002Fchunks\u002Fpages\u002Fdynamic-b2fe956bab12dbce.js",
   ],
   "/edge-ssr": [
-    "static\u002Fchunks\u002Fpages\u002Fedge-ssr-36372aa7b0810cd4.js",
+    "static\u002Fchunks\u002Fpages\u002Fedge-ssr-53842fa626eeba30.js",
   ],
-  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-bba3641f74516a0d.js"],
-  "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-5bc49a85e3a1ebb1.js"],
-  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-1f0902240b5d0446.js"],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-ee4f7deeb8112e61.js"],
+  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-0b621999ef90df87.js"],
+  "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-2b5b04fc08660760.js"],
+  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-6f22db55fbf57ed3.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-6af118e4c6f497bb.js"],
   "/routerDirect": [
-    "static\u002Fchunks\u002Fpages\u002FrouterDirect-5d7d47d901e3719c.js",
+    "static\u002Fchunks\u002Fpages\u002FrouterDirect-99b080df5d4700e8.js",
   ],
-  "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-7181948a834b7ae4.js"],
+  "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-1cb960fab1da586d.js"],
   "/withRouter": [
-    "static\u002Fchunks\u002Fpages\u002FwithRouter-ebac16c2d9b51247.js",
+    "static\u002Fchunks\u002Fpages\u002FwithRouter-00f6845c2afd30e2.js",
   ],
   sortedPages: [
     "\u002F",
Diff for _app-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [888],
   {
-    /***/ 3115: /***/ function (
+    /***/ 1113: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/_app",
         function () {
-          return __webpack_require__(9618);
+          return __webpack_require__(6822);
         },
       ]);
       if (false) {
@@ -24,7 +24,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [179], function () {
-      return __webpack_exec__(3115), __webpack_exec__(5038);
+      return __webpack_exec__(1113), __webpack_exec__(1556);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for _error-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [820],
   {
-    /***/ 5374: /***/ function (
+    /***/ 3363: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/_error",
         function () {
-          return __webpack_require__(1261);
+          return __webpack_require__(3972);
         },
       ]);
       if (false) {
@@ -24,7 +24,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 179], function () {
-      return __webpack_exec__(5374);
+      return __webpack_exec__(3363);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for amp-HASH.js
@@ -1,17 +1,17 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [216],
   {
-    /***/ 8510: /***/ function (
+    /***/ 8753: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = __webpack_require__(6863);
+      module.exports = __webpack_require__(1088);
 
       /***/
     },
 
-    /***/ 7010: /***/ function (
+    /***/ 5348: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -19,7 +19,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/amp",
         function () {
-          return __webpack_require__(8381);
+          return __webpack_require__(1458);
         },
       ]);
       if (false) {
@@ -28,7 +28,7 @@
       /***/
     },
 
-    /***/ 6863: /***/ function (module, exports, __webpack_require__) {
+    /***/ 1088: /***/ function (module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -37,9 +37,9 @@
       exports.useAmp = useAmp;
       var _interop_require_default =
         __webpack_require__(1322) /* ["default"] */.Z;
-      var _react = _interop_require_default(__webpack_require__(2947));
-      var _ampContext = __webpack_require__(7218);
-      var _ampMode = __webpack_require__(9569);
+      var _react = _interop_require_default(__webpack_require__(465));
+      var _ampContext = __webpack_require__(583);
+      var _ampMode = __webpack_require__(8881);
       function useAmp() {
         // Don't assign the context value to a variable to save bytes
         return (0, _ampMode).isInAmpMode(
@@ -61,7 +61,7 @@
       /***/
     },
 
-    /***/ 8381: /***/ function (
+    /***/ 1458: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -78,7 +78,7 @@
         /* harmony export */
       });
       /* harmony import */ var next_amp__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(8510);
+        __webpack_require__(8753);
       /* harmony import */ var next_amp__WEBPACK_IMPORTED_MODULE_0___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_amp__WEBPACK_IMPORTED_MODULE_0__
@@ -102,7 +102,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 179], function () {
-      return __webpack_exec__(7010);
+      return __webpack_exec__(5348);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for css-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [706],
   {
-    /***/ 860: /***/ function (
+    /***/ 6437: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/css",
         function () {
-          return __webpack_require__(3215);
+          return __webpack_require__(5701);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 3215: /***/ function (
+    /***/ 5701: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -26,9 +26,9 @@
       "use strict";
       __webpack_require__.r(__webpack_exports__);
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(3268);
+        __webpack_require__(9701);
       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(4294);
+        __webpack_require__(5725);
       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           _css_module_css__WEBPACK_IMPORTED_MODULE_1__
@@ -48,14 +48,14 @@
       /***/
     },
 
-    /***/ 4294: /***/ function (module) {
+    /***/ 5725: /***/ function (module) {
       // extracted by mini-css-extract-plugin
       module.exports = { helloWorld: "css_helloWorld__qqNwY" };
 
       /***/
     },
 
-    /***/ 6205: /***/ function (
+    /***/ 1963: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -70,7 +70,7 @@
        * This source code is licensed under the MIT license found in the
        * LICENSE file in the root directory of this source tree.
        */
-      var f = __webpack_require__(2947),
+      var f = __webpack_require__(465),
         k = Symbol.for("react.element"),
         l = Symbol.for("react.fragment"),
         m = Object.prototype.hasOwnProperty,
@@ -105,7 +105,7 @@
       /***/
     },
 
-    /***/ 3268: /***/ function (
+    /***/ 9701: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
@@ -113,7 +113,7 @@
       "use strict";
 
       if (true) {
-        module.exports = __webpack_require__(6205);
+        module.exports = __webpack_require__(1963);
       } else {
       }
 
@@ -126,7 +126,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 179], function () {
-      return __webpack_exec__(860);
+      return __webpack_exec__(6437);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for dynamic-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [739],
   {
-    /***/ 3995: /***/ function (
+    /***/ 7753: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/dynamic",
         function () {
-          return __webpack_require__(8267);
+          return __webpack_require__(825);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 6854: /***/ function (module, exports, __webpack_require__) {
+    /***/ 1678: /***/ function (module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -29,8 +29,8 @@
       var _extends = __webpack_require__(5321) /* ["default"] */.Z;
       var _interop_require_default =
         __webpack_require__(1322) /* ["default"] */.Z;
-      var _react = _interop_require_default(__webpack_require__(2947));
-      var _loadable = _interop_require_default(__webpack_require__(8673));
+      var _react = _interop_require_default(__webpack_require__(465));
+      var _loadable = _interop_require_default(__webpack_require__(899));
       function dynamic(dynamicOptions, options) {
         let loadableFn = _loadable.default;
         let loadableOptions = {
@@ -127,7 +127,7 @@
       /***/
     },
 
-    /***/ 3611: /***/ function (
+    /***/ 6601: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -140,7 +140,7 @@
       exports.LoadableContext = void 0;
       var _interop_require_default =
         __webpack_require__(1322) /* ["default"] */.Z;
-      var _react = _interop_require_default(__webpack_require__(2947));
+      var _react = _interop_require_default(__webpack_require__(465));
       const LoadableContext = _react.default.createContext(null);
       exports.LoadableContext = LoadableContext;
       if (false) {
@@ -149,7 +149,7 @@
       /***/
     },
 
-    /***/ 8673: /***/ function (
+    /***/ 899: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -163,8 +163,8 @@
       var _extends = __webpack_require__(5321) /* ["default"] */.Z;
       var _interop_require_default =
         __webpack_require__(1322) /* ["default"] */.Z;
-      var _react = _interop_require_default(__webpack_require__(2947));
-      var _loadableContext = __webpack_require__(3611);
+      var _react = _interop_require_default(__webpack_require__(465));
+      var _loadableContext = __webpack_require__(6601);
       function resolve(obj) {
         return obj && obj.default ? obj.default : obj;
       }
@@ -404,7 +404,7 @@
       /***/
     },
 
-    /***/ 8267: /***/ function (
+    /***/ 825: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -418,9 +418,9 @@
         /* harmony export */
       });
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(3268);
+        __webpack_require__(9701);
       /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(6113);
+        __webpack_require__(2677);
       /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_dynamic__WEBPACK_IMPORTED_MODULE_1__
@@ -429,11 +429,11 @@
       const DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(
         () =>
           __webpack_require__
-            .e(/* import() */ 869)
-            .then(__webpack_require__.bind(__webpack_require__, 4869)),
+            .e(/* import() */ 959)
+            .then(__webpack_require__.bind(__webpack_require__, 959)),
         {
           loadableGenerated: {
-            webpack: () => [/*require.resolve*/ 4869],
+            webpack: () => [/*require.resolve*/ 959],
           },
         }
       );
@@ -460,7 +460,7 @@
       /***/
     },
 
-    /***/ 6205: /***/ function (
+    /***/ 1963: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -475,7 +475,7 @@
        * This source code is licensed under the MIT license found in the
        * LICENSE file in the root directory of this source tree.
        */
-      var f = __webpack_require__(2947),
+      var f = __webpack_require__(465),
         k = Symbol.for("react.element"),
         l = Symbol.for("react.fragment"),
         m = Object.prototype.hasOwnProperty,
@@ -510,7 +510,7 @@
       /***/
     },
 
-    /***/ 3268: /***/ function (
+    /***/ 9701: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
@@ -518,19 +518,19 @@
       "use strict";
 
       if (true) {
-        module.exports = __webpack_require__(6205);
+        module.exports = __webpack_require__(1963);
       } else {
       }
 
       /***/
     },
 
-    /***/ 6113: /***/ function (
+    /***/ 2677: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = __webpack_require__(6854);
+      module.exports = __webpack_require__(1678);
 
       /***/
     },
@@ -541,7 +541,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 179], function () {
-      return __webpack_exec__(3995);
+      return __webpack_exec__(7753);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for edge-ssr-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [800],
   {
-    /***/ 6219: /***/ function (
+    /***/ 6027: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/edge-ssr",
         function () {
-          return __webpack_require__(7322);
+          return __webpack_require__(9526);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 7322: /***/ function (
+    /***/ 9526: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -50,7 +50,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 179], function () {
-      return __webpack_exec__(6219);
+      return __webpack_exec__(6027);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for head-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [645],
   {
-    /***/ 2899: /***/ function (
+    /***/ 6955: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/head",
         function () {
-          return __webpack_require__(4463);
+          return __webpack_require__(157);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 4463: /***/ function (
+    /***/ 157: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -32,9 +32,9 @@
         /* harmony export */
       });
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(3268);
+        __webpack_require__(9701);
       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(8412);
+        __webpack_require__(9046);
       /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1___default =
         /*#__PURE__*/ __webpack_require__.n(
           next_head__WEBPACK_IMPORTED_MODULE_1__
@@ -68,7 +68,7 @@
       /***/
     },
 
-    /***/ 6205: /***/ function (
+    /***/ 1963: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -83,7 +83,7 @@
        * This source code is licensed under the MIT license found in the
        * LICENSE file in the root directory of this source tree.
        */
-      var f = __webpack_require__(2947),
+      var f = __webpack_require__(465),
         k = Symbol.for("react.element"),
         l = Symbol.for("react.fragment"),
         m = Object.prototype.hasOwnProperty,
@@ -118,7 +118,7 @@
       /***/
     },
 
-    /***/ 3268: /***/ function (
+    /***/ 9701: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
@@ -126,19 +126,19 @@
       "use strict";
 
       if (true) {
-        module.exports = __webpack_require__(6205);
+        module.exports = __webpack_require__(1963);
       } else {
       }
 
       /***/
     },
 
-    /***/ 8412: /***/ function (
+    /***/ 9046: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      module.exports = __webpack_require__(6593);
+      module.exports = __webpack_require__(6732);
 
       /***/
     },
@@ -149,7 +149,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 179], function () {
-      return __webpack_exec__(2899);
+      return __webpack_exec__(6955);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for hooks-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [757],
   {
-    /***/ 2304: /***/ function (
+    /***/ 7819: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/hooks",
         function () {
-          return __webpack_require__(59);
+          return __webpack_require__(58);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 59: /***/ function (
+    /***/ 58: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -26,9 +26,9 @@
       "use strict";
       __webpack_require__.r(__webpack_exports__);
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(3268);
+        __webpack_require__(9701);
       /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ =
-        __webpack_require__(2947);
+        __webpack_require__(465);
 
       /* harmony default export */ __webpack_exports__["default"] = () => {
         const [clicks1, setClicks1] =
@@ -73,7 +73,7 @@
       /***/
     },
 
-    /***/ 6205: /***/ function (
+    /***/ 1963: /***/ function (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -88,7 +88,7 @@
        * This source code is licensed under the MIT license found in the
        * LICENSE file in the root directory of this source tree.
        */
-      var f = __webpack_require__(2947),
+      var f = __webpack_require__(465),
         k = Symbol.for("react.element"),
         l = Symbol.for("react.fragment"),
         m = Object.prototype.hasOwnProperty,
@@ -123,7 +123,7 @@
       /***/
     },
 
-    /***/ 3268: /***/ function (
+    /***/ 9701: /***/ function (
       module,
       __unused_webpack_exports,
       __webpack_require__
@@ -131,7 +131,7 @@
       "use strict";
 
       if (true) {
-        module.exports = __webpack_require__(6205);
+        module.exports = __webpack_require__(1963);
       } else {
       }
 
@@ -144,7 +144,7 @@
       return __webpack_require__((__webpack_require__.s = moduleId));
     };
     /******/ __webpack_require__.O(0, [888, 179], function () {
-      return __webpack_exec__(2304);
+      return __webpack_exec__(7819);
     });
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for image-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [358],
   {
-    /***/ 5885: /***/ function (
+    /***/ 801: /***/ function (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function () {
-          return __webpack_require__(3428);
+          return __webpack_require__(2018);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 2957: /***/ function (module, exports, __webpack_require__) {
+    /***/ 1568: /***/ function (module, exports, __webpack_require__) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -32,13 +32,13 @@
         __webpack_require__(6687) /* ["default"] */.Z;
       var _object_without_properties_loose =
         __webpack_require__(6239) /* ["default"] */.Z;
-      var _react = _interop_require_wildcard(__webpack_require__(2947));
-      var _head = _interop_require_default(__webpack_require__(6593));
-      var _imageBlurSvg = __webpack_require__(3811);
-      var _imageConfig = __webpack_require__(8419);
-      var _imageConfigContext = __webpack_require__(8147);
-      var _warnOnce = __webpack_require__(5664);
-      var _imageLoader = _interop_require_default(__webpack_require__(5324));
+      var _react = _interop_require_wildcard(__webpack_require__(465));
+      var _head = _interop_require_default(__webpack_require__(6732));
+      var _imageBlurSvg = __webpack_require__(3681);
+      var _imageConfig = __webpack_require__(8394);
+      var _imageConfigContext = __webpack_require__(11);
+      var _warnOnce = __webpack_require__(2485);
+      var _imageLoader = _interop_require_default(__webpack_require__(4439));
       const configEnv = {
         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
         imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
@@ -732,7 +732,7 @@
       /***/
     },
 
-    /***/ 3811: /***/ function (__unused_webpack_module, exports) {
+    /***/ 3681: /***/ function (__unused_webpack_module, exports) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -785,7 +785,7 @@
       /***/
     },
 
-    /***/ 5324: /***/ function (__unused_webpack_module, exports) {
+    /***/ 4439: /***/ function (__unused_webpack_module, exports) {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -811,7 +811,7 @@
       /***/
     },
 
-    /***/ 3428: /***/ function (
+    /***/ 2018: /***/ function (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -830,10 +830,10 @@
         },
       });
 
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react/jsx-runtime.js
-      var jsx_runtime = __webpack_require__(3268);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_biqbaboplfbrettd7655fr4n2y/node_modules/next/image.js
-      var next_image = __webpack_require__(3960);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packag
Post job cleanup.
[command]/usr/bin/git version
git version 2.40.0
Temporarily overriding HOME='/home/runner/work/_temp/6fd797cd-bd23-4685-9bb7-fa81fecdbd72' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/next.js/next.js
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Cleaning up orphan processes
Commit: 9c5ca9c60e101dd733c2dc3bc65b98a3ddeea49f

@ijjk
Copy link
Member

ijjk commented Mar 28, 2023

Failing test suites

Commit: b7251e6

pnpm testheadless test/integration/edge-runtime-dynamic-code/test/index.test.js

  • Edge route usage of dynamic code evaluation > dev mode > shows a warning when running code with eval
  • Edge route usage of dynamic code evaluation > dev mode > does not show warning when no code uses eval
  • Edge route usage of dynamic code evaluation > dev mode > shows a warning when running WebAssembly.compile
  • Edge route usage of dynamic code evaluation > dev mode > shows a warning when running WebAssembly.instantiate with a buffer parameter
  • Edge route usage of dynamic code evaluation > dev mode > does not show a warning when running WebAssembly.instantiate with a module parameter
Expand output

● Edge route usage of dynamic code evaluation › dev mode › shows a warning when running code with eval

FetchError: invalid json response body at http://localhost:43939/api/route?case=using-eval reason: Unexpected token < in JSON at position 0

  69 |     },
  70 |     async extractValue(response) {
> 71 |       return (await response.json()).value
     |               ^
  72 |     },
  73 |   },
  74 | ])(

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at extractValue (integration/edge-runtime-dynamic-code/test/index.test.js:71:15)
  at Object.<anonymous> (integration/edge-runtime-dynamic-code/test/index.test.js:101:16)

● Edge route usage of dynamic code evaluation › dev mode › does not show warning when no code uses eval

FetchError: invalid json response body at http://localhost:43939/api/route?case=not-using-eval reason: Unexpected token < in JSON at position 0

  69 |     },
  70 |     async extractValue(response) {
> 71 |       return (await response.json()).value
     |               ^
  72 |     },
  73 |   },
  74 | ])(

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at extractValue (integration/edge-runtime-dynamic-code/test/index.test.js:71:15)
  at Object.<anonymous> (integration/edge-runtime-dynamic-code/test/index.test.js:115:16)

● Edge route usage of dynamic code evaluation › dev mode › shows a warning when running WebAssembly.compile

FetchError: invalid json response body at http://localhost:43939/api/route?case=using-webassembly-compile reason: Unexpected token < in JSON at position 0

  69 |     },
  70 |     async extractValue(response) {
> 71 |       return (await response.json()).value
     |               ^
  72 |     },
  73 |   },
  74 | ])(

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at extractValue (integration/edge-runtime-dynamic-code/test/index.test.js:71:15)
  at Object.<anonymous> (integration/edge-runtime-dynamic-code/test/index.test.js:125:16)

● Edge route usage of dynamic code evaluation › dev mode › shows a warning when running WebAssembly.instantiate with a buffer parameter

FetchError: invalid json response body at http://localhost:43939/api/route?case=using-webassembly-instantiate-with-buffer reason: Unexpected token < in JSON at position 0

  69 |     },
  70 |     async extractValue(response) {
> 71 |       return (await response.json()).value
     |               ^
  72 |     },
  73 |   },
  74 | ])(

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at extractValue (integration/edge-runtime-dynamic-code/test/index.test.js:71:15)
  at Object.<anonymous> (integration/edge-runtime-dynamic-code/test/index.test.js:140:16)

● Edge route usage of dynamic code evaluation › dev mode › does not show a warning when running WebAssembly.instantiate with a module parameter

FetchError: invalid json response body at http://localhost:43939/api/route?case=using-webassembly-instantiate reason: Unexpected token < in JSON at position 0

  69 |     },
  70 |     async extractValue(response) {
> 71 |       return (await response.json()).value
     |               ^
  72 |     },
  73 |   },
  74 | ])(

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at extractValue (integration/edge-runtime-dynamic-code/test/index.test.js:71:15)
  at Object.<anonymous> (integration/edge-runtime-dynamic-code/test/index.test.js:155:16)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/production/edge-config-validations/index.test.ts

  • Edge config validations > fails to build when unstable_allowDynamic is not a string
Expand output

● Edge config validations › fails to build when unstable_allowDynamic is not a string

expect(received).toMatch(expected)

Expected substring: "/middleware exported 'config.unstable_allowDynamic' contains invalid pattern 'true': Expected pattern to be a non-empty string"
Received string:    "yarn run v1.22.19
$ /tmp/next-install-9095ef25f4d2df26a5c63665627875b5106d15b3785e022184797e6b95885120/node_modules/.bin/next build
info  - Linting and checking validity of types...
info  - Creating an optimized production build...
info  - Using locally built binary of @next/swc
Failed to compile.·
./middleware.js
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime·
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation··
> Build failed because of webpack errors
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
"

  29 |     })
  30 |     await expect(next.start()).rejects.toThrow('next build failed')
> 31 |     expect(next.cliOutput).toMatch(
     |                            ^
  32 |       `/middleware exported 'config.unstable_allowDynamic' contains invalid pattern 'true': Expected pattern to be a non-empty string`
  33 |     )
  34 |   })

  at Object.<anonymous> (production/edge-config-validations/index.test.ts:31:28)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/production/exported-runtimes-value-validation/index.test.ts

  • Middleware source maps > generates a source map for Edge API
Expand output

● Middleware source maps › generates a source map for Edge API

expect(received).toEqual(expected) // deep equality

Expected: true
Received: false

  45 |     )
  46 |     expect(await fs.pathExists(edgePath)).toEqual(true)
> 47 |     expect(await fs.pathExists(`${edgePath}.map`)).toEqual(true)
     |                                                    ^
  48 |   })
  49 | })
  50 |

  at Object.<anonymous> (production/generate-middleware-source-maps/index.test.ts:47:52)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/fetch-failures-have-good-stack-traces-in-edge-runtime/fetch-failures-have-good-stack-traces-in-edge-runtime.test.ts

  • fetch failures have good stack traces in edge runtime > when returning fetch using an unknown domain, stack traces are preserved
Expand output

● fetch failures have good stack traces in edge runtime › when returning fetch using an unknown domain, stack traces are preserved

page.goto: Timeout 30000ms exceeded.
=========================== logs ===========================
navigating to "http://localhost:35825/api/unknown-domain-no-await", waiting until "load"
============================================================

  168 |       this.activeTrace = encodeURIComponent(url)
  169 |     }
> 170 |     await page.goto(url, { waitUntil: 'load' })
      |                ^
  171 |   }
  172 |
  173 |   back(): BrowserInterface {

  at Playwright.loadPage (lib/browsers/playwright.ts:170:16)
  at webdriver (lib/next-webdriver.ts:110:3)
  at Object.<anonymous> (e2e/fetch-failures-have-good-stack-traces-in-edge-runtime/fetch-failures-have-good-stack-traces-in-edge-runtime.test.ts:39:7)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/app-dir/app-edge/app-edge.test.ts

  • app-dir edge SSR > should handle edge only routes
  • app-dir edge SSR > should handle edge rsc hmr
Expand output

● app-dir edge SSR › should handle edge only routes

expect(received).toContain(expected) // indexOf

Expected substring: "<p>Edge!</p>"
Received string:    "<!DOCTYPE html><html><head><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/><script src=\"/_next/static/chunks/polyfills.js\" nomodule=\"\"></script></head><body><p>Node!</p><script src=\"/_next/static/chunks/webpack.js\" async=\"\"></script><script src=\"/_next/static/chunks/main-app.js\" async=\"\"></script></body></html><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,\"0:\\\"$L1\\\"\\n\"])</script><script>self.__next_f.push([1,\"2:I{\\\"id\\\":\\\"(app-client)/./node_modules/.pnpm/file+..+next-repo-dbd9df6f6a8df23db9d3d4773d18d95e_64kr4f6l5ojkxo6hltacpxczpe/node_modules/next/dist/client/components/app-router.js\\\",\\\"name\\\":\\\"\\\",\\\"chunks\\\":[\\\"app-client-internals:app-client-internals\\\"],\\\"async\\\":false}\\n4:I{\\\"id\\\":\\\"(app-client)/./node_modules/.pnpm/file+..+next-repo-dbd9df6f6a8df23db9d3d4773d18d95e_64kr4f6l5ojkxo6hltacpxczpe/node_modules/next/dist/client/components/error-boundary.js\\\",\\\"name\\\":\\\"\\\",\\\"chunks\\\":[\\\"app-client-internals:app-client-internals\\\"],\\\"async\\\"\"])</script><script>self.__next_f.push([1,\":false}\\n5:I{\\\"id\\\":\\\"(app-client)/./node_modules/.pnpm/file+..+next-repo-dbd9df6f6a8df23db9d3d4773d18d95e_64kr4f6l5ojkxo6hltacpxczpe/node_modules/next/dist/client/components/layout-router.js\\\",\\\"name\\\":\\\"\\\",\\\"chunks\\\":[\\\"app-client-internals:app-client-internals\\\"],\\\"async\\\":false}\\n6:I{\\\"id\\\":\\\"(app-client)/./node_modules/.pnpm/file+..+next-repo-dbd9df6f6a8df23db9d3d4773d18d95e_64kr4f6l5ojkxo6hltacpxczpe/node_modules/next/dist/client/components/render-from-template-context.js\\\",\\\"name\\\":\\\"\\\",\\\"chunks\\\":[\\\"app-client-internals:app-c\"])</script><script>self.__next_f.push([1,\"lient-internals\\\"],\\\"async\\\":false}\\n7:I{\\\"id\\\":\\\"(app-client)/./app/app-edge/layout.tsx\\\",\\\"name\\\":\\\"\\\",\\\"chunks\\\":[\\\"app/app-edge/layout:app/app-edge/layout\\\"],\\\"async\\\":false}\\n\"])</script><script>self.__next_f.push([1,\"1:[\\\"$\\\",\\\"$L2\\\",null,{\\\"assetPrefix\\\":\\\"\\\",\\\"initialCanonicalUrl\\\":\\\"/app-edge\\\",\\\"initialTree\\\":[\\\"\\\",{\\\"children\\\":[\\\"app-edge\\\",{\\\"children\\\":[\\\"__PAGE__\\\",{}]}]},\\\"$undefined\\\",\\\"$undefined\\\",true],\\\"initialHead\\\":\\\"$L3\\\",\\\"globalErrorComponent\\\":\\\"$4\\\",\\\"children\\\":[[\\\"$\\\",\\\"html\\\",null,{\\\"children\\\":[[\\\"$\\\",\\\"head\\\",null,{}],[\\\"$\\\",\\\"body\\\",null,{\\\"children\\\":[\\\"$\\\",\\\"$L5\\\",null,{\\\"parallelRouterKey\\\":\\\"children\\\",\\\"segmentPath\\\":[\\\"children\\\"],\\\"error\\\":\\\"$undefined\\\",\\\"errorStyles\\\":\\\"$undefined\\\",\\\"loading\\\":\\\"$undefined\\\",\\\"loadingStyles\\\":\\\"$undefined\\\",\\\"hasLoading\\\":false,\\\"template\\\":[\\\"$\\\",\\\"$L6\\\",null,{}],\\\"templateStyles\\\":\\\"$undefined\\\",\\\"notFound\\\":[[\\\"$\\\",\\\"title\\\",null,{\\\"children\\\":\\\"404: This page could not be found.\\\"}],[\\\"$\\\",\\\"div\\\",null,{\\\"style\\\":{\\\"fontFamily\\\":\\\"system-ui,\\\\\\\"Segoe UI\\\\\\\",Roboto,Helvetica,Arial,sans-serif,\\\\\\\"Apple Color Emoji\\\\\\\",\\\\\\\"Segoe UI Emoji\\\\\\\"\\\",\\\"height\\\":\\\"100vh\\\",\\\"textAlign\\\":\\\"center\\\",\\\"display\\\":\\\"flex\\\",\\\"flexDirection\\\":\\\"column\\\",\\\"alignItems\\\":\\\"center\\\",\\\"justifyContent\\\":\\\"center\\\"},\\\"children\\\":[\\\"$\\\",\\\"div\\\",null,{\\\"children\\\":[[\\\"$\\\",\\\"style\\\",null,{\\\"dangerouslySetInnerHTML\\\":{\\\"__html\\\":\\\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\\\"}}],[\\\"$\\\",\\\"h1\\\",null,{\\\"className\\\":\\\"next-error-h1\\\",\\\"style\\\":{\\\"display\\\":\\\"inline-block\\\",\\\"margin\\\":\\\"0 20px 0 0\\\",\\\"padding\\\":\\\"0 23px 0 0\\\",\\\"fontSize\\\":24,\\\"fontWeight\\\":500,\\\"verticalAlign\\\":\\\"top\\\",\\\"lineHeight\\\":\\\"49px\\\"},\\\"children\\\":\\\"404\\\"}],[\\\"$\\\",\\\"div\\\",null,{\\\"style\\\":{\\\"display\\\":\\\"inline-block\\\"},\\\"children\\\":[\\\"$\\\",\\\"h2\\\",null,{\\\"style\\\":{\\\"fontSize\\\":14,\\\"fontWeight\\\":400,\\\"lineHeight\\\":\\\"49px\\\",\\\"margin\\\":0},\\\"children\\\":\\\"This page could not be found.\\\"}]}]]}]}]],\\\"notFoundStyles\\\":\\\"$undefined\\\",\\\"asNotFound\\\":false,\\\"childProp\\\":{\\\"current\\\":[[\\\"$\\\",\\\"$L7\\\",null,{\\\"children\\\":[\\\"$\\\",\\\"$L5\\\",null,{\\\"parallelRouterKey\\\":\\\"children\\\",\\\"segmentPath\\\":[\\\"children\\\",\\\"app-edge\\\",\\\"children\\\"],\\\"error\\\":\\\"$undefined\\\",\\\"errorStyles\\\":\\\"$undefined\\\",\\\"loading\\\":\\\"$undefined\\\",\\\"loadingStyles\\\":\\\"$undefined\\\",\\\"hasLoading\\\":false,\\\"template\\\":[\\\"$\\\",\\\"$L6\\\",null,{}],\\\"templateStyles\\\":\\\"$undefined\\\",\\\"notFound\\\":\\\"$undefined\\\",\\\"notFoundStyles\\\":\\\"$undefined\\\",\\\"asNotFound\\\":false,\\\"childProp\\\":{\\\"current\\\":[[\\\"$\\\",\\\"p\\\",null,{\\\"children\\\":\\\"Node!\\\"}],null,null,[]],\\\"segment\\\":\\\"__PAGE__\\\"}}],\\\"params\\\":{}}],null,null,[]],\\\"segment\\\":\\\"app-edge\\\"}}]}]]}],null,null,[]]}]\\n\"])</script><script>self.__next_f.push([1,\"3:[[[\\\"$\\\",\\\"meta\\\",null,{\\\"charSet\\\":\\\"utf-8\\\"}],null,null,null,null,null,null,null,null,null,null,[\\\"$\\\",\\\"meta\\\",null,{\\\"name\\\":\\\"viewport\\\",\\\"content\\\":\\\"width=device-width, initial-scale=1\\\"}],null,null,null,null,null,null,null,null,null,null,[]],[null,null,null,null],null,null,[null,null,null,null,null],null,null,null,null,null]\\n\"])</script>"

  11 |     it('should handle edge only routes', async () => {
  12 |       const appHtml = await next.render('/app-edge')
> 13 |       expect(appHtml).toContain('<p>Edge!</p>')
     |                       ^
  14 |
  15 |       const pageHtml = await next.render('/pages-edge')
  16 |       expect(pageHtml).toContain('<p>pages-edge-ssr</p>')

  at Object.<anonymous> (e2e/app-dir/app-edge/app-edge.test.ts:13:23)

● app-dir edge SSR › should handle edge rsc hmr

TIMED OUT: /edge-hmr/

<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><script src="/_next/static/chunks/polyfills.js" nomodule=""></script></head><body><p>Node!</p><script src="/_next/static/chunks/webpack.js" async=""></script><script src="/_next/static/chunks/main-app.js" async=""></script></body></html><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"0:\"$L1\"\n"])</script><script>self.__next_f.push([1,"2:I{\"id\":\"(app-client)/./node_modules/.pnpm/file+..+next-repo-dbd9df6f6a8df23db9d3d4773d18d95e_64kr4f6l5ojkxo6hltacpxczpe/node_modules/next/dist/client/components/app-router.js\",\"name\":\"\",\"chunks\":[\"app-client-internals:app-client-internals\"],\"async\":false}\n4:I{\"id\":\"(app-client)/./node_modules/.pnpm/file+..+next-repo-dbd9df6f6a8df23db9d3d4773d18d95e_64kr4f6l5ojkxo6hltacpxczpe/node_modules/next/dist/client/components/error-boundary.js\",\"name\":\"\",\"chunks\":[\"app-client-internals:app-client-internals\"],\"async\""])</script><script>self.__next_f.push([1,":false}\n5:I{\"id\":\"(app-client)/./node_modules/.pnpm/file+..+next-repo-dbd9df6f6a8df23db9d3d4773d18d95e_64kr4f6l5ojkxo6hltacpxczpe/node_modules/next/dist/client/components/layout-router.js\",\"name\":\"\",\"chunks\":[\"app-client-internals:app-client-internals\"],\"async\":false}\n6:I{\"id\":\"(app-client)/./node_modules/.pnpm/file+..+next-repo-dbd9df6f6a8df23db9d3d4773d18d95e_64kr4f6l5ojkxo6hltacpxczpe/node_modules/next/dist/client/components/render-from-template-context.js\",\"name\":\"\",\"chunks\":[\"app-client-internals:app-c"])</script><script>self.__next_f.push([1,"lient-internals\"],\"async\":false}\n7:I{\"id\":\"(app-client)/./app/app-edge/layout.tsx\",\"name\":\"\",\"chunks\":[\"app/app-edge/layout:app/app-edge/layout\"],\"async\":false}\n"])</script><script>self.__next_f.push([1,"1:[\"$\",\"$L2\",null,{\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/app-edge\",\"initialTree\":[\"\",{\"children\":[\"app-edge\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialHead\":\"$L3\",\"globalErrorComponent\":\"$4\",\"children\":[[\"$\",\"html\",null,{\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":\"$undefined\",\"asNotFound\":false,\"childProp\":{\"current\":[[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"app-edge\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"asNotFound\":false,\"childProp\":{\"current\":[[\"$\",\"p\",null,{\"children\":\"Node!\"}],null,null,[]],\"segment\":\"__PAGE__\"}}],\"params\":{}}],null,null,[]],\"segment\":\"app-edge\"}}]}]]}],null,null,[]]}]\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"meta\",null,{\"charSet\":\"utf-8\"}],null,null,null,null,null,null,null,null,null,null,[\"$\",\"meta\",null,{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],null,null,null,null,null,null,null,null,null,null,[]],[null,null,null,null],null,null,[null,null,null,null,null],null,null,null,null,null]\n"])</script>

undefined

  569 |
  570 |   if (hardError) {
> 571 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  572 |   }
  573 |   return false
  574 | }

  at check (lib/next-test-utils.js:571:11)
  at Object.<anonymous> (e2e/app-dir/app-edge/app-edge.test.ts:43:9)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/app-dir/edge-runtime-node-compatibility/edge-runtime-node-compatibility.test.ts

  • edge runtime node compatibility > [pages/api] supports node:buffer
Expand output

● edge runtime node compatibility › [pages/api] supports node:buffer

FetchError: invalid json response body at http://localhost:35147/api/buffer reason: Unexpected token < in JSON at position 0

  31 |         body: 'Hello, world!',
  32 |       })
> 33 |       const json = await res.json()
     |                    ^
  34 |       expect(json).toEqual({
  35 |         'B2.Buffer === B.Buffer': true,
  36 |         'Buffer === B.Buffer': true,

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at Object.<anonymous> (e2e/app-dir/edge-runtime-node-compatibility/edge-runtime-node-compatibility.test.ts:33:20)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/app-dir/app-middleware/app-middleware.test.ts

  • app-dir with middleware > Mutate request headers for Edge Functions > Adds new headers
  • app-dir with middleware > Mutate request headers for Edge Functions > Deletes headers
  • app-dir with middleware > Mutate request headers for Edge Functions > Updates headers
Expand output

● app-dir with middleware › Mutate request headers for Edge Functions › Adds new headers

FetchError: invalid json response body at http://localhost:39941/api/dump-headers-edge reason: Unexpected token < in JSON at position 0

  49 |           },
  50 |         })
> 51 |         expect(await toJson(res)).toMatchObject({
     |                ^
  52 |           'x-from-client': 'hello-from-client',
  53 |           'x-from-middleware': 'hello-from-middleware',
  54 |         })

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at Object.<anonymous> (e2e/app-dir/app-middleware/app-middleware.test.ts:51:16)

● app-dir with middleware › Mutate request headers for Edge Functions › Deletes headers

FetchError: invalid json response body at http://localhost:39941/api/dump-headers-edge?remove-headers=x-from-client1%2Cx-from-client2 reason: Unexpected token < in JSON at position 0

  68 |         )
  69 |
> 70 |         const json = await toJson(res)
     |                      ^
  71 |         expect(json).not.toHaveProperty('x-from-client1')
  72 |         expect(json).not.toHaveProperty('X-From-Client2')
  73 |         expect(json).toMatchObject({

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at Object.<anonymous> (e2e/app-dir/app-middleware/app-middleware.test.ts:70:22)

● app-dir with middleware › Mutate request headers for Edge Functions › Updates headers

FetchError: invalid json response body at http://localhost:39941/api/dump-headers-edge?update-headers=x-from-client1%3Dnew-value1%2Cx-from-client2%3Dnew-value2 reason: Unexpected token < in JSON at position 0

  102 |           }
  103 |         )
> 104 |         expect(await toJson(res)).toMatchObject({
      |                ^
  105 |           'x-from-client1': 'new-value1',
  106 |           'x-from-client2': 'new-value2',
  107 |           'x-from-client3': 'old-value3',

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at Object.<anonymous> (e2e/app-dir/app-middleware/app-middleware.test.ts:104:16)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/app-dir/app-static/app-static-custom-handler.test.ts

  • app-dir static/dynamic handling > should output HTML/RSC files for static paths
  • app-dir static/dynamic handling > should have correct prerender-manifest entries
Expand output

● app-dir static/dynamic handling › should output HTML/RSC files for static paths

expect(received).toEqual(expected) // deep equality

- Expected  - 0
+ Received  + 6

@@ -85,14 +85,20 @@
    "static-to-dynamic-error-forced/[id]/page.js",
    "static-to-dynamic-error/[id]/page.js",
    "variable-config-revalidate/revalidate-3.html",
    "variable-config-revalidate/revalidate-3.rsc",
    "variable-config-revalidate/revalidate-3/page.js",
+   "variable-revalidate-edge/encoding.html",
+   "variable-revalidate-edge/encoding.rsc",
    "variable-revalidate-edge/encoding/page.js",
    "variable-revalidate-edge/no-store/page.js",
    "variable-revalidate-edge/post-method-request/page.js",
+   "variable-revalidate-edge/post-method.html",
+   "variable-revalidate-edge/post-method.rsc",
    "variable-revalidate-edge/post-method/page.js",
+   "variable-revalidate-edge/revalidate-3.html",
+   "variable-revalidate-edge/revalidate-3.rsc",
    "variable-revalidate-edge/revalidate-3/page.js",
    "variable-revalidate/authorization.html",
    "variable-revalidate/authorization.rsc",
    "variable-revalidate/authorization/page.js",
    "variable-revalidate/cookie.html",

  153 |           })
  154 |
> 155 |         expect(files).toEqual([
      |                       ^
  156 |           '(new)/custom/page.js',
  157 |           'blog/[author]/[slug]/page.js',
  158 |           'blog/[author]/page.js',

  at Object.<anonymous> (e2e/app-dir/app-static/app-static.test.ts:155:23)

● app-dir static/dynamic handling › should have correct prerender-manifest entries

expect(received).toEqual(expected) // deep equality

- Expected  -  0
+ Received  + 15

@@ -147,10 +147,25 @@
    "/variable-config-revalidate/revalidate-3": Object {
      "dataRoute": "/variable-config-revalidate/revalidate-3.rsc",
      "initialRevalidateSeconds": 3,
      "srcRoute": "/variable-config-revalidate/revalidate-3",
    },
+   "/variable-revalidate-edge/encoding": Object {
+     "dataRoute": "/variable-revalidate-edge/encoding.rsc",
+     "initialRevalidateSeconds": 3,
+     "srcRoute": "/variable-revalidate-edge/encoding",
+   },
+   "/variable-revalidate-edge/post-method": Object {
+     "dataRoute": "/variable-revalidate-edge/post-method.rsc",
+     "initialRevalidateSeconds": 10,
+     "srcRoute": "/variable-revalidate-edge/post-method",
+   },
+   "/variable-revalidate-edge/revalidate-3": Object {
+     "dataRoute": "/variable-revalidate-edge/revalidate-3.rsc",
+     "initialRevalidateSeconds": 3,
+     "srcRoute": "/variable-revalidate-edge/revalidate-3",
+   },
    "/variable-revalidate/authorization": Object {
      "dataRoute": "/variable-revalidate/authorization.rsc",
      "initialRevalidateSeconds": 10,
      "srcRoute": "/variable-revalidate/authorization",
    },

  300 |
  301 |         expect(curManifest.version).toBe(4)
> 302 |         expect(curManifest.routes).toEqual({
      |                                    ^
  303 |           '/blog/tim': {
  304 |             initialRevalidateSeconds: 10,
  305 |             srcRoute: '/blog/[author]',

  at Object.<anonymous> (e2e/app-dir/app-static/app-static.test.ts:302:36)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/image-generation/test/index.test.ts

  • Image Generation > Prod > should generate the image without errors
Expand output

● Image Generation › Prod › should generate the image without errors

thrown: "Exceeded timeout of 90000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  25 |     })
  26 |
> 27 |     it('should generate the image without errors', async () => {
     |     ^
  28 |       const res = await fetchViaHTTP(appPort, '/api/image')
  29 |       expect(res.status).toBe(200)
  30 |       expect(res.headers.get('Content-Type')).toBe('image/png')

  at integration/image-generation/test/index.test.ts:27:5
  at integration/image-generation/test/index.test.ts:14:3
  at Object.<anonymous> (integration/image-generation/test/index.test.ts:13:1)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/integration/react-streaming/test/index.test.js

  • Edge runtime prod > should support streaming for fizz response
  • Edge runtime prod > should not stream to crawlers or google pagerender bot
  • Edge runtime prod > should render 500 error correctly
  • Edge runtime prod > should render fallback if error raised from suspense during streaming
  • Node.js runtime prod > should support streaming for fizz response
  • Node.js runtime prod > should not stream to crawlers or google pagerender bot
  • Node.js runtime prod > should render 500 error correctly
  • Node.js runtime prod > should render fallback if error raised from suspense during streaming
Expand output

● Node.js runtime prod › should support streaming for fizz response

FetchError: request to http://localhost:43941/streaming failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)

● Node.js runtime prod › should not stream to crawlers or google pagerender bot

FetchError: request to http://localhost:43941/streaming failed, reason: connect ECONNREFUSED 127.0.0.1:43941

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)

● Node.js runtime prod › should render 500 error correctly

FetchError: request to http://localhost:43941/err failed, reason: connect ECONNREFUSED 127.0.0.1:43941

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)

● Node.js runtime prod › should render fallback if error raised from suspense during streaming

FetchError: request to http://localhost:43941/err/suspense failed, reason: connect ECONNREFUSED 127.0.0.1:43941

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)

● Edge runtime prod › should support streaming for fizz response

FetchError: request to http://localhost:42733/streaming failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)

● Edge runtime prod › should not stream to crawlers or google pagerender bot

FetchError: request to http://localhost:42733/streaming failed, reason: read ECONNRESET

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)

● Edge runtime prod › should render 500 error correctly

FetchError: request to http://localhost:42733/err failed, reason: connect ECONNREFUSED 127.0.0.1:42733

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)

● Edge runtime prod › should render fallback if error raised from suspense during streaming

FetchError: request to http://localhost:42733/err/suspense failed, reason: connect ECONNREFUSED 127.0.0.1:42733

  at ClientRequest.<anonymous> (../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/edge-api-endpoints-can-receive-body/index.test.ts

  • Edge Compiler can import asset assets > allows to fetch a remote URL
  • Edge Compiler can import asset assets > allows to fetch a remote URL with a path and basename
  • Edge Compiler can import asset assets > allows to fetch text assets
  • Edge Compiler can import asset assets > allows to fetch image assets
  • Edge Compiler can import asset assets > allows to assets from node_modules
  • Edge Compiler can import asset assets > extracts all the assets from the bundle
Expand output

● Edge Compiler can import asset assets › allows to fetch a remote URL

expect(received).toContain(expected) // indexOf

Expected substring: "Example Domain"
Received string:    "<!DOCTYPE html><html><head><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width\"/><meta name=\"next-head-count\" content=\"2\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1679992543697\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1679992543697\" defer=\"\"></script><script src=\"/_next/static/chunks/main.js?ts=1679992543697\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1679992543697\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error.js?ts=1679992543697\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js?ts=1679992543697\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1679992543697\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script src=\"/_next/static/chunks/react-refresh.js?ts=1679992543697\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{\"__NEXT_PAGE\":\"/api/edge\"},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"TypeError\",\"source\":\"server\",\"message\":\"Cannot read properties of undefined (reading 'searchParams')\",\"stack\":\"TypeError: Cannot read properties of undefined (reading 'searchParams')\\n    at __WEBPACK_DEFAULT_EXPORT__ (webpack-internal:///(api)/./pages/api/edge.js:12:37)\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/api-utils/node.js:376:16\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:92:36\\n    at NoopContextManager.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)\\n    at ContextAPI.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516)\\n    at NoopTracer.startActiveSpan (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18086)\\n    at ProxyTracer.startActiveSpan (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18847)\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:81:107\\n    at NoopContextManager.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)\\n    at ContextAPI.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516)\\n    at NextTracerImpl.trace (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:81:32)\\n    at Object.apiResolver (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/api-utils/node.js:374:63)\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async DevServer.runApi (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/next-server.js:515:9)\\n    at async Object.fn (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/next-server.js:843:35)\\n    at async Router.execute (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/router.js:262:32)\\n    at async DevServer.runImpl (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/base-server.js:488:29)\\n    at async DevServer.run (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/dev/next-dev-server.js:842:20)\\n    at async DevServer.handleRequestImpl (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/base-server.js:431:20)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  26 |       handler: 'remote-full',
  27 |     })
> 28 |     expect(await response.text()).toContain('Example Domain')
     |                                   ^
  29 |   })
  30 |
  31 |   it('allows to fetch a remote URL with a path and basename', async () => {

  at Object.<anonymous> (e2e/edge-compiler-can-import-blob-assets/index.test.ts:28:35)

● Edge Compiler can import asset assets › allows to fetch a remote URL with a path and basename

expect(received).toContain(expected) // indexOf

Expected substring: "Example Domain"
Received string:    "<!DOCTYPE html><html><head><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width\"/><meta name=\"next-head-count\" content=\"2\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1679992543828\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1679992543828\" defer=\"\"></script><script src=\"/_next/static/chunks/main.js?ts=1679992543828\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1679992543828\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error.js?ts=1679992543828\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js?ts=1679992543828\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1679992543828\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script src=\"/_next/static/chunks/react-refresh.js?ts=1679992543828\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{\"__NEXT_PAGE\":\"/api/edge\"},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"TypeError\",\"source\":\"server\",\"message\":\"Cannot read properties of undefined (reading 'searchParams')\",\"stack\":\"TypeError: Cannot read properties of undefined (reading 'searchParams')\\n    at __WEBPACK_DEFAULT_EXPORT__ (webpack-internal:///(api)/./pages/api/edge.js:12:37)\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/api-utils/node.js:376:16\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:92:36\\n    at NoopContextManager.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)\\n    at ContextAPI.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516)\\n    at NoopTracer.startActiveSpan (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18086)\\n    at ProxyTracer.startActiveSpan (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18847)\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:81:107\\n    at NoopContextManager.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)\\n    at ContextAPI.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516)\\n    at NextTracerImpl.trace (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:81:32)\\n    at Object.apiResolver (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/api-utils/node.js:374:63)\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async DevServer.runApi (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/next-server.js:515:9)\\n    at async Object.fn (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/next-server.js:843:35)\\n    at async Router.execute (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/router.js:262:32)\\n    at async DevServer.runImpl (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/base-server.js:488:29)\\n    at async DevServer.run (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/dev/next-dev-server.js:842:20)\\n    at async DevServer.handleRequestImpl (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/base-server.js:431:20)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  40 |       }
  41 |     )
> 42 |     expect(await response.text()).toContain('Example Domain')
     |                                   ^
  43 |   })
  44 |
  45 |   it('allows to fetch text assets', async () => {

  at Object.<anonymous> (e2e/edge-compiler-can-import-blob-assets/index.test.ts:42:35)

● Edge Compiler can import asset assets › allows to fetch text assets

expect(received).toContain(expected) // indexOf

Expected substring: "Hello, from text-file.txt!"
Received string:    "<!DOCTYPE html><html><head><style data-next-hide-fouc=\"true\">body{display:none}</style><noscript data-next-hide-fouc=\"true\"><style>body{display:block}</style></noscript><meta charSet=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width\"/><meta name=\"next-head-count\" content=\"2\"/><noscript data-n-css=\"\"></noscript><script defer=\"\" nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1679992543852\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1679992543852\" defer=\"\"></script><script src=\"/_next/static/chunks/main.js?ts=1679992543852\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1679992543852\" defer=\"\"></script><script src=\"/_next/static/chunks/pages/_error.js?ts=1679992543852\" defer=\"\"></script><script src=\"/_next/static/development/_buildManifest.js?ts=1679992543852\" defer=\"\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1679992543852\" defer=\"\"></script><noscript id=\"__next_css__DO_NOT_USE__\"></noscript></head><body><div id=\"__next\"></div><script src=\"/_next/static/chunks/react-refresh.js?ts=1679992543852\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{\"statusCode\":500}},\"page\":\"/_error\",\"query\":{\"__NEXT_PAGE\":\"/api/edge\"},\"buildId\":\"development\",\"isFallback\":false,\"err\":{\"name\":\"TypeError\",\"source\":\"server\",\"message\":\"Cannot read properties of undefined (reading 'searchParams')\",\"stack\":\"TypeError: Cannot read properties of undefined (reading 'searchParams')\\n    at __WEBPACK_DEFAULT_EXPORT__ (webpack-internal:///(api)/./pages/api/edge.js:12:37)\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/api-utils/node.js:376:16\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:92:36\\n    at NoopContextManager.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)\\n    at ContextAPI.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516)\\n    at NoopTracer.startActiveSpan (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18086)\\n    at ProxyTracer.startActiveSpan (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18847)\\n    at /tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:81:107\\n    at NoopContextManager.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)\\n    at ContextAPI.with (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516)\\n    at NextTracerImpl.trace (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/lib/trace/tracer.js:81:32)\\n    at Object.apiResolver (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/api-utils/node.js:374:63)\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n    at async DevServer.runApi (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/next-server.js:515:9)\\n    at async Object.fn (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/next-server.js:843:35)\\n    at async Router.execute (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/router.js:262:32)\\n    at async DevServer.runImpl (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/base-server.js:488:29)\\n    at async DevServer.run (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/dev/next-dev-server.js:842:20)\\n    at async DevServer.handleRequestImpl (/tmp/next-install-73a2012ae7b7b416285738623e5a3d27f6c0933aba836bb8163e9626a0f1d205/node_modules/.pnpm/file+..+next-repo-abc41c5c4834a7924e1b348d01973774_hmifekk62ovj2j2vmz65vbqwla/node_modules/next/dist/server/base-server.js:431:20)\"},\"gip\":true,\"scriptLoader\":[]}</script></body></html>"

  47 |       handler: 'text-file',
  48 |     })
> 49 |     expect(html).toContain('Hello, from text-file.txt!')
     |                  ^
  50 |   })
  51 |
  52 |   it('allows to fetch image assets', async () => {

  at Object.<anonymous> (e2e/edge-compiler-can-import-blob-assets/index.test.ts:49:18)

● Edge Compiler can import asset assets › allows to fetch image assets

expect(received).toBeTrue()

Expected value to be true:
  true
Received:
  false

  58 |       path.join(__dirname, './app/src/vercel.png')
  59 |     )
> 60 |     expect(buffer.equals(image)).toBeTrue()
     |                                  ^
  61 |   })
  62 |
  63 |   it('allows to assets from node_modules', async () => {

  at Object.<anonymous> (e2e/edge-compiler-can-import-blob-assets/index.test.ts:60:34)

● Edge Compiler can import asset assets › allows to assets from node_modules

FetchError: invalid json response body at http://localhost:45737/api/edge?handler=from-node-module reason: Unexpected token < in JSON at position 0

  65 |       handler: 'from-node-module',
  66 |     })
> 67 |     const json = await response.json()
     |                  ^
  68 |     expect(json).toEqual({
  69 |       'i am': 'a node dependency',
  70 |     })

  at ../node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:273:32
  at Object.<anonymous> (e2e/edge-compiler-can-import-blob-assets/index.test.ts:67:18)

● Edge Compiler can import asset assets › extracts all the assets from the bundle

TypeError: Cannot read properties of undefined (reading 'assets')

  77 |     )
  78 |     const manifest = await readJson(manifestPath)
> 79 |     const orderedAssets = manifest.functions['/api/edge'].assets.sort(
     |                                                           ^
  80 |       (a, z) => {
  81 |         return String(a.name).localeCompare(z.name)
  82 |       }

  at Object.<anonymous> (e2e/edge-compiler-can-import-blob-assets/index.test.ts:79:59)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/app-dir/app/index.test.ts

  • app dir > should return the vary header from edge runtime
  • app dir > Subresource Integrity > includes an integrity attribute on scripts
Expand output

● app dir › should return the vary header from edge runtime

expect(received).toBe(expected) // Object.is equality

Expected: "1"
Received: null

  171 |     it('should return the `vary` header from edge runtime', async () => {
  172 |       const res = await next.fetch('/dashboard')
> 173 |       expect(res.headers.get('x-edge-runtime')).toBe('1')
      |                                                 ^
  174 |       expect(res.headers.get('vary')).toBe(
  175 |         'RSC, Next-Router-State-Tree, Next-Router-Prefetch'
  176 |       )

  at Object.<anonymous> (e2e/app-dir/app/index.test.ts:173:49)

● app dir › Subresource Integrity › includes an integrity attribute on scripts

expect(received).toBeDefined()

Received: undefined

  1292 |           elements.each((i, el) => {
  1293 |             const integrity = el.attribs['integrity']
> 1294 |             expect(integrity).toBeDefined()
       |                               ^
  1295 |             expect(integrity).toStartWith('sha256-')
  1296 |
  1297 |             const src = el.attribs['src']

  at Object.<anonymous> (e2e/app-dir/app/index.test.ts:1294:31)
  at initialize.each (../node_modules/.pnpm/cheerio@0.22.0/node_modules/cheerio/lib/api/traversing.js:300:24)
  at Object.<anonymous> (e2e/app-dir/app/index.test.ts:1292:20)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/edge-async-local-storage/index.test.ts

  • edge api can use async local storage > cans use a single instance per request
  • edge api can use async local storage > cans use multiple instances per request
Expand output

● edge api can use async local storage › cans use a single instance per request

expect(received).toMatchObject(expected)

- Expected  - 4
+ Received  + 2

  Object {
-   "json": Object {
-     "id": "req-0",
-   },
-   "status": 200,
+   "json": null,
+   "status": 500,
  }

  32 |       `,
  33 |       expectResponse: (response, id) =>
> 34 |         expect(response).toMatchObject({ status: 200, json: { id } }),
     |                          ^
  35 |     },
  36 |     {
  37 |       title: 'multiple instances',

  at expectResponse (e2e/edge-async-local-storage/index.test.ts:34:26)
  at e2e/edge-async-local-storage/index.test.ts:112:11

● edge api can use async local storage › cans use multiple instances per request

expect(received).toMatchObject(expected)

- Expected  - 5
+ Received  + 2

  Object {
-   "json": Object {
-     "id": "req-0",
-     "nestedId": "nested-req-0",
-   },
-   "status": 200,
+   "json": null,
+   "status": 500,
  }

  61 |       `,
  62 |       expectResponse: (response, id) =>
> 63 |         expect(response).toMatchObject({
     |                          ^
  64 |           status: 200,
  65 |           json: { id: id, nestedId: `nested-${id}` },
  66 |         }),

  at expectResponse (e2e/edge-async-local-storage/index.test.ts:63:26)
  at e2e/edge-async-local-storage/index.test.ts:112:11

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/edge-can-use-wasm-files/index.test.ts

  • output: standalone with app dir > should work correctly with output standalone
Expand output

● output: standalone with app dir › should work correctly with output standalone

thrown: "Exceeded timeout of 240000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  61 |       })
  62 |
> 63 |       it('should work correctly with output standalone', async () => {
     |       ^
  64 |         const tmpFolder = path.join(
  65 |           os.tmpdir(),
  66 |           'next-standalone-' + Date.now()

  at fn (e2e/app-dir/app/standalone.test.ts:63:7)
  at lib/e2e-utils.ts:242:5
  at createNextDescribe (lib/e2e-utils.ts:218:3)
  at Object.<anonymous> (e2e/app-dir/app/standalone.test.ts:15:21)

Read more about building and testing Next.js in contributing.md.

pnpm testheadless test/e2e/middleware-matcher/index.test.ts

  • app dir > should return the vary header from edge runtime
Expand output

● app dir › should return the vary header from edge runtime

expect(received).toBe(expected) // Object.is equality

Expected: "1"
Received: null

  171 |     it('should return the `vary` header from edge runtime', async () => {
  172 |       const res = await next.fetch('/dashboard')
> 173 |       expect(res.headers.get('x-edge-runtime')).toBe('1')
      |                                                 ^
  174 |       expect(res.headers.get('vary')).toBe(
  175 |         'RSC, Next-Router-State-Tree, Next-Router-Prefetch'
  176 |       )

  at Object.<anonymous> (e2e/app-dir/app/index.test.ts:173:49)

Read more about building and testing Next.js in contributing.md.

@sokra sokra force-pushed the kdy1/swc-update branch from b7251e6 to 9c5ca9c Compare March 30, 2023 14:38
@sokra sokra closed this Apr 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants