Per Mozilla docs, searchParams should contain the parsed query params. https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams. But url-parse does not support this.