• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OneBusAway / wayfinder / 23676368898

28 Mar 2026 03:20AM UTC coverage: 74.321%. First build
23676368898

Pull #453

github

web-flow
Merge ccd597435 into 019d5a038
Pull Request #453: Fix critical dependency vulnerabilities + Svelte 5 compatibility fixes

1946 of 2131 branches covered (91.32%)

Branch coverage included in aggregate %.

17 of 47 new or added lines in 25 files covered. (36.17%)

11266 of 15646 relevant lines covered (72.01%)

5.09 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/navigation/OverflowMenu.svelte
1
<script>
×
2
        let { links = [], onClose } = $props();
×
3
        let menuRef = $state(null);
×
4

5
        $effect(() => {
×
6
                const handleClickOutside = (e) => {
×
7
                        if (menuRef && !menuRef.contains(e.target)) {
×
8
                                onClose();
9
                        }
×
10
                };
×
11
                // Delay adding listener to avoid immediate close from the click that opened it
12
                const timeoutId = setTimeout(() => {
×
13
                        document.addEventListener('click', handleClickOutside);
×
14
                }, 0);
×
15
                return () => {
×
16
                        clearTimeout(timeoutId);
×
17
                        document.removeEventListener('click', handleClickOutside);
×
18
                };
×
19
        });
×
20
</script>
×
21

22
<div
×
23
        bind:this={menuRef}
×
24
        class="absolute end-0 top-full z-[9999] mt-1 min-w-[150px] rounded-md border border-gray-300 bg-surface shadow-lg dark:border-gray-600 dark:bg-surface-dark"
25
>
26
        <div class="flex flex-col py-1">
×
NEW
27
                {#each links as { key, value } (key)}
×
28
                        <a
×
29
                                href={value}
×
30
                                onclick={onClose}
31
                                class="block px-4 py-2 text-sm font-semibold text-surface-foreground hover:bg-gray-100 dark:text-surface-foreground-dark dark:hover:bg-gray-700"
32
                        >
33
                                {key}
×
34
                        </a>
35
                {/each}
36
        </div>
37
</div>
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc