If a yarn.lock was generated before the release of @cypress/request@3.0.1 on Sept 6, 2023 it is possible for an installation of Cypress to continue to hold the deprecated qs@6.10.5 version instead of reverting to the supported qs@6.10.4 version.
Any installation of cypress@13.0.0 or later should cause the non-deprecated version qs@6.10.4, as a dependency of @cypress/request, to be installed. This should be independent of the previous history of installation according to any existing node_modules directory or package manager lock file.
It should not be necessary to uninstall Cypress and reinstall it in order to reach a supported configuration.
Current behavior
If a
yarn.lock
was generated before the release of @cypress/request@3.0.1 on Sept 6, 2023 it is possible for an installation of Cypress to continue to hold the deprecated qs@6.10.5 version instead of reverting to the supported qs@6.10.4 version.Desired behavior
Any installation of cypress@13.0.0 or later should cause the non-deprecated version qs@6.10.4, as a dependency of @cypress/request, to be installed. This should be independent of the previous history of installation according to any existing
node_modules
directory or package manager lock file.It should not be necessary to uninstall Cypress and reinstall it in order to reach a supported configuration.
Test code to reproduce
Cypress Version
13.13.0
Node version
v20.15.1
LTSOperating System
Ubuntu
22.04.4
LTSDebug Logs
Other
Suggestion
In https://github.com/cypress-io/cypress/blob/develop/cli/package.json
https://github.com/cypress-io/cypress/blob/cbbc8ee21beea08ce0e347f9bb2e95da83b9849d/cli/package.json#L23
bump to
"@cypress/request": "^3.0.1"