deprecated qs@6.10.5
dependency of @cypress/request
not reverted to qs@6.10.4
#29863
Labels
process: dependencies
Related to internal dependencies
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.[]
is appended on single-item arrays. Upgrade to v6.11.0 or downgrade to v6.10.4 to fix. #27644 (comment).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
npm install yarn@latest -g git clone https://github.com/cypress-io/github-action git checkout cdb79e380ec33758c5c7436e67a84243e1302c90 cd github-action/examples/yarn-classic git clean -xfd yarn install --frozen-lockfile yarn add cypress@latest -D yarn list --pattern qs
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
cypress/cli/package.json
Line 23 in cbbc8ee
bump to
"@cypress/request": "^3.0.1"
The text was updated successfully, but these errors were encountered: