BREAKING_CHANGE(iso): rename pathJoin to join for better API consistency

This commit is contained in:
2025-07-28 22:31:00 +00:00
parent ff1e6242a3
commit 047d7fcab9
5 changed files with 43 additions and 35 deletions

View File

@@ -4,7 +4,7 @@
* @param segments - Path segments to join
* @returns Joined path string
*/
export function pathJoin(...segments: string[]): string {
export function join(...segments: string[]): string {
// Filter out empty strings and non-string values
const validSegments = segments.filter(segment =>
typeof segment === 'string' && segment.length > 0