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 webpack to 5.52.0 #28771

Merged
merged 1 commit into from
Sep 6, 2021
Merged

update webpack to 5.52.0 #28771

merged 1 commit into from
Sep 6, 2021

Conversation

sokra
Copy link
Member

@sokra sokra commented Sep 3, 2021

remove some workarounds

styfle
styfle previously approved these changes Sep 3, 2021
@ijjk

This comment has been minimized.

remove workarounds
@ijjk
Copy link
Member

ijjk commented Sep 6, 2021

Stats from current PR

Default Build (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/update Change
buildDuration 12.2s 12s -226ms
buildDurationCached 3.1s 3.1s -1ms
nodeModulesSize 49.3 MB 49.3 MB ⚠️ +4.59 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary vercel/next.js webpack/update Change
/ failed reqs 0 0
/ total time (seconds) 2.359 2.394 ⚠️ +0.04
/ avg req/sec 1059.64 1044.1 ⚠️ -15.54
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.263 1.286 ⚠️ +0.02
/error-in-render avg req/sec 1979.32 1943.65 ⚠️ -35.67
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/update Change
745.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.2 kB 42.2 kB
main-HASH.js gzip 23.3 kB 23.3 kB
webpack-HASH.js gzip 1.45 kB 1.45 kB
Overall change 67.2 kB 67.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/update Change
polyfills-a4..dd70.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary vercel/next.js webpack/update Change
_app-HASH.js gzip 979 B 979 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.67 kB 2.67 kB
head-HASH.js gzip 351 B 351 B
hooks-HASH.js gzip 918 B 918 B
image-HASH.js gzip 4.14 kB 4.14 kB
index-HASH.js gzip 261 B 261 B
link-HASH.js gzip 1.66 kB 1.66 kB
routerDirect..HASH.js gzip 318 B 318 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 13 kB 13 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/update Change
_buildManifest.js gzip 492 B 492 B
Overall change 492 B 492 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js webpack/update Change
index.html gzip 539 B 539 B
link.html gzip 553 B 553 B
withRouter.html gzip 533 B 533 B
Overall change 1.63 kB 1.63 kB

Diffs

Diff for _buildManifest.js
@@ -10,21 +10,21 @@ self.__BUILD_MANIFEST = {
     "static\u002Fchunks\u002Fpages\u002Fcss-d747126cbf11007733b6.js"
   ],
   "/dynamic": [
-    "static\u002Fchunks\u002Fpages\u002Fdynamic-9e2274fd3ecd928533ad.js"
+    "static\u002Fchunks\u002Fpages\u002Fdynamic-49adf2e1bdf9c9e868d3.js"
   ],
-  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-1b407c3309821b5154c2.js"],
+  "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-28fcf610d5156765f0fb.js"],
   "/hooks": [
     "static\u002Fchunks\u002Fpages\u002Fhooks-f6efb8a484d4a96e150c.js"
   ],
   "/image": [
-    "static\u002Fchunks\u002Fpages\u002Fimage-9ff7c92fe6c596bfb486.js"
+    "static\u002Fchunks\u002Fpages\u002Fimage-5cad511f441baa3021f5.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-f62bdaa581311495bb85.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-8989a66c35e810b14a0a.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-7c1b586d4417a78806e3.js"
   ],
   "/script": [
-    "static\u002Fchunks\u002Fpages\u002Fscript-21c58b10eb53d5b2389e.js"
+    "static\u002Fchunks\u002Fpages\u002Fscript-53e79215d380d0654667.js"
   ],
   "/withRouter": [
     "static\u002Fchunks\u002Fpages\u002FwithRouter-072a37cc0c889cd17738.js"
Diff for _app-HASH.js
@@ -64,7 +64,7 @@
           return _utils.NextWebVitalsMetric;
         }
       });
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -207,7 +207,7 @@
 
       App.origGetInitialProps = appGetInitialProps;
       App.getInitialProps = appGetInitialProps;
-      exports.default = App;
+      exports["default"] = App;
 
       /***/
     },
Diff for dynamic-HASH.js
@@ -54,7 +54,7 @@
         value: true
       };
       __webpack_unused_export__ = noSSR;
-      exports.default = dynamic;
+      exports["default"] = dynamic;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -330,7 +330,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -676,7 +676,7 @@
       }
 
       var _default = Loadable;
-      exports.default = _default;
+      exports["default"] = _default;
 
       /***/
     },
@@ -701,7 +701,8 @@
         5893
       );
 
-      var DynamicHello = (0, next_dynamic__WEBPACK_IMPORTED_MODULE_0__.default)(
+      var DynamicHello = (0,
+      next_dynamic__WEBPACK_IMPORTED_MODULE_0__["default"])(
         function() {
           return __webpack_require__
             .e(/* import() */ 745)
Diff for head-HASH.js
@@ -29,7 +29,7 @@
             children: [
               /*#__PURE__*/ (0,
               react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(
-                next_head__WEBPACK_IMPORTED_MODULE_0__.default,
+                next_head__WEBPACK_IMPORTED_MODULE_0__["default"],
                 {
                   children: /*#__PURE__*/ (0,
                   react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("title", {
Diff for image-HASH.js
@@ -16,7 +16,7 @@
       __webpack_unused_export__ = {
         value: true
       };
-      exports.default = Image1;
+      exports["default"] = Image1;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -979,7 +979,7 @@
             /*#__PURE__*/ (0, jsx_runtime.jsx)("h1", {
               children: "next/image example"
             }),
-            /*#__PURE__*/ (0, jsx_runtime.jsx)(next_image.default, {
+            /*#__PURE__*/ (0, jsx_runtime.jsx)(next_image["default"], {
               src: nextjs,
               placeholder: "blur"
             })
Diff for link-HASH.js
@@ -14,7 +14,7 @@
       __webpack_unused_export__ = {
         value: true
       };
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -263,7 +263,7 @@
       }
 
       var _default = Link;
-      exports.default = _default;
+      exports["default"] = _default;
 
       /***/
     },
@@ -427,7 +427,7 @@
             }),
             /*#__PURE__*/ (0,
             react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(
-              next_link__WEBPACK_IMPORTED_MODULE_0__.default,
+              next_link__WEBPACK_IMPORTED_MODULE_0__["default"],
               {
                 href: "/",
                 children: "Go to /"
Diff for script-HASH.js
@@ -33,7 +33,7 @@
               }),
               /*#__PURE__*/ (0,
               react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(
-                next_script__WEBPACK_IMPORTED_MODULE_0__.default,
+                next_script__WEBPACK_IMPORTED_MODULE_0__["default"],
                 {
                   dangerouslySetInnerHTML: {
                     __html: 'console.log("hello")'
Diff for main-HASH.js
@@ -13,7 +13,7 @@
       }
 
       module.exports = _arrayLikeToArray;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -25,7 +25,7 @@
       }
 
       module.exports = _arrayWithHoles;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -43,7 +43,7 @@
       }
 
       module.exports = _arrayWithoutHoles;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -61,7 +61,7 @@
       }
 
       module.exports = _assertThisInitialized;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -129,7 +129,7 @@
       }
 
       module.exports = _asyncToGenerator;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -143,7 +143,7 @@
       }
 
       module.exports = _classCallCheck;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -161,7 +161,7 @@
       function _construct(Parent, args, Class) {
         if (isNativeReflectConstruct()) {
           module.exports = _construct = Reflect.construct;
-          (module.exports.default = module.exports),
+          (module.exports["default"] = module.exports),
             (module.exports.__esModule = true);
         } else {
           module.exports = _construct = function _construct(
@@ -177,7 +177,7 @@
             return instance;
           };
 
-          (module.exports.default = module.exports),
+          (module.exports["default"] = module.exports),
             (module.exports.__esModule = true);
         }
 
@@ -185,7 +185,7 @@
       }
 
       module.exports = _construct;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -209,7 +209,7 @@
       }
 
       module.exports = _createClass;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -232,7 +232,7 @@
       }
 
       module.exports = _defineProperty;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -245,13 +245,13 @@
           : function _getPrototypeOf(o) {
               return o.__proto__ || Object.getPrototypeOf(o);
             };
-        (module.exports.default = module.exports),
+        (module.exports["default"] = module.exports),
           (module.exports.__esModule = true);
         return _getPrototypeOf(o);
       }
 
       module.exports = _getPrototypeOf;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -282,7 +282,7 @@
       }
 
       module.exports = _inherits;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -294,7 +294,7 @@
       }
 
       module.exports = _isNativeFunction;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -317,7 +317,7 @@
       }
 
       module.exports = _isNativeReflectConstruct;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -333,7 +333,7 @@
       }
 
       module.exports = _iterableToArray;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -375,7 +375,7 @@
       }
 
       module.exports = _iterableToArrayLimit;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -389,7 +389,7 @@
       }
 
       module.exports = _nonIterableRest;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -403,7 +403,7 @@
       }
 
       module.exports = _nonIterableSpread;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -414,7 +414,7 @@
       __unused_webpack_exports,
       __webpack_require__
     ) {
-      var _typeof = __webpack_require__(8).default;
+      var _typeof = __webpack_require__(8)["default"];
 
       var assertThisInitialized = __webpack_require__(1506);
 
@@ -434,7 +434,7 @@
       }
 
       module.exports = _possibleConstructorReturn;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -449,13 +449,13 @@
             return o;
           };
 
-        (module.exports.default = module.exports),
+        (module.exports["default"] = module.exports),
           (module.exports.__esModule = true);
         return _setPrototypeOf(o, p);
       }
 
       module.exports = _setPrototypeOf;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -484,7 +484,7 @@
       }
 
       module.exports = _slicedToArray;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -513,7 +513,7 @@
       }
 
       module.exports = _toConsumableArray;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -531,7 +531,7 @@
             return typeof obj;
           };
 
-          (module.exports.default = module.exports),
+          (module.exports["default"] = module.exports),
             (module.exports.__esModule = true);
         } else {
           module.exports = _typeof = function _typeof(obj) {
@@ -543,7 +543,7 @@
               : typeof obj;
           };
 
-          (module.exports.default = module.exports),
+          (module.exports["default"] = module.exports),
             (module.exports.__esModule = true);
         }
 
@@ -551,7 +551,7 @@
       }
 
       module.exports = _typeof;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -578,7 +578,7 @@
       }
 
       module.exports = _unsupportedIterableToArray;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -634,13 +634,13 @@
           return setPrototypeOf(Wrapper, Class);
         };
 
-        (module.exports.default = module.exports),
+        (module.exports["default"] = module.exports),
           (module.exports.__esModule = true);
         return _wrapNativeSuper(Class);
       }
 
       module.exports = _wrapNativeSuper;
-      (module.exports.default = module.exports),
+      (module.exports["default"] = module.exports),
         (module.exports.__esModule = true);
 
       /***/
@@ -706,7 +706,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = initHeadManager;
+      exports["default"] = initHeadManager;
       exports.DOMAttributeNames = void 0;
       var DOMAttributeNames = {
         acceptCharset: "accept-charset",
@@ -2112,7 +2112,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _router = __webpack_require__(1063);
 
@@ -2273,7 +2273,7 @@
         return PageLoader;
       })();
 
-      exports.default = PageLoader;
+      exports["default"] = PageLoader;
 
       /***/
     },
@@ -2288,7 +2288,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _webVitals = __webpack_require__(8745);
 
@@ -2326,7 +2326,7 @@
         (0, _webVitals).getTTFB(onReport);
       };
 
-      exports.default = _default;
+      exports["default"] = _default;
 
       /***/
     },
@@ -2446,7 +2446,7 @@
         value: true
       });
       exports.RouteAnnouncer = RouteAnnouncer;
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -2527,7 +2527,7 @@
       }
 
       var _default = RouteAnnouncer;
-      exports.default = _default;
+      exports["default"] = _default;
 
       /***/
     },
@@ -3018,7 +3018,7 @@
       exports.useRouter = useRouter;
       exports.createRouter = createRouter;
       exports.makePublicRouterInstance = makePublicRouterInstance;
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -3138,7 +3138,7 @@
       }
 
       var _default = singletonRouter;
-      exports.default = _default;
+      exports["default"] = _default;
 
       function useRouter() {
         return _react["default"].useContext(_routerContext.RouterContext);
@@ -3213,7 +3213,7 @@
         value: true
       });
       exports.initScriptLoader = initScriptLoader;
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = __webpack_require__(7294);
 
@@ -3486,7 +3486,7 @@
       }
 
       var _default = Script;
-      exports.default = _default;
+      exports["default"] = _default;
 
       /***/
     },
@@ -3501,7 +3501,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = withRouter;
+      exports["default"] = withRouter;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -3591,7 +3591,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = _interopRequireDefault(__webpack_require__(7294));
 
@@ -3707,7 +3707,7 @@
       Error1.displayName = "ErrorPage";
       Error1.getInitialProps = _getInitialProps;
       Error1.origGetInitialProps = _getInitialProps;
-      exports.default = Error1;
+      exports["default"] = Error1;
       var styles = {
         error: {
           color: "#000",
@@ -3916,7 +3916,7 @@
         value: true
       });
       exports.defaultHead = defaultHead;
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = _interopRequireWildcard(__webpack_require__(7294));
 
@@ -4159,7 +4159,7 @@
       }
 
       var _default = Head;
-      exports.default = _default;
+      exports["default"] = _default;
 
       /***/
     },
@@ -4201,7 +4201,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = mitt;
+      exports["default"] = mitt;
 
       function mitt() {
         var all = Object.create(null);
@@ -4296,7 +4296,7 @@
       exports.isLocalURL = isLocalURL;
       exports.interpolateAs = interpolateAs;
       exports.resolveHref = resolveHref;
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _normalizeTrailingSlash = __webpack_require__(5965);
 
@@ -6397,7 +6397,7 @@
       })();
 
       Router.events = (0, _mitt)["default"]();
-      exports.default = Router;
+      exports["default"] = Router;
 
       /***/
     },
@@ -6506,7 +6506,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = getAssetPathFromRoute;
+      exports["default"] = getAssetPathFromRoute;
 
       function getAssetPathFromRoute(route) {
         var ext =
@@ -6832,14 +6832,14 @@
         value: true
       });
       exports.setConfig = setConfig;
-      exports.default = void 0;
+      exports["default"] = void 0;
       var runtimeConfig;
 
       var _default = function _default() {
         return runtimeConfig;
       };
 
-      exports.default = _default;
+      exports["default"] = _default;
 
       function setConfig(configValue) {
         runtimeConfig = configValue;
@@ -6901,7 +6901,7 @@
       Object.defineProperty(exports, "__esModule", {
         value: true
       });
-      exports.default = void 0;
+      exports["default"] = void 0;
 
       var _react = __webpack_require__(7294);
 
@@ -6982,7 +6982,7 @@
         return _class;
       })(_react.Component);
 
-      exports.default = _class;
+      exports["default"] = _class;
 
       /***/
     },
@@ -7270,7 +7270,7 @@
 
       var assign = Object.assign.bind(Object);
       module.exports = assign;
-      module.exports.default = module.exports;
+      module.exports["default"] = module.exports;
 
       //# sourceMappingURL=object-assign.js.map
Diff for index.html
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8e564025c2ebe30b4e3a.js"
+      src="/_next/static/chunks/main-ce6c478f0c77b7e91266.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-49ca463e4e9f4c42f3ec.js"
+      src="/_next/static/chunks/pages/_app-add85797dcb30fd0d2fc.js"
       defer=""
     ></script>
     <script
Diff for link.html
@@ -19,15 +19,15 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8e564025c2ebe30b4e3a.js"
+      src="/_next/static/chunks/main-ce6c478f0c77b7e91266.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-49ca463e4e9f4c42f3ec.js"
+      src="/_next/static/chunks/pages/_app-add85797dcb30fd0d2fc.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-f62bdaa581311495bb85.js"
+      src="/_next/static/chunks/pages/link-8989a66c35e810b14a0a.js"
       defer=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>
Diff for withRouter.html
@@ -19,11 +19,11 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8e564025c2ebe30b4e3a.js"
+      src="/_next/static/chunks/main-ce6c478f0c77b7e91266.js"
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-49ca463e4e9f4c42f3ec.js"
+      src="/_next/static/chunks/pages/_app-add85797dcb30fd0d2fc.js"
       defer=""
     ></script>
     <script

Webpack 4 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/update Change
buildDuration 9.8s 9.8s -23ms
buildDurationCached 4.2s 4.1s -77ms
nodeModulesSize 49.3 MB 49.3 MB ⚠️ +4.59 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary vercel/next.js webpack/update Change
/ failed reqs 0 0
/ total time (seconds) 2.395 2.402 ⚠️ +0.01
/ avg req/sec 1043.7 1040.65 ⚠️ -3.05
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.267 1.28 ⚠️ +0.01
/error-in-render avg req/sec 1972.5 1952.44 ⚠️ -20.06
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/update Change
16.HASH.js gzip 186 B 186 B
677f882d2ed8..HASH.js gzip 14.1 kB 14.1 kB
framework.HASH.js gzip 41.9 kB 41.9 kB
main-HASH.js gzip 10.7 kB 10.7 kB
webpack-HASH.js gzip 1.19 kB 1.19 kB
Overall change 68.1 kB 68.1 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/update Change
polyfills-a4..dd70.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary vercel/next.js webpack/update Change
_app-HASH.js gzip 964 B 964 B
_error-HASH.js gzip 3.8 kB 3.8 kB
amp-HASH.js gzip 552 B 552 B
css-HASH.js gzip 333 B 333 B
dynamic-HASH.js gzip 2.87 kB 2.87 kB
head-HASH.js gzip 3.06 kB 3.06 kB
hooks-HASH.js gzip 924 B 924 B
index-HASH.js gzip 231 B 231 B
link-HASH.js gzip 1.64 kB 1.64 kB
routerDirect..HASH.js gzip 298 B 298 B
script-HASH.js gzip 3.03 kB 3.03 kB
withRouter-HASH.js gzip 295 B 295 B
30809af5c834..565.css gzip 125 B 125 B
Overall change 18.1 kB 18.1 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/update Change
_buildManifest.js gzip 500 B 500 B
Overall change 500 B 500 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js webpack/update Change
index.html gzip 584 B 584 B
link.html gzip 597 B 597 B
withRouter.html gzip 577 B 577 B
Overall change 1.76 kB 1.76 kB
Commit: e609a69

@ijjk
Copy link
Member

ijjk commented Sep 6, 2021

Failing test suites

Commit: e609a69

test/integration/required-server-files/test/index.test.js

  • Required Server Files > should output required-server-files manifest correctly
  • Required Server Files > should render SSR page correctly
  • Required Server Files > should render dynamic SSR page correctly
  • Required Server Files > should render fallback page correctly
  • Required Server Files > should render SSR page correctly with x-matched-path
  • Required Server Files > should render dynamic SSR page correctly with x-matched-path
  • Required Server Files > should render fallback page correctly with x-matched-path and routes-matches
  • Required Server Files > should return data correctly with x-matched-path
  • Required Server Files > should render fallback optional catch-all route correctly with x-matched-path and routes-matches
  • Required Server Files > should return data correctly with x-matched-path for optional catch-all route
  • Required Server Files > should not apply trailingSlash redirect
  • Required Server Files > should normalize catch-all rewrite query values correctly
  • Required Server Files > should bubble error correctly for gip page
  • Required Server Files > should bubble error correctly for gssp page
  • Required Server Files > should bubble error correctly for gsp page
  • Required Server Files > should bubble error correctly for API page
  • Required Server Files > should normalize optional values correctly for SSP page
  • Required Server Files > should normalize optional values correctly for SSG page
  • Required Server Files > should normalize optional values correctly for SSG page with encoded slash
  • Required Server Files > should normalize optional values correctly for API page
  • Required Server Files > should match the index page correctly
  • Required Server Files > should match the root dyanmic page correctly
Expand output

● Required Server Files › should output required-server-files manifest correctly

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should render SSR page correctly

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should render dynamic SSR page correctly

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should render fallback page correctly

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should render SSR page correctly with x-matched-path

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should render dynamic SSR page correctly with x-matched-path

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should render fallback page correctly with x-matched-path and routes-matches

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should return data correctly with x-matched-path

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should render fallback optional catch-all route correctly with x-matched-path and routes-matches

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should return data correctly with x-matched-path for optional catch-all route

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should not apply trailingSlash redirect

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should normalize catch-all rewrite query values correctly

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should bubble error correctly for gip page

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should bubble error correctly for gssp page

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should bubble error correctly for gsp page

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should bubble error correctly for API page

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should normalize optional values correctly for SSP page

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should normalize optional values correctly for SSG page

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should normalize optional values correctly for SSG page with encoded slash

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should normalize optional values correctly for API page

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should match the index page correctly

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

● Required Server Files › should match the root dyanmic page correctly

Command failed with exit code 1 (EPERM): yarn install

  42 |     await fs.writeFile(
  43 |       join(workDir, 'package.json'),
> 44 |       JSON.stringify({
     |         ^
  45 |         dependencies: {
  46 |           next: packagePath,
  47 |           react: 'latest',

  at makeError (../node_modules/execa/lib/error.js:58:11)
  at handlePromise (../node_modules/execa/index.js:112:26)
  at integration/required-server-files/test/index.test.js:44:9

@timneutkens timneutkens merged commit dc1e906 into canary Sep 6, 2021
@timneutkens timneutkens deleted the webpack/update branch September 6, 2021 08:59
@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants