Skip to content

Commit

Permalink
v12.1.1-canary.3
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Feb 25, 2022
1 parent 99713ba commit aecfe4d
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 23 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.2"
"version": "12.1.1-canary.3"
}
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.2",
"version": "12.1.1-canary.3",
"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.2",
"version": "12.1.1-canary.3",
"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.2",
"@next/eslint-plugin-next": "12.1.1-canary.3",
"@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.2",
"version": "12.1.1-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
@@ -1,6 +1,6 @@
{
"name": "@next/bundle-analyzer",
"version": "12.1.1-canary.2",
"version": "12.1.1-canary.3",
"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.2",
"version": "12.1.1-canary.3",
"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.2",
"version": "12.1.1-canary.3",
"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.2",
"version": "12.1.1-canary.3",
"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.2",
"version": "12.1.1-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
@@ -1,6 +1,6 @@
{
"name": "@next/polyfill-module",
"version": "12.1.1-canary.2",
"version": "12.1.1-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
@@ -1,6 +1,6 @@
{
"name": "@next/polyfill-nomodule",
"version": "12.1.1-canary.2",
"version": "12.1.1-canary.3",
"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.2",
"version": "12.1.1-canary.3",
"private": true,
"scripts": {
"build-native": "napi build --platform --cargo-name next_swc_napi native",
Expand Down
16 changes: 8 additions & 8 deletions packages/next/package.json
@@ -1,6 +1,6 @@
{
"name": "next",
"version": "12.1.1-canary.2",
"version": "12.1.1-canary.3",
"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.2",
"@next/env": "12.1.1-canary.3",
"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.1.0",
"@next/polyfill-module": "12.1.1-canary.2",
"@next/polyfill-nomodule": "12.1.1-canary.2",
"@next/react-dev-overlay": "12.1.1-canary.2",
"@next/react-refresh-utils": "12.1.1-canary.2",
"@next/swc": "12.1.1-canary.2",
"@next/polyfill-module": "12.1.1-canary.3",
"@next/polyfill-nomodule": "12.1.1-canary.3",
"@next/react-dev-overlay": "12.1.1-canary.3",
"@next/react-refresh-utils": "12.1.1-canary.3",
"@next/swc": "12.1.1-canary.3",
"@peculiar/webcrypto": "1.1.7",
"@taskr/clear": "1.1.0",
"@taskr/esnext": "1.1.0",
Expand Down Expand Up @@ -169,10 +169,10 @@
"async-sema": "3.0.0",
"babel-plugin-transform-define": "2.0.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"bytes": "3.1.1",
"browserify-zlib": "0.2.0",
"browserslist": "4.18.1",
"buffer": "5.6.0",
"bytes": "3.1.1",
"chalk": "2.4.2",
"ci-info": "watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540",
"cli-select": "1.1.2",
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.2",
"version": "12.1.1-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
@@ -1,6 +1,6 @@
{
"name": "@next/react-refresh-utils",
"version": "12.1.1-canary.2",
"version": "12.1.1-canary.3",
"description": "An experimental package providing utilities for React Refresh.",
"repository": {
"url": "vercel/next.js",
Expand Down

1 comment on commit aecfe4d

@ijjk
Copy link
Member

@ijjk ijjk commented on aecfe4d Feb 25, 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.9s 19.5s -473ms
buildDurationCached 7.5s 7.7s ⚠️ +122ms
nodeModulesSize 367 MB 367 MB ⚠️ +24.5 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.34 4.035 -0.3
/ avg req/sec 576.07 619.52 +43.45
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 2.071 2.098 ⚠️ +0.03
/error-in-render avg req/sec 1207.01 1191.58 ⚠️ -15.43
Client Bundles (main, webpack) 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.8 kB -114 B
webpack-HASH.js gzip 1.44 kB 1.44 kB
Overall change 71.6 kB 71.5 kB -114 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
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
index.html gzip 531 B 530 B -1 B
link.html gzip 544 B 544 B
withRouter.html gzip 525 B 526 B ⚠️ +1 B
Overall change 1.6 kB 1.6 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-bbf9913b6d4f3129.js"],
   "/link": ["static\u002Fchunks\u002Fpages\u002Flink-b932c7479a7c37ca.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-76232dd6bc335a24.js"
Diff for image-HASH.js
@@ -129,7 +129,7 @@
       exports["default"] = Image;
       var _react = _interopRequireWildcard(__webpack_require__(7294));
       var _head = _interopRequireDefault(__webpack_require__(5443));
-      var _imageConfig = __webpack_require__(5809);
+      var _imageConfig = __webpack_require__(9309);
       var _useIntersection = __webpack_require__(7190);
       var _imageConfigContext = __webpack_require__(9977);
       function _defineProperty1(obj, key, value) {
@@ -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.3";
       exports.version = version;
       var looseToArray = function(input) {
         return [].slice.call(input);
@@ -3913,7 +3913,7 @@
       });
       exports.ImageConfigContext = void 0;
       var _react = _interopRequireDefault(__webpack_require__(7294));
-      var _imageConfig = __webpack_require__(5809);
+      var _imageConfig = __webpack_require__(9309);
       function _interopRequireDefault(obj) {
         return obj && obj.__esModule
           ? obj
@@ -3931,6 +3931,38 @@
       /***/
     },
 
+    /***/ 9309: /***/ function(__unused_webpack_module, exports) {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true
+      });
+      exports.imageConfigDefault = exports.VALID_LOADERS = void 0;
+      var VALID_LOADERS = [
+        "default",
+        "imgix",
+        "cloudinary",
+        "akamai",
+        "custom"
+      ];
+      exports.VALID_LOADERS = VALID_LOADERS;
+      var imageConfigDefault = {
+        deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
+        imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
+        path: "/_next/image",
+        loader: "default",
+        domains: [],
+        disableStaticImages: false,
+        minimumCacheTTL: 60,
+        formats: ["image/webp"],
+        dangerouslyAllowSVG: false,
+        contentSecurityPolicy: "script-src 'none'; frame-src 'none'; sandbox;"
+      };
+      exports.imageConfigDefault = imageConfigDefault; //# sourceMappingURL=image-config.js.map
+
+      /***/
+    },
+
     /***/ 8887: /***/ function(__unused_webpack_module, exports) {
       "use strict";
 
@@ -4264,6 +4296,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 +4473,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 +4529,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 +4713,7 @@
                 query = _this.query;
               _this.changeState(
                 "replaceState",
-                (0, _utils).formatWithValidation({
+                (0, _formatUrl).formatWithValidation({
                   pathname: addBasePath(pathname),
                   query: query
                 }),
@@ -4800,7 +4833,7 @@
               options1._shouldResolveHref = as1 !== pathname2;
               this.changeState(
                 "replaceState",
-                (0, _utils).formatWithValidation({
+                (0, _formatUrl).formatWithValidation({
                   pathname: addBasePath(pathname2),
                   query: query1
                 }),
@@ -4977,7 +5010,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 +5205,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 +5219,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 +5289,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 +5407,7 @@
                             break;
                           case 111:
                             if (shouldInterpolate) {
-                              as = (0, _utils).formatWithValidation(
+                              as = (0, _formatUrl).formatWithValidation(
                                 Object.assign({}, parsedAs1, {
                                   pathname: interpolatedAs.result,
                                   query: omitParmsFromQuery(
@@ -5857,7 +5898,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 +6138,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 +6150,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 +6181,7 @@
                               effects.parsedAs.query
                             );
                             resolvedAs = effects.asPath;
-                            url = (0, _utils).formatWithValidation(parsed);
+                            url = (0, _formatUrl).formatWithValidation(parsed);
                           }
                           route = (0,
                           _normalizeTrailingSlash).removePathTrailingSlash(
@@ -6572,6 +6613,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 +6684,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 +8040,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 +8175,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 +8191,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
 
       /***/
     },
@@ -9310,40 +9346,6 @@
       /***/
     },
 
-    /***/ 5809: /***/ function(__unused_webpack_module, exports) {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true
-      });
-      exports.imageConfigDefault = exports.VALID_LOADERS = void 0;
-      const VALID_LOADERS = [
-        "default",
-        "imgix",
-        "cloudinary",
-        "akamai",
-        "custom"
-      ];
-      exports.VALID_LOADERS = VALID_LOADERS;
-      const imageConfigDefault = {
-        deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
-        imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
-        path: "/_next/image",
-        loader: "default",
-        domains: [],
-        disableStaticImages: false,
-        minimumCacheTTL: 60,
-        formats: ["image/webp"],
-        dangerouslyAllowSVG: false,
-        contentSecurityPolicy: `script-src 'none'; frame-src 'none'; sandbox;`
-      };
-      exports.imageConfigDefault = imageConfigDefault;
-
-      //# sourceMappingURL=image-config.js.map
-
-      /***/
-    },
-
     /***/ 2431: /***/ function() {
       /* (ignored) */
       /***/
Diff for index.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c5581a7a22133abc.js"
+      src="/_next/static/chunks/main-cc79f475267d4370.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-cc79f475267d4370.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-cc79f475267d4370.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 24.3s 24s -271ms
buildDurationCached 7.7s 7.7s ⚠️ +3ms
nodeModulesSize 367 MB 367 MB ⚠️ +24.5 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.247 4.065 -0.18
/ avg req/sec 588.6 614.99 +26.39
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 2.134 2.131 0
/error-in-render avg req/sec 1171.43 1173.08 +1.65
Client Bundles (main, webpack) 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.8 kB -128 B
webpack-HASH.js gzip 1.44 kB 1.44 kB
Overall change 71.7 kB 71.6 kB -128 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 Overall decrease ✓
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 -1 B
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 -1 B
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 Overall decrease ✓
vercel/next.js canary v12.1.0 vercel/next.js refs/heads/canary Change
index.html gzip 533 B 533 B
link.html gzip 548 B 547 B -1 B
withRouter.html gzip 528 B 527 B -1 B
Overall change 1.61 kB 1.61 kB -2 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-bbf9913b6d4f3129.js"],
   "/link": ["static\u002Fchunks\u002Fpages\u002Flink-b932c7479a7c37ca.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-76232dd6bc335a24.js"
Diff for image-HASH.js
@@ -129,7 +129,7 @@
       exports["default"] = Image;
       var _react = _interopRequireWildcard(__webpack_require__(7294));
       var _head = _interopRequireDefault(__webpack_require__(5443));
-      var _imageConfig = __webpack_require__(5809);
+      var _imageConfig = __webpack_require__(9309);
       var _useIntersection = __webpack_require__(7190);
       var _imageConfigContext = __webpack_require__(9977);
       function _defineProperty1(obj, key, value) {
@@ -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.3";
       exports.version = version;
       var looseToArray = function(input) {
         return [].slice.call(input);
@@ -3913,7 +3913,7 @@
       });
       exports.ImageConfigContext = void 0;
       var _react = _interopRequireDefault(__webpack_require__(7294));
-      var _imageConfig = __webpack_require__(5809);
+      var _imageConfig = __webpack_require__(9309);
       function _interopRequireDefault(obj) {
         return obj && obj.__esModule
           ? obj
@@ -3931,6 +3931,38 @@
       /***/
     },
 
+    /***/ 9309: /***/ function(__unused_webpack_module, exports) {
+      "use strict";
+
+      Object.defineProperty(exports, "__esModule", {
+        value: true
+      });
+      exports.imageConfigDefault = exports.VALID_LOADERS = void 0;
+      var VALID_LOADERS = [
+        "default",
+        "imgix",
+        "cloudinary",
+        "akamai",
+        "custom"
+      ];
+      exports.VALID_LOADERS = VALID_LOADERS;
+      var imageConfigDefault = {
+        deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
+        imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
+        path: "/_next/image",
+        loader: "default",
+        domains: [],
+        disableStaticImages: false,
+        minimumCacheTTL: 60,
+        formats: ["image/webp"],
+        dangerouslyAllowSVG: false,
+        contentSecurityPolicy: "script-src 'none'; frame-src 'none'; sandbox;"
+      };
+      exports.imageConfigDefault = imageConfigDefault; //# sourceMappingURL=image-config.js.map
+
+      /***/
+    },
+
     /***/ 8887: /***/ function(__unused_webpack_module, exports) {
       "use strict";
 
@@ -4264,6 +4296,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 +4473,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 +4529,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 +4713,7 @@
                 query = _this.query;
               _this.changeState(
                 "replaceState",
-                (0, _utils).formatWithValidation({
+                (0, _formatUrl).formatWithValidation({
                   pathname: addBasePath(pathname),
                   query: query
                 }),
@@ -4800,7 +4833,7 @@
               options1._shouldResolveHref = as1 !== pathname2;
               this.changeState(
                 "replaceState",
-                (0, _utils).formatWithValidation({
+                (0, _formatUrl).formatWithValidation({
                   pathname: addBasePath(pathname2),
                   query: query1
                 }),
@@ -4977,7 +5010,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 +5205,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 +5219,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 +5289,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 +5407,7 @@
                             break;
                           case 111:
                             if (shouldInterpolate) {
-                              as = (0, _utils).formatWithValidation(
+                              as = (0, _formatUrl).formatWithValidation(
                                 Object.assign({}, parsedAs1, {
                                   pathname: interpolatedAs.result,
                                   query: omitParmsFromQuery(
@@ -5857,7 +5898,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 +6138,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 +6150,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 +6181,7 @@
                               effects.parsedAs.query
                             );
                             resolvedAs = effects.asPath;
-                            url = (0, _utils).formatWithValidation(parsed);
+                            url = (0, _formatUrl).formatWithValidation(parsed);
                           }
                           route = (0,
                           _normalizeTrailingSlash).removePathTrailingSlash(
@@ -6572,6 +6613,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 +6684,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 +8040,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 +8175,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 +8191,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
 
       /***/
     },
@@ -9310,40 +9346,6 @@
       /***/
     },
 
-    /***/ 5809: /***/ function(__unused_webpack_module, exports) {
-      "use strict";
-
-      Object.defineProperty(exports, "__esModule", {
-        value: true
-      });
-      exports.imageConfigDefault = exports.VALID_LOADERS = void 0;
-      const VALID_LOADERS = [
-        "default",
-        "imgix",
-        "cloudinary",
-        "akamai",
-        "custom"
-      ];
-      exports.VALID_LOADERS = VALID_LOADERS;
-      const imageConfigDefault = {
-        deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
-        imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
-        path: "/_next/image",
-        loader: "default",
-        domains: [],
-        disableStaticImages: false,
-        minimumCacheTTL: 60,
-        formats: ["image/webp"],
-        dangerouslyAllowSVG: false,
-        contentSecurityPolicy: `script-src 'none'; frame-src 'none'; sandbox;`
-      };
-      exports.imageConfigDefault = imageConfigDefault;
-
-      //# sourceMappingURL=image-config.js.map
-
-      /***/
-    },
-
     /***/ 2431: /***/ function() {
       /* (ignored) */
       /***/
Diff for index.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c5581a7a22133abc.js"
+      src="/_next/static/chunks/main-cc79f475267d4370.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-cc79f475267d4370.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-cc79f475267d4370.js"
       defer=""
     ></script>
     <script

Please sign in to comment.