diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 18cb65fb0c7d0..2672c55739fd3 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -161,7 +161,7 @@ "@babel/preset-react": "^7.22.5", "@babel/register": "^7.23.7", "@babel/types": "^7.24.9", - "@cypress/react": "^5.10.0", + "@cypress/react": "^8.0.2", "@emotion/babel-plugin": "^11.11.0", "@emotion/jest": "^11.11.0", "@hot-loader/react-dom": "^16.14.0", @@ -3496,78 +3496,23 @@ "node": ">=10" } }, - "node_modules/@cypress/mount-utils": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, "node_modules/@cypress/react": { - "version": "5.12.5", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@cypress/react/-/react-8.0.2.tgz", + "integrity": "sha512-7TgXXEeJ/GnGiIQhO8mAfkyychyMv5hNyISV3ti/vceriTI0uGtbjwRqLQhuVgOSHLtboUZUIoRlR6BkgIdVVg==", "dev": true, - "license": "MIT", - "dependencies": { - "@cypress/mount-utils": "1.0.2", - "debug": "^4.3.2", - "find-webpack": "2.2.1", - "find-yarn-workspace-root": "2.0.0" - }, "peerDependencies": { - "@babel/core": ">=7", - "@babel/preset-env": ">=7", - "@cypress/webpack-dev-server": "*", "@types/react": "^16.9.16 || ^17.0.0", - "babel-loader": ">=8", "cypress": "*", - "next": ">=8", "react": "^=16.x || ^=17.x", - "react-dom": "^=16.x || ^=17.x", - "webpack": ">=4" + "react-dom": "^=16.x || ^=17.x" }, "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@babel/preset-env": { - "optional": true - }, - "@cypress/webpack-dev-server": { - "optional": true - }, "@types/react": { "optional": true - }, - "babel-loader": { - "optional": true - }, - "next": { - "optional": true - }, - "webpack": { - "optional": true - } - } - }, - "node_modules/@cypress/react/node_modules/debug": { - "version": "4.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true } } }, - "node_modules/@cypress/react/node_modules/ms": { - "version": "2.1.2", - "dev": true, - "license": "MIT" - }, "node_modules/@cypress/request": { "version": "3.0.1", "dev": true, @@ -18738,6 +18683,7 @@ "version": "2.24.0", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8.0" } @@ -25311,129 +25257,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-webpack": { - "version": "2.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "4.1.1", - "find-yarn-workspace-root": "1.2.1", - "mocked-env": "1.3.2" - } - }, - "node_modules/find-webpack/node_modules/debug": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/find-webpack/node_modules/find-yarn-workspace-root": { - "version": "1.2.1", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "fs-extra": "^4.0.3", - "micromatch": "^3.1.4" - } - }, - "node_modules/find-webpack/node_modules/fs-extra": { - "version": "4.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "node_modules/find-webpack/node_modules/jsonfile": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/find-webpack/node_modules/ms": { - "version": "2.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/find-webpack/node_modules/universalify": { - "version": "0.1.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/find-yarn-workspace-root": { - "version": "2.0.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "micromatch": "^4.0.2" - } - }, - "node_modules/find-yarn-workspace-root/node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-yarn-workspace-root/node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-yarn-workspace-root/node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/find-yarn-workspace-root/node_modules/micromatch": { - "version": "4.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/find-yarn-workspace-root/node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, "node_modules/flat": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", @@ -32585,6 +32408,7 @@ "version": "1.6.0", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "> 0.8" } @@ -39460,33 +39284,6 @@ "node": ">= 8" } }, - "node_modules/mocked-env": { - "version": "1.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "check-more-types": "2.24.0", - "debug": "4.1.1", - "lazy-ass": "1.6.0", - "ramda": "0.26.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/mocked-env/node_modules/debug": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/mocked-env/node_modules/ms": { - "version": "2.1.3", - "dev": true, - "license": "MIT" - }, "node_modules/modify-values": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", @@ -43856,11 +43653,6 @@ "dev": true, "license": "CC0-1.0" }, - "node_modules/ramda": { - "version": "0.26.1", - "dev": true, - "license": "MIT" - }, "node_modules/randexp": { "version": "0.4.6", "dev": true, @@ -59422,32 +59214,12 @@ "@ctrl/tinycolor": { "version": "3.6.1" }, - "@cypress/mount-utils": { - "version": "1.0.2", - "dev": true - }, "@cypress/react": { - "version": "5.12.5", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@cypress/react/-/react-8.0.2.tgz", + "integrity": "sha512-7TgXXEeJ/GnGiIQhO8mAfkyychyMv5hNyISV3ti/vceriTI0uGtbjwRqLQhuVgOSHLtboUZUIoRlR6BkgIdVVg==", "dev": true, - "requires": { - "@cypress/mount-utils": "1.0.2", - "debug": "^4.3.2", - "find-webpack": "2.2.1", - "find-yarn-workspace-root": "2.0.0" - }, - "dependencies": { - "debug": { - "version": "4.3.2", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "dev": true - } - } + "requires": {} }, "@cypress/request": { "version": "3.0.1", @@ -72225,7 +71997,8 @@ }, "check-more-types": { "version": "2.24.0", - "dev": true + "dev": true, + "peer": true }, "cheerio": { "version": "1.0.0-rc.12", @@ -76643,106 +76416,6 @@ "find-up-simple": { "version": "1.0.0" }, - "find-webpack": { - "version": "2.2.1", - "dev": true, - "requires": { - "debug": "4.1.1", - "find-yarn-workspace-root": "1.2.1", - "mocked-env": "1.3.2" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "find-yarn-workspace-root": { - "version": "1.2.1", - "dev": true, - "requires": { - "fs-extra": "^4.0.3", - "micromatch": "^3.1.4" - } - }, - "fs-extra": { - "version": "4.0.3", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "jsonfile": { - "version": "4.0.0", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "ms": { - "version": "2.1.3", - "dev": true - }, - "universalify": { - "version": "0.1.2", - "dev": true - } - } - }, - "find-yarn-workspace-root": { - "version": "2.0.0", - "dev": true, - "requires": { - "micromatch": "^4.0.2" - }, - "dependencies": { - "braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "requires": { - "fill-range": "^7.1.1" - } - }, - "fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true - }, - "micromatch": { - "version": "4.0.4", - "dev": true, - "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" - } - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - } - } - }, "flat": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", @@ -81345,7 +81018,8 @@ }, "lazy-ass": { "version": "1.6.0", - "dev": true + "dev": true, + "peer": true }, "lazy-universal-dotenv": { "version": "4.0.0", @@ -85175,29 +84849,6 @@ "version": "9.3.1", "dev": true }, - "mocked-env": { - "version": "1.3.2", - "dev": true, - "requires": { - "check-more-types": "2.24.0", - "debug": "4.1.1", - "lazy-ass": "1.6.0", - "ramda": "0.26.1" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ms": { - "version": "2.1.3", - "dev": true - } - } - }, "modify-values": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", @@ -87956,10 +87607,6 @@ "version": "1.0.0", "dev": true }, - "ramda": { - "version": "0.26.1", - "dev": true - }, "randexp": { "version": "0.4.6", "dev": true, diff --git a/superset-frontend/package.json b/superset-frontend/package.json index bd69b2491555b..a8af2b100d412 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -227,7 +227,7 @@ "@babel/preset-react": "^7.22.5", "@babel/register": "^7.23.7", "@babel/types": "^7.24.9", - "@cypress/react": "^5.10.0", + "@cypress/react": "^8.0.2", "@emotion/babel-plugin": "^11.11.0", "@emotion/jest": "^11.11.0", "@hot-loader/react-dom": "^16.14.0",