From ca14528be713cd543a99c7b854ce5c95179ff08c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 19 Aug 2026 18:36:11 +0000 Subject: [PATCH 1/2] Update dependency eslint-plugin-cypress to v7 --- package-lock.json | 24 +++++++++++++++--------- package.json | 2 +- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 545afa6..009a6ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "browser-sync": "3.0.4", "cypress": "15.20.1", "eslint": "10.8.1", - "eslint-plugin-cypress": "5.3.0", + "eslint-plugin-cypress": "7.0.0", "eslint-plugin-jest": "29.16.1", "gulp": "5.0.1", "gulp-clean": "0.4.0", @@ -4176,22 +4176,28 @@ } }, "node_modules/eslint-plugin-cypress": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-5.3.0.tgz", - "integrity": "sha512-qjHF2Sdi3VkXSMnfQeUqsbYnessgc6T2dus/Q1U+e5102GpPy9eLd8MWW2Xp2SS9bMpPNLnSHwktMhCKr0dIBg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-7.0.0.tgz", + "integrity": "sha512-gpvL3S1w45c0DORI/P5v3k1UUW2NKje3JiFz+oTHGF6dZa6ZPBokItJS7jP0BXGPEgI3RpHyAMNMAJ9K5P0bow==", "dev": true, "license": "MIT", "dependencies": { - "globals": "^16.5.0" + "globals": "^17.9.0" }, "peerDependencies": { - "eslint": ">=9" + "@typescript-eslint/parser": ">=8", + "eslint": ">=10" + }, + "peerDependenciesMeta": { + "@typescript-eslint/parser": { + "optional": true + } } }, "node_modules/eslint-plugin-cypress/node_modules/globals": { - "version": "16.5.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz", - "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==", + "version": "17.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.11.0.tgz", + "integrity": "sha512-Z2I8hM+PbJDXQDq3Icgpzv+mPdwr68iZUU9d5WW4FuXfDUQfkZaZuvjMv42/5crNyw154+9+VWXbYrUgDXbxNw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index af2df4e..8a7e53d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "browser-sync": "3.0.4", "cypress": "15.20.1", "eslint": "10.8.1", - "eslint-plugin-cypress": "5.3.0", + "eslint-plugin-cypress": "7.0.0", "eslint-plugin-jest": "29.16.1", "gulp": "5.0.1", "gulp-clean": "0.4.0", From 5d8c6bce2fe416bf8053af8fa046f47baba1817c Mon Sep 17 00:00:00 2001 From: Scott Vandehey Date: Wed, 19 Aug 2026 14:10:12 -0700 Subject: [PATCH 2/2] Import eslint-plugin-cypress from its root entry point eslint-plugin-cypress v6 removed the deprecated `/flat` subpath from its exports map, so importing it threw ERR_PACKAGE_PATH_NOT_EXPORTED and failed lint:js:check. The root export provides configs.recommended, so only the import specifier needed to change. --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index ca63e2c..10ba5d8 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,6 +1,6 @@ /* eslint-disable n/no-unpublished-import */ import cloudFourConfig from '@cloudfour/eslint-config'; -import pluginCypress from 'eslint-plugin-cypress/flat'; +import pluginCypress from 'eslint-plugin-cypress'; import pluginJest from 'eslint-plugin-jest'; export default [