Skip to content

Commit

Permalink
v10.0.5-canary.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Dec 29, 2020
1 parent c93c9fc commit 3140e40
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.5-canary.2"
"version": "10.0.5-canary.3"
}
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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"description": "The React Framework",
"main": "./dist/server/next.js",
"license": "MIT",
Expand Down Expand Up @@ -63,10 +63,10 @@
"@ampproject/toolbox-optimizer": "2.7.1-alpha.0",
"@babel/runtime": "7.12.5",
"@hapi/accept": "5.0.1",
"@next/env": "10.0.5-canary.2",
"@next/polyfill-module": "10.0.5-canary.2",
"@next/react-dev-overlay": "10.0.5-canary.2",
"@next/react-refresh-utils": "10.0.5-canary.2",
"@next/env": "10.0.5-canary.3",
"@next/polyfill-module": "10.0.5-canary.3",
"@next/react-dev-overlay": "10.0.5-canary.3",
"@next/react-refresh-utils": "10.0.5-canary.3",
"@opentelemetry/api": "0.14.0",
"ast-types": "0.13.2",
"babel-plugin-transform-define": "2.0.0",
Expand Down Expand Up @@ -130,7 +130,7 @@
"@babel/preset-react": "7.12.5",
"@babel/preset-typescript": "7.12.1",
"@babel/types": "7.12.6",
"@next/polyfill-nomodule": "10.0.5-canary.2",
"@next/polyfill-nomodule": "10.0.5-canary.3",
"@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.5-canary.2",
"version": "10.0.5-canary.3",
"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.5-canary.2",
"version": "10.0.5-canary.3",
"description": "An experimental package providing utilities for React Refresh.",
"repository": {
"url": "vercel/next.js",
Expand Down

1 comment on commit 3140e40

@ijjk
Copy link
Member

@ijjk ijjk commented on 3140e40 Dec 29, 2020

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 increase ⚠️
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
buildDuration 7.8s 8.3s ⚠️ +486ms
nodeModulesSize 61.9 MB 82.7 MB ⚠️ +20.8 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 1.681 1.708 ⚠️ +0.03
/ avg req/sec 1487.48 1463.86 ⚠️ -23.62
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 0.939 1.05 ⚠️ +0.11
/error-in-render avg req/sec 2662.96 2381.23 ⚠️ -281.73
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
677f882d2ed8..9b19.js gzip 11.1 kB 12.7 kB ⚠️ +1.66 kB
framework.HASH.js gzip 39 kB 39 kB ⚠️ +14 B
main-79d6d55..698e.js gzip 7.2 kB N/A N/A
webpack-e067..f178.js gzip 751 B 751 B
main-8d1eb02..37d1.js gzip N/A 6.56 kB N/A
Overall change 58 kB 59 kB ⚠️ +1.04 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
polyfills-4b..e242.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages Overall increase ⚠️
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
_app-9a0b9e1..b37e.js gzip 1.28 kB 1.28 kB
_error-ed1b0..8fbd.js gzip 3.44 kB 3.44 kB
hooks-89731c..c609.js gzip 887 B 887 B
index-17468f..5d83.js gzip 227 B 227 B
link-409b283..e3ab.js gzip 1.32 kB N/A N/A
routerDirect..924c.js gzip 284 B 303 B ⚠️ +19 B
withRouter-7..c13d.js gzip 284 B 302 B ⚠️ +18 B
link-0ab9f83..fa00.js gzip N/A 1.61 kB N/A
Overall change 7.73 kB 8.05 kB ⚠️ +324 B
Client Build Manifests
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 323 B 323 B
Overall change 323 B 323 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
index.html gzip 646 B 614 B -32 B
link.html gzip 652 B 619 B -33 B
withRouter.html gzip 639 B 607 B -32 B
Overall change 1.94 kB 1.84 kB -97 B

Diffs

Diff for _buildManifest.js
@@ -2,17 +2,17 @@ self.__BUILD_MANIFEST = {
   __rewrites: [],
   "/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
   "/_error": [
-    "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+    "static\u002Fchunks\u002Fpages\u002F_error-671dbf297c19f6f715f8.js"
   ],
   "/hooks": [
-    "static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
+    "static\u002Fchunks\u002Fpages\u002Fhooks-bdd2cad07648acf22380.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-67e857671520c009f99f.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-00f0f71a76f57326f2aa.js"],
   "/routerDirect": [
-    "static\u002Fchunks\u002Fpages\u002FrouterDirect-2e9bfd441bd88cd3382e.js"
+    "static\u002Fchunks\u002Fpages\u002FrouterDirect-6f408582ce776dfa74d5.js"
   ],
   "/withRouter": [
-    "static\u002Fchunks\u002Fpages\u002FwithRouter-9af1d72bd996729e701e.js"
+    "static\u002Fchunks\u002Fpages\u002FwithRouter-2cdddce06c9626f1dcfa.js"
   ],
   sortedPages: [
     "\u002F",
Diff for link-67e8576..0c009f99f.js
@@ -80,62 +80,9 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
 
       var _router2 = __webpack_require__("nOHt");
 
-      var cachedObserver;
-      var listeners = new Map();
-      var IntersectionObserver = true ? window.IntersectionObserver : undefined;
-      var prefetched = {};
-
-      function getObserver() {
-        // Return shared instance of IntersectionObserver if already created
-        if (cachedObserver) {
-          return cachedObserver;
-        } // Only create shared IntersectionObserver if supported in browser
-
-        if (!IntersectionObserver) {
-          return undefined;
-        }
-
-        return (cachedObserver = new IntersectionObserver(
-          function(entries) {
-            entries.forEach(function(entry) {
-              if (!listeners.has(entry.target)) {
-                return;
-              }
-
-              var cb = listeners.get(entry.target);
-
-              if (entry.isIntersecting || entry.intersectionRatio > 0) {
-                cachedObserver.unobserve(entry.target);
-                listeners["delete"](entry.target);
-                cb();
-              }
-            });
-          },
-          {
-            rootMargin: "200px"
-          }
-        ));
-      }
-
-      var listenToIntersections = function listenToIntersections(el, cb) {
-        var observer = getObserver();
+      var _useIntersection = __webpack_require__("vNVm");
 
-        if (!observer) {
-          return function() {};
-        }
-
-        observer.observe(el);
-        listeners.set(el, cb);
-        return function() {
-          try {
-            observer.unobserve(el);
-          } catch (err) {
-            console.error(err);
-          }
-
-          listeners["delete"](el);
-        };
-      };
+      var prefetched = {};
 
       function prefetch(router, href, as, options) {
         if (false) {
@@ -148,9 +95,13 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         router.prefetch(href, as, options)["catch"](function(err) {
           if (false) {
           }
-        }); // Join on an invalid URI character
+        });
+        var curLocale =
+          options && typeof options.locale !== "undefined"
+            ? options.locale
+            : router && router.locale; // Join on an invalid URI character
 
-        prefetched[href + "%" + as] = true;
+        prefetched[href + "%" + as + (curLocale ? "%" + curLocale : "")] = true;
       }
 
       function isModifiedEvent(event) {
@@ -165,7 +116,16 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         );
       }
 
-      function linkClicked(e, router, href, as, replace, shallow, scroll) {
+      function linkClicked(
+        e,
+        router,
+        href,
+        as,
+        replace,
+        shallow,
+        scroll,
+        locale
+      ) {
         var nodeName = e.currentTarget.nodeName;
 
         if (
@@ -183,7 +143,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         } // replace state instead of push if prop is present
 
         router[replace ? "replace" : "push"](href, as, {
-          shallow: shallow
+          shallow: shallow,
+          locale: locale
         }).then(function(success) {
           if (!success) return;
 
@@ -205,12 +166,6 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         }
 
         var p = props.prefetch !== false;
-
-        var _react$default$useSta = _react["default"].useState(),
-          _react$default$useSta2 = _slicedToArray(_react$default$useSta, 2),
-          childElm = _react$default$useSta2[0],
-          setChildElm = _react$default$useSta2[1];
-
         var router = (0, _router2.useRouter)();
         var pathname = (router && router.pathname) || "/";
 
@@ -233,32 +188,11 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           href = _react$default$useMem.href,
           as = _react$default$useMem.as;
 
-        _react["default"].useEffect(
-          function() {
-            if (
-              p &&
-              IntersectionObserver &&
-              childElm &&
-              childElm.tagName &&
-              (0, _router.isLocalURL)(href)
-            ) {
-              // Join on an invalid URI character
-              var isPrefetched = prefetched[href + "%" + as];
-
-              if (!isPrefetched) {
-                return listenToIntersections(childElm, function() {
-                  prefetch(router, href, as);
-                });
-              }
-            }
-          },
-          [p, childElm, href, as, router]
-        );
-
         var children = props.children,
           replace = props.replace,
           shallow = props.shallow,
-          scroll = props.scroll; // Deprecated. Warning shown by propType check. If the children provided is a string (<Link>example</Link>) we wrap it in an <a> tag
+          scroll = props.scroll,
+          locale = props.locale; // Deprecated. Warning shown by propType check. If the children provided is a string (<Link>example</Link>) we wrap it in an <a> tag
 
         if (typeof children === "string") {
           children = /*#__PURE__*/ _react["default"].createElement(
@@ -270,41 +204,79 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
 
         var child = _react.Children.only(children);
 
-        var childProps = {
-          ref: function ref(el) {
-            if (el) setChildElm(el);
+        var childRef = child && typeof child === "object" && child.ref;
 
-            if (child && typeof child === "object" && child.ref) {
-              if (typeof child.ref === "function") child.ref(el);
-              else if (typeof child.ref === "object") {
-                child.ref.current = el;
+        var _ref3 = (0, _useIntersection.useIntersection)({
+            rootMargin: "200px"
+          }),
+          _ref4 = _slicedToArray(_ref3, 2),
+          setIntersectionRef = _ref4[0],
+          isVisible = _ref4[1];
+
+        var setRef = _react["default"].useCallback(
+          function(el) {
+            setIntersectionRef(el);
+
+            if (childRef) {
+              if (typeof childRef === "function") childRef(el);
+              else if (typeof childRef === "object") {
+                childRef.current = el;
               }
             }
           },
+          [childRef, setIntersectionRef]
+        );
+
+        (0, _react.useEffect)(
+          function() {
+            var shouldPrefetch =
+              isVisible && p && (0, _router.isLocalURL)(href);
+            var curLocale =
+              typeof locale !== "undefined" ? locale : router && router.locale;
+            var isPrefetched =
+              prefetched[href + "%" + as + (curLocale ? "%" + curLocale : "")];
+
+            if (shouldPrefetch && !isPrefetched) {
+              prefetch(router, href, as, {
+                locale: curLocale
+              });
+            }
+          },
+          [as, href, isVisible, locale, p, router]
+        );
+        var childProps = {
+          ref: setRef,
           onClick: function onClick(e) {
             if (child.props && typeof child.props.onClick === "function") {
               child.props.onClick(e);
             }
 
             if (!e.defaultPrevented) {
-              linkClicked(e, router, href, as, replace, shallow, scroll);
+              linkClicked(
+                e,
+                router,
+                href,
+                as,
+                replace,
+                shallow,
+                scroll,
+                locale
+              );
             }
           }
         };
 
-        if (p) {
-          childProps.onMouseEnter = function(e) {
-            if (!(0, _router.isLocalURL)(href)) return;
+        childProps.onMouseEnter = function(e) {
+          if (!(0, _router.isLocalURL)(href)) return;
 
-            if (child.props && typeof child.props.onMouseEnter === "function") {
-              child.props.onMouseEnter(e);
-            }
+          if (child.props && typeof child.props.onMouseEnter === "function") {
+            child.props.onMouseEnter(e);
+          }
 
-            prefetch(router, href, as, {
-              priority: true
-            });
-          };
-        } // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
+          prefetch(router, href, as, {
+            priority: true
+          });
+        }; // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
         // defined, we specify the current 'href', so that repetition is not needed by the user
 
         if (
@@ -314,7 +286,7 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           childProps.href = (0, _router.addBasePath)(
             (0, _router.addLocale)(
               as,
-              router && router.locale,
+              typeof locale !== "undefined" ? locale : router && router.locale,
               router && router.defaultLocale
             )
           );
@@ -326,6 +298,125 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       var _default = Link;
       exports["default"] = _default;
 
+      /***/
+    },
+
+    /***/ vNVm: /***/ function(module, exports, __webpack_require__) {
+      "use strict";
+
+      var _slicedToArray = __webpack_require__("J4zp");
+
+      var _interopRequireDefault = __webpack_require__("TqRt");
+
+      exports.__esModule = true;
+      exports.useIntersection = useIntersection;
+
+      var _react = __webpack_require__("q1tI");
+
+      var _requestIdleCallback = _interopRequireDefault(
+        __webpack_require__("0G5g")
+      );
+
+      var hasIntersectionObserver = typeof IntersectionObserver !== "undefined";
+
+      function useIntersection(_ref) {
+        var rootMargin = _ref.rootMargin,
+          disabled = _ref.disabled;
+        var isDisabled = disabled || !hasIntersectionObserver;
+        var unobserve = (0, _react.useRef)();
+
+        var _ref2 = (0, _react.useState)(false),
+          _ref3 = _slicedToArray(_ref2, 2),
+          visible = _ref3[0],
+          setVisible = _ref3[1];
+
+        var setRef = (0, _react.useCallback)(
+          function(el) {
+            if (unobserve.current) {
+              unobserve.current();
+              unobserve.current = undefined;
+            }
+
+            if (isDisabled || visible) return;
+
+            if (el && el.tagName) {
+              unobserve.current = observe(
+                el,
+                function(isVisible) {
+                  return isVisible && setVisible(isVisible);
+                },
+                {
+                  rootMargin: rootMargin
+                }
+              );
+            }
+          },
+          [isDisabled, rootMargin, visible]
+        );
+        (0, _react.useEffect)(
+          function() {
+            if (!hasIntersectionObserver) {
+              if (!visible)
+                (0, _requestIdleCallback["default"])(function() {
+                  return setVisible(true);
+                });
+            }
+          },
+          [visible]
+        );
+        return [setRef, visible];
+      }
+
+      function observe(element, callback, options) {
+        var _createObserver = createObserver(options),
+          id = _createObserver.id,
+          observer = _createObserver.observer,
+          elements = _createObserver.elements;
+
+        elements.set(element, callback);
+        observer.observe(element);
+        return function unobserve() {
+          observer.unobserve(element); // Destroy observer when there's nothing left to watch:
+
+          if (elements.size === 0) {
+            observer.disconnect();
+            observers["delete"](id);
+          }
+        };
+      }
+
+      var observers = new Map();
+
+      function createObserver(options) {
+        var id = options.rootMargin || "";
+        var instance = observers.get(id);
+
+        if (instance) {
+          return instance;
+        }
+
+        var elements = new Map();
+        var observer = new IntersectionObserver(function(entries) {
+          entries.forEach(function(entry) {
+            var callback = elements.get(entry.target);
+            var isVisible = entry.isIntersecting || entry.intersectionRatio > 0;
+
+            if (callback && isVisible) {
+              callback(isVisible);
+            }
+          });
+        }, options);
+        observers.set(
+          id,
+          (instance = {
+            id: id,
+            observer: observer,
+            elements: elements
+          })
+        );
+        return instance;
+      }
+
       /***/
     }
   },
Diff for routerDirect..88cd3382e.js
@@ -1,6 +1,12 @@
 _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
   [9],
   {
+    /***/ "20a2": /***/ function(module, exports, __webpack_require__) {
+      module.exports = __webpack_require__("nOHt");
+
+      /***/
+    },
+
     /***/ LtRI: /***/ function(module, exports, __webpack_require__) {
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/routerDirect",
@@ -26,7 +32,7 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         react__WEBPACK_IMPORTED_MODULE_0__
       );
       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
-        "nOHt"
+        "20a2"
       );
       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
         next_router__WEBPACK_IMPORTED_MODULE_1__
Diff for withRouter-9..6729e701e.js
@@ -15,7 +15,7 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         react__WEBPACK_IMPORTED_MODULE_0__
       );
       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
-        "nOHt"
+        "20a2"
       );
       /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
         next_router__WEBPACK_IMPORTED_MODULE_1__
@@ -38,6 +38,12 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       /***/
     },
 
+    /***/ "20a2": /***/ function(module, exports, __webpack_require__) {
+      module.exports = __webpack_require__("nOHt");
+
+      /***/
+    },
+
     /***/ eThv: /***/ function(module, exports, __webpack_require__) {
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/withRouter",
Diff for 677f882d2ed8..4eeebf399.js

Diff too large to display

Diff for main-2aa8068..281f09665.js

Diff too large to display

Diff for index.html
@@ -3,10 +3,11 @@
   <head>
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width" />
-    <noscript data-n-css="true"></noscript>
+    <meta name="next-head-count" content="2" />
+    <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-2aa8068f0cc281f09665.js"
+      href="/_next/static/chunks/main-0bc58ce23e7f930fc47a.js"
       as="script"
     />
     <link
@@ -21,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5472d08d2594eeebf399.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.98cd454f84e413dc7645.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+      href="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
       as="script"
     />
     <link
@@ -44,11 +45,7 @@
         "query": {},
         "buildId": "BUILD_ID",
         "isFallback": false,
-        "gip": true,
-        "head": [
-          ["meta", { "charSet": "utf-8" }],
-          ["meta", { "name": "viewport", "content": "width=device-width" }]
-        ]
+        "gip": true
       }
     </script>
     <script
@@ -56,7 +53,7 @@
       src="/_next/static/chunks/polyfills-f73ba3fc145972ef83e9.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-2aa8068f0cc281f09665.js"
+      src="/_next/static/chunks/main-0bc58ce23e7f930fc47a.js"
       async=""
     ></script>
     <script
@@ -68,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5472d08d2594eeebf399.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.98cd454f84e413dc7645.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+      src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -3,10 +3,11 @@
   <head>
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width" />
-    <noscript data-n-css="true"></noscript>
+    <meta name="next-head-count" content="2" />
+    <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-2aa8068f0cc281f09665.js"
+      href="/_next/static/chunks/main-0bc58ce23e7f930fc47a.js"
       as="script"
     />
     <link
@@ -21,17 +22,17 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5472d08d2594eeebf399.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.98cd454f84e413dc7645.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+      href="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/link-67e857671520c009f99f.js"
+      href="/_next/static/chunks/pages/link-00f0f71a76f57326f2aa.js"
       as="script"
     />
   </head>
@@ -49,11 +50,7 @@
         "query": {},
         "buildId": "BUILD_ID",
         "isFallback": false,
-        "gip": true,
-        "head": [
-          ["meta", { "charSet": "utf-8" }],
-          ["meta", { "name": "viewport", "content": "width=device-width" }]
-        ]
+        "gip": true
       }
     </script>
     <script
@@ -61,7 +58,7 @@
       src="/_next/static/chunks/polyfills-f73ba3fc145972ef83e9.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-2aa8068f0cc281f09665.js"
+      src="/_next/static/chunks/main-0bc58ce23e7f930fc47a.js"
       async=""
     ></script>
     <script
@@ -73,15 +70,15 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5472d08d2594eeebf399.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.98cd454f84e413dc7645.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+      src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-67e857671520c009f99f.js"
+      src="/_next/static/chunks/pages/link-00f0f71a76f57326f2aa.js"
       async=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>
Diff for withRouter.html
@@ -3,10 +3,11 @@
   <head>
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width" />
-    <noscript data-n-css="true"></noscript>
+    <meta name="next-head-count" content="2" />
+    <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-2aa8068f0cc281f09665.js"
+      href="/_next/static/chunks/main-0bc58ce23e7f930fc47a.js"
       as="script"
     />
     <link
@@ -21,17 +22,17 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5472d08d2594eeebf399.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.98cd454f84e413dc7645.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+      href="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/withRouter-9af1d72bd996729e701e.js"
+      href="/_next/static/chunks/pages/withRouter-2cdddce06c9626f1dcfa.js"
       as="script"
     />
   </head>
@@ -44,11 +45,7 @@
         "query": {},
         "buildId": "BUILD_ID",
         "isFallback": false,
-        "gip": true,
-        "head": [
-          ["meta", { "charSet": "utf-8" }],
-          ["meta", { "name": "viewport", "content": "width=device-width" }]
-        ]
+        "gip": true
       }
     </script>
     <script
@@ -56,7 +53,7 @@
       src="/_next/static/chunks/polyfills-f73ba3fc145972ef83e9.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-2aa8068f0cc281f09665.js"
+      src="/_next/static/chunks/main-0bc58ce23e7f930fc47a.js"
       async=""
     ></script>
     <script
@@ -68,15 +65,15 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5472d08d2594eeebf399.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.98cd454f84e413dc7645.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+      src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/withRouter-9af1d72bd996729e701e.js"
+      src="/_next/static/chunks/pages/withRouter-2cdddce06c9626f1dcfa.js"
       async=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
buildDuration 9.9s 10.3s ⚠️ +404ms
nodeModulesSize 61.9 MB 82.7 MB ⚠️ +20.8 MB
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
677f882d2ed8..9b19.js gzip 11.1 kB N/A N/A
framework.HASH.js gzip 39 kB 39 kB ⚠️ +14 B
main-79d6d55..698e.js gzip 7.2 kB N/A N/A
webpack-e067..f178.js gzip 751 B N/A N/A
677f882d2ed8..68d0.js gzip N/A 12.7 kB N/A
main-8d1eb02..37d1.js gzip N/A 6.56 kB N/A
webpack-95c2..e870.js gzip N/A 751 B N/A
Overall change 58 kB 59 kB ⚠️ +1.04 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
polyfills-4b..e242.js gzip 31 kB N/A N/A
polyfills-d3..23f6.js gzip N/A 31 kB N/A
Overall change 31 kB 31 kB
Client Pages Overall increase ⚠️
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
_app-9a0b9e1..b37e.js gzip 1.28 kB N/A N/A
_error-ed1b0..8fbd.js gzip 3.44 kB N/A N/A
hooks-89731c..c609.js gzip 887 B N/A N/A
index-17468f..5d83.js gzip 227 B N/A N/A
link-409b283..e3ab.js gzip 1.32 kB N/A N/A
routerDirect..924c.js gzip 284 B N/A N/A
withRouter-7..c13d.js gzip 284 B N/A N/A
_app-0d19cb6..5497.js gzip N/A 1.28 kB N/A
_error-85785..a9f3.js gzip N/A 3.44 kB N/A
hooks-42456f..0c06.js gzip N/A 887 B N/A
index-8081ce..e44f.js gzip N/A 227 B N/A
link-0ab9f83..fa00.js gzip N/A 1.61 kB N/A
routerDirect..c3d8.js gzip N/A 303 B N/A
withRouter-0..a68e.js gzip N/A 302 B N/A
Overall change 7.73 kB 8.05 kB ⚠️ +324 B
Client Build Manifests
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 323 B 323 B
Overall change 323 B 323 B
Serverless bundles Overall decrease ✓
vercel/next.js canary v9.5.5 vercel/next.js refs/heads/canary Change
_error.js 1.05 MB 1 MB -52.2 kB
404.html 2.6 kB 2.67 kB ⚠️ +69 B
hooks.html 1.98 kB 1.92 kB -60 B
index.js 1.05 MB 1 MB -52.1 kB
link.js 1.1 MB 1.06 MB -43.6 kB
routerDirect.js 1.09 MB 1.05 MB -45.1 kB
withRouter.js 1.09 MB 1.05 MB -45.1 kB
Overall change 5.4 MB 5.16 MB -238 kB

Please sign in to comment.