@vercel/remix-builder 5.4.12 → 5.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2591,7 +2591,7 @@ function* getRouteIterator(route, routes) {
2591
2591
  }
2592
2592
  function getPathFromRoute(input, routes) {
2593
2593
  let route = input;
2594
- if (route.id === "root" || (!route.path || route.path === "/") && route.index) {
2594
+ if (route.id === "root" || !route.path && route.index || route.path === "/") {
2595
2595
  route = { ...route, path: "index" };
2596
2596
  }
2597
2597
  const pathParts = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/remix-builder",
3
- "version": "5.4.12",
3
+ "version": "5.4.13",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "homepage": "https://vercel.com/docs",
@@ -26,7 +26,7 @@
26
26
  "@types/jest": "27.5.1",
27
27
  "@types/node": "14.18.33",
28
28
  "@types/semver": "7.3.13",
29
- "@vercel/build-utils": "11.0.2",
29
+ "@vercel/build-utils": "12.1.0",
30
30
  "glob": "10.3.16",
31
31
  "jest-junit": "16.0.0",
32
32
  "semver": "7.5.2",