Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest babel versions #28174

Merged
merged 8 commits into from Aug 17, 2021
Merged

Update to latest babel versions #28174

merged 8 commits into from Aug 17, 2021

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Aug 16, 2021

This updates to the latest babel versions to fix newer TypeScript syntax not being supported. This also updates to the latest version of prettier to ensure the newer syntax is supported in our local files.

Bug

  • Related issues linked using fixes #number
  • Integration tests added
  • Errors have helpful link attached, see contributing.md

Fixes: #27124

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team area: create-next-app Next.js starter CLI area: examples Anything inside the examples folder type: next labels Aug 16, 2021
@ijjk

This comment has been minimized.

@ijjk

This comment has been minimized.

@ijjk

This comment has been minimized.

@ijjk ijjk marked this pull request as ready for review Aug 16, 2021
styfle
styfle previously approved these changes Aug 16, 2021
@ijjk ijjk requested a review from styfle Aug 16, 2021
styfle
styfle approved these changes Aug 16, 2021
@ijjk
Copy link
Member Author

ijjk commented Aug 16, 2021

Stats from current PR

Default Build (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
buildDuration 14.9s 16.8s ⚠️ +1.9s
buildDurationCached 3.8s 4.1s ⚠️ +285ms
nodeModulesSize 49.7 MB 61.5 MB ⚠️ +11.8 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
/ failed reqs 0 0
/ total time (seconds) 3.078 3.081 0
/ avg req/sec 812.13 811.53 ⚠️ -0.6
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.909 1.959 ⚠️ +0.05
/error-in-render avg req/sec 1309.42 1276.19 ⚠️ -33.23
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
745.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.2 kB 42.2 kB
main-HASH.js gzip 23.1 kB 23.2 kB ⚠️ +114 B
webpack-HASH.js gzip 1.44 kB 1.44 kB
Overall change 67 kB 67.1 kB ⚠️ +114 B
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/babel Change
polyfills-a4..dd70.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
_app-HASH.js gzip 980 B 979 B -1 B
_error-HASH.js gzip 194 B 194 B
amp-HASH.js gzip 312 B 312 B
css-HASH.js gzip 329 B 329 B
dynamic-HASH.js gzip 2.64 kB 2.65 kB ⚠️ +13 B
head-HASH.js gzip 350 B 351 B ⚠️ +1 B
hooks-HASH.js gzip 904 B 918 B ⚠️ +14 B
image-HASH.js gzip 4.13 kB 4.13 kB ⚠️ +1 B
index-HASH.js gzip 261 B 261 B
link-HASH.js gzip 1.66 kB 1.66 kB ⚠️ +1 B
routerDirect..HASH.js gzip 319 B 318 B -1 B
script-HASH.js gzip 387 B 387 B
withRouter-HASH.js gzip 320 B 320 B
bb14e60e810b..30f.css gzip 125 B 125 B
Overall change 12.9 kB 12.9 kB ⚠️ +28 B
Client Build Manifests Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
_buildManifest.js gzip 491 B 492 B ⚠️ +1 B
Overall change 491 B 492 B ⚠️ +1 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
index.html gzip 539 B 539 B
link.html gzip 551 B 551 B
withRouter.html gzip 530 B 532 B ⚠️ +2 B
Overall change 1.62 kB 1.62 kB ⚠️ +2 B

Diffs

Diff for _buildManifest.js
@@ -7,27 +7,27 @@ self.__BUILD_MANIFEST = {
   "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-f1231d3934d9bf52872b.js"],
   "/css": [
     "static\u002Fcss\u002F59de118426c393f58653.css",
-    "static\u002Fchunks\u002Fpages\u002Fcss-979928a4957344dd4cfa.js"
+    "static\u002Fchunks\u002Fpages\u002Fcss-93a777c5ca0488084cce.js"
   ],
   "/dynamic": [
-    "static\u002Fchunks\u002Fpages\u002Fdynamic-383068a57a265c415ff4.js"
+    "static\u002Fchunks\u002Fpages\u002Fdynamic-1971880984ea23acb525.js"
   ],
-  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-b93e7fccd3af1c72154e.js"],
+  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-1b407c3309821b5154c2.js"],
   "/hooks": [
-    "static\u002Fchunks\u002Fpages\u002Fhooks-1cb3a46057c08067a973.js"
+    "static\u002Fchunks\u002Fpages\u002Fhooks-d386c05297cfdcd36f03.js"
   ],
   "/image": [
-    "static\u002Fchunks\u002Fpages\u002Fimage-fc139e2f5c78847cc149.js"
+    "static\u002Fchunks\u002Fpages\u002Fimage-39552dae3d3053484035.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-7a3c1e637e71f2a0e489.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-f62bdaa581311495bb85.js"],
   "/routerDirect": [
-    "static\u002Fchunks\u002Fpages\u002FrouterDirect-e5f4a33d4c04b51b13bc.js"
+    "static\u002Fchunks\u002Fpages\u002FrouterDirect-7c1b586d4417a78806e3.js"
   ],
   "/script": [
-    "static\u002Fchunks\u002Fpages\u002Fscript-6063d846e7c81e39bc0b.js"
+    "static\u002Fchunks\u002Fpages\u002Fscript-21c58b10eb53d5b2389e.js"
   ],
   "/withRouter": [
-    "static\u002Fchunks\u002Fpages\u002FwithRouter-e26df01cd54dcbb5c15c.js"
+    "static\u002Fchunks\u002Fpages\u002FwithRouter-072a37cc0c889cd17738.js"
   ],
   sortedPages: [
     "\u002F",
Diff for _app-HASH.js
@@ -40,8 +40,8 @@
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
Diff for css-HASH.js
@@ -8,15 +8,15 @@
     ) {
       "use strict";
       __webpack_require__.r(__webpack_exports__);
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        5893
-      );
       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
         5964
       );
       /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
         _css_module_css__WEBPACK_IMPORTED_MODULE_1__
       );
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
+        5893
+      );
 
       var Page = function Page() {
         return /*#__PURE__*/ (0,
Diff for dynamic-HASH.js
@@ -15,10 +15,11 @@
         var keys = Object.keys(object);
         if (Object.getOwnPropertySymbols) {
           var symbols = Object.getOwnPropertySymbols(object);
-          if (enumerableOnly)
+          if (enumerableOnly) {
             symbols = symbols.filter(function(sym) {
               return Object.getOwnPropertyDescriptor(object, sym).enumerable;
             });
+          }
           keys.push.apply(keys, symbols);
         }
         return keys;
@@ -215,10 +216,11 @@
         var keys = Object.keys(object);
         if (Object.getOwnPropertySymbols) {
           var symbols = Object.getOwnPropertySymbols(object);
-          if (enumerableOnly)
+          if (enumerableOnly) {
             symbols = symbols.filter(function(sym) {
               return Object.getOwnPropertyDescriptor(object, sym).enumerable;
             });
+          }
           keys.push.apply(keys, symbols);
         }
         return keys;
@@ -250,8 +252,10 @@
       }
 
       function _createForOfIteratorHelper(o, allowArrayLike) {
-        var it;
-        if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
+        var it =
+          (typeof Symbol !== "undefined" && o[Symbol.iterator]) ||
+          o["@@iterator"];
+        if (!it) {
           if (
             Array.isArray(o) ||
             (it = _unsupportedIterableToArray(o)) ||
@@ -281,7 +285,7 @@
           err;
         return {
           s: function s() {
-            it = o[Symbol.iterator]();
+            it = it.call(o);
           },
           n: function n() {
             var step = it.next();
@@ -690,14 +694,14 @@
         }
         /* harmony export */
       });
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        5893
-      );
-      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
         5152
       );
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        5893
+      );
 
-      var DynamicHello = (0, next_dynamic__WEBPACK_IMPORTED_MODULE_1__.default)(
+      var DynamicHello = (0, next_dynamic__WEBPACK_IMPORTED_MODULE_0__.default)(
         function() {
           return __webpack_require__
             .e(/* import() */ 745)
@@ -715,16 +719,16 @@
 
       var Page = function Page() {
         return /*#__PURE__*/ (0,
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(
-          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(
+          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,
           {
             children: [
               /*#__PURE__*/ (0,
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p", {
                 children: "testing next/dynamic size"
               }),
               /*#__PURE__*/ (0,
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(
                 DynamicHello,
                 {}
               )
Diff for head-HASH.js
@@ -14,31 +14,31 @@
         }
         /* harmony export */
       });
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        5893
-      );
-      /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+      /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
         9008
       );
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        5893
+      );
 
       var Page = function Page() {
         return /*#__PURE__*/ (0,
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(
-          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(
+          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,
           {
             children: [
               /*#__PURE__*/ (0,
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
-                next_head__WEBPACK_IMPORTED_MODULE_1__.default,
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(
+                next_head__WEBPACK_IMPORTED_MODULE_0__.default,
                 {
                   children: /*#__PURE__*/ (0,
-                  react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("title", {
+                  react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("title", {
                     children: "hello world"
                   })
                 }
               ),
               /*#__PURE__*/ (0,
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p", {
                 children: "testing next/head size"
               })
             ]
Diff for hooks-HASH.js
@@ -15,27 +15,27 @@
         default: function() {
           return /* binding */ hooks;
         }
-      });
+      }); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
 
-      // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
-      var jsx_runtime = __webpack_require__(5893); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
       function _arrayWithHoles(arr) {
         if (Array.isArray(arr)) return arr;
       } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
       function _iterableToArrayLimit(arr, i) {
-        if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr)))
-          return;
+        var _i =
+          arr == null
+            ? null
+            : (typeof Symbol !== "undefined" && arr[Symbol.iterator]) ||
+              arr["@@iterator"];
+
+        if (_i == null) return;
         var _arr = [];
         var _n = true;
         var _d = false;
-        var _e = undefined;
+
+        var _s, _e;
 
         try {
-          for (
-            var _i = arr[Symbol.iterator](), _s;
-            !(_n = (_s = _i.next()).done);
-            _n = true
-          ) {
+          for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
             _arr.push(_s.value);
 
             if (i && _arr.length === i) break;
@@ -88,7 +88,9 @@
         );
       }
       // EXTERNAL MODULE: ./node_modules/react/index.js
-      var react = __webpack_require__(7294); // CONCATENATED MODULE: ./pages/hooks.js
+      var react = __webpack_require__(7294);
+      // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
+      var jsx_runtime = __webpack_require__(5893); // CONCATENATED MODULE: ./pages/hooks.js
       /* harmony default export */ var hooks = function() {
         var _React$useState = react.useState(0),
           _React$useState2 = _slicedToArray(_React$useState, 2),
Diff for image-HASH.js
@@ -950,8 +950,6 @@
         }
       });
 
-      // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
-      var jsx_runtime = __webpack_require__(5893);
       // EXTERNAL MODULE: ./node_modules/next/image.js
       var next_image = __webpack_require__(5675); // CONCATENATED MODULE: ./pages/nextjs.png
       /* harmony default export */ var nextjs = {
@@ -961,7 +959,9 @@
         width: 1626,
         blurDataURL:
           "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAQAAACfUMTVAAAAP0lEQVR42jXIQQqDUBTF0Lf/rdZZB9W2/0REDNwbyATxaJSuCZlafn3tDmHq49Vm87ZkpKPd8n9CF+7XFOImJ8SebtyxyeM6AAAAAElFTkSuQmCC"
-      }; // CONCATENATED MODULE: ./pages/image.js
+      };
+      // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js
+      var jsx_runtime = __webpack_require__(5893); // CONCATENATED MODULE: ./pages/image.js
       function ImagePage(props) {
         return /*#__PURE__*/ (0, jsx_runtime.jsxs)(jsx_runtime.Fragment, {
           children: [
Diff for link-HASH.js
@@ -410,24 +410,24 @@
         }
         /* harmony export */
       });
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        5893
-      );
-      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+      /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
         1664
       );
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        5893
+      );
 
       function aLink(props) {
         return /*#__PURE__*/ (0,
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", {
           children: [
             /*#__PURE__*/ (0,
-            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h3", {
+            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("h3", {
               children: "A Link page!"
             }),
             /*#__PURE__*/ (0,
-            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
-              next_link__WEBPACK_IMPORTED_MODULE_1__.default,
+            react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(
+              next_link__WEBPACK_IMPORTED_MODULE_0__.default,
               {
                 href: "/",
                 children: "Go to /"
Diff for routerDirect-HASH.js
@@ -14,18 +14,17 @@
         }
         /* harmony export */
       });
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        5893
-      );
-      /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+      /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
         1163
       );
-
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        5893
+      );
       /* eslint-disable-next-line */
 
       function routerDirect(props) {
         return /*#__PURE__*/ (0,
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {
           children: "I import the router directly"
         });
       } // we add getServerSideProps to prevent static optimization
Diff for script-HASH.js
@@ -14,26 +14,26 @@
         }
         /* harmony export */
       });
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        5893
-      );
-      /* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+      /* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
         4298
       );
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        5893
+      );
 
       var Page = function Page() {
         return /*#__PURE__*/ (0,
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(
-          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(
+          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,
           {
             children: [
               /*#__PURE__*/ (0,
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p", {
                 children: "testing next/dynamic size"
               }),
               /*#__PURE__*/ (0,
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(
-                next_script__WEBPACK_IMPORTED_MODULE_1__.default,
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(
+                next_script__WEBPACK_IMPORTED_MODULE_0__.default,
                 {
                   dangerouslySetInnerHTML: {
                     __html: 'console.log("hello")'
Diff for withRouter-HASH.js
@@ -14,16 +14,16 @@
         }
         /* harmony export */
       });
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        5893
-      );
-      /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+      /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
         1163
       );
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        5893
+      );
 
       function useWithRouter(props) {
         return /*#__PURE__*/ (0,
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {
           children: "I use withRouter"
         });
       } // we add getServerSideProps to prevent static optimization
@@ -31,7 +31,7 @@
 
       var __N_SSP = true;
       /* harmony default export */ __webpack_exports__["default"] = (0,
-      next_router__WEBPACK_IMPORTED_MODULE_1__.withRouter)(useWithRouter);
+      next_router__WEBPACK_IMPORTED_MODULE_0__.withRouter)(useWithRouter);
 
       /***/
     },
Diff for main-HASH.js
@@ -13,6 +13,8 @@
       }
 
       module.exports = _arrayLikeToArray;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -23,6 +25,8 @@
       }
 
       module.exports = _arrayWithHoles;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -39,6 +43,8 @@
       }
 
       module.exports = _arrayWithoutHoles;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -55,6 +61,8 @@
       }
 
       module.exports = _assertThisInitialized;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -121,6 +129,8 @@
       }
 
       module.exports = _asyncToGenerator;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -133,6 +143,8 @@
       }
 
       module.exports = _classCallCheck;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -149,6 +161,8 @@
       function _construct(Parent, args, Class) {
         if (isNativeReflectConstruct()) {
           module.exports = _construct = Reflect.construct;
+          (module.exports.default = module.exports),
+            (module.exports.__esModule = true);
         } else {
           module.exports = _construct = function _construct(
             Parent,
@@ -162,12 +176,17 @@
             if (Class) setPrototypeOf(instance, Class.prototype);
             return instance;
           };
+
+          (module.exports.default = module.exports),
+            (module.exports.__esModule = true);
         }
 
         return _construct.apply(null, arguments);
       }
 
       module.exports = _construct;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -190,6 +209,8 @@
       }
 
       module.exports = _createClass;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -211,6 +232,8 @@
       }
 
       module.exports = _defineProperty;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -222,10 +245,14 @@
           : function _getPrototypeOf(o) {
               return o.__proto__ || Object.getPrototypeOf(o);
             };
+        (module.exports.default = module.exports),
+          (module.exports.__esModule = true);
         return _getPrototypeOf(o);
       }
 
       module.exports = _getPrototypeOf;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -255,6 +282,8 @@
       }
 
       module.exports = _inherits;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -265,6 +294,8 @@
       }
 
       module.exports = _isNativeFunction;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -276,8 +307,8 @@
         if (typeof Proxy === "function") return true;
 
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
@@ -286,36 +317,45 @@
       }
 
       module.exports = _isNativeReflectConstruct;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
 
     /***/ 6860: /***/ function(module) {
       function _iterableToArray(iter) {
-        if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter))
+        if (
+          (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null) ||
+          iter["@@iterator"] != null
+        )
           return Array.from(iter);
       }
 
       module.exports = _iterableToArray;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
 
     /***/ 3884: /***/ function(module) {
       function _iterableToArrayLimit(arr, i) {
-        if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr)))
-          return;
+        var _i =
+          arr == null
+            ? null
+            : (typeof Symbol !== "undefined" && arr[Symbol.iterator]) ||
+              arr["@@iterator"];
+
+        if (_i == null) return;
         var _arr = [];
         var _n = true;
         var _d = false;
-        var _e = undefined;
+
+        var _s, _e;
 
         try {
-          for (
-            var _i = arr[Symbol.iterator](), _s;
-            !(_n = (_s = _i.next()).done);
-            _n = true
-          ) {
+          for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
             _arr.push(_s.value);
 
             if (i && _arr.length === i) break;
@@ -335,6 +375,8 @@
       }
 
       module.exports = _iterableToArrayLimit;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -347,6 +389,8 @@
       }
 
       module.exports = _nonIterableRest;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -359,6 +403,8 @@
       }
 
       module.exports = _nonIterableSpread;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -368,7 +414,7 @@
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      var _typeof = __webpack_require__(8);
+      var _typeof = __webpack_require__(8).default;
 
       var assertThisInitialized = __webpack_require__(1506);
 
@@ -378,12 +424,18 @@
           (_typeof(call) === "object" || typeof call === "function")
         ) {
           return call;
+        } else if (call !== void 0) {
+          throw new TypeError(
+            "Derived constructors may only return object or undefined"
+          );
         }
 
         return assertThisInitialized(self);
       }
 
       module.exports = _possibleConstructorReturn;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -397,10 +449,14 @@
             return o;
           };
 
+        (module.exports.default = module.exports),
+          (module.exports.__esModule = true);
         return _setPrototypeOf(o, p);
       }
 
       module.exports = _setPrototypeOf;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -428,6 +484,8 @@
       }
 
       module.exports = _slicedToArray;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -455,6 +513,8 @@
       }
 
       module.exports = _toConsumableArray;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -470,6 +530,9 @@
           module.exports = _typeof = function _typeof(obj) {
             return typeof obj;
           };
+
+          (module.exports.default = module.exports),
+            (module.exports.__esModule = true);
         } else {
           module.exports = _typeof = function _typeof(obj) {
             return obj &&
@@ -479,12 +542,17 @@
               ? "symbol"
               : typeof obj;
           };
+
+          (module.exports.default = module.exports),
+            (module.exports.__esModule = true);
         }
 
         return _typeof(obj);
       }
 
       module.exports = _typeof;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -510,6 +578,8 @@
       }
 
       module.exports = _unsupportedIterableToArray;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -564,10 +634,14 @@
           return setPrototypeOf(Wrapper, Class);
         };
 
+        (module.exports.default = module.exports),
+          (module.exports.__esModule = true);
         return _wrapNativeSuper(Class);
       }
 
       module.exports = _wrapNativeSuper;
+      (module.exports.default = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -824,8 +898,8 @@
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
@@ -2070,6 +2144,25 @@
       }
 
       var PageLoader = /*#__PURE__*/ (function() {
+        function PageLoader(buildId, assetPrefix) {
+          _classCallCheck(this, PageLoader);
+
+          this.routeLoader = (0, _routeLoader).createRouteLoader(assetPrefix);
+          this.buildId = buildId;
+          this.assetPrefix = assetPrefix;
+          /** @type {Promise<Set<string>>} */
+
+          this.promisedSsgManifest = new Promise(function(resolve) {
+            if (window.__SSG_MANIFEST) {
+              resolve(window.__SSG_MANIFEST);
+            } else {
+              window.__SSG_MANIFEST_CB = function() {
+                resolve(window.__SSG_MANIFEST);
+              };
+            }
+          });
+        }
+
         _createClass(PageLoader, [
           {
             key: "getPageList",
@@ -2173,25 +2266,6 @@
           }
         ]);
 
-        function PageLoader(buildId, assetPrefix) {
-          _classCallCheck(this, PageLoader);
-
-          this.routeLoader = (0, _routeLoader).createRouteLoader(assetPrefix);
-          this.buildId = buildId;
-          this.assetPrefix = assetPrefix;
-          /** @type {Promise<Set<string>>} */
-
-          this.promisedSsgManifest = new Promise(function(resolve) {
-            if (window.__SSG_MANIFEST) {
-              resolve(window.__SSG_MANIFEST);
-            } else {
-              window.__SSG_MANIFEST_CB = function() {
-                resolve(window.__SSG_MANIFEST);
-              };
-            }
-          });
-        }
-
         return PageLoader;
       })();
 
@@ -2847,8 +2921,10 @@
       var _construct = __webpack_require__(9100);
 
       function _createForOfIteratorHelper(o, allowArrayLike) {
-        var it;
-        if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
+        var it =
+          (typeof Symbol !== "undefined" && o[Symbol.iterator]) ||
+          o["@@iterator"];
+        if (!it) {
           if (
             Array.isArray(o) ||
             (it = _unsupportedIterableToArray(o)) ||
@@ -2878,7 +2954,7 @@
           err;
         return {
           s: function s() {
-            it = o[Symbol.iterator]();
+            it = it.call(o);
           },
           n: function n() {
             var step = it.next();
@@ -3491,8 +3567,8 @@
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
@@ -3789,10 +3865,11 @@
         var keys = Object.keys(object);
         if (Object.getOwnPropertySymbols) {
           var symbols = Object.getOwnPropertySymbols(object);
-          if (enumerableOnly)
+          if (enumerableOnly) {
             symbols = symbols.filter(function(sym) {
               return Object.getOwnPropertyDescriptor(object, sym).enumerable;
             });
+          }
           keys.push.apply(keys, symbols);
         }
         return keys;
@@ -4365,7 +4442,7 @@
 
             if (repeat && !Array.isArray(value)) value = [value];
             return (
-              (optional || param in dynamicMatches) && // Interpolate group into data URL if present
+              (optional || param in dynamicMatches) &&
               (interpolatedRoute =
                 interpolatedRoute.replace(
                   replaced,
@@ -6800,8 +6877,8 @@
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
@@ -6939,8 +7016,8 @@
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
Diff for index.html
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-4ef1beb2f985ad9b9f35.js"
+      src="/_next/static/chunks/main-fc720a81a1dc981731be.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-a7ea37c9b5d16fd0901b.js"
+      src="/_next/static/chunks/pages/_app-49ca463e4e9f4c42f3ec.js"
       defer=""
     ></script>
     <script
Diff for link.html
@@ -19,15 +19,15 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-4ef1beb2f985ad9b9f35.js"
+      src="/_next/static/chunks/main-fc720a81a1dc981731be.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-a7ea37c9b5d16fd0901b.js"
+      src="/_next/static/chunks/pages/_app-49ca463e4e9f4c42f3ec.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-7a3c1e637e71f2a0e489.js"
+      src="/_next/static/chunks/pages/link-f62bdaa581311495bb85.js"
       defer=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>
Diff for withRouter.html
@@ -19,15 +19,15 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-4ef1beb2f985ad9b9f35.js"
+      src="/_next/static/chunks/main-fc720a81a1dc981731be.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-a7ea37c9b5d16fd0901b.js"
+      src="/_next/static/chunks/pages/_app-49ca463e4e9f4c42f3ec.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/withRouter-e26df01cd54dcbb5c15c.js"
+      src="/_next/static/chunks/pages/withRouter-072a37cc0c889cd17738.js"
       defer=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>

Webpack 4 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
buildDuration 12.5s 13.7s ⚠️ +1.2s
buildDurationCached 5.3s 5.4s ⚠️ +139ms
nodeModulesSize 49.7 MB 61.5 MB ⚠️ +11.8 MB
Page Load Tests Overall increase ✓
vercel/next.js canary ijjk/next.js update/babel Change
/ failed reqs 0 0
/ total time (seconds) 3.117 3.108 -0.01
/ avg req/sec 801.99 804.41 +2.42
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.894 1.878 -0.02
/error-in-render avg req/sec 1319.96 1330.97 +11.01
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
16.HASH.js gzip 186 B 186 B
677f882d2ed8..HASH.js gzip 14 kB 14.1 kB ⚠️ +98 B
framework.HASH.js gzip 41.9 kB 41.9 kB
main-HASH.js gzip 10.6 kB 10.6 kB ⚠️ +34 B
webpack-HASH.js gzip 1.19 kB 1.19 kB
Overall change 67.9 kB 68 kB ⚠️ +132 B
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/babel Change
polyfills-a4..dd70.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
_app-HASH.js gzip 965 B 964 B -1 B
_error-HASH.js gzip 3.71 kB 3.8 kB ⚠️ +90 B
amp-HASH.js gzip 552 B 552 B
css-HASH.js gzip 333 B 333 B
dynamic-HASH.js gzip 2.83 kB 2.85 kB ⚠️ +28 B
head-HASH.js gzip 2.97 kB 3.06 kB ⚠️ +95 B
hooks-HASH.js gzip 911 B 924 B ⚠️ +13 B
index-HASH.js gzip 231 B 231 B
link-HASH.js gzip 1.64 kB 1.64 kB -1 B
routerDirect..HASH.js gzip 298 B 298 B
script-HASH.js gzip 2.95 kB 2.98 kB ⚠️ +29 B
withRouter-HASH.js gzip 294 B 295 B ⚠️ +1 B
e025d2764813..52f.css gzip 125 B 125 B
Overall change 17.8 kB 18.1 kB ⚠️ +254 B
Client Build Manifests Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
_buildManifest.js gzip 498 B 499 B ⚠️ +1 B
Overall change 498 B 499 B ⚠️ +1 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/babel Change
index.html gzip 585 B 585 B
link.html gzip 596 B 598 B ⚠️ +2 B
withRouter.html gzip 578 B 578 B
Overall change 1.76 kB 1.76 kB ⚠️ +2 B

Diffs

Diff for _buildManifest.js
@@ -2,29 +2,29 @@ self.__BUILD_MANIFEST = {
   __rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
   "/": ["static\u002Fchunks\u002Fpages\u002Findex-b8f868a0fff56c820ae0.js"],
   "/_error": [
-    "static\u002Fchunks\u002Fpages\u002F_error-76a050cae8d92043220a.js"
+    "static\u002Fchunks\u002Fpages\u002F_error-7c77670d2b26a13c0f41.js"
   ],
   "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-4855291bfb1c5a551232.js"],
   "/css": [
     "static\u002Fcss\u002Fe025d27648136bbd252f.css",
-    "static\u002Fchunks\u002Fpages\u002Fcss-0fc40b547d044664b6a0.js"
+    "static\u002Fchunks\u002Fpages\u002Fcss-d324ec3ec9abb3848ae8.js"
   ],
   "/dynamic": [
-    "static\u002Fchunks\u002Fpages\u002Fdynamic-bc42be0e3170a6f93209.js"
+    "static\u002Fchunks\u002Fpages\u002Fdynamic-3b3842923577b772252c.js"
   ],
-  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-abecfbe6a75f8cfa32c0.js"],
+  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-0aa0faef162b582deec7.js"],
   "/hooks": [
-    "static\u002Fchunks\u002Fpages\u002Fhooks-f3d7a61f2e1bf307c8a9.js"
+    "static\u002Fchunks\u002Fpages\u002Fhooks-47f63599c4d071f85737.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-42cb0e3f9b432b6fb0f9.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-c867b6da766c02c72904.js"],
   "/routerDirect": [
-    "static\u002Fchunks\u002Fpages\u002FrouterDirect-6969fe7df87ea0f513b7.js"
+    "static\u002Fchunks\u002Fpages\u002FrouterDirect-50fd45536deb174654c1.js"
   ],
   "/script": [
-    "static\u002Fchunks\u002Fpages\u002Fscript-4f37d5d753427e16b66e.js"
+    "static\u002Fchunks\u002Fpages\u002Fscript-afc4b3ab6b4763aff619.js"
   ],
   "/withRouter": [
-    "static\u002Fchunks\u002Fpages\u002FwithRouter-d324ed0c40e148c2c3fc.js"
+    "static\u002Fchunks\u002Fpages\u002FwithRouter-0fffa173b4934d0b86a2.js"
   ],
   sortedPages: [
     "\u002F",
Diff for _app-HASH.js
@@ -43,8 +43,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
Diff for _error-HASH.js
@@ -34,8 +34,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
@@ -237,6 +237,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _inherits;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -278,8 +280,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
@@ -384,6 +386,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _nonIterableSpread;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -418,11 +422,16 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
 
     /***/ EbDI: /***/ function(module, exports) {
       function _iterableToArray(iter) {
-        if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter))
+        if (
+          (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null) ||
+          iter["@@iterator"] != null
+        )
           return Array.from(iter);
       }
 
       module.exports = _iterableToArray;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -435,6 +444,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _arrayWithoutHoles;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -446,10 +457,14 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           : function _getPrototypeOf(o) {
               return o.__proto__ || Object.getPrototypeOf(o);
             };
+        (module.exports["default"] = module.exports),
+          (module.exports.__esModule = true);
         return _getPrototypeOf(o);
       }
 
       module.exports = _getPrototypeOf;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -466,6 +481,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _assertThisInitialized;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -501,6 +518,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _toConsumableArray;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -514,10 +533,14 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
             return o;
           };
 
+        (module.exports["default"] = module.exports),
+          (module.exports.__esModule = true);
         return _setPrototypeOf(o, p);
       }
 
       module.exports = _setPrototypeOf;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -540,6 +563,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _createClass;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -556,6 +581,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _arrayLikeToArray;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -577,12 +604,14 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _unsupportedIterableToArray;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
 
     /***/ a1gu: /***/ function(module, exports, __webpack_require__) {
-      var _typeof = __webpack_require__("cDf5");
+      var _typeof = __webpack_require__("cDf5")["default"];
 
       var assertThisInitialized = __webpack_require__("PJYZ");
 
@@ -592,12 +621,18 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           (_typeof(call) === "object" || typeof call === "function")
         ) {
           return call;
+        } else if (call !== void 0) {
+          throw new TypeError(
+            "Derived constructors may only return object or undefined"
+          );
         }
 
         return assertThisInitialized(self);
       }
 
       module.exports = _possibleConstructorReturn;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -613,6 +648,9 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           module.exports = _typeof = function _typeof(obj) {
             return typeof obj;
           };
+
+          (module.exports["default"] = module.exports),
+            (module.exports.__esModule = true);
         } else {
           module.exports = _typeof = function _typeof(obj) {
             return obj &&
@@ -622,12 +660,17 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
               ? "symbol"
               : typeof obj;
           };
+
+          (module.exports["default"] = module.exports),
+            (module.exports.__esModule = true);
         }
 
         return _typeof(obj);
       }
 
       module.exports = _typeof;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -695,6 +738,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _defineProperty;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -707,6 +752,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _classCallCheck;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -720,10 +767,11 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         var keys = Object.keys(object);
         if (Object.getOwnPropertySymbols) {
           var symbols = Object.getOwnPropertySymbols(object);
-          if (enumerableOnly)
+          if (enumerableOnly) {
             symbols = symbols.filter(function(sym) {
               return Object.getOwnPropertyDescriptor(object, sym).enumerable;
             });
+          }
           keys.push.apply(keys, symbols);
         }
         return keys;
Diff for css-HASH.js
@@ -38,25 +38,25 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
     ) {
       "use strict";
       __webpack_require__.r(__webpack_exports__);
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        "nKUr"
+      /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
+        "OHXn"
       );
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__
+      /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(
+        _css_module_css__WEBPACK_IMPORTED_MODULE_0__
       );
-      /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
-        "OHXn"
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        "nKUr"
       );
-      /* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
-        _css_module_css__WEBPACK_IMPORTED_MODULE_1__
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__
       );
 
       var Page = function Page() {
         return /*#__PURE__*/ Object(
-          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["jsx"]
+          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["jsx"]
         )("div", {
           className:
-            _css_module_css__WEBPACK_IMPORTED_MODULE_1___default.a.helloWorld,
+            _css_module_css__WEBPACK_IMPORTED_MODULE_0___default.a.helloWorld,
           children: "Hello world \uD83D\uDC4B"
         });
       };
Diff for dynamic-HASH.js
@@ -14,10 +14,11 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         var keys = Object.keys(object);
         if (Object.getOwnPropertySymbols) {
           var symbols = Object.getOwnPropertySymbols(object);
-          if (enumerableOnly)
+          if (enumerableOnly) {
             symbols = symbols.filter(function(sym) {
               return Object.getOwnPropertyDescriptor(object, sym).enumerable;
             });
+          }
           keys.push.apply(keys, symbols);
         }
         return keys;
@@ -49,8 +50,10 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       function _createForOfIteratorHelper(o, allowArrayLike) {
-        var it;
-        if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
+        var it =
+          (typeof Symbol !== "undefined" && o[Symbol.iterator]) ||
+          o["@@iterator"];
+        if (!it) {
           if (
             Array.isArray(o) ||
             (it = _unsupportedIterableToArray(o)) ||
@@ -80,7 +83,7 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           err;
         return {
           s: function s() {
-            it = o[Symbol.iterator]();
+            it = it.call(o);
           },
           n: function n() {
             var step = it.next();
@@ -540,6 +543,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _createClass;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -558,20 +563,20 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           return __N_SSP;
         }
       );
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        "nKUr"
+      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
+        "Vvt1"
       );
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__
+      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(
+        next_dynamic__WEBPACK_IMPORTED_MODULE_0__
       );
-      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
-        "Vvt1"
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        "nKUr"
       );
-      /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
-        next_dynamic__WEBPACK_IMPORTED_MODULE_1__
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__
       );
 
-      var DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(
+      var DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_0___default()(
         function() {
           return __webpack_require__
             .e(/* import() */ 16)
@@ -589,16 +594,16 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
 
       var Page = function Page() {
         return /*#__PURE__*/ Object(
-          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["jsxs"]
-        )(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["Fragment"], {
+          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["jsxs"]
+        )(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["Fragment"], {
           children: [
             /*#__PURE__*/ Object(
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["jsx"]
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["jsx"]
             )("p", {
               children: "testing next/dynamic size"
             }),
             /*#__PURE__*/ Object(
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["jsx"]
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["jsx"]
             )(DynamicHello, {})
           ]
         });
@@ -628,6 +633,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _defineProperty;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -640,6 +647,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _classCallCheck;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -653,10 +662,11 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         var keys = Object.keys(object);
         if (Object.getOwnPropertySymbols) {
           var symbols = Object.getOwnPropertySymbols(object);
-          if (enumerableOnly)
+          if (enumerableOnly) {
             symbols = symbols.filter(function(sym) {
               return Object.getOwnPropertyDescriptor(object, sym).enumerable;
             });
+          }
           keys.push.apply(keys, symbols);
         }
         return keys;
Diff for head-HASH.js
@@ -22,6 +22,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _inherits;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -63,8 +65,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
         if (Reflect.construct.sham) return false;
         if (typeof Proxy === "function") return true;
         try {
-          Date.prototype.toString.call(
-            Reflect.construct(Date, [], function() {})
+          Boolean.prototype.valueOf.call(
+            Reflect.construct(Boolean, [], function() {})
           );
           return true;
         } catch (e) {
@@ -169,6 +171,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _nonIterableSpread;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -203,11 +207,16 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
 
     /***/ EbDI: /***/ function(module, exports) {
       function _iterableToArray(iter) {
-        if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter))
+        if (
+          (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null) ||
+          iter["@@iterator"] != null
+        )
           return Array.from(iter);
       }
 
       module.exports = _iterableToArray;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -220,6 +229,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _arrayWithoutHoles;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -238,35 +249,35 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           return __N_SSP;
         }
       );
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
-        "nKUr"
+      /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
+        "g4pe"
       );
-      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(
-        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__
+      /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(
+        next_head__WEBPACK_IMPORTED_MODULE_0__
       );
-      /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
-        "g4pe"
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
+        "nKUr"
       );
-      /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
-        next_head__WEBPACK_IMPORTED_MODULE_1__
+      /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
+        react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__
       );
 
       var Page = function Page() {
         return /*#__PURE__*/ Object(
-          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["jsxs"]
-        )(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["Fragment"], {
+          react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["jsxs"]
+        )(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["Fragment"], {
           children: [
             /*#__PURE__*/ Object(
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["jsx"]
-            )(next_head__WEBPACK_IMPORTED_MODULE_1___default.a, {
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["jsx"]
+            )(next_head__WEBPACK_IMPORTED_MODULE_0___default.a, {
               children: /*#__PURE__*/ Object(
-                react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["jsx"]
+                react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["jsx"]
               )("title", {
                 children: "hello world"
               })
             }),
             /*#__PURE__*/ Object(
-              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__["jsx"]
+              react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__["jsx"]
             )("p", {
               children: "testing next/head size"
             })
@@ -288,10 +299,14 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           : function _getPrototypeOf(o) {
               return o.__proto__ || Object.getPrototypeOf(o);
             };
+        (module.exports["default"] = module.exports),
+          (module.exports.__esModule = true);
         return _getPrototypeOf(o);
       }
 
       module.exports = _getPrototypeOf;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -308,6 +323,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _assertThisInitialized;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -354,6 +371,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _toConsumableArray;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -367,10 +386,14 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
             return o;
           };
 
+        (module.exports["default"] = module.exports),
+          (module.exports.__esModule = true);
         return _setPrototypeOf(o, p);
       }
 
       module.exports = _setPrototypeOf;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -393,6 +416,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _createClass;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -409,6 +434,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _arrayLikeToArray;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -430,12 +457,14 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
       }
 
       module.exports = _unsupportedIterableToArray;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
 
     /***/ a1gu: /***/ function(module, exports, __webpack_require__) {
-      var _typeof = __webpack_require__("cDf5");
+      var _typeof = __webpack_require__("cDf5")["default"];
 
       var assertThisInitialized = __webpack_require__("PJYZ");
 
@@ -445,12 +474,18 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           (_typeof(call) === "object" || typeof call === "function")
         ) {
           return call;
+        } else if (call !== void 0) {
+          throw new TypeError(
+            "Derived constructors may only return object or undefined"
+          );
         }
 
         return assertThisInitialized(self);
       }
 
       module.exports = _possibleConstructorReturn;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -466,6 +501,9 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
           module.exports = _typeof = function _typeof(obj) {
             return typeof obj;
           };
+
+          (module.exports["default"] = module.exports),
+            (module.exports.__esModule = true);
         } else {
           module.exports = _typeof = function _typeof(obj) {
             return obj &&
@@ -475,12 +513,17 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
               ? "symbol"
               : typeof obj;
           };
+
+          (module.exports["default"] = module.exports),
+            (module.exports.__esModule = true);
         }
 
         return _typeof(obj);
       }
 
       module.exports = _typeof;
+      (module.exports["default"] = module.exports),
+        (module.exports.__esModule = true);
 
       /***/
     },
@@ -554,6 +597,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push(
Post job cleanup.
[command]/usr/bin/git version
git version 2.32.0
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
Cleaning up orphan processes
Commit: fd126c89db524b965b38535460d21fde1eaaf7e1

@timneutkens timneutkens merged commit 5544adc into vercel:canary Aug 17, 2021
32 checks passed
@timneutkens timneutkens deleted the update/babel branch Aug 17, 2021
kodiakhq bot pushed a commit that referenced this pull request Sep 1, 2021
This is a follow-up to #28174 to ensure we de-dupe `@babel/types` correctly as this increased the compiled `babel` packages quite a bit.
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: create-next-app Next.js starter CLI area: examples Anything inside the examples folder created-by: Next.js team PRs by the Next.js team type: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Babel error when using override of TypeScript 4.3.2
3 participants