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
We currently use the legacy url API in a lot of our codebase which is not WHATWG URL API compliant and can lead to differences from what we receive from CDP (see #28354). We should update to use the newer URL class.
Why is this needed?
To ensure we are staying up to date with the current URL standards.
Other
No response
The text was updated successfully, but these errors were encountered:
I would like to work on this issue, could someone please assign me
The WHATWG API docs says you should use const url = require('node:url'); to access it, is this what I'm meant to do?
Also, is the url.d.ts type at /workspaces/cypress/node_modules/@types/node/url.d.ts related to this?
I'm planning to update uri.ts at /workspaces/cypress/packages/network/lib/uri.ts but I think .query and .path would have to be replaced by .search in the new API in this part:
Hi @alex-k-exe 👋, sorry for the delay in responding and thanks for your interest in contributing. I took a look at this issue again and removed the good first issue label since it is more involved than just changing over to the new URL API due to lack of support for relative urls.
What would you like?
We currently use the legacy url API in a lot of our codebase which is not WHATWG URL API compliant and can lead to differences from what we receive from CDP (see #28354). We should update to use the newer URL class.
Why is this needed?
To ensure we are staying up to date with the current URL standards.
Other
No response
The text was updated successfully, but these errors were encountered: