This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Commit 492ddef
authored
Svelte: Fix Safari 17.3 groupBy usage (#63964)
Currently, svelte build of Sourcegraph is broken on s2 and dotcom for
users who use Safari 17.3 and lower
The problem is that we use the `Object.groupBy` method, which isn't
supported in "old" Safari versions like 17.3 and lower. See caniuse
documentation about this here https://caniuse.com/?search=groupBy (in
the old Safari version this method is actually named `groupToMap`
## Test plan
- Check basic functionality Search flow in Safari (especially in Safari
17.3)
<!-- REQUIRED; info at
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles
-->
## Changelog
<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->1 parent b5ac21b commit 492ddef
File tree
1 file changed
+3
-2
lines changed- client/web-sveltekit/src/lib/search/dynamicFilters
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
165 | | - | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
0 commit comments