(path: string)
| 95 | * host- and port-specific origins (`http://127.0.0.1:4789/assets/…`), which are |
| 96 | * volatile in their own right. */ |
| 97 | const basename = (path: string): string => { |
| 98 | const clean = path.split(/[?#]/)[0] ?? path; |
| 99 | const segments = clean.split(/[/\\]/); |
| 100 | return segments[segments.length - 1] || clean; |
| 101 | }; |
| 102 | |
| 103 | const frameLocation = (frame: GroupingFrame): string | undefined => { |
| 104 | if (frame.module) return stripContentHashes(frame.module); |
no outgoing calls