diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 1a8a962a45d90..eab55d7e66c98 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -160,7 +160,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", @@ -3495,78 +3495,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, @@ -18736,6 +18681,7 @@ "version": "2.24.0", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">= 0.8.0" } @@ -21213,8 +21159,9 @@ } }, "node_modules/dayjs": { - "version": "1.11.12", - "license": "MIT" + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" }, "node_modules/deasync": { "version": "0.1.29", @@ -25308,129 +25255,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", @@ -32581,6 +32405,7 @@ "version": "1.6.0", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": "> 0.8" } @@ -39456,33 +39281,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", @@ -43852,11 +43650,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, @@ -55585,61 +55378,6 @@ "@superset-ui/plugin-chart-word-cloud": "*" } }, - "packages/superset-ui-demo/node_modules/@emotion/hash": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", - "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==" - }, - "packages/superset-ui-demo/node_modules/@emotion/memoize": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz", - "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==" - }, - "packages/superset-ui-demo/node_modules/@emotion/react": { - "version": "11.13.3", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.13.3.tgz", - "integrity": "sha512-lIsdU6JNrmYfJ5EbUCf4xW1ovy5wKQ2CkPRM4xogziOxH1nXxBSjpC9YqbFAP7circxMfYp+6x676BqWcEiixg==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.12.0", - "@emotion/cache": "^11.13.0", - "@emotion/serialize": "^1.3.1", - "@emotion/use-insertion-effect-with-fallbacks": "^1.1.0", - "@emotion/utils": "^1.4.0", - "@emotion/weak-memoize": "^0.4.0", - "hoist-non-react-statics": "^3.3.1" - }, - "peerDependencies": { - "react": ">=16.8.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "packages/superset-ui-demo/node_modules/@emotion/serialize": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.2.tgz", - "integrity": "sha512-grVnMvVPK9yUVE6rkKfAJlYZgo0cu3l9iMC77V7DW6E1DUIrU68pSEXRmFZFOFB1QFo57TncmOcvcbMDWsL4yA==", - "dependencies": { - "@emotion/hash": "^0.9.2", - "@emotion/memoize": "^0.9.0", - "@emotion/unitless": "^0.10.0", - "@emotion/utils": "^1.4.1", - "csstype": "^3.0.2" - } - }, - "packages/superset-ui-demo/node_modules/@emotion/unitless": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz", - "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==" - }, - "packages/superset-ui-demo/node_modules/@emotion/utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.1.tgz", - "integrity": "sha512-BymCXzCG3r72VKJxaYVwOXATqXIZ85cuvg0YOUDxMGNrKc1DJRZk8MgV5wyXRyEayIMd4FuXJIUgTBXvDNW5cA==" - }, "packages/superset-ui-demo/node_modules/@jridgewell/sourcemap-codec": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", @@ -59471,32 +59209,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", @@ -65541,53 +65259,6 @@ "typescript": "^4.5.4" }, "dependencies": { - "@emotion/hash": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", - "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==" - }, - "@emotion/memoize": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz", - "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==" - }, - "@emotion/react": { - "version": "11.13.3", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.13.3.tgz", - "integrity": "sha512-lIsdU6JNrmYfJ5EbUCf4xW1ovy5wKQ2CkPRM4xogziOxH1nXxBSjpC9YqbFAP7circxMfYp+6x676BqWcEiixg==", - "requires": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.12.0", - "@emotion/cache": "^11.13.0", - "@emotion/serialize": "^1.3.1", - "@emotion/use-insertion-effect-with-fallbacks": "^1.1.0", - "@emotion/utils": "^1.4.0", - "@emotion/weak-memoize": "^0.4.0", - "hoist-non-react-statics": "^3.3.1" - } - }, - "@emotion/serialize": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.2.tgz", - "integrity": "sha512-grVnMvVPK9yUVE6rkKfAJlYZgo0cu3l9iMC77V7DW6E1DUIrU68pSEXRmFZFOFB1QFo57TncmOcvcbMDWsL4yA==", - "requires": { - "@emotion/hash": "^0.9.2", - "@emotion/memoize": "^0.9.0", - "@emotion/unitless": "^0.10.0", - "@emotion/utils": "^1.4.1", - "csstype": "^3.0.2" - } - }, - "@emotion/unitless": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz", - "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==" - }, - "@emotion/utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.1.tgz", - "integrity": "sha512-BymCXzCG3r72VKJxaYVwOXATqXIZ85cuvg0YOUDxMGNrKc1DJRZk8MgV5wyXRyEayIMd4FuXJIUgTBXvDNW5cA==" - }, "@jridgewell/sourcemap-codec": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", @@ -72319,7 +71990,8 @@ }, "check-more-types": { "version": "2.24.0", - "dev": true + "dev": true, + "peer": true }, "cheerio": { "version": "1.0.0-rc.12", @@ -74006,7 +73678,9 @@ "dev": true }, "dayjs": { - "version": "1.11.12" + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" }, "deasync": { "version": "0.1.29", @@ -76735,106 +76409,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", @@ -81435,7 +81009,8 @@ }, "lazy-ass": { "version": "1.6.0", - "dev": true + "dev": true, + "peer": true }, "lazy-universal-dotenv": { "version": "4.0.0", @@ -85265,29 +84840,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", @@ -88046,10 +87598,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 7bc6a68592cbb..2d9ee9fa0365f 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -226,7 +226,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",