From db2e6e51fe5f83cf2f6d735fabd2bfed2fd2f504 Mon Sep 17 00:00:00 2001 From: Ethan Setnik Date: Wed, 2 Sep 2026 22:44:27 -0400 Subject: [PATCH] feat: support Cypress 16 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 #192 Co-Authored-By: Claude Opus 5 --- .github/workflows/node.js.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 87bf914..be8ddfe 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: node-version: [lts/*, lts/-1] - cypress-version: [10, 11, 12, 13, 14, 15] + cypress-version: [10, 11, 12, 13, 14, 15, 16] steps: - uses: actions/checkout@v3 diff --git a/package.json b/package.json index 5934ba4..3236ef4 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "peerDependencies": { "axe-core": "^3 || ^4", - "cypress": "^10 || ^11 || ^12 || ^13 || ^14 || ^15" + "cypress": "^10 || ^11 || ^12 || ^13 || ^14 || ^15 || ^16" }, "devDependencies": { "@types/node": "^22.13.14",