feat: support Cypress 16 - #193
Merged
Merged
Conversation
Cypress 16 is released, but the peerDependencies range stops at ^15, so installing cypress-axe alongside it produces an unmet peer warning. Widen the range to include ^16 and add 16 to the CI matrix so support is actually exercised rather than just declared. Verified locally against cypress@16.0.0 on Chrome 152 (Node 24): the existing suite passes unchanged, and cypress-axe's source uses none of the APIs v16 removed (Cypress.env(), cy.exec(), cy.end()). Closes component-driven#192 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cypress 16.0.0 is out, but
peerDependenciesstops at^15, so installingcypress-axealongside it produces an unmet peer warning. Fixes #192.Changes
package.json— add^16to thecypresspeer range..github/workflows/node.js.yml— add16to thecypress-versionmatrix, so support is exercised in CI rather than only declared.This mirrors #187 ("feat: support Cypress 15") in both shape and commit type, so semantic-release will cut a minor.
Verification
Ran this branch locally against
cypress@16.0.0on Chrome 152 / Node 24:I also checked
cypress-axe's source against the APIs v16 removed —Cypress.env(),cy.exec(),cy.end(),experimentalSourceRewriting,allowCypressEnv— and none are used, which is consistent with the suite passing unchanged.One thing worth a maintainer's eye
Cypress 16 requires Node 22.x, 24.x, or 26+. The matrix uses
node-version: [lts/*, lts/-1], which currently resolves to 24 and 22, so the new leg should be fine — but that is the one part of this change that could go red iflts/-1resolves lower in your runners.🤖 Generated with Claude Code