oats7777
oats7777
This PR addresses the compatibility issue with Node.js v14 in the conditional check for route within the routeSegments array. The original code utilized the at() method, which is only supported...
1. Error message handling: Previously, error messages were handled inline within the main function, making the code harder to read and maintain. This PR introduces a separate function, printErrorAndExit, which...
The type of parameter in the fixupIndexRoutes function changed from any to RouteManifest. This is because I think it is better to increase safety by specifying a specific type rather...