From 7a1eabd919aec1a1d7218b893f10097bc307cb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Dombya?= <135591453+hervedombya@users.noreply.github.com> Date: Fri, 17 Jan 2025 13:32:48 +0100 Subject: [PATCH] Update @scality/core-ui and @scality/module-federation dependencies to stable versions --- ui/package-lock.json | 182 ++++++++++++++++++++++++++++--------------- ui/package.json | 6 +- 2 files changed, 123 insertions(+), 65 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index e1fffe0277..e54fdec5f8 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -12,8 +12,8 @@ "@hookform/resolvers": "^3.1.0", "@js-temporal/polyfill": "^0.4.4", "@kubernetes/client-node": "github:scality/kubernetes-client-javascript.git#browser-0.10.4-64-ge7c6721", - "@scality/core-ui": "git+https://github.com/scality/core-ui#feature/ARTESCA-13970", - "@scality/module-federation": "git+https://github.com/scality/module-federation#c571388783a2a51ae3bf5d36ae66753c8b014bb5", + "@scality/core-ui": "0.155.0", + "@scality/module-federation": "^1.4.0", "axios": "^0.21.1", "formik": "2.2.5", "jsonpath": "^1.1.1", @@ -2575,10 +2575,53 @@ "node": ">=8" } }, + "node_modules/@floating-ui/core": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz", + "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==", + "dependencies": { + "@floating-ui/utils": "^0.2.9" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.6.13", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz", + "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==", + "dependencies": { + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.9" + } + }, + "node_modules/@floating-ui/react": { + "version": "0.26.28", + "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.26.28.tgz", + "integrity": "sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw==", + "dependencies": { + "@floating-ui/react-dom": "^2.1.2", + "@floating-ui/utils": "^0.2.8", + "tabbable": "^6.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz", + "integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==", + "dependencies": { + "@floating-ui/dom": "^1.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, "node_modules/@floating-ui/utils": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.1.tgz", - "integrity": "sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q==" + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz", + "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==" }, "node_modules/@formatjs/ecma402-abstract": { "version": "1.9.3", @@ -5264,12 +5307,12 @@ "dev": true }, "node_modules/@scality/core-ui": { - "version": "0.151.0", - "resolved": "git+ssh://git@github.com/scality/core-ui.git#0d55701c7151e0e3ff7a7dad3b966896fb0c448d", - "integrity": "sha512-Y/1cOSroAAIEz/TPNpd/gd2ey29IauN3GUoa1nmFcqKTUKzTlYrQqmtL5AfID6HOVWE8BslzGDtsGeGwNmMn0w==", - "license": "SEE LICENSE IN LICENSE", + "version": "0.155.0", + "resolved": "https://registry.npmjs.org/@scality/core-ui/-/core-ui-0.155.0.tgz", + "integrity": "sha512-XvkkdOkC2rDX5hAAGtSuLPwmJn+FKg4PmKn9gL8K6CaPyNTpo1y8Itjn96GTdFSvL0McuSwCWJoR3BgGDYVmdQ==", "dependencies": { "@floating-ui/dom": "^1.6.3", + "@floating-ui/react": "^0.26.28", "@fortawesome/fontawesome-free": "^5.10.2", "@fortawesome/fontawesome-svg-core": "^1.2.35", "@fortawesome/free-regular-svg-icons": "^5.15.3", @@ -5287,8 +5330,8 @@ "react-dropzone": "^14.2.3", "react-hook-form": "^7.49.2", "react-query": "^3.34.0", - "react-router": "^7.0.1", - "react-router-dom": "^7.0.1", + "react-router": "7.0.1", + "react-router-dom": "7.0.1", "react-select": "4.3.1", "react-table": "^7.7.0", "react-test-renderer": "^18.3.1", @@ -5303,28 +5346,13 @@ "vega-tooltip": "0.27.0" } }, - "node_modules/@scality/core-ui/node_modules/@floating-ui/core": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.0.tgz", - "integrity": "sha512-PcF++MykgmTj3CIyOQbKA/hDzOAiqI3mhuoN44WRCopIs1sgoDoU4oty4Jtqaj/y3oDU6fnVSm4QG0a3t5i0+g==", - "dependencies": { - "@floating-ui/utils": "^0.2.1" - } - }, - "node_modules/@scality/core-ui/node_modules/@floating-ui/dom": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.3.tgz", - "integrity": "sha512-RnDthu3mzPlQ31Ss/BTwQ1zjzIhr3lk1gZB1OC56h/1vEtaXkESrOqL5fQVMfXpwGtRwX+YsZBdyHtJMQnkArw==", - "dependencies": { - "@floating-ui/core": "^1.0.0", - "@floating-ui/utils": "^0.2.0" - } - }, "node_modules/@scality/module-federation": { - "version": "1.3.4", - "resolved": "git+ssh://git@github.com/scality/module-federation.git#c571388783a2a51ae3bf5d36ae66753c8b014bb5", - "integrity": "sha512-lrpXm7Skkq/CtGQRI563pSelewbeNaBBbs3J4zzCiheb0H2fSs6JF6lqQHQjL9A0HRVjfnArotXlF8E8JzVtnw==", - "license": "SEE LICENSE IN LICENSE", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@scality/module-federation/-/module-federation-1.4.0.tgz", + "integrity": "sha512-oG2ga13gsW3HPj9rxWgMApj0HC2zAmzW1+vVHtXCOKCGRNfHPyyAXjVOAAfyF87915PE4XLyZt5XGI5dB3nEig==", + "dependencies": { + "react-router": "^7.0.1" + }, "peerDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" @@ -24560,6 +24588,11 @@ "acorn-node": "^1.2.0" } }, + "node_modules/tabbable": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", + "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==" + }, "node_modules/table": { "version": "6.7.1", "dev": true, @@ -28926,10 +28959,45 @@ } } }, + "@floating-ui/core": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz", + "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==", + "requires": { + "@floating-ui/utils": "^0.2.9" + } + }, + "@floating-ui/dom": { + "version": "1.6.13", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz", + "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==", + "requires": { + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.9" + } + }, + "@floating-ui/react": { + "version": "0.26.28", + "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.26.28.tgz", + "integrity": "sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw==", + "requires": { + "@floating-ui/react-dom": "^2.1.2", + "@floating-ui/utils": "^0.2.8", + "tabbable": "^6.0.0" + } + }, + "@floating-ui/react-dom": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz", + "integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==", + "requires": { + "@floating-ui/dom": "^1.0.0" + } + }, "@floating-ui/utils": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.1.tgz", - "integrity": "sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q==" + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz", + "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==" }, "@formatjs/ecma402-abstract": { "version": "1.9.3", @@ -31042,11 +31110,12 @@ "dev": true }, "@scality/core-ui": { - "version": "git+ssh://git@github.com/scality/core-ui.git#0d55701c7151e0e3ff7a7dad3b966896fb0c448d", - "integrity": "sha512-Y/1cOSroAAIEz/TPNpd/gd2ey29IauN3GUoa1nmFcqKTUKzTlYrQqmtL5AfID6HOVWE8BslzGDtsGeGwNmMn0w==", - "from": "@scality/core-ui@git+https://github.com/scality/core-ui#feature/ARTESCA-13970", + "version": "0.155.0", + "resolved": "https://registry.npmjs.org/@scality/core-ui/-/core-ui-0.155.0.tgz", + "integrity": "sha512-XvkkdOkC2rDX5hAAGtSuLPwmJn+FKg4PmKn9gL8K6CaPyNTpo1y8Itjn96GTdFSvL0McuSwCWJoR3BgGDYVmdQ==", "requires": { "@floating-ui/dom": "^1.6.3", + "@floating-ui/react": "^0.26.28", "@fortawesome/fontawesome-free": "^5.10.2", "@fortawesome/fontawesome-svg-core": "^1.2.35", "@fortawesome/free-regular-svg-icons": "^5.15.3", @@ -31064,8 +31133,8 @@ "react-dropzone": "^14.2.3", "react-hook-form": "^7.49.2", "react-query": "^3.34.0", - "react-router": "^7.0.1", - "react-router-dom": "^7.0.1", + "react-router": "7.0.1", + "react-router-dom": "7.0.1", "react-select": "4.3.1", "react-table": "^7.7.0", "react-test-renderer": "^18.3.1", @@ -31078,31 +31147,15 @@ "vega-embed": "6.0.0", "vega-lite": "5.0.0", "vega-tooltip": "0.27.0" - }, - "dependencies": { - "@floating-ui/core": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.0.tgz", - "integrity": "sha512-PcF++MykgmTj3CIyOQbKA/hDzOAiqI3mhuoN44WRCopIs1sgoDoU4oty4Jtqaj/y3oDU6fnVSm4QG0a3t5i0+g==", - "requires": { - "@floating-ui/utils": "^0.2.1" - } - }, - "@floating-ui/dom": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.3.tgz", - "integrity": "sha512-RnDthu3mzPlQ31Ss/BTwQ1zjzIhr3lk1gZB1OC56h/1vEtaXkESrOqL5fQVMfXpwGtRwX+YsZBdyHtJMQnkArw==", - "requires": { - "@floating-ui/core": "^1.0.0", - "@floating-ui/utils": "^0.2.0" - } - } } }, "@scality/module-federation": { - "version": "git+ssh://git@github.com/scality/module-federation.git#c571388783a2a51ae3bf5d36ae66753c8b014bb5", - "integrity": "sha512-lrpXm7Skkq/CtGQRI563pSelewbeNaBBbs3J4zzCiheb0H2fSs6JF6lqQHQjL9A0HRVjfnArotXlF8E8JzVtnw==", - "from": "@scality/module-federation@git+https://github.com/scality/module-federation#c571388783a2a51ae3bf5d36ae66753c8b014bb5" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@scality/module-federation/-/module-federation-1.4.0.tgz", + "integrity": "sha512-oG2ga13gsW3HPj9rxWgMApj0HC2zAmzW1+vVHtXCOKCGRNfHPyyAXjVOAAfyF87915PE4XLyZt5XGI5dB3nEig==", + "requires": { + "react-router": "^7.0.1" + } }, "@sinclair/typebox": { "version": "0.27.8", @@ -45357,6 +45410,11 @@ "acorn-node": "^1.2.0" } }, + "tabbable": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", + "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==" + }, "table": { "version": "6.7.1", "dev": true, diff --git a/ui/package.json b/ui/package.json index ec73385c70..3c6f4fd5d5 100644 --- a/ui/package.json +++ b/ui/package.json @@ -7,8 +7,8 @@ "@hookform/resolvers": "^3.1.0", "@js-temporal/polyfill": "^0.4.4", "@kubernetes/client-node": "github:scality/kubernetes-client-javascript.git#browser-0.10.4-64-ge7c6721", - "@scality/core-ui": "git+https://github.com/scality/core-ui#feature/ARTESCA-13970", - "@scality/module-federation": "git+https://github.com/scality/module-federation#c571388783a2a51ae3bf5d36ae66753c8b014bb5", + "@scality/core-ui": "0.155.0", + "@scality/module-federation": "^1.4.0", "axios": "^0.21.1", "formik": "2.2.5", "jsonpath": "^1.1.1", @@ -42,7 +42,7 @@ "test:watch": "jest --watch", "test:coverage": "jest --coverage --ci", "test:nowatch": "CI=true jest --env=jsdom --reporters=default --reporters=jest-junit", - "test:integration": "cypress run --browser chrome 'cypress/integration/**/*.cy.js'", + "test:e2e": "cypress run --browser chrome 'cypress/integration/**/*.cy.js'", "jest-preview": "jest-preview", "rsstart": "rspack serve -c rspack.config.ts", "rsbuild": "rspack build -c rspack.config.ts"