@absolutejs/absolute 0.19.0-beta.959 → 0.19.0-beta.960

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.
@@ -11,6 +11,13 @@ export type ExtractedRoute = {
11
11
  };
12
12
  /** Walk every TypeScript source file under `projectRoot` and return the
13
13
  * Elysia route registrations found. Skip-dirs (`node_modules`, `dist`,
14
- * `build`, framework build caches, dotfile dirs) are excluded. Duplicate
15
- * `method + path` pairs are deduplicated, last definition wins. */
14
+ * `build`, framework build caches, dotfile dirs) are excluded.
15
+ *
16
+ * No path deduplication here on purpose: the same path (e.g. `/`) is
17
+ * frequently registered by multiple plugins (one page route at the
18
+ * root, several API sub-plugins under prefixes like `/v1/foo`). The
19
+ * scanner has no way to know the prefix without tracing `.use()` /
20
+ * `new Elysia({ prefix })`, but it doesn't need to — sitemap discovery
21
+ * downstream filters by `isPageHandler` and then dedups by mount path,
22
+ * so API duplicates are dropped naturally. */
16
23
  export declare const scanRouteRegistrations: (projectRoot: string) => ExtractedRoute[];
package/package.json CHANGED
@@ -401,5 +401,5 @@
401
401
  ]
402
402
  }
403
403
  },
404
- "version": "0.19.0-beta.959"
404
+ "version": "0.19.0-beta.960"
405
405
  }