fix: use URLSearchParams.forEach to avoid iterator lib requirement

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-05-18 23:44:57 +00:00
co-authored by Claude Opus 4.7
parent 6fb85ee32d
commit 42feec1b2c
@@ -56,9 +56,9 @@
if (!url) {
return null
}
for (const [key, value] of params) {
params.forEach((value, key) => {
url.searchParams.set(key, value)
}
})
return url.toString()
}