You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is a regression that may have happened a while ago.
In Cloudflare functions (eg: In Pages), if you run toString.call(new URLSearchParams()), you get [object Object].
In Nodejs, or in Chrome, the result is [object URLSearchParams]
Some libraries depend on this behavior for runtime type checking where instanceOf might not be reliable.
I believe this used to work, as I stumbled on some library that had been tested in Cloudflare worker/pages in the past and got the expected result, but it no longer does (I cannot confirm this).
Issue reproed in a Cloudflare Pages project in a Function.
The text was updated successfully, but these errors were encountered:
I believe this is a regression that may have happened a while ago.
In Cloudflare functions (eg: In Pages), if you run
toString.call(new URLSearchParams())
, you get[object Object]
.In Nodejs, or in Chrome, the result is
[object URLSearchParams]
Some libraries depend on this behavior for runtime type checking where instanceOf might not be reliable.
I believe this used to work, as I stumbled on some library that had been tested in Cloudflare worker/pages in the past and got the expected result, but it no longer does (I cannot confirm this).
Issue reproed in a Cloudflare Pages project in a Function.
The text was updated successfully, but these errors were encountered: