(pathname: string)
| 993 | }; |
| 994 | |
| 995 | export const getFinalPathSegment = (pathname: string): string | undefined => |
| 996 | pathname.split(/[?#&]/)[0].split('/').filter(Boolean).pop(); |
| 997 | |
| 998 | /** |
| 999 | * Canonicalize a candidate URL value so trivial obfuscations cannot bypass a |
no outgoing calls
no test coverage detected