Skip to content

Commit

Permalink
v10.0.8-canary.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Feb 19, 2021
1 parent 9793e90 commit ef666f2
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"registry": "https://registry.npmjs.org/"
}
},
"version": "10.0.8-canary.3"
"version": "10.0.8-canary.4"
}
2 changes: 1 addition & 1 deletion packages/create-next-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-next-app",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"keywords": [
"react",
"next",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/eslint-plugin-next",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"description": "ESLint plugin for NextJS.",
"main": "lib/index.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-bundle-analyzer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/bundle-analyzer",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"main": "index.js",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-codemod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/codemod",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"license": "MIT",
"dependencies": {
"chalk": "4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-env/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/env",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"keywords": [
"react",
"next",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/mdx",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"main": "index.js",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/plugin-google-analytics",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"repository": {
"url": "vercel/next.js",
"directory": "packages/next-plugin-google-analytics"
Expand Down
2 changes: 1 addition & 1 deletion packages/next-plugin-sentry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/plugin-sentry",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"repository": {
"url": "vercel/next.js",
"directory": "packages/next-plugin-sentry"
Expand Down
2 changes: 1 addition & 1 deletion packages/next-plugin-storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/plugin-storybook",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"repository": {
"url": "vercel/next.js",
"directory": "packages/next-plugin-storybook"
Expand Down
2 changes: 1 addition & 1 deletion packages/next-polyfill-module/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/polyfill-module",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)",
"main": "dist/polyfill-module.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-polyfill-nomodule/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/polyfill-nomodule",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"description": "A polyfill for non-dead, nomodule browsers.",
"main": "dist/polyfill-nomodule.js",
"license": "MIT",
Expand Down
12 changes: 6 additions & 6 deletions packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"description": "The React Framework",
"main": "./dist/server/next.js",
"license": "MIT",
Expand Down Expand Up @@ -62,10 +62,10 @@
"dependencies": {
"@babel/runtime": "7.12.5",
"@hapi/accept": "5.0.1",
"@next/env": "10.0.8-canary.3",
"@next/polyfill-module": "10.0.8-canary.3",
"@next/react-dev-overlay": "10.0.8-canary.3",
"@next/react-refresh-utils": "10.0.8-canary.3",
"@next/env": "10.0.8-canary.4",
"@next/polyfill-module": "10.0.8-canary.4",
"@next/react-dev-overlay": "10.0.8-canary.4",
"@next/react-refresh-utils": "10.0.8-canary.4",
"@opentelemetry/api": "0.14.0",
"ast-types": "0.13.2",
"browserslist": "4.16.1",
Expand Down Expand Up @@ -133,7 +133,7 @@
"@babel/preset-react": "7.12.10",
"@babel/preset-typescript": "7.12.7",
"@babel/types": "7.12.12",
"@next/polyfill-nomodule": "10.0.8-canary.3",
"@next/polyfill-nomodule": "10.0.8-canary.4",
"@taskr/clear": "1.1.0",
"@taskr/esnext": "1.1.0",
"@taskr/watch": "1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dev-overlay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/react-dev-overlay",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"description": "A development-only overlay for developing React applications.",
"repository": {
"url": "vercel/next.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-refresh-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/react-refresh-utils",
"version": "10.0.8-canary.3",
"version": "10.0.8-canary.4",
"description": "An experimental package providing utilities for React Refresh.",
"repository": {
"url": "vercel/next.js",
Expand Down

1 comment on commit ef666f2

@ijjk
Copy link
Member

@ijjk ijjk commented on ef666f2 Feb 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stats from current release

Default Server Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
buildDuration 12.8s 12.8s -9ms
nodeModulesSize 69.8 MB 42.5 MB -27.3 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 2.505 2.515 ⚠️ +0.01
/ avg req/sec 998.06 993.94 ⚠️ -4.12
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.701 1.777 ⚠️ +0.08
/error-in-render avg req/sec 1469.72 1406.84 ⚠️ -62.88
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
677f882d2ed8..5cb0.js gzip 13.1 kB 13.2 kB ⚠️ +57 B
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.65 kB ⚠️ +21 B
webpack-HASH.js gzip 751 B 751 B
Overall change 59.5 kB 59.6 kB ⚠️ +78 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
amp-e3e9bc99..932c.js gzip 536 B 536 B
hooks-5023ef..3670.js gzip 888 B 888 B
index-3a2b03..c677.js gzip 227 B 227 B
link-177412b..043e.js gzip 1.67 kB 1.67 kB
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.66 kB 8.66 kB
Client Build Manifests
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 347 B 347 B
Overall change 347 B 347 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
index.html gzip 614 B 615 B ⚠️ +1 B
link.html gzip 621 B 621 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB ⚠️ +1 B

Diffs

Diff for 677f882d2ed8..fb73c6f26.js
@@ -1568,7 +1568,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
             locale = _ref.locale,
             locales = _ref.locales,
             defaultLocale = _ref.defaultLocale,
-            domainLocales = _ref.domainLocales;
+            domainLocales = _ref.domainLocales,
+            isPreview = _ref.isPreview;
 
           _classCallCheck(this, Router);
 
@@ -1594,6 +1595,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
           this.defaultLocale = void 0;
           this.domainLocales = void 0;
           this.isReady = void 0;
+          this.isPreview = void 0;
           this.isLocaleDomain = void 0;
           this._idx = 0;
 
@@ -1721,6 +1723,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
             self.__NEXT_DATA__.gip ||
             (!autoExportDynamic && !self.location.search)
           );
+          this.isPreview = !!isPreview;
           this.isLocaleDomain = false;
 
           if (false) {
@@ -2238,7 +2241,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
                               (__N_SSP = _routeInfo.__N_SSP); // handle redirect on client-transition
 
                             if (!((__N_SSG || __N_SSP) && props)) {
-                              _context.next = 108;
+                              _context.next = 109;
                               break;
                             }
 
@@ -2288,27 +2291,29 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
                             );
 
                           case 95:
+                            this.isPreview = !!props.__N_PREVIEW; // handle SSG data 404
+
                             if (!(props.notFound === SSG_DATA_NOT_FOUND)) {
-                              _context.next = 108;
+                              _context.next = 109;
                               break;
                             }
 
-                            _context.prev = 96;
-                            _context.next = 99;
+                            _context.prev = 97;
+                            _context.next = 100;
                             return this.fetchComponent("/404");
 
-                          case 99:
+                          case 100:
                             notFoundRoute = "/404";
-                            _context.next = 105;
+                            _context.next = 106;
                             break;
 
-                          case 102:
-                            _context.prev = 102;
-                            _context.t1 = _context["catch"](96);
+                          case 103:
+                            _context.prev = 103;
+                            _context.t1 = _context["catch"](97);
                             notFoundRoute = "/_error";
 
-                          case 105:
-                            _context.next = 107;
+                          case 106:
+                            _context.next = 108;
                             return this.getRouteInfo(
                               notFoundRoute,
                               notFoundRoute,
@@ -2320,10 +2325,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
                               }
                             );
 
-                          case 107:
+                          case 108:
                             routeInfo = _context.sent;
 
-                          case 108:
+                          case 109:
                             Router.events.emit(
                               "beforeHistoryChange",
                               as,
@@ -2336,7 +2341,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
 
                             isValidShallowRoute =
                               options.shallow && this.route === route;
-                            _context.next = 114;
+                            _context.next = 115;
                             return this.set(
                               route,
                               pathname,
@@ -2355,9 +2360,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
                               else throw e;
                             });
 
-                          case 114:
+                          case 115:
                             if (!error) {
-                              _context.next = 117;
+                              _context.next = 118;
                               break;
                             }
 
@@ -2369,7 +2374,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
                             );
                             throw error;
 
-                          case 117:
+                          case 118:
                             if (false) {
                             }
 
@@ -2380,21 +2385,21 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
                             );
                             return _context.abrupt("return", true);
 
-                          case 122:
-                            _context.prev = 122;
+                          case 123:
+                            _context.prev = 123;
                             _context.t2 = _context["catch"](79);
 
                             if (!_context.t2.cancelled) {
-                              _context.next = 126;
+                              _context.next = 127;
                               break;
                             }
 
                             return _context.abrupt("return", false);
 
-                          case 126:
+                          case 127:
                             throw _context.t2;
 
-                          case 127:
+                          case 128:
                           case "end":
                             return _context.stop();
                         }
@@ -2404,8 +2409,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
                     this,
                     [
                       [36, 46],
-                      [79, 122],
-                      [96, 102]
+                      [79, 123],
+                      [97, 103]
                     ]
                   );
                 })
@@ -3126,7 +3131,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
               var _URL = new URL(dataHref, window.location.href),
                 cacheKey = _URL.href;
 
-              if (true && this.sdc[cacheKey]) {
+              if (true && !this.isPreview && this.sdc[cacheKey]) {
                 return Promise.resolve(this.sdc[cacheKey]);
               }
 
@@ -4438,6 +4443,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
         "locales",
         "defaultLocale",
         "isReady",
+        "isPreview",
         "isLocaleDomain"
       ];
       var routerEvents = [
Diff for main-HASH.js
@@ -355,7 +355,7 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         document.getElementById("__NEXT_DATA__").textContent
       );
       window.__NEXT_DATA__ = data;
-      var version = "10.0.7";
+      var version = "10.0.8-canary.4";
       exports.version = version;
 
       var looseToArray = function looseToArray(input) {
@@ -373,7 +373,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         isFallback = data.isFallback,
         locale = data.locale,
         locales = data.locales,
-        domainLocales = data.domainLocales;
+        domainLocales = data.domainLocales,
+        isPreview = data.isPreview;
       var defaultLocale = data.defaultLocale;
       var prefix = assetPrefix || ""; // With dynamic assetPrefix it's no longer possible to set assetPrefix at the build time
       // So, this is how we do it in the client side at runtime
@@ -731,7 +732,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
                           locale: locale,
                           locales: locales,
                           defaultLocale: defaultLocale,
-                          domainLocales: domainLocales
+                          domainLocales: domainLocales,
+                          isPreview: isPreview
                         }
                       ); // call init-client middleware
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-ea0e58195257b82723c1.js"
+      href="/_next/static/chunks/main-3101d4f5bbebaf8801ba.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7cb49231e31fb73c6f26.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7a8444d5b037143b2168.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-ea0e58195257b82723c1.js"
+      src="/_next/static/chunks/main-3101d4f5bbebaf8801ba.js"
       async=""
     ></script>
     <script
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7cb49231e31fb73c6f26.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7a8444d5b037143b2168.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-ea0e58195257b82723c1.js"
+      href="/_next/static/chunks/main-3101d4f5bbebaf8801ba.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7cb49231e31fb73c6f26.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7a8444d5b037143b2168.js"
       as="script"
     />
     <link
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-ea0e58195257b82723c1.js"
+      src="/_next/static/chunks/main-3101d4f5bbebaf8801ba.js"
       async=""
     ></script>
     <script
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7cb49231e31fb73c6f26.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7a8444d5b037143b2168.js"
       async=""
     ></script>
     <script
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-ea0e58195257b82723c1.js"
+      href="/_next/static/chunks/main-3101d4f5bbebaf8801ba.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7cb49231e31fb73c6f26.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7a8444d5b037143b2168.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-ea0e58195257b82723c1.js"
+      src="/_next/static/chunks/main-3101d4f5bbebaf8801ba.js"
       async=""
     ></script>
     <script
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7cb49231e31fb73c6f26.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.7a8444d5b037143b2168.js"
       async=""
     ></script>
     <script

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
buildDuration 15.2s 15s -202ms
nodeModulesSize 69.8 MB 42.5 MB -27.3 MB
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
677f882d2ed8..5cb0.js gzip 13.1 kB N/A N/A
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.65 kB ⚠️ +21 B
webpack-HASH.js gzip 751 B 751 B
677f882d2ed8..854c.js gzip N/A 13.2 kB N/A
Overall change 59.5 kB 59.6 kB ⚠️ +78 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
amp-e3e9bc99..932c.js gzip 536 B 536 B
hooks-5023ef..3670.js gzip 888 B 888 B
index-3a2b03..c677.js gzip 227 B 227 B
link-177412b..043e.js gzip 1.67 kB 1.67 kB
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.66 kB 8.66 kB
Client Build Manifests
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 347 B 347 B
Overall change 347 B 347 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
_error.js 1.01 MB 1.01 MB ⚠️ +214 B
404.html 2.67 kB 2.67 kB
amp.amp.html 10.4 kB 10.4 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.01 MB 1.01 MB ⚠️ +214 B
link.js 1.06 MB 1.06 MB ⚠️ +370 B
routerDirect.js 1.06 MB 1.06 MB ⚠️ +370 B
withRouter.js 1.06 MB 1.06 MB ⚠️ +370 B
Overall change 5.2 MB 5.2 MB ⚠️ +1.54 kB

Webpack 5 Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
buildDuration 15s 15.9s ⚠️ +833ms
nodeModulesSize 69.8 MB 42.5 MB -27.3 MB
Page Load Tests Overall increase ✓
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 2.444 2.415 -0.03
/ avg req/sec 1022.72 1035.4 +12.68
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.731 1.729 0
/error-in-render avg req/sec 1444.44 1445.79 +1.35
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
597-d08f5fe5..d690.js gzip 13.1 kB 13.1 kB ⚠️ +52 B
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.58 kB 6.6 kB ⚠️ +23 B
webpack-HASH.js gzip 954 B 954 B
Overall change 59.9 kB 60 kB ⚠️ +75 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
_app-6e0a903..b885.js gzip 1.26 kB 1.26 kB
_error-9e190..f9d6.js gzip 3.38 kB 3.38 kB
amp-7fd79cc4..99ee.js gzip 538 B 538 B
hooks-f7e199..11b9.js gzip 904 B 904 B
index-3dc22c..ffbb.js gzip 232 B 232 B
link-7cc9e62..ef27.js gzip 1.66 kB 1.66 kB
routerDirect..323a.js gzip 308 B 308 B
withRouter-a..2ef8.js gzip 304 B 304 B
Overall change 8.59 kB 8.59 kB
Client Build Manifests
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 322 B 322 B
Overall change 322 B 322 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary v10.0.7 vercel/next.js refs/heads/canary Change
index.html gzip 585 B 586 B ⚠️ +1 B
link.html gzip 593 B 593 B
withRouter.html gzip 580 B 580 B
Overall change 1.76 kB 1.76 kB ⚠️ +1 B

Diffs

Diff for 677f882d2ed8..7293b5cb0.js
@@ -721,8 +721,8 @@
         }),
         (e.addLocale = b),
         (e.delLocale = _),
-        (e.hasBasePath = k),
-        (e.addBasePath = P),
+        (e.hasBasePath = P),
+        (e.addBasePath = k),
         (e.delBasePath = S),
         (e.isLocalURL = E),
         (e.interpolateAs = R),
@@ -755,10 +755,10 @@
           r = t.indexOf("#");
         return (e > -1 || r > -1) && (t = t.substring(0, e > -1 ? e : r)), t;
       }
-      function k(t) {
+      function P(t) {
         return "" === (t = x(t)) || t.startsWith("/");
       }
-      function P(t) {
+      function k(t) {
         return (function(t, e) {
           return e && t.startsWith("/")
             ? "/" === t
@@ -777,7 +777,7 @@
         try {
           var e = (0, h.getLocationOrigin)(),
             r = new URL(t, e);
-          return r.origin === e && k(r.pathname);
+          return r.origin === e && P(r.pathname);
         } catch (n) {
           return !1;
         }
@@ -865,9 +865,9 @@
           s = a.startsWith(c),
           l = i && i.startsWith(c);
         (a = C(a)), (i = i ? C(i) : i);
-        var f = s ? a : P(a),
+        var f = s ? a : k(a),
           p = r ? C(O(t.pathname, r)) : i || a;
-        return { url: f, as: l ? p : P(p) };
+        return { url: f, as: l ? p : k(p) };
       }
       var j = Symbol("SSG_DATA_NOT_FOUND");
       function T(t, e) {
@@ -900,8 +900,8 @@
             y = o.err,
             m = o.subscription,
             g = o.isFallback,
-            w = o.locale;
-          o.locales, o.defaultLocale, o.domainLocales;
+            w = o.locale,
+            b = (o.locales, o.defaultLocale, o.domainLocales, o.isPreview);
           a(this, t),
             (this.route = void 0),
             (this.pathname = void 0),
@@ -925,6 +925,7 @@
             (this.defaultLocale = void 0),
             (this.domainLocales = void 0),
             (this.isReady = void 0),
+            (this.isPreview = void 0),
             (this.isLocaleDomain = void 0),
             (this._idx = 0),
             (this.onPopState = function(t) {
@@ -955,7 +956,7 @@
                   s = i.query;
                 i.changeState(
                   "replaceState",
-                  (0, h.formatWithValidation)({ pathname: P(c), query: s }),
+                  (0, h.formatWithValidation)({ pathname: k(c), query: s }),
                   (0, h.getURL)()
                 );
               }
@@ -976,8 +977,8 @@
             (this.pageLoader = s),
             (this.pathname = e),
             (this.query = r);
-          var b = (0, p.isDynamicRoute)(e) && self.__NEXT_DATA__.autoExport;
-          (this.asPath = b ? e : n),
+          var _ = (0, p.isDynamicRoute)(e) && self.__NEXT_DATA__.autoExport;
+          (this.asPath = _ ? e : n),
             (this.basePath = ""),
             (this.sub = m),
             (this.clc = null),
@@ -987,13 +988,14 @@
             (this.isReady = !(
               !self.__NEXT_DATA__.gssp &&
               !self.__NEXT_DATA__.gip &&
-              (b || self.location.search)
+              (_ || self.location.search)
             )),
+            (this.isPreview = !!b),
             (this.isLocaleDomain = !1),
             "//" !== n.substr(0, 2) &&
               this.changeState(
                 "replaceState",
-                (0, h.formatWithValidation)({ pathname: P(e), query: r }),
+                (0, h.formatWithValidation)({ pathname: k(e), query: r }),
                 (0, h.getURL)(),
                 { locale: w }
               ),
@@ -1107,14 +1109,14 @@
                                     this._inFlightRoute,
                                     g
                                   ),
-                                (a = P(
+                                (a = k(
                                   b(
-                                    k(a) ? S(a) : a,
+                                    P(a) ? S(a) : a,
                                     i.locale,
                                     this.defaultLocale
                                   )
                                 )),
-                                (w = _(k(a) ? S(a) : a, this.locale)),
+                                (w = _(P(a) ? S(a) : a, this.locale)),
                                 (this._inFlightRoute = a),
                                 i._h || !this.onlyAHashChange(w))
                               ) {
@@ -1260,7 +1262,7 @@
                                 (Y = X.__N_SSP),
                                 (!$ && !Y) || !J)
                               ) {
-                                e.next = 108;
+                                e.next = 109;
                                 break;
                               }
                               if (!J.pageProps || !J.pageProps.__N_REDIRECT) {
@@ -1293,37 +1295,40 @@
                                 e.abrupt("return", new Promise(function() {}))
                               );
                             case 95:
-                              if (J.notFound !== j) {
-                                e.next = 108;
+                              if (
+                                ((this.isPreview = !!J.__N_PREVIEW),
+                                J.notFound !== j)
+                              ) {
+                                e.next = 109;
                                 break;
                               }
                               return (
-                                (e.prev = 96),
-                                (e.next = 99),
+                                (e.prev = 97),
+                                (e.next = 100),
                                 this.fetchComponent("/404")
                               );
-                            case 99:
-                              (rt = "/404"), (e.next = 105);
+                            case 100:
+                              (rt = "/404"), (e.next = 106);
                               break;
-                            case 102:
-                              (e.prev = 102),
-                                (e.t1 = e.catch(96)),
+                            case 103:
+                              (e.prev = 103),
+                                (e.t1 = e.catch(97)),
                                 (rt = "/_error");
-                            case 105:
+                            case 106:
                               return (
-                                (e.next = 107),
+                                (e.next = 108),
                                 this.getRouteInfo(rt, rt, T, a, N, {
                                   shallow: !1
                                 })
                               );
-                            case 107:
-                              V = e.sent;
                             case 108:
+                              V = e.sent;
+                            case 109:
                               return (
                                 t.events.emit("beforeHistoryChange", a, g),
                                 this.changeState(r, o, a, i),
                                 (nt = i.shallow && this.route === M),
-                                (e.next = 114),
+                                (e.next = 115),
                                 this.set(
                                   M,
                                   C,
@@ -1336,31 +1341,31 @@
                                   z = z || t;
                                 })
                               );
-                            case 114:
+                            case 115:
                               if (!z) {
-                                e.next = 117;
+                                e.next = 118;
                                 break;
                               }
                               throw (t.events.emit("routeChangeError", z, w, g),
                               z);
-                            case 117:
+                            case 118:
                               return (
                                 t.events.emit("routeChangeComplete", a, g),
                                 e.abrupt("return", !0)
                               );
-                            case 122:
+                            case 123:
                               if (
-                                ((e.prev = 122),
+                                ((e.prev = 123),
                                 (e.t2 = e.catch(79)),
                                 !e.t2.cancelled)
                               ) {
-                                e.next = 126;
+                                e.next = 127;
                                 break;
                               }
                               return e.abrupt("return", !1);
-                            case 126:
-                              throw e.t2;
                             case 127:
+                              throw e.t2;
+                            case 128:
                             case "end":
                               return e.stop();
                           }
@@ -1369,8 +1374,8 @@
                       this,
                       [
                         [36, 46],
-                        [79, 122],
-                        [96, 102]
+                        [79, 123],
+                        [97, 103]
                       ]
                     );
                   })
@@ -1698,7 +1703,7 @@
                           (0, p.isDynamicRoute)(e) &&
                           (0, m.getRouteRegex)(e).re.test(o)
                         )
-                          return (t.pathname = r ? P(e) : e), !0;
+                          return (t.pathname = r ? k(e) : e), !0;
                       }),
                     (t.pathname = (0, c.removePathTrailingSlash)(t.pathname))),
                   t
@@ -1857,7 +1862,7 @@
               value: function(t) {
                 var e = this,
                   r = new URL(t, window.location.href).href;
-                return this.sdc[r]
+                return !this.isPreview && this.sdc[r]
                   ? Promise.resolve(this.sdc[r])
                   : A(t, this.isSsr).then(function(t) {
                       return (e.sdc[r] = t), t;
@@ -2189,14 +2194,14 @@
           _ = b && b(b(O([])));
         _ && _ !== r && n.call(_, a) && (w = _);
         var x = (g.prototype = y.prototype = Object.create(w));
-        function k(t) {
+        function P(t) {
           ["next", "throw", "return"].forEach(function(e) {
             c(t, e, function(t) {
               return this._invoke(e, t);
             });
           });
         }
-        function P(t, e) {
+        function k(t, e) {
           function r(o, a, i, u) {
             var c = l(t[o], t, a);
             if ("throw" !== c.type) {
@@ -2328,21 +2333,21 @@
           (t.awrap = function(t) {
             return { __await: t };
           }),
-          k(P.prototype),
-          (P.prototype[i] = function() {
+          P(k.prototype),
+          (k.prototype[i] = function() {
             return this;
           }),
-          (t.AsyncIterator = P),
+          (t.AsyncIterator = k),
           (t.async = function(e, r, n, o, a) {
             void 0 === a && (a = Promise);
-            var i = new P(s(e, r, n, o), a);
+            var i = new k(s(e, r, n, o), a);
             return t.isGeneratorFunction(r)
               ? i
               : i.next().then(function(t) {
                   return t.done ? t.value : i.next();
                 });
           }),
-          k(x),
+          P(x),
           c(x, u, "Generator"),
           (x[a] = function() {
             return this;
@@ -2663,6 +2668,7 @@
           "locales",
           "defaultLocale",
           "isReady",
+          "isPreview",
           "isLocaleDomain"
         ],
         d = ["push", "replace", "reload", "back", "prefetch", "beforePopState"];
Diff for main-HASH.js
@@ -212,8 +212,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
       var p = r("284h"),
         d = r("TqRt");
       (t.__esModule = !0),
-        (t.render = oe),
-        (t.renderError = ie),
+        (t.render = ae),
+        (t.renderError = ue),
         (t.default = t.emitter = t.router = t.version = void 0);
       var m = d(r("pVnL"));
       d(r("284h"));
@@ -234,7 +234,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
         k = r("nOHt"),
         A = JSON.parse(document.getElementById("__NEXT_DATA__").textContent);
       window.__NEXT_DATA__ = A;
-      t.version = "10.0.7";
+      t.version = "10.0.8-canary.4";
       var C = function(e) {
           return [].slice.call(e);
         },
@@ -250,36 +250,37 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
         q = A.locale,
         H = A.locales,
         X = A.domainLocales,
-        G = A.defaultLocale,
-        W = D || "";
-      (r.p = "".concat(W, "/_next/")),
+        G = A.isPreview,
+        W = A.defaultLocale,
+        J = D || "";
+      (r.p = "".concat(J, "/_next/")),
         E.setConfig({ serverRuntimeConfig: {}, publicRuntimeConfig: O || {} });
-      var J = (0, x.getURL)();
-      (0, S.hasBasePath)(J) && (J = (0, S.delBasePath)(J));
-      var U = new P.default(I, W),
-        Y = function(e) {
+      var U = (0, x.getURL)();
+      (0, S.hasBasePath)(U) && (U = (0, S.delBasePath)(U));
+      var Y = new P.default(I, J),
+        V = function(e) {
           var t = l(e, 2),
             r = t[0],
             n = t[1];
-          return U.routeLoader.onEntrypoint(r, n);
+          return Y.routeLoader.onEntrypoint(r, n);
         };
       window.__NEXT_P &&
         window.__NEXT_P.map(function(e) {
           return setTimeout(function() {
-            return Y(e);
+            return V(e);
           }, 0);
         }),
         (window.__NEXT_P = []),
-        (window.__NEXT_P.push = Y);
-      var V,
-        z,
+        (window.__NEXT_P.push = V);
+      var z,
         Q,
         Z,
-        K = (0, T.default)(),
-        $ = document.getElementById("__next");
-      t.router = z;
-      var ee,
-        te = (function(e) {
+        K,
+        $ = (0, T.default)(),
+        ee = document.getElementById("__next");
+      t.router = Q;
+      var te,
+        re = (function(e) {
           u(r, e);
           var t = f(r);
           function r() {
@@ -297,22 +298,22 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                 key: "componentDidMount",
                 value: function() {
                   this.scrollToHash(),
-                    z.isSsr &&
+                    Q.isSsr &&
                       (B ||
                         (A.nextExport &&
-                          ((0, w.isDynamicRoute)(z.pathname) ||
+                          ((0, w.isDynamicRoute)(Q.pathname) ||
                             location.search)) ||
                         (M && M.__N_SSG && location.search)) &&
-                      z.replace(
-                        z.pathname +
+                      Q.replace(
+                        Q.pathname +
                           "?" +
                           String(
                             _.assign(
-                              _.urlQueryToSearchParams(z.query),
+                              _.urlQueryToSearchParams(Q.query),
                               new URLSearchParams(location.search)
                             )
                           ),
-                        J,
+                        U,
                         { _h: 1, shallow: !B }
                       );
                 }
@@ -346,9 +347,9 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
             r
           );
         })(h.default.Component),
-        re = (0, g.default)();
-      t.emitter = re;
-      var ne = (function() {
+        ne = (0, g.default)();
+      t.emitter = ne;
+      var oe = (function() {
         var e = o(
           n.mark(function e() {
             var r,
@@ -366,7 +367,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                       return (
                         s.length > 0 && void 0 !== s[0] ? s[0] : {},
                         (e.next = 4),
-                        U.routeLoader.whenEntrypoint("/_app")
+                        Y.routeLoader.whenEntrypoint("/_app")
                       );
                     case 4:
                       if (!("error" in (r = e.sent))) {
@@ -377,10 +378,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                     case 7:
                       (o = r.component),
                         (a = r.exports),
-                        (Q = o),
+                        (Z = o),
                         a &&
                           a.reportWebVitals &&
-                          (Z = function(e) {
+                          (K = function(e) {
                             var t,
                               r = e.id,
                               n = e.name,
@@ -412,7 +413,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                         (e.next = 16);
                       break;
                     case 16:
-                      return (e.next = 18), U.routeLoader.whenEntrypoint(R);
+                      return (e.next = 18), Y.routeLoader.whenEntrypoint(R);
                     case 18:
                       e.t0 = e.sent;
                     case 19:
@@ -422,7 +423,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                       }
                       throw u.error;
                     case 22:
-                      (ee = u.component), (e.next = 27);
+                      (te = u.component), (e.next = 27);
                       break;
                     case 27:
                       e.next = 32;
@@ -437,39 +438,40 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                       return (e.next = 36), window.__NEXT_PRELOADREADY(j);
                     case 36:
                       return (
-                        (t.router = z = (0, k.createRouter)(R, F, J, {
+                        (t.router = Q = (0, k.createRouter)(R, F, U, {
                           initialProps: M,
-                          pageLoader: U,
-                          App: Q,
-                          Component: ee,
-                          wrapApp: de,
+                          pageLoader: Y,
+                          App: Z,
+                          Component: te,
+                          wrapApp: me,
                           err: i,
                           isFallback: Boolean(B),
                           subscription: function(e, t, r) {
-                            return oe(
+                            return ae(
                               Object.assign({}, e, { App: t, scroll: r })
                             );
                           },
                           locale: q,
                           locales: H,
-                          defaultLocale: G,
-                          domainLocales: X
+                          defaultLocale: W,
+                          domainLocales: X,
+                          isPreview: G
                         })),
-                        oe(
+                        ae(
                           (c = {
-                            App: Q,
+                            App: Z,
                             initial: !0,
-                            Component: ee,
+                            Component: te,
                             props: M,
                             err: i
                           })
                         ),
-                        e.abrupt("return", re)
+                        e.abrupt("return", ne)
                       );
                     case 44:
                       return e.abrupt("return", {
-                        emitter: re,
-                        render: oe,
+                        emitter: ne,
+                        render: ae,
                         renderCtx: c
                       });
                     case 45:
@@ -487,11 +489,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
           return e.apply(this, arguments);
         };
       })();
-      function oe(e) {
-        return ae.apply(this, arguments);
+      function ae(e) {
+        return ie.apply(this, arguments);
       }
-      function ae() {
-        return (ae = o(
+      function ie() {
+        return (ie = o(
           n.mark(function e(t) {
             return n.wrap(
               function(e) {
@@ -502,11 +504,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                         e.next = 4;
                         break;
                       }
-                      return (e.next = 3), ie(t);
+                      return (e.next = 3), ue(t);
                     case 3:
                       return e.abrupt("return");
                     case 4:
-                      return (e.prev = 4), (e.next = 7), me(t);
+                      return (e.prev = 4), (e.next = 7), he(t);
                     case 7:
                       e.next = 16;
                       break;
@@ -520,7 +522,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                       throw e.t0;
                     case 13:
                       return (
-                        (e.next = 16), ie((0, m.default)({}, t, { err: e.t0 }))
+                        (e.next = 16), ue((0, m.default)({}, t, { err: e.t0 }))
                       );
                     case 16:
                     case "end":
@@ -534,25 +536,25 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
           })
         )).apply(this, arguments);
       }
-      function ie(e) {
+      function ue(e) {
         var t = e.App,
           r = e.err;
         return (
           console.error(r),
-          U.loadPage("/_error").then(function(n) {
+          Y.loadPage("/_error").then(function(n) {
             var o = n.page,
               a = n.styleSheets,
-              i = de(t),
+              i = me(t),
               u = {
                 Component: o,
                 AppTree: i,
-                router: z,
-                ctx: { err: r, pathname: R, query: F, asPath: J, AppTree: i }
+                router: Q,
+                ctx: { err: r, pathname: R, query: F, asPath: U, AppTree: i }
               };
             return Promise.resolve(
               e.props ? e.props : (0, x.loadGetInitialProps)(t, u)
             ).then(function(t) {
-              return me(
+              return he(
                 (0, m.default)({}, e, {
                   err: r,
                   Component: o,
@@ -564,9 +566,9 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
           })
         );
       }
-      t.default = ne;
-      var ue = "function" === typeof v.default.hydrate;
-      function ce() {
+      t.default = oe;
+      var ce = "function" === typeof v.default.hydrate;
+      function se() {
         x.ST &&
           (performance.mark("afterHydrate"),
           performance.measure(
@@ -579,10 +581,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
             "beforeRender",
             "afterHydrate"
           ),
-          Z && performance.getEntriesByName("Next.js-hydration").forEach(Z),
-          le());
+          K && performance.getEntriesByName("Next.js-hydration").forEach(K),
+          fe());
       }
-      function se() {
+      function le() {
         if (x.ST) {
           performance.mark("afterRender");
           var e = performance.getEntriesByName("routeChange", "mark");
@@ -597,12 +599,12 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
               "beforeRender",
               "afterRender"
             ),
-            Z &&
-              (performance.getEntriesByName("Next.js-render").forEach(Z),
+            K &&
+              (performance.getEntriesByName("Next.js-render").forEach(K),
               performance
                 .getEntriesByName("Next.js-route-change-to-render")
-                .forEach(Z)),
-            le(),
+                .forEach(K)),
+            fe(),
             ["Next.js-route-change-to-render", "Next.js-render"].forEach(
               function(e) {
                 return performance.clearMeasures(e);
@@ -610,64 +612,64 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
             ));
         }
       }
-      function le() {
+      function fe() {
         ["beforeRender", "afterHydrate", "afterRender", "routeChange"].forEach(
           function(e) {
             return performance.clearMarks(e);
           }
         );
       }
-      function fe(e) {
+      function pe(e) {
         var t = e.children;
         return h.default.createElement(
-          te,
+          re,
           {
             fn: function(e) {
-              return ie({ App: Q, err: e }).catch(function(e) {
+              return ue({ App: Z, err: e }).catch(function(e) {
                 return console.error("Error rendering page: ", e);
               });
             }
           },
           h.default.createElement(
             b.RouterContext.Provider,
-            { value: (0, k.makePublicRouterInstance)(z) },
+            { value: (0, k.makePublicRouterInstance)(Q) },
             h.default.createElement(
               y.HeadManagerContext.Provider,
-              { value: K },
+              { value: $ },
               t
             )
           )
         );
       }
-      var pe,
-        de = function(e) {
+      var de,
+        me = function(e) {
           return function(t) {
-            var r = (0, m.default)({}, t, { Component: ee, err: L, router: z });
+            var r = (0, m.default)({}, t, { Component: te, err: L, router: Q });
             return h.default.createElement(
-              fe,
+              pe,
               null,
               h.default.createElement(e, r)
             );
           };
         };
-      function me(e) {
+      function he(e) {
         var t = e.App,
           r = e.Component,
           n = e.props,
           o = e.err,
           a = "initial" in e ? void 0 : e.styleSheets;
-        (r = r || pe.Component), (n = n || pe.props);
-        var i = (0, m.default)({}, n, { Component: r, err: o, router: z });
-        pe = i;
+        (r = r || de.Component), (n = n || de.props);
+        var i = (0, m.default)({}, n, { Component: r, err: o, router: Q });
+        de = i;
         var u,
           c = !1,
           s = new Promise(function(e, t) {
-            V && V(),
+            z && z(),
               (u = function() {
-                (V = null), e();
+                (z = null), e();
               }),
-              (V = function() {
-                (c = !0), (V = null);
+              (z = function() {
+                (c = !0), (z = null);
                 var e = new Error("Cancel rendering route");
                 (e.cancelled = !0), t(e);
               });
@@ -675,13 +677,13 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
         var l,
           f,
           p = h.default.createElement(
-            he,
+            ve,
             {
               callback: function() {
                 u();
               }
             },
-            h.default.createElement(ve, {
+            h.default.createElement(ye, {
               callback: function() {
                 if (a && !c) {
                   for (
@@ -721,7 +723,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                 e.scroll && window.scrollTo(e.scroll.x, e.scroll.y);
               }
             }),
-            h.default.createElement(fe, null, h.default.createElement(t, i))
+            h.default.createElement(pe, null, h.default.createElement(t, i))
           );
         return (
           (function() {
@@ -748,15 +750,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
             });
           })(),
           (l = p),
-          (f = $),
+          (f = ee),
           x.ST && performance.mark("beforeRender"),
-          ue
-            ? (v.default.hydrate(l, f, ce), (ue = !1))
-            : v.default.render(l, f, se),
+          ce
+            ? (v.default.hydrate(l, f, se), (ce = !1))
+            : v.default.render(l, f, le),
           s
         );
       }
-      function he(e) {
+      function ve(e) {
         var t = e.callback,
           r = e.children;
         return (
@@ -767,12 +769,12 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
             [t]
           ),
           h.default.useEffect(function() {
-            (0, N.default)(Z);
+            (0, N.default)(K);
           }, []),
           r
         );
       }
-      function ve(e) {
+      function ye(e) {
         var t = e.callback;
         return (
           h.default.useLayoutEffect(
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-65ade7e66a115d49634a.js"
+      href="/_next/static/chunks/main-d8ef475116a9e05172b0.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.4826dee40eb7293b5cb0.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.66488b33a5ba6351854c.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "-K7TE7OiozdBn63XYVmdK",
+        "buildId": "WOPhou58-xO3i2DyCxrCI",
         "isFallback": false,
         "gip": true
       }
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-65ade7e66a115d49634a.js"
+      src="/_next/static/chunks/main-d8ef475116a9e05172b0.js"
       async=""
     ></script>
     <script
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.4826dee40eb7293b5cb0.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.66488b33a5ba6351854c.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/-K7TE7OiozdBn63XYVmdK/_buildManifest.js"
+      src="/_next/static/WOPhou58-xO3i2DyCxrCI/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/-K7TE7OiozdBn63XYVmdK/_ssgManifest.js"
+      src="/_next/static/WOPhou58-xO3i2DyCxrCI/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-65ade7e66a115d49634a.js"
+      href="/_next/static/chunks/main-d8ef475116a9e05172b0.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.4826dee40eb7293b5cb0.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.66488b33a5ba6351854c.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "-K7TE7OiozdBn63XYVmdK",
+        "buildId": "WOPhou58-xO3i2DyCxrCI",
         "isFallback": false,
         "gip": true
       }
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-65ade7e66a115d49634a.js"
+      src="/_next/static/chunks/main-d8ef475116a9e05172b0.js"
       async=""
     ></script>
     <script
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.4826dee40eb7293b5cb0.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.66488b33a5ba6351854c.js"
       async=""
     ></script>
     <script
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/-K7TE7OiozdBn63XYVmdK/_buildManifest.js"
+      src="/_next/static/WOPhou58-xO3i2DyCxrCI/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/-K7TE7OiozdBn63XYVmdK/_ssgManifest.js"
+      src="/_next/static/WOPhou58-xO3i2DyCxrCI/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-65ade7e66a115d49634a.js"
+      href="/_next/static/chunks/main-d8ef475116a9e05172b0.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.4826dee40eb7293b5cb0.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.66488b33a5ba6351854c.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "-K7TE7OiozdBn63XYVmdK",
+        "buildId": "WOPhou58-xO3i2DyCxrCI",
         "isFallback": false,
         "gip": true
       }
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-65ade7e66a115d49634a.js"
+      src="/_next/static/chunks/main-d8ef475116a9e05172b0.js"
       async=""
     ></script>
     <script
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.4826dee40eb7293b5cb0.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.66488b33a5ba6351854c.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/-K7TE7OiozdBn63XYVmdK/_buildManifest.js"
+      src="/_next/static/WOPhou58-xO3i2DyCxrCI/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/-K7TE7OiozdBn63XYVmdK/_ssgManifest.js"
+      src="/_next/static/WOPhou58-xO3i2DyCxrCI/_ssgManifest.js"
       async=""
     ></script>
   </body>

Please sign in to comment.