diff --git a/js/apps/account-ui/package.json b/js/apps/account-ui/package.json index ea1533a80f47..b558bc7915ab 100644 --- a/js/apps/account-ui/package.json +++ b/js/apps/account-ui/package.json @@ -26,7 +26,7 @@ "@types/lodash-es": "^4.17.7", "@types/react": "^18.0.31", "@types/react-dom": "^18.0.11", - "@vitejs/plugin-react-swc": "^3.2.0", + "@vitejs/plugin-react-swc": "^3.3.0", "vite": "^4.2.1", "vite-plugin-checker": "^0.5.6" }, diff --git a/js/apps/admin-ui/package.json b/js/apps/admin-ui/package.json index a61d74bbd557..0aac2607d36d 100644 --- a/js/apps/admin-ui/package.json +++ b/js/apps/admin-ui/package.json @@ -103,7 +103,7 @@ "@types/lodash-es": "^4.17.7", "@types/react": "^18.0.31", "@types/react-dom": "^18.0.11", - "@vitejs/plugin-react-swc": "^3.2.0", + "@vitejs/plugin-react-swc": "^3.3.0", "cypress": "^12.9.0", "cypress-axe": "^1.4.0", "jsdom": "^21.1.1", diff --git a/js/libs/keycloak-masthead/package.json b/js/libs/keycloak-masthead/package.json index 669b179abebf..9c14193489f0 100644 --- a/js/libs/keycloak-masthead/package.json +++ b/js/libs/keycloak-masthead/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@types/react": "^18.0.31", "@types/react-dom": "^18.0.11", - "@vitejs/plugin-react-swc": "^3.2.0", + "@vitejs/plugin-react-swc": "^3.3.0", "rollup-plugin-peer-deps-external": "^2.2.4", "vite": "^4.2.1", "vite-plugin-checker": "^0.5.6", diff --git a/js/libs/ui-shared/package.json b/js/libs/ui-shared/package.json index 2646c50677a6..225e8c059c65 100644 --- a/js/libs/ui-shared/package.json +++ b/js/libs/ui-shared/package.json @@ -43,7 +43,7 @@ "devDependencies": { "@types/react": "^18.0.31", "@types/react-dom": "^18.0.11", - "@vitejs/plugin-react-swc": "^3.2.0", + "@vitejs/plugin-react-swc": "^3.3.0", "rollup-plugin-peer-deps-external": "^2.2.4", "vite": "^4.2.1", "vite-plugin-checker": "^0.5.6", diff --git a/js/package-lock.json b/js/package-lock.json index 371e807cc132..c534e3006808 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -55,7 +55,7 @@ "@types/lodash-es": "^4.17.7", "@types/react": "^18.0.31", "@types/react-dom": "^18.0.11", - "@vitejs/plugin-react-swc": "^3.2.0", + "@vitejs/plugin-react-swc": "^3.3.0", "vite": "^4.2.1", "vite-plugin-checker": "^0.5.6" } @@ -98,7 +98,7 @@ "@types/lodash-es": "^4.17.7", "@types/react": "^18.0.31", "@types/react-dom": "^18.0.11", - "@vitejs/plugin-react-swc": "^3.2.0", + "@vitejs/plugin-react-swc": "^3.3.0", "cypress": "^12.9.0", "cypress-axe": "^1.4.0", "jsdom": "^21.1.1", @@ -170,7 +170,7 @@ "devDependencies": { "@types/react": "^18.0.31", "@types/react-dom": "^18.0.11", - "@vitejs/plugin-react-swc": "^3.2.0", + "@vitejs/plugin-react-swc": "^3.3.0", "rollup-plugin-peer-deps-external": "^2.2.4", "vite": "^4.2.1", "vite-plugin-checker": "^0.5.6", @@ -188,7 +188,7 @@ "devDependencies": { "@types/react": "^18.0.31", "@types/react-dom": "^18.0.11", - "@vitejs/plugin-react-swc": "^3.2.0", + "@vitejs/plugin-react-swc": "^3.3.0", "rollup-plugin-peer-deps-external": "^2.2.4", "vite": "^4.2.1", "vite-plugin-checker": "^0.5.6", @@ -1785,9 +1785,9 @@ "dev": true }, "node_modules/@swc/core": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.38.tgz", - "integrity": "sha512-AiEVehRFws//AiiLx9DPDp1WDXt+yAoGD1kMYewhoF6QLdTz8AtYu6i8j/yAxk26L8xnegy0CDwcNnub9qenyQ==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.46.tgz", + "integrity": "sha512-WxzgJMWUBVJ95HsvEqlWzM3Qxp2FQrPa4QdAkQQuuvCMnfdctGUbhX/c3LiSRlWrl2LIkYAi4bLansTOol4QcQ==", "dev": true, "hasInstallScript": true, "engines": { @@ -1798,22 +1798,25 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.3.38", - "@swc/core-darwin-x64": "1.3.38", - "@swc/core-linux-arm-gnueabihf": "1.3.38", - "@swc/core-linux-arm64-gnu": "1.3.38", - "@swc/core-linux-arm64-musl": "1.3.38", - "@swc/core-linux-x64-gnu": "1.3.38", - "@swc/core-linux-x64-musl": "1.3.38", - "@swc/core-win32-arm64-msvc": "1.3.38", - "@swc/core-win32-ia32-msvc": "1.3.38", - "@swc/core-win32-x64-msvc": "1.3.38" + "@swc/core-darwin-arm64": "1.3.46", + "@swc/core-darwin-x64": "1.3.46", + "@swc/core-linux-arm-gnueabihf": "1.3.46", + "@swc/core-linux-arm64-gnu": "1.3.46", + "@swc/core-linux-arm64-musl": "1.3.46", + "@swc/core-linux-x64-gnu": "1.3.46", + "@swc/core-linux-x64-musl": "1.3.46", + "@swc/core-win32-arm64-msvc": "1.3.46", + "@swc/core-win32-ia32-msvc": "1.3.46", + "@swc/core-win32-x64-msvc": "1.3.46" + }, + "peerDependencies": { + "@swc/helpers": "^0.5.0" } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.38.tgz", - "integrity": "sha512-4ZTJJ/cR0EsXW5UxFCifZoGfzQ07a8s4ayt1nLvLQ5QoB1GTAf9zsACpvWG8e7cmCR0L76R5xt8uJuyr+noIXA==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.46.tgz", + "integrity": "sha512-kY4ASe7SsntDw2B1T70H9K1CFmK8POi+LyIpeCyC96EB9wbH2Sax+ploBB/wZALbYzr/dMJzOCU8QXzdmVS4Rg==", "cpu": [ "arm64" ], @@ -1827,9 +1830,9 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.38.tgz", - "integrity": "sha512-Kim727rNo4Dl8kk0CR8aJQe4zFFtsT1TZGlNrNMUgN1WC3CRX7dLZ6ZJi/VVcTG1cbHp5Fp3mUzwHsMxEh87Mg==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.46.tgz", + "integrity": "sha512-kE3PMk8xW+2BZ3oZiTxxsUU/GzrGwM+qS4frOBz9TYHZe+W1dTtj4F9vBit4PFJ+tv4O6DPt9neGobzdq0UmRw==", "cpu": [ "x64" ], @@ -1843,9 +1846,9 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.38.tgz", - "integrity": "sha512-yaRdnPNU2enlJDRcIMvYVSyodY+Amhf5QuXdUbAj6rkDD6wUs/s9C6yPYrFDmoTltrG+nBv72mUZj+R46wVfSw==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.46.tgz", + "integrity": "sha512-7TbiUr9MYxT+mC7sVrayag/isFoaZUG/ogkEK8B/ouA1pnIYqWh3N5ifqCzfcSRiOURt+vVqPyoO1puSiNzVuQ==", "cpu": [ "arm" ], @@ -1859,9 +1862,9 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.38.tgz", - "integrity": "sha512-iNY1HqKo/wBSu3QOGBUlZaLdBP/EHcwNjBAqIzpb8J64q2jEN02RizqVW0mDxyXktJ3lxr3g7VW9uqklMeXbjQ==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.46.tgz", + "integrity": "sha512-Ycw4LU/wsUK9R+Y/2qFOPQseZDfM5D5gbWGrrYj5RoTm57FbnUsSsO26QeZxUNvams1oAQDkZDuerCc9qBRzIQ==", "cpu": [ "arm64" ], @@ -1875,9 +1878,9 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.38.tgz", - "integrity": "sha512-LJCFgLZoPRkPCPmux+Q5ctgXRp6AsWhvWuY61bh5bIPBDlaG9pZk94DeHyvtiwT0syhTtXb2LieBOx6NqN3zeA==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.46.tgz", + "integrity": "sha512-cBclyr6IW1PBr8l9D4FkebgbqlkiIYnSJCbY84J/6PfTzQlD6w9a1TAoYxdGZpJ7SGHdmB0oDiZS1rhxCSCV/Q==", "cpu": [ "arm64" ], @@ -1891,9 +1894,9 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.38.tgz", - "integrity": "sha512-hRQGRIWHmv2PvKQM/mMV45mVXckM2+xLB8TYLLgUG66mmtyGTUJPyxjnJkbI86WNGqo18k+lAuMG2mn6QmzYwQ==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.46.tgz", + "integrity": "sha512-amqMhTA2CXB6t11hVAZSSPKq4DZ9/sWbW3wYYQHxzqrMJML0726OJs4pt0XnlU7FzdP/9M9j2B/gWCRaCMxXVA==", "cpu": [ "x64" ], @@ -1907,9 +1910,9 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.38.tgz", - "integrity": "sha512-PTYSqtsIfPHLKDDNbueI5e0sc130vyHRiFOeeC6qqzA2FAiVvIxuvXHLr0soPvKAR1WyhtYmFB9QarcctemL2w==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.46.tgz", + "integrity": "sha512-WOQZTIkJ9khIj5Z2unf6OTrWV9k8br+HZ93RvnamEmJBlLPUuT9IjB+agNhjaDgOpz9/ZldSGqV7vzl5FGQl1Q==", "cpu": [ "x64" ], @@ -1923,9 +1926,9 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.38.tgz", - "integrity": "sha512-9lHfs5TPNs+QdkyZFhZledSmzBEbqml/J1rqPSb9Fy8zB6QlspixE6OLZ3nTlUOdoGWkcTTdrOn77Sd7YGf1AA==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.46.tgz", + "integrity": "sha512-4JSREbqaTRQ6QO0EeoiB6G5vuFT8zI8aTOLu5At7Cvlw+X7bOGNO+wJ3Tqw7O+68OL+0bPHzHGTXKL9kUccY1A==", "cpu": [ "arm64" ], @@ -1939,9 +1942,9 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.38.tgz", - "integrity": "sha512-SbL6pfA2lqvDKnwTHwOfKWvfHAdcbAwJS4dBkFidr7BiPTgI5Uk8wAPcRb8mBECpmIa9yFo+N0cAFRvMnf+cNw==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.46.tgz", + "integrity": "sha512-kC8dIDzcArm1e85yHJsEZFxcNq5NztLkrqkP1nVOQ+9QXD9DKhjbZtWy2gnpclinii6KEGng8SieWiJiOA0CBQ==", "cpu": [ "ia32" ], @@ -1955,9 +1958,9 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.3.38", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.38.tgz", - "integrity": "sha512-UFveLrL6eGvViOD8OVqUQa6QoQwdqwRvLtL5elF304OT8eCPZa8BhuXnWk25X8UcOyns8gFcb8Fhp3oaLi/Rlw==", + "version": "1.3.46", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.46.tgz", + "integrity": "sha512-rrSAfq+DvpJioBxUsnuH+sKl0eXid1DwkwNzkVGHEreN9GoP7GospWtFq7VDcO6DrS/s3HtR4/TzoIYFEBCRIg==", "cpu": [ "x64" ], @@ -1970,6 +1973,16 @@ "node": ">=10" } }, + "node_modules/@swc/helpers": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.0.tgz", + "integrity": "sha512-SjY/p4MmECVVEWspzSRpQEM3sjR17sP8PbGxELWrT+YZMBfiUyt1MRUNjMV23zohwlG2HYtCQOsCwsTHguXkyg==", + "dev": true, + "peer": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@testing-library/cypress": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/@testing-library/cypress/-/cypress-9.0.0.tgz", @@ -2833,12 +2846,12 @@ } }, "node_modules/@vitejs/plugin-react-swc": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.2.0.tgz", - "integrity": "sha512-IcBoXL/mcH7JdQr/nfDlDwTdIaH8Rg7LpfQDF4nAht+juHWIuv6WhpKPCSfY4+zztAaB07qdBoFz1XCZsgo3pQ==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.3.0.tgz", + "integrity": "sha512-Ycg+n2eyCOTpn/wRy+evVo859+hw7qCj9iaX5CMny6x1fx1Uoq0xBG+a98lFtwLNGfGEnpI0F26YigRuxCRkwg==", "dev": true, "dependencies": { - "@swc/core": "^1.3.35" + "@swc/core": "^1.3.42" }, "peerDependencies": { "vite": "^4"