Skip to content

Commit

Permalink
v10.0.7-canary.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Feb 11, 2021
1 parent 55e4a3d commit 27b6dd6
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.7-canary.6"
"version": "10.0.7-canary.7"
}
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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"@next/polyfill-module": "10.0.7-canary.6",
"@next/react-dev-overlay": "10.0.7-canary.6",
"@next/react-refresh-utils": "10.0.7-canary.6",
"@next/env": "10.0.7-canary.7",
"@next/polyfill-module": "10.0.7-canary.7",
"@next/react-dev-overlay": "10.0.7-canary.7",
"@next/react-refresh-utils": "10.0.7-canary.7",
"@opentelemetry/api": "0.14.0",
"ast-types": "0.13.2",
"browserslist": "4.16.1",
Expand Down Expand Up @@ -135,7 +135,7 @@
"@babel/preset-react": "7.12.10",
"@babel/preset-typescript": "7.12.7",
"@babel/types": "7.12.12",
"@next/polyfill-nomodule": "10.0.7-canary.6",
"@next/polyfill-nomodule": "10.0.7-canary.7",
"@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.7-canary.6",
"version": "10.0.7-canary.7",
"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.7-canary.6",
"version": "10.0.7-canary.7",
"description": "An experimental package providing utilities for React Refresh.",
"repository": {
"url": "vercel/next.js",
Expand Down

1 comment on commit 27b6dd6

@ijjk
Copy link
Member Author

@ijjk ijjk commented on 27b6dd6 Feb 11, 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.6 vercel/next.js refs/heads/canary Change
buildDuration 9.5s 9.9s ⚠️ +338ms
nodeModulesSize 75.2 MB 69.8 MB -5.41 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 1.788 1.752 -0.04
/ avg req/sec 1397.86 1426.85 +28.99
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.104 1.135 ⚠️ +0.03
/error-in-render avg req/sec 2263.53 2202.42 ⚠️ -61.11
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
677f882d2ed8..38ed.js gzip 13.1 kB 13.1 kB ⚠️ +23 B
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB ⚠️ +7 B
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.5 kB ⚠️ +30 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v10.0.6 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 Overall increase ⚠️
vercel/next.js canary v10.0.6 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-f8ee040..45b1.js gzip 1.64 kB 1.64 kB ⚠️ +6 B
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.63 kB 8.64 kB ⚠️ +6 B
Client Build Manifests Overall increase ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 347 B 348 B ⚠️ +1 B
Overall change 347 B 348 B ⚠️ +1 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
index.html gzip 613 B 614 B ⚠️ +1 B
link.html gzip 619 B 620 B ⚠️ +1 B
withRouter.html gzip 605 B 607 B ⚠️ +2 B
Overall change 1.84 kB 1.84 kB ⚠️ +4 B

Diffs

Diff for _buildManifest.js
@@ -8,7 +8,7 @@ self.__BUILD_MANIFEST = {
   "/hooks": [
     "static\u002Fchunks\u002Fpages\u002Fhooks-e732be88e7750c8b99f5.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-6c5bb8c23458fabe52bc.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-df11b317aadf9fd402f9.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-b3467c130a6d01a76dae.js"
   ],
Diff for link-6c5bb8c..8fabe52bc.js
@@ -284,13 +284,18 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           (child.type === "a" && !("href" in child.props))
         ) {
           var curLocale =
-            typeof locale !== "undefined" ? locale : router && router.locale;
-          var localeDomain = (0, _router.getDomainLocale)(
-            as,
-            curLocale,
-            router && router.locales,
-            router && router.domainLocales
-          );
+            typeof locale !== "undefined" ? locale : router && router.locale; // we only render domain locales if we are currently on a domain locale
+          // so that locale links are still visitable in development/preview envs
+
+          var localeDomain =
+            router &&
+            router.isLocaleDomain &&
+            (0, _router.getDomainLocale)(
+              as,
+              curLocale,
+              router && router.locales,
+              router && router.domainLocales
+            );
           childProps.href =
             localeDomain ||
             (0, _router.addBasePath)(
Diff for 677f882d2ed8..dde534236.js
@@ -1589,6 +1589,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.isLocaleDomain = void 0;
           this._idx = 0;
 
           this.onPopState = function(e) {
@@ -1715,6 +1716,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
             self.__NEXT_DATA__.gip ||
             (!autoExportDynamic && !self.location.search)
           );
+          this.isLocaleDomain = false;
 
           if (false) {
           }
@@ -2840,9 +2842,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
             value: function scrollToHash(as) {
               var _as$split3 = as.split("#"),
                 _as$split4 = _slicedToArray(_as$split3, 2),
-                hash = _as$split4[1]; // Scroll to top if the hash is just `#` with no value
+                hash = _as$split4[1]; // Scroll to top if the hash is just `#` with no value or `#top`
+              // To mirror browsers
 
-              if (hash === "") {
+              if (hash === "" || hash === "top") {
                 window.scrollTo(0, 0);
                 return;
               } // First we check if the element by id is found
@@ -4429,7 +4432,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
         "locale",
         "locales",
         "defaultLocale",
-        "isReady"
+        "isReady",
+        "isLocaleDomain"
       ];
       var routerEvents = [
         "routeChangeStart",
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.6";
+      var version = "10.0.7-canary.7";
       exports.version = version;
 
       var looseToArray = function looseToArray(input) {
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-2eae767553b6c33378c2.js"
+      href="/_next/static/chunks/main-3f931983f7482dc6c1be.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.d59cca9b248dde534236.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.0d8e916e638b246b9f81.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-2eae767553b6c33378c2.js"
+      src="/_next/static/chunks/main-3f931983f7482dc6c1be.js"
       async=""
     ></script>
     <script
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.d59cca9b248dde534236.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.0d8e916e638b246b9f81.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-2eae767553b6c33378c2.js"
+      href="/_next/static/chunks/main-3f931983f7482dc6c1be.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.d59cca9b248dde534236.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.0d8e916e638b246b9f81.js"
       as="script"
     />
     <link
@@ -32,7 +32,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/link-6c5bb8c23458fabe52bc.js"
+      href="/_next/static/chunks/pages/link-df11b317aadf9fd402f9.js"
       as="script"
     />
   </head>
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-2eae767553b6c33378c2.js"
+      src="/_next/static/chunks/main-3f931983f7482dc6c1be.js"
       async=""
     ></script>
     <script
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.d59cca9b248dde534236.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.0d8e916e638b246b9f81.js"
       async=""
     ></script>
     <script
@@ -78,7 +78,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-6c5bb8c23458fabe52bc.js"
+      src="/_next/static/chunks/pages/link-df11b317aadf9fd402f9.js"
       async=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-2eae767553b6c33378c2.js"
+      href="/_next/static/chunks/main-3f931983f7482dc6c1be.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.d59cca9b248dde534236.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.0d8e916e638b246b9f81.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-2eae767553b6c33378c2.js"
+      src="/_next/static/chunks/main-3f931983f7482dc6c1be.js"
       async=""
     ></script>
     <script
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.d59cca9b248dde534236.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.0d8e916e638b246b9f81.js"
       async=""
     ></script>
     <script

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
buildDuration 11.8s 11.6s -147ms
nodeModulesSize 75.2 MB 69.8 MB -5.41 MB
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
677f882d2ed8..38ed.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.63 kB ⚠️ +7 B
webpack-HASH.js gzip 751 B 751 B
677f882d2ed8..4c01.js gzip N/A 13.1 kB N/A
Overall change 59.4 kB 59.5 kB ⚠️ +30 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v10.0.6 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 Overall increase ⚠️
vercel/next.js canary v10.0.6 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-f8ee040..45b1.js gzip 1.64 kB N/A N/A
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
link-020eb27..d87f.js gzip N/A 1.64 kB N/A
Overall change 8.63 kB 8.64 kB ⚠️ +6 B
Client Build Manifests Overall increase ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 347 B 348 B ⚠️ +1 B
Overall change 347 B 348 B ⚠️ +1 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
_error.js 1 MB 1.01 MB ⚠️ +151 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 ⚠️ +151 B
link.js 1.06 MB 1.06 MB ⚠️ +474 B
routerDirect.js 1.06 MB 1.06 MB ⚠️ +290 B
withRouter.js 1.06 MB 1.06 MB ⚠️ +290 B
Overall change 5.2 MB 5.2 MB ⚠️ +1.36 kB

Webpack 5 Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
buildDuration 11.6s 11.2s -405ms
nodeModulesSize 75.2 MB 69.8 MB -5.41 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 1.663 1.752 ⚠️ +0.09
/ avg req/sec 1503.25 1427.3 ⚠️ -75.95
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.09 1.127 ⚠️ +0.04
/error-in-render avg req/sec 2292.7 2218.58 ⚠️ -74.12
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
597-7c719119..27b6.js gzip 13 kB 13.1 kB ⚠️ +23 B
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.57 kB 6.58 kB ⚠️ +9 B
webpack-HASH.js gzip 954 B 954 B
Overall change 59.8 kB 59.9 kB ⚠️ +32 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v10.0.6 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 Overall increase ⚠️
vercel/next.js canary v10.0.6 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-89095fe..14f1.js gzip 1.62 kB 1.63 kB ⚠️ +6 B
routerDirect..323a.js gzip 308 B 308 B
withRouter-a..2ef8.js gzip 304 B 304 B
Overall change 8.55 kB 8.56 kB ⚠️ +6 B
Client Build Manifests Overall decrease ✓
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 323 B 322 B -1 B
Overall change 323 B 322 B -1 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary v10.0.6 vercel/next.js refs/heads/canary Change
index.html gzip 585 B 586 B ⚠️ +1 B
link.html gzip 592 B 593 B ⚠️ +1 B
withRouter.html gzip 579 B 580 B ⚠️ +1 B
Overall change 1.76 kB 1.76 kB ⚠️ +3 B

Diffs

Diff for _buildManifest.js
@@ -8,7 +8,7 @@ self.__BUILD_MANIFEST = {
   "/hooks": [
     "static\u002Fchunks\u002Fpages\u002Fhooks-5023ef2ff38488073670.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-f8ee040c07f6c23645b1.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-020eb2794ab7d2ded87f.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-73e91dc4f2667a6a1a66.js"
   ],
Diff for link-f8ee040..6c23645b1.js
@@ -79,20 +79,20 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
           _ = e.locale;
         "string" === typeof v && (v = a.default.createElement("a", null, v));
         var b = a.Children.only(v),
-          w = b && "object" === typeof b && b.ref,
-          E = (0, i.useIntersection)({ rootMargin: "200px" }),
-          m = r(E, 2),
-          L = m[0],
-          M = m[1],
+          m = b && "object" === typeof b && b.ref,
+          w = (0, i.useIntersection)({ rootMargin: "200px" }),
+          E = r(w, 2),
+          L = E[0],
+          M = E[1],
           k = a.default.useCallback(
             function(e) {
               L(e),
-                w &&
-                  ("function" === typeof w
-                    ? w(e)
-                    : "object" === typeof w && (w.current = e));
+                m &&
+                  ("function" === typeof m
+                    ? m(e)
+                    : "object" === typeof m && (m.current = e));
             },
-            [w, L]
+            [m, L]
           );
         (0, a.useEffect)(
           function() {
@@ -145,12 +145,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
         };
         if (e.passHref || ("a" === b.type && !("href" in b.props))) {
           var N = "undefined" !== typeof _ ? _ : t && t.locale,
-            O = (0, c.getDomainLocale)(
-              d,
-              N,
-              t && t.locales,
-              t && t.domainLocales
-            );
+            O =
+              t &&
+              t.isLocaleDomain &&
+              (0, c.getDomainLocale)(
+                d,
+                N,
+                t && t.locales,
+                t && t.domainLocales
+              );
           I.href =
             O ||
             (0, c.addBasePath)((0, c.addLocale)(d, N, t && t.defaultLocale));
Diff for 677f882d2ed8..c23f838ed.js
@@ -882,7 +882,7 @@
           throw (e || (0, s.markAssetError)(t), t);
         });
       }
-      var M = (function() {
+      var D = (function() {
         function t(e, r, n, o) {
           var i = this,
             u = o.initialProps,
@@ -918,6 +918,7 @@
             (this.defaultLocale = void 0),
             (this.domainLocales = void 0),
             (this.isReady = void 0),
+            (this.isLocaleDomain = void 0),
             (this._idx = 0),
             (this.onPopState = function(t) {
               var e = t.state;
@@ -981,6 +982,7 @@
               !self.__NEXT_DATA__.gip &&
               (b || self.location.search)
             )),
+            (this.isLocaleDomain = !1),
             "//" !== n.substr(0, 2) &&
               this.changeState(
                 "replaceState",
@@ -1045,8 +1047,8 @@
                       C,
                       I,
                       A,
-                      M,
                       D,
+                      M,
                       N,
                       U,
                       W,
@@ -1137,7 +1139,7 @@
                                 (0, s.getClientBuildManifest)()
                               );
                             case 42:
-                              (M = e.sent), M.__rewrites, (e.next = 50);
+                              (D = e.sent), D.__rewrites, (e.next = 50);
                               break;
                             case 46:
                               return (
@@ -1155,7 +1157,7 @@
                                   ? (0, c.removePathTrailingSlash)(k(C))
                                   : C),
                                 this.urlIsNew(w) || f || (r = "replaceState"),
-                                (D = (0, c.removePathTrailingSlash)(C)),
+                                (M = (0, c.removePathTrailingSlash)(C)),
                                 (N = a),
                                 E(a))
                               ) {
@@ -1172,7 +1174,7 @@
                             case 62:
                               if (
                                 ((N = _(k(N), this.locale)),
-                                !(0, p.isDynamicRoute)(D))
+                                !(0, p.isDynamicRoute)(M))
                               ) {
                                 e.next = 78;
                                 break;
@@ -1180,9 +1182,9 @@
                               if (
                                 ((U = (0, d.parseRelativeUrl)(N)),
                                 (W = U.pathname),
-                                (F = (0, m.getRouteRegex)(D)),
+                                (F = (0, m.getRouteRegex)(M)),
                                 (q = (0, y.getRouteMatcher)(F)(W)),
-                                (B = (G = D === W) ? R(D, W, I) : {}),
+                                (B = (G = M === W) ? R(M, W, I) : {}),
                                 q && (!G || B.result))
                               ) {
                                 e.next = 77;
@@ -1216,7 +1218,7 @@
                                         W,
                                         ") is incompatible with the `href` value ("
                                       )
-                                      .concat(D, "). ")) +
+                                      .concat(M, "). ")) +
                                   "Read more: https://err.sh/vercel/next.js/".concat(
                                     G
                                       ? "href-interpolation-failed"
@@ -1240,7 +1242,7 @@
                                 t.events.emit("routeChangeStart", a, g),
                                 (e.prev = 79),
                                 (e.next = 82),
-                                this.getRouteInfo(D, C, I, a, N, g)
+                                this.getRouteInfo(M, C, I, a, N, g)
                               );
                             case 82:
                               if (
@@ -1313,10 +1315,10 @@
                               return (
                                 t.events.emit("beforeHistoryChange", a, g),
                                 this.changeState(r, o, a, i),
-                                (nt = i.shallow && this.route === D),
+                                (nt = i.shallow && this.route === M),
                                 (e.next = 114),
                                 this.set(
-                                  D,
+                                  M,
                                   C,
                                   I,
                                   w,
@@ -1654,7 +1656,7 @@
               value: function(t) {
                 var e = t.split("#"),
                   r = u(e, 2)[1];
-                if ("" !== r) {
+                if ("" !== r && "top" !== r) {
                   var n = document.getElementById(r);
                   if (n) n.scrollIntoView();
                   else {
@@ -1896,7 +1898,7 @@
           t
         );
       })();
-      (e.default = M), (M.events = (0, f.default)());
+      (e.default = D), (D.events = (0, f.default)());
     },
     "g/15": function(t, e, r) {
       "use strict";
@@ -2653,7 +2655,8 @@
           "locale",
           "locales",
           "defaultLocale",
-          "isReady"
+          "isReady",
+          "isLocaleDomain"
         ],
         d = ["push", "replace", "reload", "back", "prefetch", "beforePopState"];
       function v() {
Diff for main-HASH.js
@@ -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.6";
+      t.version = "10.0.7-canary.7";
       var C = function(e) {
           return [].slice.call(e);
         },
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c4d4764fa9b45f66e95b.js"
+      href="/_next/static/chunks/main-9ab74823a8e6baff8343.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.c28076628b4c23f838ed.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3b6332a757fdf2824c01.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "VWQe207WIjTQf1tFZU_Ez",
+        "buildId": "w57_oXmkMtVWVxXB2-4lG",
         "isFallback": false,
         "gip": true
       }
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c4d4764fa9b45f66e95b.js"
+      src="/_next/static/chunks/main-9ab74823a8e6baff8343.js"
       async=""
     ></script>
     <script
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.c28076628b4c23f838ed.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3b6332a757fdf2824c01.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/VWQe207WIjTQf1tFZU_Ez/_buildManifest.js"
+      src="/_next/static/w57_oXmkMtVWVxXB2-4lG/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/VWQe207WIjTQf1tFZU_Ez/_ssgManifest.js"
+      src="/_next/static/w57_oXmkMtVWVxXB2-4lG/_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-c4d4764fa9b45f66e95b.js"
+      href="/_next/static/chunks/main-9ab74823a8e6baff8343.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.c28076628b4c23f838ed.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3b6332a757fdf2824c01.js"
       as="script"
     />
     <link
@@ -32,7 +32,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/link-f8ee040c07f6c23645b1.js"
+      href="/_next/static/chunks/pages/link-020eb2794ab7d2ded87f.js"
       as="script"
     />
   </head>
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "VWQe207WIjTQf1tFZU_Ez",
+        "buildId": "w57_oXmkMtVWVxXB2-4lG",
         "isFallback": false,
         "gip": true
       }
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c4d4764fa9b45f66e95b.js"
+      src="/_next/static/chunks/main-9ab74823a8e6baff8343.js"
       async=""
     ></script>
     <script
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.c28076628b4c23f838ed.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3b6332a757fdf2824c01.js"
       async=""
     ></script>
     <script
@@ -78,15 +78,15 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-f8ee040c07f6c23645b1.js"
+      src="/_next/static/chunks/pages/link-020eb2794ab7d2ded87f.js"
       async=""
     ></script>
     <script
-      src="/_next/static/VWQe207WIjTQf1tFZU_Ez/_buildManifest.js"
+      src="/_next/static/w57_oXmkMtVWVxXB2-4lG/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/VWQe207WIjTQf1tFZU_Ez/_ssgManifest.js"
+      src="/_next/static/w57_oXmkMtVWVxXB2-4lG/_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-c4d4764fa9b45f66e95b.js"
+      href="/_next/static/chunks/main-9ab74823a8e6baff8343.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.c28076628b4c23f838ed.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3b6332a757fdf2824c01.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "VWQe207WIjTQf1tFZU_Ez",
+        "buildId": "w57_oXmkMtVWVxXB2-4lG",
         "isFallback": false,
         "gip": true
       }
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c4d4764fa9b45f66e95b.js"
+      src="/_next/static/chunks/main-9ab74823a8e6baff8343.js"
       async=""
     ></script>
     <script
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.c28076628b4c23f838ed.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3b6332a757fdf2824c01.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/VWQe207WIjTQf1tFZU_Ez/_buildManifest.js"
+      src="/_next/static/w57_oXmkMtVWVxXB2-4lG/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/VWQe207WIjTQf1tFZU_Ez/_ssgManifest.js"
+      src="/_next/static/w57_oXmkMtVWVxXB2-4lG/_ssgManifest.js"
       async=""
     ></script>
   </body>

Please sign in to comment.