Skip to content

Commit

Permalink
v12.0.3-canary.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Nov 3, 2021
1 parent 0fa233b commit 5f19f76
Show file tree
Hide file tree
Showing 14 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": "12.0.3-canary.1"
"version": "12.0.3-canary.2"
}
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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"keywords": [
"react",
"next",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-next",
"version": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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.0.3-canary.1",
"@next/eslint-plugin-next": "12.0.3-canary.2",
"@rushstack/eslint-patch": "^1.0.6",
"@typescript-eslint/parser": "^4.20.0",
"eslint-import-resolver-node": "^0.3.4",
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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"main": "index.js",
"license": "MIT",
"repository": {
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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"description": "The React Framework",
"main": "./dist/server/next.js",
"license": "MIT",
Expand Down Expand Up @@ -68,10 +68,10 @@
"@babel/runtime": "7.15.4",
"@hapi/accept": "5.0.2",
"@napi-rs/triples": "1.0.3",
"@next/env": "12.0.3-canary.1",
"@next/polyfill-module": "12.0.3-canary.1",
"@next/react-dev-overlay": "12.0.3-canary.1",
"@next/react-refresh-utils": "12.0.3-canary.1",
"@next/env": "12.0.3-canary.2",
"@next/polyfill-module": "12.0.3-canary.2",
"@next/react-dev-overlay": "12.0.3-canary.2",
"@next/react-refresh-utils": "12.0.3-canary.2",
"acorn": "8.5.0",
"assert": "2.0.0",
"browserify-zlib": "0.2.0",
Expand Down Expand Up @@ -154,7 +154,7 @@
"@babel/traverse": "7.15.0",
"@babel/types": "7.15.0",
"@napi-rs/cli": "1.1.0",
"@next/polyfill-nomodule": "12.0.3-canary.1",
"@next/polyfill-nomodule": "12.0.3-canary.2",
"@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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next/react-dev-overlay",
"version": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"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": "12.0.3-canary.1",
"version": "12.0.3-canary.2",
"description": "An experimental package providing utilities for React Refresh.",
"repository": {
"url": "vercel/next.js",
Expand Down

1 comment on commit 5f19f76

@ijjk
Copy link
Member Author

@ijjk ijjk commented on 5f19f76 Nov 3, 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 Build (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
buildDuration 22.7s 22.3s -410ms
buildDurationCached 4.8s 4.8s ⚠️ +1ms
nodeModulesSize 293 MB 293 MB -24.6 kB
Page Load Tests Overall increase ✓
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 3.554 3.64 ⚠️ +0.09
/ avg req/sec 703.34 686.78 ⚠️ -16.56
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.621 1.588 -0.03
/error-in-render avg req/sec 1542.49 1574.22 +31.73
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
450.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.2 kB 42.2 kB
main-HASH.js gzip 28 kB 28 kB ⚠️ +12 B
webpack-HASH.js gzip 1.45 kB 1.45 kB
Overall change 71.9 kB 71.9 kB ⚠️ +12 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
polyfills-a4..dd70.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages Overall increase ⚠️
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
_app-HASH.js gzip 1.23 kB 1.23 kB
_error-HASH.js gzip 194 B 194 B
amp-HASH.js gzip 312 B 312 B
css-HASH.js gzip 327 B 327 B
dynamic-HASH.js gzip 2.38 kB 2.38 kB
head-HASH.js gzip 350 B 350 B
hooks-HASH.js gzip 635 B 635 B
image-HASH.js gzip 4.44 kB 4.44 kB ⚠️ +1 B
index-HASH.js gzip 263 B 263 B
link-HASH.js gzip 1.87 kB 1.87 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
334f979574ae..6f4.css gzip 106 B 106 B
Overall change 13.1 kB 13.1 kB ⚠️ +1 B
Client Build Manifests
vercel/next.js canary v12.0.2 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.0.2 vercel/next.js refs/heads/canary Change
index.html gzip 534 B 521 B -13 B
link.html gzip 547 B 534 B -13 B
withRouter.html gzip 527 B 515 B -12 B
Overall change 1.61 kB 1.57 kB -38 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-ff60bc61acd2698b.js"],
-  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-8d363275c955437c.js"],
+  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-2a8b03d7b35abada.js"],
   "/link": ["static\u002Fchunks\u002Fpages\u002Flink-fa969765a079642e.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-76232dd6bc335a24.js"
Diff for _app-HASH.js
@@ -25,9 +25,7 @@
     ) {
       "use strict";
 
-      var _regeneratorRuntime = _interopRequireDefault(
-        __webpack_require__(5666)
-      );
+      var _runtimeJs = _interopRequireDefault(__webpack_require__(5666));
       function _assertThisInitialized(self) {
         if (self === void 0) {
           throw new ReferenceError(
@@ -194,11 +192,11 @@
          * `App` component is used for initialize of pages. It allows for overwriting and full control of the `page` initialization.
          * This allows for keeping state between navigation, custom error handling, injecting additional data.
          */ _asyncToGenerator(
-          _regeneratorRuntime.default.mark(function _callee(param) {
+          _runtimeJs.default.mark(function _callee(param) {
             var Component = param.Component,
               ctx = param.ctx;
             var pageProps;
-            return _regeneratorRuntime.default.wrap(function _callee$(_ctx) {
+            return _runtimeJs.default.wrap(function _callee$(_ctx) {
               while (1)
                 switch ((_ctx.prev = _ctx.next)) {
                   case 0:
Diff for image-HASH.js
@@ -993,7 +993,7 @@
       // EXTERNAL MODULE: ./node_modules/next/image.js
       var next_image = __webpack_require__(5675); // CONCATENATED MODULE: ./pages/nextjs.png
       /* harmony default export */ var nextjs = {
-        src: "/_next/static/media/nextjs.ec6e0a99.png",
+        src: "/_next/static/media/nextjs.cae0b805.png",
         height: 1347,
         width: 1626,
         blurDataURL:
Diff for main-HASH.js
@@ -208,9 +208,7 @@
     ) {
       "use strict";
 
-      var _regeneratorRuntime = _interopRequireDefault(
-        __webpack_require__(5666)
-      );
+      var _runtimeJs = _interopRequireDefault(__webpack_require__(5666));
       function _arrayWithHoles(arr) {
         if (Array.isArray(arr)) return arr;
       }
@@ -522,7 +520,7 @@
         document.getElementById("__NEXT_DATA__").textContent
       );
       window.__NEXT_DATA__ = data;
-      var version = "12.0.2";
+      var version = "12.0.3-canary.2";
       exports.version = version;
       var looseToArray = function(input) {
         return [].slice.call(input);
@@ -702,7 +700,7 @@
       var CachedComponent;
       function _initNext() {
         _initNext = _asyncToGenerator(
-          _regeneratorRuntime.default.mark(function _callee(param1) {
+          _runtimeJs.default.mark(function _callee(param1) {
             var opts = param1 === void 0 ? {} : param1;
             var initialErr,
               appEntrypoint,
@@ -713,7 +711,7 @@
               isValidElementType,
               getNodeError,
               renderCtx;
-            return _regeneratorRuntime.default.wrap(
+            return _runtimeJs.default.wrap(
               function _callee$(_ctx) {
                 while (1)
                   switch ((_ctx.prev = _ctx.next)) {
@@ -903,9 +901,9 @@
       }
       function _render() {
         _render = _asyncToGenerator(
-          _regeneratorRuntime.default.mark(function _callee(renderingProps) {
+          _runtimeJs.default.mark(function _callee(renderingProps) {
             var renderErr;
-            return _regeneratorRuntime.default.wrap(
+            return _runtimeJs.default.wrap(
               function _callee$(_ctx) {
                 while (1)
                   switch ((_ctx.prev = _ctx.next)) {
@@ -3723,9 +3721,7 @@
     ) {
       "use strict";
 
-      var _regeneratorRuntime = _interopRequireDefault(
-        __webpack_require__(5666)
-      );
+      var _runtimeJs = _interopRequireDefault(__webpack_require__(5666));
       function _arrayWithHoles(arr) {
         if (Array.isArray(arr)) return arr;
       }
@@ -4482,7 +4478,7 @@
             key: "change",
             value: function change(method, url, as, options, forcedScroll) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var shouldResolveHref,
                       prevLocale,
@@ -4528,7 +4524,7 @@
                       _scroll,
                       shouldScroll,
                       resetScroll;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5157,10 +5153,10 @@
               loadErrorFail
             ) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var Component, styleSheets, props, routeInfo;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5292,7 +5288,7 @@
               routeProps
             ) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var _this,
                       existingRouteInfo,
@@ -5308,7 +5304,7 @@
                       _this1,
                       fresh,
                       data;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5410,7 +5406,7 @@
                                       _this.isSsr,
                                       false,
                                       __N_SSG ? _this.sdc : _this.sdr,
-                                      !!__N_SSG
+                                      !!__N_SSG && !_this.isPreview
                                     )
                                   : _this.getInitialProps(Component, {
                                       pathname: pathname,
@@ -5566,7 +5562,7 @@
               var asPath = param === void 0 ? url : param,
                 options = param1 === void 0 ? {} : param1;
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var _this,
                       parsed,
@@ -5580,7 +5576,7 @@
                       rewritesResult,
                       effects,
                       route;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5726,14 +5722,14 @@
             key: "fetchComponent",
             value: function fetchComponent(route) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var _this,
                       cancelled,
                       cancel,
                       handleCancelled,
                       componentResult;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5833,7 +5829,7 @@
             key: "_preflightRequest",
             value: function _preflightRequest(options) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var ref,
                       cleanedAs,
@@ -5847,7 +5843,7 @@
                       cleanRedirect,
                       newUrl,
                       newAs;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -6791,9 +6787,7 @@
     ) {
       "use strict";
 
-      var _regeneratorRuntime = _interopRequireDefault(
-        __webpack_require__(5666)
-      );
+      var _runtimeJs = _interopRequireDefault(__webpack_require__(5666));
       function _arrayWithoutHoles(arr) {
         if (Array.isArray(arr)) {
           for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
@@ -7072,9 +7066,9 @@
       }
       function _loadGetInitialProps() {
         _loadGetInitialProps = _asyncToGenerator(
-          _regeneratorRuntime.default.mark(function _callee(App, ctx) {
+          _runtimeJs.default.mark(function _callee(App, ctx) {
             var ref, message, res, props, message1;
-            return _regeneratorRuntime.default.wrap(function _callee$(_ctx) {
+            return _runtimeJs.default.wrap(function _callee$(_ctx) {
               while (1)
                 switch ((_ctx.prev = _ctx.next)) {
                   case 0:
Diff for index.html
@@ -8,7 +8,7 @@
     <script
       defer=""
       nomodule=""
-      src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"
+      src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-43980cc4f59eb55b.js"
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-0c4da03f1c3d4247.js"
+      src="/_next/static/chunks/main-1b0fec254ed1ec78.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-de3f211ea2b76ae1.js"
+      src="/_next/static/chunks/pages/_app-c41d5dc8a84968ce.js"
       defer=""
     ></script>
     <script
Diff for link.html
@@ -8,7 +8,7 @@
     <script
       defer=""
       nomodule=""
-      src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"
+      src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-43980cc4f59eb55b.js"
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-0c4da03f1c3d4247.js"
+      src="/_next/static/chunks/main-1b0fec254ed1ec78.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-de3f211ea2b76ae1.js"
+      src="/_next/static/chunks/pages/_app-c41d5dc8a84968ce.js"
       defer=""
     ></script>
     <script
Diff for withRouter.html
@@ -8,7 +8,7 @@
     <script
       defer=""
       nomodule=""
-      src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"
+      src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-43980cc4f59eb55b.js"
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-0c4da03f1c3d4247.js"
+      src="/_next/static/chunks/main-1b0fec254ed1ec78.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-de3f211ea2b76ae1.js"
+      src="/_next/static/chunks/pages/_app-c41d5dc8a84968ce.js"
       defer=""
     ></script>
     <script

Default Build with SWC (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
buildDuration 23.9s 23.9s ⚠️ +14ms
buildDurationCached 4.9s 4.8s -83ms
nodeModulesSize 293 MB 293 MB -24.6 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
/ failed reqs 0 0
/ total time (seconds) 3.582 3.636 ⚠️ +0.05
/ avg req/sec 697.86 687.58 ⚠️ -10.28
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.645 1.682 ⚠️ +0.04
/error-in-render avg req/sec 1520.21 1486.37 ⚠️ -33.84
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
450.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.3 kB 42.3 kB
main-HASH.js gzip 28.2 kB 28.2 kB ⚠️ +11 B
webpack-HASH.js gzip 1.43 kB 1.43 kB
Overall change 72.1 kB 72.1 kB ⚠️ +11 B
Legacy Client Bundles (polyfills)
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
polyfills-a4..dd70.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
_app-HASH.js gzip 1.22 kB 1.22 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.38 kB 2.38 kB
head-HASH.js gzip 342 B 342 B
hooks-HASH.js gzip 622 B 622 B
image-HASH.js gzip 4.46 kB 4.46 kB
index-HASH.js gzip 256 B 256 B
link-HASH.js gzip 1.91 kB 1.91 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
334f979574ae..6f4.css gzip 106 B 106 B
Overall change 13.1 kB 13.1 kB
Client Build Manifests
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
_buildManifest.js gzip 460 B 460 B
Overall change 460 B 460 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary v12.0.2 vercel/next.js refs/heads/canary Change
index.html gzip 535 B 522 B -13 B
link.html gzip 548 B 535 B -13 B
withRouter.html gzip 529 B 516 B -13 B
Overall change 1.61 kB 1.57 kB -39 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-ff60bc61acd2698b.js"],
-  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-8d363275c955437c.js"],
+  "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-2a8b03d7b35abada.js"],
   "/link": ["static\u002Fchunks\u002Fpages\u002Flink-fa969765a079642e.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-76232dd6bc335a24.js"
Diff for _app-HASH.js
@@ -25,9 +25,7 @@
     ) {
       "use strict";
 
-      var _regeneratorRuntime = _interopRequireDefault(
-        __webpack_require__(5666)
-      );
+      var _runtimeJs = _interopRequireDefault(__webpack_require__(5666));
       function _assertThisInitialized(self) {
         if (self === void 0) {
           throw new ReferenceError(
@@ -194,11 +192,11 @@
          * `App` component is used for initialize of pages. It allows for overwriting and full control of the `page` initialization.
          * This allows for keeping state between navigation, custom error handling, injecting additional data.
          */ _asyncToGenerator(
-          _regeneratorRuntime.default.mark(function _callee(param) {
+          _runtimeJs.default.mark(function _callee(param) {
             var Component = param.Component,
               ctx = param.ctx;
             var pageProps;
-            return _regeneratorRuntime.default.wrap(function _callee$(_ctx) {
+            return _runtimeJs.default.wrap(function _callee$(_ctx) {
               while (1)
                 switch ((_ctx.prev = _ctx.next)) {
                   case 0:
Diff for image-HASH.js
@@ -993,7 +993,7 @@
       // EXTERNAL MODULE: ./node_modules/next/image.js
       var next_image = __webpack_require__(5675); // CONCATENATED MODULE: ./pages/nextjs.png
       /* harmony default export */ var nextjs = {
-        src: "/_next/static/media/nextjs.ec6e0a99.png",
+        src: "/_next/static/media/nextjs.cae0b805.png",
         height: 1347,
         width: 1626,
         blurDataURL:
Diff for main-HASH.js
@@ -208,9 +208,7 @@
     ) {
       "use strict";
 
-      var _regeneratorRuntime = _interopRequireDefault(
-        __webpack_require__(5666)
-      );
+      var _runtimeJs = _interopRequireDefault(__webpack_require__(5666));
       function _arrayWithHoles(arr) {
         if (Array.isArray(arr)) return arr;
       }
@@ -522,7 +520,7 @@
         document.getElementById("__NEXT_DATA__").textContent
       );
       window.__NEXT_DATA__ = data;
-      var version = "12.0.2";
+      var version = "12.0.3-canary.2";
       exports.version = version;
       var looseToArray = function(input) {
         return [].slice.call(input);
@@ -702,7 +700,7 @@
       var CachedComponent;
       function _initNext() {
         _initNext = _asyncToGenerator(
-          _regeneratorRuntime.default.mark(function _callee(param1) {
+          _runtimeJs.default.mark(function _callee(param1) {
             var opts = param1 === void 0 ? {} : param1;
             var initialErr,
               appEntrypoint,
@@ -713,7 +711,7 @@
               isValidElementType,
               getNodeError,
               renderCtx;
-            return _regeneratorRuntime.default.wrap(
+            return _runtimeJs.default.wrap(
               function _callee$(_ctx) {
                 while (1)
                   switch ((_ctx.prev = _ctx.next)) {
@@ -903,9 +901,9 @@
       }
       function _render() {
         _render = _asyncToGenerator(
-          _regeneratorRuntime.default.mark(function _callee(renderingProps) {
+          _runtimeJs.default.mark(function _callee(renderingProps) {
             var renderErr;
-            return _regeneratorRuntime.default.wrap(
+            return _runtimeJs.default.wrap(
               function _callee$(_ctx) {
                 while (1)
                   switch ((_ctx.prev = _ctx.next)) {
@@ -3723,9 +3721,7 @@
     ) {
       "use strict";
 
-      var _regeneratorRuntime = _interopRequireDefault(
-        __webpack_require__(5666)
-      );
+      var _runtimeJs = _interopRequireDefault(__webpack_require__(5666));
       function _arrayWithHoles(arr) {
         if (Array.isArray(arr)) return arr;
       }
@@ -4482,7 +4478,7 @@
             key: "change",
             value: function change(method, url, as, options, forcedScroll) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var shouldResolveHref,
                       prevLocale,
@@ -4528,7 +4524,7 @@
                       _scroll,
                       shouldScroll,
                       resetScroll;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5157,10 +5153,10 @@
               loadErrorFail
             ) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var Component, styleSheets, props, routeInfo;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5292,7 +5288,7 @@
               routeProps
             ) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var _this,
                       existingRouteInfo,
@@ -5308,7 +5304,7 @@
                       _this1,
                       fresh,
                       data;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5410,7 +5406,7 @@
                                       _this.isSsr,
                                       false,
                                       __N_SSG ? _this.sdc : _this.sdr,
-                                      !!__N_SSG
+                                      !!__N_SSG && !_this.isPreview
                                     )
                                   : _this.getInitialProps(Component, {
                                       pathname: pathname,
@@ -5566,7 +5562,7 @@
               var asPath = param === void 0 ? url : param,
                 options = param1 === void 0 ? {} : param1;
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var _this,
                       parsed,
@@ -5580,7 +5576,7 @@
                       rewritesResult,
                       effects,
                       route;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5726,14 +5722,14 @@
             key: "fetchComponent",
             value: function fetchComponent(route) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var _this,
                       cancelled,
                       cancel,
                       handleCancelled,
                       componentResult;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -5833,7 +5829,7 @@
             key: "_preflightRequest",
             value: function _preflightRequest(options) {
               return _asyncToGenerator(
-                _regeneratorRuntime.default
+                _runtimeJs.default
                   .mark(function _callee() {
                     var ref,
                       cleanedAs,
@@ -5847,7 +5843,7 @@
                       cleanRedirect,
                       newUrl,
                       newAs;
-                    return _regeneratorRuntime.default.wrap(
+                    return _runtimeJs.default.wrap(
                       function _callee$(_ctx) {
                         while (1)
                           switch ((_ctx.prev = _ctx.next)) {
@@ -6791,9 +6787,7 @@
     ) {
       "use strict";
 
-      var _regeneratorRuntime = _interopRequireDefault(
-        __webpack_require__(5666)
-      );
+      var _runtimeJs = _interopRequireDefault(__webpack_require__(5666));
       function _arrayWithoutHoles(arr) {
         if (Array.isArray(arr)) {
           for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
@@ -7072,9 +7066,9 @@
       }
       function _loadGetInitialProps() {
         _loadGetInitialProps = _asyncToGenerator(
-          _regeneratorRuntime.default.mark(function _callee(App, ctx) {
+          _runtimeJs.default.mark(function _callee(App, ctx) {
             var ref, message, res, props, message1;
-            return _regeneratorRuntime.default.wrap(function _callee$(_ctx) {
+            return _runtimeJs.default.wrap(function _callee$(_ctx) {
               while (1)
                 switch ((_ctx.prev = _ctx.next)) {
                   case 0:
Diff for index.html
@@ -8,7 +8,7 @@
     <script
       defer=""
       nomodule=""
-      src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"
+      src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-43980cc4f59eb55b.js"
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-0c4da03f1c3d4247.js"
+      src="/_next/static/chunks/main-1b0fec254ed1ec78.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-de3f211ea2b76ae1.js"
+      src="/_next/static/chunks/pages/_app-c41d5dc8a84968ce.js"
       defer=""
     ></script>
     <script
Diff for link.html
@@ -8,7 +8,7 @@
     <script
       defer=""
       nomodule=""
-      src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"
+      src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-43980cc4f59eb55b.js"
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-0c4da03f1c3d4247.js"
+      src="/_next/static/chunks/main-1b0fec254ed1ec78.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-de3f211ea2b76ae1.js"
+      src="/_next/static/chunks/pages/_app-c41d5dc8a84968ce.js"
       defer=""
     ></script>
     <script
Diff for withRouter.html
@@ -8,7 +8,7 @@
     <script
       defer=""
       nomodule=""
-      src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"
+      src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-43980cc4f59eb55b.js"
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-0c4da03f1c3d4247.js"
+      src="/_next/static/chunks/main-1b0fec254ed1ec78.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-de3f211ea2b76ae1.js"
+      src="/_next/static/chunks/pages/_app-c41d5dc8a84968ce.js"
       defer=""
     ></script>
     <script

Please sign in to comment.