Skip to content

Commit

Permalink
v12.1.1-canary.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Feb 18, 2022
1 parent 46d7f45 commit 4613e3b
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Expand Up @@ -16,5 +16,5 @@
"registry": "https://registry.npmjs.org/"
}
},
"version": "12.1.1-canary.0"
"version": "12.1.1-canary.1"
}
2 changes: 1 addition & 1 deletion packages/create-next-app/package.json
@@ -1,6 +1,6 @@
{
"name": "create-next-app",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"keywords": [
"react",
"next",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-next/package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-config-next",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"description": "ESLint configuration used by NextJS.",
"main": "index.js",
"license": "MIT",
Expand All @@ -9,7 +9,7 @@
"directory": "packages/eslint-config-next"
},
"dependencies": {
"@next/eslint-plugin-next": "12.1.1-canary.0",
"@next/eslint-plugin-next": "12.1.1-canary.1",
"@rushstack/eslint-patch": "^1.0.8",
"@typescript-eslint/parser": "^5.0.0",
"eslint-import-resolver-node": "^0.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-next/package.json
@@ -1,6 +1,6 @@
{
"name": "@next/eslint-plugin-next",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"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
@@ -1,6 +1,6 @@
{
"name": "@next/bundle-analyzer",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"main": "index.js",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-codemod/package.json
@@ -1,6 +1,6 @@
{
"name": "@next/codemod",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"license": "MIT",
"dependencies": {
"chalk": "4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-env/package.json
@@ -1,6 +1,6 @@
{
"name": "@next/env",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"keywords": [
"react",
"next",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-mdx/package.json
@@ -1,6 +1,6 @@
{
"name": "@next/mdx",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"main": "index.js",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-plugin-storybook/package.json
@@ -1,6 +1,6 @@
{
"name": "@next/plugin-storybook",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"repository": {
"url": "vercel/next.js",
"directory": "packages/next-plugin-storybook"
Expand Down
2 changes: 1 addition & 1 deletion packages/next-polyfill-module/package.json
@@ -1,6 +1,6 @@
{
"name": "@next/polyfill-module",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"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
@@ -1,6 +1,6 @@
{
"name": "@next/polyfill-nomodule",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"description": "A polyfill for non-dead, nomodule browsers.",
"main": "dist/polyfill-nomodule.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/package.json
@@ -1,6 +1,6 @@
{
"name": "@next/swc",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"private": true,
"scripts": {
"build-native": "napi build --platform --cargo-name next_swc_napi native",
Expand Down
14 changes: 7 additions & 7 deletions packages/next/package.json
@@ -1,6 +1,6 @@
{
"name": "next",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"description": "The React Framework",
"main": "./dist/server/next.js",
"license": "MIT",
Expand Down Expand Up @@ -69,7 +69,7 @@
]
},
"dependencies": {
"@next/env": "12.1.1-canary.0",
"@next/env": "12.1.1-canary.1",
"caniuse-lite": "^1.0.30001283",
"postcss": "8.4.5",
"styled-jsx": "5.0.0",
Expand Down Expand Up @@ -117,11 +117,11 @@
"@hapi/accept": "5.0.2",
"@napi-rs/cli": "2.4.4",
"@napi-rs/triples": "1.0.3",
"@next/polyfill-module": "12.1.1-canary.0",
"@next/polyfill-nomodule": "12.1.1-canary.0",
"@next/react-dev-overlay": "12.1.1-canary.0",
"@next/react-refresh-utils": "12.1.1-canary.0",
"@next/swc": "12.1.1-canary.0",
"@next/polyfill-module": "12.1.1-canary.1",
"@next/polyfill-nomodule": "12.1.1-canary.1",
"@next/react-dev-overlay": "12.1.1-canary.1",
"@next/react-refresh-utils": "12.1.1-canary.1",
"@next/swc": "12.1.1-canary.1",
"@peculiar/webcrypto": "1.1.7",
"@taskr/clear": "1.1.0",
"@taskr/esnext": "1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dev-overlay/package.json
@@ -1,6 +1,6 @@
{
"name": "@next/react-dev-overlay",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"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
@@ -1,6 +1,6 @@
{
"name": "@next/react-refresh-utils",
"version": "12.1.1-canary.0",
"version": "12.1.1-canary.1",
"description": "An experimental package providing utilities for React Refresh.",
"repository": {
"url": "vercel/next.js",
Expand Down

1 comment on commit 4613e3b

@ijjk
Copy link
Member Author

@ijjk ijjk commented on 4613e3b Feb 19, 2022

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 Build (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
buildDuration 19.5s 19.7s ⚠️ +188ms
buildDurationCached 7.5s 7.4s -129ms
nodeModulesSize 367 MB 367 MB ⚠️ +15.4 kB
Page Load Tests Overall increase ✓
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 4.291 4.051 -0.24
/ avg req/sec 582.64 617.12 +34.48
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 2.149 2.095 -0.05
/error-in-render avg req/sec 1163.31 1193.55 +30.24
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
450.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42 kB 42 kB
main-HASH.js gzip 27.9 kB 27.9 kB -26 B
webpack-HASH.js gzip 1.44 kB 1.44 kB
Overall change 71.6 kB 71.6 kB -26 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
_app-HASH.js gzip 1.36 kB 1.36 kB
_error-HASH.js gzip 194 B 194 B
amp-HASH.js gzip 312 B 312 B
css-HASH.js gzip 326 B 326 B
dynamic-HASH.js gzip 2.57 kB 2.57 kB
head-HASH.js gzip 350 B 350 B
hooks-HASH.js gzip 919 B 919 B
image-HASH.js gzip 5.05 kB 5.05 kB
index-HASH.js gzip 263 B 263 B
link-HASH.js gzip 2.26 kB 2.26 kB
routerDirect..HASH.js gzip 321 B 321 B
script-HASH.js gzip 383 B 383 B
withRouter-HASH.js gzip 318 B 318 B
85e02e95b279..7e3.css gzip 107 B 107 B
Overall change 14.7 kB 14.7 kB
Client Build Manifests
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 460 B 460 B
Overall change 460 B 460 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
index.html gzip 531 B 532 B ⚠️ +1 B
link.html gzip 544 B 545 B ⚠️ +1 B
withRouter.html gzip 525 B 526 B ⚠️ +1 B
Overall change 1.6 kB 1.6 kB ⚠️ +3 B

Diffs

Diff for _buildManifest.js
@@ -12,7 +12,7 @@ self.__BUILD_MANIFEST = {
   ],
   "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-7100d3b2a548f0e4.js"],
   "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-e46f7cf4e561503a.js"],
-  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-39f3ab40e378fe36.js"],
+  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-9af46ce04572b728.js"],
   "/link": ["static\u002Fchunks\u002Fpages\u002Flink-b932c7479a7c37ca.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-76232dd6bc335a24.js"
Diff for image-HASH.js
@@ -239,6 +239,10 @@
         "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
       if (false) {
       }
+      var warnOnce = function(_) {};
+      if (false) {
+        var warnings;
+      }
       var VALID_LOADING_VALUES = /* unused pure expression or super */ null && [
         "lazy",
         "eager",
Diff for main-HASH.js
@@ -627,7 +627,7 @@
         document.getElementById("__NEXT_DATA__").textContent
       );
       window.__NEXT_DATA__ = data;
-      var version = "12.1.0";
+      var version = "12.1.1-canary.1";
       exports.version = version;
       var looseToArray = function(input) {
         return [].slice.call(input);
@@ -4264,6 +4264,7 @@
       var _routeMatcher = __webpack_require__(3888);
       var _routeRegex = __webpack_require__(4095);
       var _getMiddlewareRegex = __webpack_require__(9820);
+      var _formatUrl = __webpack_require__(4611);
       function _interopRequireDefault1(obj) {
         return obj && obj.__esModule
           ? obj
@@ -4440,7 +4441,7 @@
         var urlAsString =
           typeof href === "string"
             ? href
-            : (0, _utils).formatWithValidation(href);
+            : (0, _formatUrl).formatWithValidation(href);
         // repeated slashes and backslashes in the URL are considered
         // invalid and will never match a Next.js page/file
         var urlProtoMatch = urlAsString.match(/^[a-zA-Z]{1,}:\/\//);
@@ -4496,7 +4497,7 @@
               result = ref.result,
               params = ref.params;
             if (result) {
-              interpolatedAs = (0, _utils).formatWithValidation({
+              interpolatedAs = (0, _formatUrl).formatWithValidation({
                 pathname: result,
                 hash: finalUrl.hash,
                 query: omitParmsFromQuery(query, params)
@@ -4680,7 +4681,7 @@
                 query = _this.query;
               _this.changeState(
                 "replaceState",
-                (0, _utils).formatWithValidation({
+                (0, _formatUrl).formatWithValidation({
                   pathname: addBasePath(pathname),
                   query: query
                 }),
@@ -4800,7 +4801,7 @@
               options1._shouldResolveHref = as1 !== pathname2;
               this.changeState(
                 "replaceState",
-                (0, _utils).formatWithValidation({
+                (0, _formatUrl).formatWithValidation({
                   pathname: addBasePath(pathname2),
                   query: query1
                 }),
@@ -4977,7 +4978,9 @@
                               parsedAs.pathname = addBasePath(
                                 parsedAs.pathname
                               );
-                              as = (0, _utils).formatWithValidation(parsedAs);
+                              as = (0, _formatUrl).formatWithValidation(
+                                parsedAs
+                              );
                               url = addBasePath(
                                 (0, _normalizeLocalePath).normalizeLocalePath(
                                   hasBasePath(url) ? delBasePath(url) : url,
@@ -5170,7 +5173,9 @@
                               // allow the correct page chunk to be loaded
                               pathname = rewritesResult.resolvedHref;
                               parsed.pathname = addBasePath(pathname);
-                              url = (0, _utils).formatWithValidation(parsed);
+                              url = (0, _formatUrl).formatWithValidation(
+                                parsed
+                              );
                             }
                             _ctx.next = 70;
                             break;
@@ -5182,7 +5187,9 @@
                             if (parsed.pathname !== pathname) {
                               pathname = parsed.pathname;
                               parsed.pathname = addBasePath(pathname);
-                              url = (0, _utils).formatWithValidation(parsed);
+                              url = (0, _formatUrl).formatWithValidation(
+                                parsed
+                              );
                             }
                           }
                           case 70:
@@ -5250,7 +5257,9 @@
                               resolvedAs = effect.asPath;
                               pathname = effect.resolvedHref;
                               parsed.pathname = effect.resolvedHref;
-                              url = (0, _utils).formatWithValidation(parsed);
+                              url = (0, _formatUrl).formatWithValidation(
+                                parsed
+                              );
                             }
                             _ctx.next = 96;
                             break;
@@ -5366,7 +5375,7 @@
                             break;
                           case 111:
                             if (shouldInterpolate) {
-                              as = (0, _utils).formatWithValidation(
+                              as = (0, _formatUrl).formatWithValidation(
                                 Object.assign({}, parsedAs1, {
                                   pathname: interpolatedAs.result,
                                   query: omitParmsFromQuery(
@@ -5857,7 +5866,7 @@
                           case 17:
                             if (__N_SSG || __N_SSP || __N_RSC) {
                               dataHref = _this.pageLoader.getDataHref({
-                                href: (0, _utils).formatWithValidation({
+                                href: (0, _formatUrl).formatWithValidation({
                                   pathname: pathname,
                                   query: query
                                 }),
@@ -6097,7 +6106,7 @@
                             // allow the correct page chunk to be loaded
                             pathname = rewritesResult.resolvedHref;
                             parsed.pathname = pathname;
-                            url = (0, _utils).formatWithValidation(parsed);
+                            url = (0, _formatUrl).formatWithValidation(parsed);
                           }
                           _ctx.next = 23;
                           break;
@@ -6109,7 +6118,7 @@
                           if (parsed.pathname !== pathname) {
                             pathname = parsed.pathname;
                             parsed.pathname = pathname;
-                            url = (0, _utils).formatWithValidation(parsed);
+                            url = (0, _formatUrl).formatWithValidation(parsed);
                           }
                         }
                         case 23:
@@ -6140,7 +6149,7 @@
                               effects.parsedAs.query
                             );
                             resolvedAs = effects.asPath;
-                            url = (0, _utils).formatWithValidation(parsed);
+                            url = (0, _formatUrl).formatWithValidation(parsed);
                           }
                           route = (0,
                           _normalizeTrailingSlash).removePathTrailingSlash(
@@ -6572,6 +6581,8 @@
         value: true
       });
       exports.formatUrl = formatUrl;
+      exports.formatWithValidation = formatWithValidation;
+      exports.urlObjectKeys = void 0;
       var querystring = _interopRequireWildcard(__webpack_require__(466));
       function _interopRequireWildcard(obj) {
         if (obj && obj.__esModule) {
@@ -6641,6 +6652,26 @@
           .concat(pathname)
           .concat(search)
           .concat(hash);
+      }
+      var urlObjectKeys = [
+        "auth",
+        "hash",
+        "host",
+        "hostname",
+        "href",
+        "path",
+        "pathname",
+        "port",
+        "protocol",
+        "query",
+        "search",
+        "slashes"
+      ];
+      exports.urlObjectKeys = urlObjectKeys;
+      function formatWithValidation(url) {
+        if (false) {
+        }
+        return formatUrl(url);
       } //# sourceMappingURL=format-url.js.map
 
       /***/
@@ -7977,10 +8008,7 @@
       exports.isResSent = isResSent;
       exports.normalizeRepeatedSlashes = normalizeRepeatedSlashes;
       exports.loadGetInitialProps = loadGetInitialProps;
-      exports.formatWithValidation = formatWithValidation;
-      exports.HtmlContext = exports.ST = exports.SP = exports.urlObjectKeys = void 0;
-      var _react = __webpack_require__(7294);
-      var _formatUrl = __webpack_require__(4611);
+      exports.ST = exports.SP = void 0;
       function execOnce(fn) {
         var used = false;
         var result;
@@ -8115,26 +8143,6 @@
         );
         return _loadGetInitialProps.apply(this, arguments);
       }
-      var urlObjectKeys = [
-        "auth",
-        "hash",
-        "host",
-        "hostname",
-        "href",
-        "path",
-        "pathname",
-        "port",
-        "protocol",
-        "query",
-        "search",
-        "slashes"
-      ];
-      exports.urlObjectKeys = urlObjectKeys;
-      function formatWithValidation(url) {
-        if (false) {
-        }
-        return (0, _formatUrl).formatUrl(url);
-      }
       var SP = typeof performance !== "undefined";
       exports.SP = SP;
       var ST =
@@ -8151,11 +8159,7 @@
         }
         return DecodeError;
       })(_wrapNativeSuper(Error));
-      exports.DecodeError = DecodeError;
-      var HtmlContext = (0, _react).createContext(null);
-      exports.HtmlContext = HtmlContext;
-      if (false) {
-      } //# sourceMappingURL=utils.js.map
+      exports.DecodeError = DecodeError; //# sourceMappingURL=utils.js.map
 
       /***/
     },
Diff for index.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c5581a7a22133abc.js"
+      src="/_next/static/chunks/main-1fb5e2092d0159f4.js"
       defer=""
     ></script>
     <script
Diff for link.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c5581a7a22133abc.js"
+      src="/_next/static/chunks/main-1fb5e2092d0159f4.js"
       defer=""
     ></script>
     <script
Diff for withRouter.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c5581a7a22133abc.js"
+      src="/_next/static/chunks/main-1fb5e2092d0159f4.js"
       defer=""
     ></script>
     <script

Default Build with SWC (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
buildDuration 23.8s 23.4s -460ms
buildDurationCached 7.7s 7.3s -400ms
nodeModulesSize 367 MB 367 MB ⚠️ +15.4 kB
Page Load Tests Overall increase ✓
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 4.306 4.069 -0.24
/ avg req/sec 580.65 614.38 +33.73
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 2.169 2.094 -0.08
/error-in-render avg req/sec 1152.37 1194.12 +41.75
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
450.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.1 kB 42.1 kB
main-HASH.js gzip 27.9 kB 27.9 kB -37 B
webpack-HASH.js gzip 1.44 kB 1.44 kB
Overall change 71.7 kB 71.7 kB -37 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
_app-HASH.js gzip 1.35 kB 1.35 kB
_error-HASH.js gzip 180 B 180 B
amp-HASH.js gzip 305 B 305 B
css-HASH.js gzip 321 B 321 B
dynamic-HASH.js gzip 2.56 kB 2.56 kB
head-HASH.js gzip 342 B 342 B
hooks-HASH.js gzip 911 B 911 B
image-HASH.js gzip 5.08 kB 5.08 kB
index-HASH.js gzip 256 B 256 B
link-HASH.js gzip 2.28 kB 2.28 kB
routerDirect..HASH.js gzip 314 B 314 B
script-HASH.js gzip 375 B 375 B
withRouter-HASH.js gzip 309 B 309 B
85e02e95b279..7e3.css gzip 107 B 107 B
Overall change 14.7 kB 14.7 kB
Client Build Manifests
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 459 B 459 B
Overall change 459 B 459 B
Rendered Page Sizes
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
index.html gzip 533 B 534 B ⚠️ +1 B
link.html gzip 548 B 547 B -1 B
withRouter.html gzip 528 B 528 B
Overall change 1.61 kB 1.61 kB

Diffs

Diff for _buildManifest.js
@@ -12,7 +12,7 @@ self.__BUILD_MANIFEST = {
   ],
   "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-7100d3b2a548f0e4.js"],
   "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-e46f7cf4e561503a.js"],
-  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-39f3ab40e378fe36.js"],
+  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-9af46ce04572b728.js"],
   "/link": ["static\u002Fchunks\u002Fpages\u002Flink-b932c7479a7c37ca.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-76232dd6bc335a24.js"
Diff for image-HASH.js
@@ -239,6 +239,10 @@
         "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
       if (false) {
       }
+      var warnOnce = function(_) {};
+      if (false) {
+        var warnings;
+      }
       var VALID_LOADING_VALUES = /* unused pure expression or super */ null && [
         "lazy",
         "eager",
Diff for main-HASH.js
@@ -627,7 +627,7 @@
         document.getElementById("__NEXT_DATA__").textContent
       );
       window.__NEXT_DATA__ = data;
-      var version = "12.1.0";
+      var version = "12.1.1-canary.1";
       exports.version = version;
       var looseToArray = function(input) {
         return [].slice.call(input);
@@ -4264,6 +4264,7 @@
       var _routeMatcher = __webpack_require__(3888);
       var _routeRegex = __webpack_require__(4095);
       var _getMiddlewareRegex = __webpack_require__(9820);
+      var _formatUrl = __webpack_require__(4611);
       function _interopRequireDefault1(obj) {
         return obj && obj.__esModule
           ? obj
@@ -4440,7 +4441,7 @@
         var urlAsString =
           typeof href === "string"
             ? href
-            : (0, _utils).formatWithValidation(href);
+            : (0, _formatUrl).formatWithValidation(href);
         // repeated slashes and backslashes in the URL are considered
         // invalid and will never match a Next.js page/file
         var urlProtoMatch = urlAsString.match(/^[a-zA-Z]{1,}:\/\//);
@@ -4496,7 +4497,7 @@
               result = ref.result,
               params = ref.params;
             if (result) {
-              interpolatedAs = (0, _utils).formatWithValidation({
+              interpolatedAs = (0, _formatUrl).formatWithValidation({
                 pathname: result,
                 hash: finalUrl.hash,
                 query: omitParmsFromQuery(query, params)
@@ -4680,7 +4681,7 @@
                 query = _this.query;
               _this.changeState(
                 "replaceState",
-                (0, _utils).formatWithValidation({
+                (0, _formatUrl).formatWithValidation({
                   pathname: addBasePath(pathname),
                   query: query
                 }),
@@ -4800,7 +4801,7 @@
               options1._shouldResolveHref = as1 !== pathname2;
               this.changeState(
                 "replaceState",
-                (0, _utils).formatWithValidation({
+                (0, _formatUrl).formatWithValidation({
                   pathname: addBasePath(pathname2),
                   query: query1
                 }),
@@ -4977,7 +4978,9 @@
                               parsedAs.pathname = addBasePath(
                                 parsedAs.pathname
                               );
-                              as = (0, _utils).formatWithValidation(parsedAs);
+                              as = (0, _formatUrl).formatWithValidation(
+                                parsedAs
+                              );
                               url = addBasePath(
                                 (0, _normalizeLocalePath).normalizeLocalePath(
                                   hasBasePath(url) ? delBasePath(url) : url,
@@ -5170,7 +5173,9 @@
                               // allow the correct page chunk to be loaded
                               pathname = rewritesResult.resolvedHref;
                               parsed.pathname = addBasePath(pathname);
-                              url = (0, _utils).formatWithValidation(parsed);
+                              url = (0, _formatUrl).formatWithValidation(
+                                parsed
+                              );
                             }
                             _ctx.next = 70;
                             break;
@@ -5182,7 +5187,9 @@
                             if (parsed.pathname !== pathname) {
                               pathname = parsed.pathname;
                               parsed.pathname = addBasePath(pathname);
-                              url = (0, _utils).formatWithValidation(parsed);
+                              url = (0, _formatUrl).formatWithValidation(
+                                parsed
+                              );
                             }
                           }
                           case 70:
@@ -5250,7 +5257,9 @@
                               resolvedAs = effect.asPath;
                               pathname = effect.resolvedHref;
                               parsed.pathname = effect.resolvedHref;
-                              url = (0, _utils).formatWithValidation(parsed);
+                              url = (0, _formatUrl).formatWithValidation(
+                                parsed
+                              );
                             }
                             _ctx.next = 96;
                             break;
@@ -5366,7 +5375,7 @@
                             break;
                           case 111:
                             if (shouldInterpolate) {
-                              as = (0, _utils).formatWithValidation(
+                              as = (0, _formatUrl).formatWithValidation(
                                 Object.assign({}, parsedAs1, {
                                   pathname: interpolatedAs.result,
                                   query: omitParmsFromQuery(
@@ -5857,7 +5866,7 @@
                           case 17:
                             if (__N_SSG || __N_SSP || __N_RSC) {
                               dataHref = _this.pageLoader.getDataHref({
-                                href: (0, _utils).formatWithValidation({
+                                href: (0, _formatUrl).formatWithValidation({
                                   pathname: pathname,
                                   query: query
                                 }),
@@ -6097,7 +6106,7 @@
                             // allow the correct page chunk to be loaded
                             pathname = rewritesResult.resolvedHref;
                             parsed.pathname = pathname;
-                            url = (0, _utils).formatWithValidation(parsed);
+                            url = (0, _formatUrl).formatWithValidation(parsed);
                           }
                           _ctx.next = 23;
                           break;
@@ -6109,7 +6118,7 @@
                           if (parsed.pathname !== pathname) {
                             pathname = parsed.pathname;
                             parsed.pathname = pathname;
-                            url = (0, _utils).formatWithValidation(parsed);
+                            url = (0, _formatUrl).formatWithValidation(parsed);
                           }
                         }
                         case 23:
@@ -6140,7 +6149,7 @@
                               effects.parsedAs.query
                             );
                             resolvedAs = effects.asPath;
-                            url = (0, _utils).formatWithValidation(parsed);
+                            url = (0, _formatUrl).formatWithValidation(parsed);
                           }
                           route = (0,
                           _normalizeTrailingSlash).removePathTrailingSlash(
@@ -6572,6 +6581,8 @@
         value: true
       });
       exports.formatUrl = formatUrl;
+      exports.formatWithValidation = formatWithValidation;
+      exports.urlObjectKeys = void 0;
       var querystring = _interopRequireWildcard(__webpack_require__(466));
       function _interopRequireWildcard(obj) {
         if (obj && obj.__esModule) {
@@ -6641,6 +6652,26 @@
           .concat(pathname)
           .concat(search)
           .concat(hash);
+      }
+      var urlObjectKeys = [
+        "auth",
+        "hash",
+        "host",
+        "hostname",
+        "href",
+        "path",
+        "pathname",
+        "port",
+        "protocol",
+        "query",
+        "search",
+        "slashes"
+      ];
+      exports.urlObjectKeys = urlObjectKeys;
+      function formatWithValidation(url) {
+        if (false) {
+        }
+        return formatUrl(url);
       } //# sourceMappingURL=format-url.js.map
 
       /***/
@@ -7977,10 +8008,7 @@
       exports.isResSent = isResSent;
       exports.normalizeRepeatedSlashes = normalizeRepeatedSlashes;
       exports.loadGetInitialProps = loadGetInitialProps;
-      exports.formatWithValidation = formatWithValidation;
-      exports.HtmlContext = exports.ST = exports.SP = exports.urlObjectKeys = void 0;
-      var _react = __webpack_require__(7294);
-      var _formatUrl = __webpack_require__(4611);
+      exports.ST = exports.SP = void 0;
       function execOnce(fn) {
         var used = false;
         var result;
@@ -8115,26 +8143,6 @@
         );
         return _loadGetInitialProps.apply(this, arguments);
       }
-      var urlObjectKeys = [
-        "auth",
-        "hash",
-        "host",
-        "hostname",
-        "href",
-        "path",
-        "pathname",
-        "port",
-        "protocol",
-        "query",
-        "search",
-        "slashes"
-      ];
-      exports.urlObjectKeys = urlObjectKeys;
-      function formatWithValidation(url) {
-        if (false) {
-        }
-        return (0, _formatUrl).formatUrl(url);
-      }
       var SP = typeof performance !== "undefined";
       exports.SP = SP;
       var ST =
@@ -8151,11 +8159,7 @@
         }
         return DecodeError;
       })(_wrapNativeSuper(Error));
-      exports.DecodeError = DecodeError;
-      var HtmlContext = (0, _react).createContext(null);
-      exports.HtmlContext = HtmlContext;
-      if (false) {
-      } //# sourceMappingURL=utils.js.map
+      exports.DecodeError = DecodeError; //# sourceMappingURL=utils.js.map
 
       /***/
     },
Diff for index.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c5581a7a22133abc.js"
+      src="/_next/static/chunks/main-1fb5e2092d0159f4.js"
       defer=""
     ></script>
     <script
Diff for link.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c5581a7a22133abc.js"
+      src="/_next/static/chunks/main-1fb5e2092d0159f4.js"
       defer=""
     ></script>
     <script
Diff for withRouter.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c5581a7a22133abc.js"
+      src="/_next/static/chunks/main-1fb5e2092d0159f4.js"
       defer=""
     ></script>
     <script

Please sign in to comment.