From 18216e54d468713d6c46f2cf1079c51fbe9ee093 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Mon, 17 Apr 2023 07:14:00 +0200 Subject: [PATCH] fix: ui and docker nightly image (#3739) * fix: ui and docker nightly image some errors due pnpm.8 migration * Update ci.yml * ci --- .github/workflows/ci.yml | 2 +- .github/workflows/e2e-ci.yml | 2 +- .github/workflows/website.yml | 2 +- Dockerfile | 8 +- package.json | 4 +- packages/plugins/ui-theme/package.json | 29 +- packages/plugins/ui-theme/src/App/App.tsx | 8 +- .../plugins/ui-theme/tools/webpack.config.js | 6 - packages/ui-components/package.json | 23 +- .../ui-components/src/Theme/ThemeProvider.tsx | 1 - .../src/components/Deprecated/Deprecated.tsx | 2 +- packages/ui-components/tsconfig.json | 1 - pnpm-lock.yaml | 472 ++++++------------ website/package.json | 20 +- website/src/components/Contributors.tsx | 3 +- .../components/EcosystemSearch/AddonCard.tsx | 2 +- .../EcosystemSearch/EcosystemSearch.tsx | 3 +- .../EcosystemSearch/FilterControl.tsx | 2 +- .../components/EcosystemSearch/ToolList.tsx | 2 +- 19 files changed, 211 insertions(+), 381 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e9a5ae49..4000fd63c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: name: setup verdaccio services: verdaccio: - image: verdaccio/verdaccio:nightly-master + image: verdaccio/verdaccio:5 ports: - 4873:4873 env: diff --git a/.github/workflows/e2e-ci.yml b/.github/workflows/e2e-ci.yml index 4158af21a..89e971804 100644 --- a/.github/workflows/e2e-ci.yml +++ b/.github/workflows/e2e-ci.yml @@ -9,7 +9,7 @@ jobs: name: setup e2e verdaccio services: verdaccio: - image: verdaccio/verdaccio:nightly-master + image: verdaccio/verdaccio:5 ports: - 4873:4873 env: diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index ee8703b65..baa48bcdb 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -81,7 +81,7 @@ jobs: - name: Build Deployment Preview env: CONTEXT: deploy-preview - run: pnpm netlify:build:deployPreview --filter ...@verdaccio/website + run: pnpm --filter ...@verdaccio/website netlify:build:deployPreview - name: 🤖 Deploy Preview Netlify if: github.repository == 'verdaccio/verdaccio' diff --git a/Dockerfile b/Dockerfile index 6bd4c285b..c8a5dc8fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM --platform=${BUILDPLATFORM:-linux/amd64} node:18-alpine as builder ENV NODE_ENV=development \ - VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org + VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org RUN apk --no-cache add openssl ca-certificates wget && \ apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python3 && \ @@ -15,9 +15,9 @@ RUN npm -g i pnpm@latest-8 && \ pnpm config set registry $VERDACCIO_BUILD_REGISTRY && \ pnpm install --frozen-lockfile --ignore-scripts && \ rm -Rf test && \ - pnpm run build && \ - pnpm install -P --ignore-scripts -# FIXME: need to remove devDependencies from the build + pnpm run build +# FIXME: need to remove devDependencies from the build +# NODE_ENV=production pnpm install --frozen-lockfile --ignore-scripts # RUN pnpm install --prod --ignore-scripts FROM node:18-alpine diff --git a/package.json b/package.json index 66ab53617..bef845569 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ "@changesets/get-dependents-graph": "1.3.5", "@crowdin/cli": "3.10.1", "@dianmora/contributors": "5.0.0", - "@emotion/react": "11.10.5", - "@emotion/styled": "11.10.5", + "@emotion/react": "11.10.6", + "@emotion/styled": "11.10.6", "@testing-library/dom": "8.19.1", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "12.1.4", diff --git a/packages/plugins/ui-theme/package.json b/packages/plugins/ui-theme/package.json index 1d3649c3f..f1dc346b5 100644 --- a/packages/plugins/ui-theme/package.json +++ b/packages/plugins/ui-theme/package.json @@ -13,14 +13,14 @@ "homepage": "https://verdaccio.org", "main": "index.js", "devDependencies": { - "@emotion/react": "11.10.5", - "@emotion/styled": "11.10.5", - "@mui/icons-material": "5.11.9", - "@mui/styles": "5.11.9", - "@mui/material": "5.11.9", - "@emotion/babel-plugin": "11.10.5", - "@emotion/css": "11.10.5", + "@emotion/babel-plugin": "11.10.6", + "@emotion/css": "11.10.6", "@emotion/jest": "11.10.5", + "@emotion/react": "11.10.6", + "@emotion/styled": "11.10.6", + "@mui/icons-material": "5.11.16", + "@mui/material": "5.12.0", + "@mui/styles": "5.12.0", "@rematch/core": "2.2.0", "@rematch/loading": "2.1.2", "@rematch/persist": "2.1.2", @@ -28,16 +28,18 @@ "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "13.4.0", "@verdaccio/node-api": "workspace:6.0.0-6-next.67", - "@verdaccio/ui-components": "workspace:2.0.0-6-next.8", "@verdaccio/types": "workspace:*", - "normalize.css": "8.0.1", + "@verdaccio/ui-components": "workspace:2.0.0-6-next.8", "babel-loader": "8.3.0", "babel-plugin-dynamic-import-node": "2.3.3", "country-flag-icons": "1.5.5", "css-loader": "6.7.3", "dayjs": "1.11.7", + "dompurify": "2.4.5", "friendly-errors-webpack-plugin": "1.7.0", + "github-markdown-css": "4.0.0", "harmony-reflect": "1.6.2", + "highlight.js": "11.7.0", "history": "4.10.1", "html-webpack-plugin": "5.5.0", "i18next": "20.6.1", @@ -46,16 +48,14 @@ "js-yaml": "3.14.1", "localstorage-memory": "1.0.3", "lodash": "4.17.21", + "marked": "4.2.12", "mini-css-extract-plugin": "2.7.2", "msw": "0.49.2", "mutationobserver-shim": "0.3.7", "node-mocks-http": "1.12.1", + "normalize.css": "8.0.1", "optimize-css-assets-webpack-plugin": "6.0.1", "ora": "5.4.1", - "dompurify": "2.4.5", - "highlight.js": "11.7.0", - "github-markdown-css": "4.0.0", - "marked": "4.2.12", "raw-loader": "4.0.2", "react": "18.2.0", "react-dom": "18.2.0", @@ -114,7 +114,8 @@ "verdaccio:server": "node tools/verdaccio.js", "build": "pnpm clean && webpack --config tools/webpack.prod.config.babel.js", "build:stats": "webpack --config tools/webpack.prod.config.babel.js --json > stats.json", - "build:size": "webpack --config tools/webpack.prod.config.babel.js --json | webpack-bundle-size-analyzer" + "build:size": "webpack --config tools/webpack.prod.config.babel.js --json | webpack-bundle-size-analyzer", + "view-bundle": "pnpm run build:stats && webpack-bundle-analyzer stats.json" }, "license": "MIT", "collective": { diff --git a/packages/plugins/ui-theme/src/App/App.tsx b/packages/plugins/ui-theme/src/App/App.tsx index 29879a43e..a72d910c2 100644 --- a/packages/plugins/ui-theme/src/App/App.tsx +++ b/packages/plugins/ui-theme/src/App/App.tsx @@ -29,9 +29,11 @@ import { listLanguages } from '../i18n/enabledLanguages'; import loadDayJSLocale from '../i18n/load-dayjs-locale'; import AppRoute, { history } from './AppRoute'; -const StyledBox = styled(Box)<{ theme?: Theme }>(({ theme }) => ({ - backgroundColor: theme?.palette.background.default, -})); +const StyledBox = styled(Box)<{ theme?: Theme }>(({ theme }) => { + return { + backgroundColor: theme?.palette.background.default, + }; +}); const StyledBoxContent = styled(Box)<{ theme?: Theme }>(({ theme }) => ({ [`@media screen and (min-width: ${theme?.breakPoints.container}px)`]: { diff --git a/packages/plugins/ui-theme/tools/webpack.config.js b/packages/plugins/ui-theme/tools/webpack.config.js index 96c96dce3..b9c7f777e 100644 --- a/packages/plugins/ui-theme/tools/webpack.config.js +++ b/packages/plugins/ui-theme/tools/webpack.config.js @@ -47,11 +47,6 @@ module.exports = { module: { rules: [ - { - test: /\.jsx?$/, - exclude: /node_modules/, - use: 'babel-loader', - }, { test: /\.m?js/, resolve: { @@ -70,7 +65,6 @@ module.exports = { test: /\.md$/, use: 'raw-loader', }, - /* Typescript loader */ { test: /\.tsx?$/, use: 'babel-loader', diff --git a/packages/ui-components/package.json b/packages/ui-components/package.json index ef740859d..7de2b7fc9 100644 --- a/packages/ui-components/package.json +++ b/packages/ui-components/package.json @@ -15,19 +15,21 @@ "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json", "build:js": "babel src/ --out-dir build/ --copy-files --no-copy-ignored --extensions \".ts,.tsx\" --source-maps --ignore \"src/**/*.stories.tsx\" --ignore \"src/**/*.test.tsx\" --ignore \"src/**/*.test.ts\"", "build": "pnpm run build:js && pnpm run build:types", - "storybook": "start-storybook -p 6006 -s ./public", + "start": "start-storybook -p 6006 -s ./public", "build-storybook": "build-storybook" }, "dependencies": { - "@emotion/react": "^11.10.5", - "@emotion/styled": "^11.10.5", - "@mui/icons-material": "5.11.9", - "@mui/material": "5.11.9", - "@mui/styles": "5.11.9", + "@emotion/react": "^11.10.6", + "@emotion/styled": "^11.10.6", + "@mui/icons-material": "5.11.16", + "@mui/material": "5.12.0", + "@mui/styles": "5.12.0", + "@mui/system": "5.12.0", "@rematch/core": "2.2.0", "@rematch/loading": "2.1.2", "@rematch/persist": "2.1.2", - "@verdaccio/types": "workspace:11.0.0-6-next.25", + "@fontsource/material-icons": "^4.5.4", + "@fontsource/roboto": "^4.5.8", "country-flag-icons": "1.5.5", "dayjs": "1.11.7", "dompurify": "2.4.5", @@ -54,11 +56,10 @@ "validator": "13.9.0" }, "devDependencies": { + "@verdaccio/types": "workspace:11.0.0-6-next.25", "@babel/core": "^7.20.7", - "@emotion/babel-plugin": "11.10.5", + "@emotion/babel-plugin": "11.10.6", "@emotion/jest": "11.10.5", - "@fontsource/material-icons": "^4.5.4", - "@fontsource/roboto": "^4.5.8", "@storybook/addon-actions": "^6.5.15", "@storybook/addon-essentials": "^6.5.15", "@storybook/addon-interactions": "^6.5.15", @@ -70,8 +71,8 @@ "@testing-library/dom": "8.19.1", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "13.4.0", - "@types/react-router": "^5.1.20", "@types/hast": "^2.0.0", + "@types/react-router": "^5.1.20", "@types/unist": "^2.0.0", "babel-loader": "^8.3.0", "mockdate": "3.0.5", diff --git a/packages/ui-components/src/Theme/ThemeProvider.tsx b/packages/ui-components/src/Theme/ThemeProvider.tsx index b05f617ac..1a1b9a63d 100644 --- a/packages/ui-components/src/Theme/ThemeProvider.tsx +++ b/packages/ui-components/src/Theme/ThemeProvider.tsx @@ -30,7 +30,6 @@ const ThemeProvider: React.FC<{ children: any }> = ({ children }) => { const themeMode: ThemeMode = isDarkMode ? 'dark' : 'light'; const currentTheme = getTheme(themeMode, configOptions.primaryColor); - return ( diff --git a/packages/ui-components/src/components/Deprecated/Deprecated.tsx b/packages/ui-components/src/components/Deprecated/Deprecated.tsx index 4f7f644f6..e77f6e6f5 100644 --- a/packages/ui-components/src/components/Deprecated/Deprecated.tsx +++ b/packages/ui-components/src/components/Deprecated/Deprecated.tsx @@ -1,6 +1,6 @@ -import styled from '@emotion/styled'; import Card from '@mui/material/Card'; import CardContent from '@mui/material/CardContent'; +import { styled } from '@mui/system'; import React from 'react'; import { Theme } from '../../Theme'; diff --git a/packages/ui-components/tsconfig.json b/packages/ui-components/tsconfig.json index 2d8271af3..a3ddf8580 100644 --- a/packages/ui-components/tsconfig.json +++ b/packages/ui-components/tsconfig.json @@ -13,7 +13,6 @@ "allowJs": true }, "types": ["node", "jest", "@testing-library/jest-dom"], - "include": ["src/**/*", "./src/types/index.d.ts"], "references": [ { "path": "../core/types" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1e087e18..437f3b24a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -96,11 +96,11 @@ importers: specifier: 5.0.0 version: 5.0.0 '@emotion/react': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@18.2.0) + specifier: 11.10.6 + version: 11.10.6(@types/react@18.0.26)(react@18.2.0) '@emotion/styled': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) + specifier: 11.10.6 + version: 11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@18.2.0) '@testing-library/dom': specifier: 8.19.1 version: 8.19.1 @@ -693,7 +693,7 @@ importers: version: 0.23.25(typescript@4.9.4) typedoc-plugin-missing-exports: specifier: latest - version: 1.0.0(typedoc@0.23.25) + version: 2.0.0(typedoc@0.23.25) packages/core/file-locking: dependencies: @@ -1161,29 +1161,29 @@ importers: packages/plugins/ui-theme: devDependencies: '@emotion/babel-plugin': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7) + specifier: 11.10.6 + version: 11.10.6 '@emotion/css': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7) + specifier: 11.10.6 + version: 11.10.6 '@emotion/jest': specifier: 11.10.5 version: 11.10.5(@types/jest@27.5.2) '@emotion/react': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@18.2.0) + specifier: 11.10.6 + version: 11.10.6(@types/react@18.0.26)(react@18.2.0) '@emotion/styled': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) + specifier: 11.10.6 + version: 11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@18.2.0) '@mui/icons-material': - specifier: 5.11.9 - version: 5.11.9(@mui/material@5.11.9)(@types/react@18.0.26)(react@18.2.0) + specifier: 5.11.16 + version: 5.11.16(@mui/material@5.12.0)(@types/react@18.0.26)(react@18.2.0) '@mui/material': - specifier: 5.11.9 - version: 5.11.9(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) + specifier: 5.12.0 + version: 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) '@mui/styles': - specifier: 5.11.9 - version: 5.11.9(@types/react@18.0.26)(react@18.2.0) + specifier: 5.12.0 + version: 5.12.0(@types/react@18.0.26)(react@18.2.0) '@rematch/core': specifier: 2.2.0 version: 2.2.0(redux@4.2.1) @@ -1806,20 +1806,29 @@ importers: packages/ui-components: dependencies: '@emotion/react': - specifier: ^11.10.5 + specifier: ^11.10.6 version: 11.10.6(@types/react@18.0.26)(react@18.2.0) '@emotion/styled': - specifier: ^11.10.5 + specifier: ^11.10.6 version: 11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@18.2.0) + '@fontsource/material-icons': + specifier: ^4.5.4 + version: 4.5.4 + '@fontsource/roboto': + specifier: ^4.5.8 + version: 4.5.8 '@mui/icons-material': - specifier: 5.11.9 - version: 5.11.9(@mui/material@5.11.9)(@types/react@18.0.26)(react@18.2.0) + specifier: 5.11.16 + version: 5.11.16(@mui/material@5.12.0)(@types/react@18.0.26)(react@18.2.0) '@mui/material': - specifier: 5.11.9 - version: 5.11.9(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) + specifier: 5.12.0 + version: 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) '@mui/styles': - specifier: 5.11.9 - version: 5.11.9(@types/react@18.0.26)(react@18.2.0) + specifier: 5.12.0 + version: 5.12.0(@types/react@18.0.26)(react@18.2.0) + '@mui/system': + specifier: 5.12.0 + version: 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react@18.2.0) '@rematch/core': specifier: 2.2.0 version: 2.2.0(redux@4.2.1) @@ -1829,9 +1838,6 @@ importers: '@rematch/persist': specifier: 2.1.2 version: 2.1.2(@rematch/core@2.2.0)(react@18.2.0)(redux@4.2.1) - '@verdaccio/types': - specifier: workspace:11.0.0-6-next.25 - version: link:../core/types country-flag-icons: specifier: 1.5.5 version: 1.5.5 @@ -1909,17 +1915,11 @@ importers: specifier: ^7.20.7 version: 7.21.4 '@emotion/babel-plugin': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.21.4) + specifier: 11.10.6 + version: 11.10.6 '@emotion/jest': specifier: 11.10.5 version: 11.10.5(@types/jest@27.5.2) - '@fontsource/material-icons': - specifier: ^4.5.4 - version: 4.5.4 - '@fontsource/roboto': - specifier: ^4.5.8 - version: 4.5.8 '@storybook/addon-actions': specifier: ^6.5.15 version: 6.5.16(react-dom@18.2.0)(react@18.2.0) @@ -1962,6 +1962,9 @@ importers: '@types/unist': specifier: ^2.0.0 version: 2.0.6 + '@verdaccio/types': + specifier: workspace:11.0.0-6-next.25 + version: link:../core/types babel-loader: specifier: ^8.3.0 version: 8.3.0(@babel/core@7.21.4)(webpack@5.75.0) @@ -2160,35 +2163,35 @@ importers: specifier: 2.3.1 version: 2.3.1(@algolia/client-search@4.17.0)(@docusaurus/types@2.3.1)(@types/node@16.18.10)(@types/react@18.0.26)(debug@4.3.4)(esbuild@0.14.10)(eslint@8.34.0)(react-dom@17.0.2)(react@17.0.2)(ts-node@10.9.1)(typescript@4.9.4) '@emotion/cache': - specifier: 11.10.5 - version: 11.10.5 + specifier: 11.10.7 + version: 11.10.7 '@emotion/css': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7) + specifier: 11.10.6 + version: 11.10.6 '@emotion/jest': specifier: 11.10.5 version: 11.10.5(@types/jest@27.5.2) '@emotion/react': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@17.0.2) + specifier: 11.10.6 + version: 11.10.6(@types/react@18.0.26)(react@17.0.2) '@emotion/styled': - specifier: 11.10.5 - version: 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@17.0.2) + specifier: 11.10.6 + version: 11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@17.0.2) '@lyrasearch/lyra': specifier: ^0.3.1 version: 0.3.1 '@mdx-js/react': - specifier: ^1.6.22 - version: 1.6.22(react@17.0.2) + specifier: ^2.3.0 + version: 2.3.0(react@17.0.2) '@mui/icons-material': - specifier: 5.11.9 - version: 5.11.9(@mui/material@5.11.9)(@types/react@18.0.26)(react@17.0.2) + specifier: 5.11.16 + version: 5.11.16(@mui/material@5.12.0)(@types/react@18.0.26)(react@17.0.2) '@mui/material': - specifier: 5.11.9 - version: 5.11.9(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2) + specifier: 5.12.0 + version: 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2) '@mui/styles': - specifier: 5.11.9 - version: 5.11.9(@types/react@18.0.26)(react@17.0.2) + specifier: 5.12.0 + version: 5.12.0(@types/react@18.0.26)(react@17.0.2) '@verdaccio/ui-components': specifier: workspace:2.0.0-6-next.8 version: link:../packages/ui-components @@ -2461,7 +2464,7 @@ packages: gensync: 1.0.0-beta.2 json5: 2.2.3 lodash: 4.17.21 - resolve: 1.22.2 + resolve: 1.22.3 semver: 5.7.1 source-map: 0.5.7 transitivePeerDependencies: @@ -2652,7 +2655,7 @@ packages: '@babel/traverse': 7.21.4 debug: 4.3.4(supports-color@6.1.0) lodash.debounce: 4.0.8 - resolve: 1.22.2 + resolve: 1.22.3 semver: 6.3.0 transitivePeerDependencies: - supports-color @@ -2668,7 +2671,7 @@ packages: '@babel/helper-plugin-utils': 7.20.2 debug: 4.3.4(supports-color@6.1.0) lodash.debounce: 4.0.8 - resolve: 1.22.2 + resolve: 1.22.3 semver: 6.3.0 transitivePeerDependencies: - supports-color @@ -2684,7 +2687,7 @@ packages: '@babel/helper-plugin-utils': 7.20.2 debug: 4.3.4(supports-color@6.1.0) lodash.debounce: 4.0.8 - resolve: 1.22.2 + resolve: 1.22.3 semver: 6.3.0 transitivePeerDependencies: - supports-color @@ -5337,9 +5340,9 @@ packages: react: '>= 16.8.6' react-dom: '>= 16.8.6' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 '@types/react': 18.0.26 - clsx: 1.1.0 + clsx: 1.2.1 focus-lock: 0.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -5455,7 +5458,7 @@ packages: '@babel/preset-env': 7.21.4(@babel/core@7.21.4) '@babel/preset-react': 7.18.6(@babel/core@7.21.4) '@babel/preset-typescript': 7.21.4(@babel/core@7.21.4) - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 '@babel/runtime-corejs3': 7.21.0 '@babel/traverse': 7.21.4 '@docusaurus/cssnano-preset': 2.0.0-beta.3 @@ -6437,46 +6440,6 @@ packages: - uglify-js - webpack-cli - /@emotion/babel-plugin@11.10.5(@babel/core@7.20.7): - resolution: {integrity: sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.20.7 - '@babel/helper-module-imports': 7.21.4 - '@babel/plugin-syntax-jsx': 7.21.4(@babel/core@7.20.7) - '@babel/runtime': 7.21.0 - '@emotion/hash': 0.9.0 - '@emotion/memoize': 0.8.0 - '@emotion/serialize': 1.1.1 - babel-plugin-macros: 3.1.0 - convert-source-map: 1.9.0 - escape-string-regexp: 4.0.0 - find-root: 1.1.0 - source-map: 0.5.7 - stylis: 4.1.3 - dev: true - - /@emotion/babel-plugin@11.10.5(@babel/core@7.21.4): - resolution: {integrity: sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.21.4 - '@babel/helper-module-imports': 7.21.4 - '@babel/plugin-syntax-jsx': 7.21.4(@babel/core@7.21.4) - '@babel/runtime': 7.21.0 - '@emotion/hash': 0.9.0 - '@emotion/memoize': 0.8.0 - '@emotion/serialize': 1.1.1 - babel-plugin-macros: 3.1.0 - convert-source-map: 1.9.0 - escape-string-regexp: 4.0.0 - find-root: 1.1.0 - source-map: 0.5.7 - stylis: 4.1.3 - dev: true - /@emotion/babel-plugin@11.10.6: resolution: {integrity: sha512-p2dAqtVrkhSa7xz1u/m9eHYdLi+en8NowrmXeF/dKtJpU8lCWli8RUAati7NcSl0afsBott48pdnANuD0wh9QQ==} dependencies: @@ -6492,15 +6455,6 @@ packages: source-map: 0.5.7 stylis: 4.1.3 - /@emotion/cache@11.10.5: - resolution: {integrity: sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA==} - dependencies: - '@emotion/memoize': 0.8.0 - '@emotion/sheet': 1.2.1 - '@emotion/utils': 1.2.0 - '@emotion/weak-memoize': 0.3.0 - stylis: 4.1.3 - /@emotion/cache@11.10.7: resolution: {integrity: sha512-VLl1/2D6LOjH57Y8Vem1RoZ9haWF4jesHDGiHtKozDQuBIkJm2gimVo0I02sWCuzZtVACeixTVB4jeE8qvCBoQ==} dependencies: @@ -6516,17 +6470,11 @@ packages: '@emotion/memoize': 0.8.0 stylis: 4.1.3 - /@emotion/css@11.10.5(@babel/core@7.20.7): - resolution: {integrity: sha512-maJy0wG82hWsiwfJpc3WrYsyVwUbdu+sdIseKUB+/OLjB8zgc3tqkT6eO0Yt0AhIkJwGGnmMY/xmQwEAgQ4JHA==} - peerDependencies: - '@babel/core': ^7.0.0 - peerDependenciesMeta: - '@babel/core': - optional: true + /@emotion/css@11.10.6: + resolution: {integrity: sha512-88Sr+3heKAKpj9PCqq5A1hAmAkoSIvwEq1O2TwDij7fUtsJpdkV4jMTISSTouFeRvsGvXIpuSuDQ4C1YdfNGXw==} dependencies: - '@babel/core': 7.20.7 '@emotion/babel-plugin': 11.10.6 - '@emotion/cache': 11.10.5 + '@emotion/cache': 11.10.7 '@emotion/serialize': 1.1.1 '@emotion/sheet': 1.2.1 '@emotion/utils': 1.2.0 @@ -6568,22 +6516,18 @@ packages: /@emotion/memoize@0.8.0: resolution: {integrity: sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==} - /@emotion/react@11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@17.0.2): - resolution: {integrity: sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A==} + /@emotion/react@11.10.6(@types/react@18.0.26)(react@17.0.2): + resolution: {integrity: sha512-6HT8jBmcSkfzO7mc+N1L9uwvOnlcGoix8Zn7srt+9ga0MjREo6lRpuVX0kzo6Jp6oTqDhREOFsygN6Ew4fEQbw==} peerDependencies: - '@babel/core': ^7.0.0 '@types/react': '*' react: '>=16.8.0' peerDependenciesMeta: - '@babel/core': - optional: true '@types/react': optional: true dependencies: - '@babel/core': 7.20.7 '@babel/runtime': 7.21.0 '@emotion/babel-plugin': 11.10.6 - '@emotion/cache': 11.10.5 + '@emotion/cache': 11.10.7 '@emotion/serialize': 1.1.1 '@emotion/use-insertion-effect-with-fallbacks': 1.0.0(react@17.0.2) '@emotion/utils': 1.2.0 @@ -6593,30 +6537,6 @@ packages: react: 17.0.2 dev: false - /@emotion/react@11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@18.2.0): - resolution: {integrity: sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A==} - peerDependencies: - '@babel/core': ^7.0.0 - '@types/react': '*' - react: '>=16.8.0' - peerDependenciesMeta: - '@babel/core': - optional: true - '@types/react': - optional: true - dependencies: - '@babel/core': 7.20.7 - '@babel/runtime': 7.21.0 - '@emotion/babel-plugin': 11.10.6 - '@emotion/cache': 11.10.5 - '@emotion/serialize': 1.1.1 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.0(react@18.2.0) - '@emotion/utils': 1.2.0 - '@emotion/weak-memoize': 0.3.0 - '@types/react': 18.0.26 - hoist-non-react-statics: 3.3.2 - react: 18.2.0 - /@emotion/react@11.10.6(@types/react@18.0.26)(react@18.2.0): resolution: {integrity: sha512-6HT8jBmcSkfzO7mc+N1L9uwvOnlcGoix8Zn7srt+9ga0MjREo6lRpuVX0kzo6Jp6oTqDhREOFsygN6Ew4fEQbw==} peerDependencies: @@ -6636,7 +6556,6 @@ packages: '@types/react': 18.0.26 hoist-non-react-statics: 3.3.2 react: 18.2.0 - dev: false /@emotion/serialize@0.11.16: resolution: {integrity: sha512-G3J4o8by0VRrO+PFeSc3js2myYNOXVJ3Ya+RGVxnshRYgsvErfAOglKAiy1Eo1vhzxqtUvjCyS5gtewzkmvSSg==} @@ -6660,24 +6579,20 @@ packages: /@emotion/sheet@1.2.1: resolution: {integrity: sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA==} - /@emotion/styled@11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@17.0.2): - resolution: {integrity: sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw==} + /@emotion/styled@11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@17.0.2): + resolution: {integrity: sha512-OXtBzOmDSJo5Q0AFemHCfl+bUueT8BIcPSxu0EGTpGk6DmI5dnhSzQANm1e1ze0YZL7TDyAyy6s/b/zmGOS3Og==} peerDependencies: - '@babel/core': ^7.0.0 '@emotion/react': ^11.0.0-rc.0 '@types/react': '*' react: '>=16.8.0' peerDependenciesMeta: - '@babel/core': - optional: true '@types/react': optional: true dependencies: - '@babel/core': 7.20.7 '@babel/runtime': 7.21.0 '@emotion/babel-plugin': 11.10.6 '@emotion/is-prop-valid': 1.2.0 - '@emotion/react': 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@17.0.2) + '@emotion/react': 11.10.6(@types/react@18.0.26)(react@17.0.2) '@emotion/serialize': 1.1.1 '@emotion/use-insertion-effect-with-fallbacks': 1.0.0(react@17.0.2) '@emotion/utils': 1.2.0 @@ -6685,30 +6600,6 @@ packages: react: 17.0.2 dev: false - /@emotion/styled@11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0): - resolution: {integrity: sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw==} - peerDependencies: - '@babel/core': ^7.0.0 - '@emotion/react': ^11.0.0-rc.0 - '@types/react': '*' - react: '>=16.8.0' - peerDependenciesMeta: - '@babel/core': - optional: true - '@types/react': - optional: true - dependencies: - '@babel/core': 7.20.7 - '@babel/runtime': 7.21.0 - '@emotion/babel-plugin': 11.10.6 - '@emotion/is-prop-valid': 1.2.0 - '@emotion/react': 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@18.2.0) - '@emotion/serialize': 1.1.1 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.0(react@18.2.0) - '@emotion/utils': 1.2.0 - '@types/react': 18.0.26 - react: 18.2.0 - /@emotion/styled@11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@18.2.0): resolution: {integrity: sha512-OXtBzOmDSJo5Q0AFemHCfl+bUueT8BIcPSxu0EGTpGk6DmI5dnhSzQANm1e1ze0YZL7TDyAyy6s/b/zmGOS3Og==} peerDependencies: @@ -6728,7 +6619,6 @@ packages: '@emotion/utils': 1.2.0 '@types/react': 18.0.26 react: 18.2.0 - dev: false /@emotion/unitless@0.7.5: resolution: {integrity: sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==} @@ -6808,11 +6698,11 @@ packages: /@fontsource/material-icons@4.5.4: resolution: {integrity: sha512-YGmXkkEdu6EIgpFKNmB/nIXzZocwSmbI01Ninpmml8x8BT0M6RR++V1KqOfpzZ6Cw/FQ2/KYonQ3x4IY/4VRRA==} - dev: true + dev: false /@fontsource/roboto@4.5.8: resolution: {integrity: sha512-CnD7zLItIzt86q4Sj3kZUiLcBk1dSk81qcqgMGaZe7SQ1P8hFNxhMl5AZthK1zrDM5m74VVhaOpuMGIL4gagaA==} - dev: true + dev: false /@formatjs/cli@2.15.0: resolution: {integrity: sha512-Hv7Z3xeGcgTpn1jA1/x7tc9UYbF9Udn/77xRf7E22Vn1mGJM/DftVqnpgLeNpd0d3xSftYw+rhaShNO19BsT6A==} @@ -7472,6 +7362,16 @@ packages: react: 18.2.0 dev: true + /@mdx-js/react@2.3.0(react@17.0.2): + resolution: {integrity: sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g==} + peerDependencies: + react: '>=16' + dependencies: + '@types/mdx': 2.0.4 + '@types/react': 18.0.35 + react: 17.0.2 + dev: false + /@mdx-js/util@1.6.22: resolution: {integrity: sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==} @@ -7507,8 +7407,8 @@ packages: - supports-color dev: true - /@mui/base@5.0.0-alpha.118(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2): - resolution: {integrity: sha512-GAEpqhnuHjRaAZLdxFNuOf2GDTp9sUawM46oHZV4VnYPFjXJDkIYFWfIQLONb0nga92OiqS5DD/scGzVKCL0Mw==} + /@mui/base@5.0.0-alpha.125(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2): + resolution: {integrity: sha512-hAHJJ97SATu6SrkLH/HsAayK1zMZt89lrWyKuAInBKVyn363H78d1MnwyZwre9vDK5MrPoDL/NnZxtAXhwTnBA==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -7531,8 +7431,8 @@ packages: react-is: 18.2.0 dev: false - /@mui/base@5.0.0-alpha.118(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-GAEpqhnuHjRaAZLdxFNuOf2GDTp9sUawM46oHZV4VnYPFjXJDkIYFWfIQLONb0nga92OiqS5DD/scGzVKCL0Mw==} + /@mui/base@5.0.0-alpha.125(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-hAHJJ97SATu6SrkLH/HsAayK1zMZt89lrWyKuAInBKVyn363H78d1MnwyZwre9vDK5MrPoDL/NnZxtAXhwTnBA==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -7557,8 +7457,8 @@ packages: /@mui/core-downloads-tracker@5.12.0: resolution: {integrity: sha512-1hoFIdlLI0sG+mkJgm70FjgIVpfLcE1vxPtNolg1tLFXrvbXGUYp9NHy3d6c41nDkg2OajuVS+Mn6A8UirFuMw==} - /@mui/icons-material@5.11.9(@mui/material@5.11.9)(@types/react@18.0.26)(react@17.0.2): - resolution: {integrity: sha512-SPANMk6K757Q1x48nCwPGdSNb8B71d+2hPMJ0V12VWerpSsbjZtvAPi5FAn13l2O5mwWkvI0Kne+0tCgnNxMNw==} + /@mui/icons-material@5.11.16(@mui/material@5.12.0)(@types/react@18.0.26)(react@17.0.2): + resolution: {integrity: sha512-oKkx9z9Kwg40NtcIajF9uOXhxiyTZrrm9nmIJ4UjkU2IdHpd4QVLbCc/5hZN/y0C6qzi2Zlxyr9TGddQx2vx2A==} engines: {node: '>=12.0.0'} peerDependencies: '@mui/material': ^5.0.0 @@ -7569,13 +7469,13 @@ packages: optional: true dependencies: '@babel/runtime': 7.21.0 - '@mui/material': 5.11.9(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2) + '@mui/material': 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2) '@types/react': 18.0.26 react: 17.0.2 dev: false - /@mui/icons-material@5.11.9(@mui/material@5.11.9)(@types/react@18.0.26)(react@18.2.0): - resolution: {integrity: sha512-SPANMk6K757Q1x48nCwPGdSNb8B71d+2hPMJ0V12VWerpSsbjZtvAPi5FAn13l2O5mwWkvI0Kne+0tCgnNxMNw==} + /@mui/icons-material@5.11.16(@mui/material@5.12.0)(@types/react@18.0.26)(react@18.2.0): + resolution: {integrity: sha512-oKkx9z9Kwg40NtcIajF9uOXhxiyTZrrm9nmIJ4UjkU2IdHpd4QVLbCc/5hZN/y0C6qzi2Zlxyr9TGddQx2vx2A==} engines: {node: '>=12.0.0'} peerDependencies: '@mui/material': ^5.0.0 @@ -7586,12 +7486,12 @@ packages: optional: true dependencies: '@babel/runtime': 7.21.0 - '@mui/material': 5.11.9(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) + '@mui/material': 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) '@types/react': 18.0.26 react: 18.2.0 - /@mui/material@5.11.9(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2): - resolution: {integrity: sha512-Wb3WzjzYyi/WKSl/XlF7aC8kk2NE21IoHMF7hNQMkPb0GslbWwR4OUjlBpxtG+RSZn44wMZkEDNB9Hw0TDsd8g==} + /@mui/material@5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2): + resolution: {integrity: sha512-IMellv153zJ6+xfhLWgXpAm/9hsX8qE6gP66xWcW/Pf2B8ubyVhmkTXsp8pAJxk81D6p/EyYcnAjo5DiDVkj9g==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -7608,11 +7508,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.21.0 - '@emotion/react': 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@17.0.2) - '@emotion/styled': 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@17.0.2) - '@mui/base': 5.0.0-alpha.118(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2) + '@emotion/react': 11.10.6(@types/react@18.0.26)(react@17.0.2) + '@emotion/styled': 11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@17.0.2) + '@mui/base': 5.0.0-alpha.125(@types/react@18.0.26)(react-dom@17.0.2)(react@17.0.2) '@mui/core-downloads-tracker': 5.12.0 - '@mui/system': 5.12.0(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react@17.0.2) + '@mui/system': 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react@17.0.2) '@mui/types': 7.2.4(@types/react@18.0.26) '@mui/utils': 5.12.0(react@17.0.2) '@types/react': 18.0.26 @@ -7626,43 +7526,8 @@ packages: react-transition-group: 4.4.5(react-dom@17.0.2)(react@17.0.2) dev: false - /@mui/material@5.11.9(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Wb3WzjzYyi/WKSl/XlF7aC8kk2NE21IoHMF7hNQMkPb0GslbWwR4OUjlBpxtG+RSZn44wMZkEDNB9Hw0TDsd8g==} - engines: {node: '>=12.0.0'} - peerDependencies: - '@emotion/react': ^11.5.0 - '@emotion/styled': ^11.3.0 - '@types/react': ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - '@emotion/react': - optional: true - '@emotion/styled': - optional: true - '@types/react': - optional: true - dependencies: - '@babel/runtime': 7.21.0 - '@emotion/react': 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@18.2.0) - '@emotion/styled': 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) - '@mui/base': 5.0.0-alpha.118(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) - '@mui/core-downloads-tracker': 5.12.0 - '@mui/system': 5.12.0(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react@18.2.0) - '@mui/types': 7.2.4(@types/react@18.0.26) - '@mui/utils': 5.12.0(react@18.2.0) - '@types/react': 18.0.26 - '@types/react-transition-group': 4.4.5 - clsx: 1.2.1 - csstype: 3.1.2 - prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-is: 18.2.0 - react-transition-group: 4.4.5(react-dom@18.2.0)(react@18.2.0) - - /@mui/material@5.11.9(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Wb3WzjzYyi/WKSl/XlF7aC8kk2NE21IoHMF7hNQMkPb0GslbWwR4OUjlBpxtG+RSZn44wMZkEDNB9Hw0TDsd8g==} + /@mui/material@5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-IMellv153zJ6+xfhLWgXpAm/9hsX8qE6gP66xWcW/Pf2B8ubyVhmkTXsp8pAJxk81D6p/EyYcnAjo5DiDVkj9g==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -7681,7 +7546,7 @@ packages: '@babel/runtime': 7.21.0 '@emotion/react': 11.10.6(@types/react@18.0.26)(react@18.2.0) '@emotion/styled': 11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@18.2.0) - '@mui/base': 5.0.0-alpha.118(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) + '@mui/base': 5.0.0-alpha.125(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) '@mui/core-downloads-tracker': 5.12.0 '@mui/system': 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react@18.2.0) '@mui/types': 7.2.4(@types/react@18.0.26) @@ -7695,7 +7560,6 @@ packages: react-dom: 18.2.0(react@18.2.0) react-is: 18.2.0 react-transition-group: 4.4.5(react-dom@18.2.0)(react@18.2.0) - dev: false /@mui/private-theming@5.12.0(@types/react@18.0.26)(react@17.0.2): resolution: {integrity: sha512-w5dwMen1CUm1puAtubqxY9BIzrBxbOThsg2iWMvRJmWyJAPdf3Z583fPXpqeA2lhTW79uH2jajk5Ka4FuGlTPg==} @@ -7730,7 +7594,7 @@ packages: prop-types: 15.8.1 react: 18.2.0 - /@mui/styled-engine@5.12.0(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(react@17.0.2): + /@mui/styled-engine@5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(react@17.0.2): resolution: {integrity: sha512-frh8L7CRnvD0RDmIqEv6jFeKQUIXqW90BaZ6OrxJ2j4kIsiVLu29Gss4SbBvvrWwwatR72sBmC3w1aG4fjp9mQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -7745,34 +7609,13 @@ packages: dependencies: '@babel/runtime': 7.21.0 '@emotion/cache': 11.10.7 - '@emotion/react': 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@17.0.2) - '@emotion/styled': 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@17.0.2) + '@emotion/react': 11.10.6(@types/react@18.0.26)(react@17.0.2) + '@emotion/styled': 11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@17.0.2) csstype: 3.1.2 prop-types: 15.8.1 react: 17.0.2 dev: false - /@mui/styled-engine@5.12.0(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(react@18.2.0): - resolution: {integrity: sha512-frh8L7CRnvD0RDmIqEv6jFeKQUIXqW90BaZ6OrxJ2j4kIsiVLu29Gss4SbBvvrWwwatR72sBmC3w1aG4fjp9mQ==} - engines: {node: '>=12.0.0'} - peerDependencies: - '@emotion/react': ^11.4.1 - '@emotion/styled': ^11.3.0 - react: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - '@emotion/react': - optional: true - '@emotion/styled': - optional: true - dependencies: - '@babel/runtime': 7.21.0 - '@emotion/cache': 11.10.7 - '@emotion/react': 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@18.2.0) - '@emotion/styled': 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) - csstype: 3.1.2 - prop-types: 15.8.1 - react: 18.2.0 - /@mui/styled-engine@5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(react@18.2.0): resolution: {integrity: sha512-frh8L7CRnvD0RDmIqEv6jFeKQUIXqW90BaZ6OrxJ2j4kIsiVLu29Gss4SbBvvrWwwatR72sBmC3w1aG4fjp9mQ==} engines: {node: '>=12.0.0'} @@ -7793,10 +7636,9 @@ packages: csstype: 3.1.2 prop-types: 15.8.1 react: 18.2.0 - dev: false - /@mui/styles@5.11.9(@types/react@18.0.26)(react@17.0.2): - resolution: {integrity: sha512-AWur9Cx5IQ/FWHEpsHU78pNRelGiJLr4jHu+M3PT0rC9w5n7tjMT8oEdaZKPt1bYUiRvkLC/vpNH+E8ov8gXxA==} + /@mui/styles@5.12.0(@types/react@18.0.26)(react@17.0.2): + resolution: {integrity: sha512-X7obkgZTd9X+7igqwKKe8pEncyXYdUCNmyJfHruV9TSc6LThoI29OYs6hkN6n+7ueNli+YDKdZ+TCoC1GpJuOw==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 @@ -7826,8 +7668,8 @@ packages: react: 17.0.2 dev: false - /@mui/styles@5.11.9(@types/react@18.0.26)(react@18.2.0): - resolution: {integrity: sha512-AWur9Cx5IQ/FWHEpsHU78pNRelGiJLr4jHu+M3PT0rC9w5n7tjMT8oEdaZKPt1bYUiRvkLC/vpNH+E8ov8gXxA==} + /@mui/styles@5.12.0(@types/react@18.0.26)(react@18.2.0): + resolution: {integrity: sha512-X7obkgZTd9X+7igqwKKe8pEncyXYdUCNmyJfHruV9TSc6LThoI29OYs6hkN6n+7ueNli+YDKdZ+TCoC1GpJuOw==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 @@ -7856,7 +7698,7 @@ packages: prop-types: 15.8.1 react: 18.2.0 - /@mui/system@5.12.0(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react@17.0.2): + /@mui/system@5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react@17.0.2): resolution: {integrity: sha512-Zi+WHuiJfK1ya+9+oeJQ1rLIBdY8CGDYT5oVlQg/6kIuyiCaE6SnN9PVzxBxfY77wHuOPwz4kxcPe9srdZc12Q==} engines: {node: '>=12.0.0'} peerDependencies: @@ -7873,10 +7715,10 @@ packages: optional: true dependencies: '@babel/runtime': 7.21.0 - '@emotion/react': 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@17.0.2) - '@emotion/styled': 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@17.0.2) + '@emotion/react': 11.10.6(@types/react@18.0.26)(react@17.0.2) + '@emotion/styled': 11.10.6(@emotion/react@11.10.6)(@types/react@18.0.26)(react@17.0.2) '@mui/private-theming': 5.12.0(@types/react@18.0.26)(react@17.0.2) - '@mui/styled-engine': 5.12.0(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(react@17.0.2) + '@mui/styled-engine': 5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(react@17.0.2) '@mui/types': 7.2.4(@types/react@18.0.26) '@mui/utils': 5.12.0(react@17.0.2) '@types/react': 18.0.26 @@ -7886,35 +7728,6 @@ packages: react: 17.0.2 dev: false - /@mui/system@5.12.0(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react@18.2.0): - resolution: {integrity: sha512-Zi+WHuiJfK1ya+9+oeJQ1rLIBdY8CGDYT5oVlQg/6kIuyiCaE6SnN9PVzxBxfY77wHuOPwz4kxcPe9srdZc12Q==} - engines: {node: '>=12.0.0'} - peerDependencies: - '@emotion/react': ^11.5.0 - '@emotion/styled': ^11.3.0 - '@types/react': ^17.0.0 || ^18.0.0 - react: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - '@emotion/react': - optional: true - '@emotion/styled': - optional: true - '@types/react': - optional: true - dependencies: - '@babel/runtime': 7.21.0 - '@emotion/react': 11.10.5(@babel/core@7.20.7)(@types/react@18.0.26)(react@18.2.0) - '@emotion/styled': 11.10.5(@babel/core@7.20.7)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) - '@mui/private-theming': 5.12.0(@types/react@18.0.26)(react@18.2.0) - '@mui/styled-engine': 5.12.0(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(react@18.2.0) - '@mui/types': 7.2.4(@types/react@18.0.26) - '@mui/utils': 5.12.0(react@18.2.0) - '@types/react': 18.0.26 - clsx: 1.2.1 - csstype: 3.1.2 - prop-types: 15.8.1 - react: 18.2.0 - /@mui/system@5.12.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.26)(react@18.2.0): resolution: {integrity: sha512-Zi+WHuiJfK1ya+9+oeJQ1rLIBdY8CGDYT5oVlQg/6kIuyiCaE6SnN9PVzxBxfY77wHuOPwz4kxcPe9srdZc12Q==} engines: {node: '>=12.0.0'} @@ -7943,7 +7756,6 @@ packages: csstype: 3.1.2 prop-types: 15.8.1 react: 18.2.0 - dev: false /@mui/types@7.2.4(@types/react@18.0.26): resolution: {integrity: sha512-LBcwa8rN84bKF+f5sDyku42w1NTxaPgPyYKODsh01U1fVstTClbUoSA96oyRBnSNyEiAVjKm6Gwx9vjR+xyqHA==} @@ -10332,7 +10144,7 @@ packages: /@types/hoist-non-react-statics@3.3.1: resolution: {integrity: sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==} dependencies: - '@types/react': 18.0.35 + '@types/react': 18.0.26 hoist-non-react-statics: 3.3.2 /@types/html-minifier-terser@5.1.2: @@ -10446,6 +10258,10 @@ packages: dependencies: '@types/unist': 2.0.6 + /@types/mdx@2.0.4: + resolution: {integrity: sha512-qCYrNdpKwN6YO6FVnx+ulfqifKlE3lQGsNhvDaW9Oxzyob/cRLBJWow8GHBBD4NxQ7BVvtsATgLsX0vZAWmtrg==} + dev: false + /@types/mime@1.3.2: resolution: {integrity: sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==} dev: true @@ -10556,7 +10372,7 @@ packages: /@types/react-is@17.0.3: resolution: {integrity: sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==} dependencies: - '@types/react': 18.0.35 + '@types/react': 18.0.26 /@types/react-redux@7.1.25: resolution: {integrity: sha512-bAGh4e+w5D8dajd6InASVIyCo4pZLJ66oLb80F9OBLO1gKESbZcRCJpTT6uLXX+HAB57zw1WTdwJdAsewuTweg==} @@ -12211,7 +12027,7 @@ packages: dependencies: '@babel/runtime': 7.21.0 cosmiconfig: 7.1.0 - resolve: 1.22.2 + resolve: 1.22.3 /babel-plugin-named-exports-order@0.0.2: resolution: {integrity: sha512-OgOYHOLoRK+/mvXU9imKHlG6GkPLYrUCvFXG/CM93R/aNNO8pOOF4aS+S8CCHMDQoNSeiOYEZb/G6RwL95Jktw==} @@ -13911,7 +13727,7 @@ packages: /css-vendor@2.0.8: resolution: {integrity: sha512-x9Aq0XTInxrkuFeHKbYC7zWY8ai7qJ04Kxd9MnvbC1uO5DagxoHQjm4JvG+vCdXOoFtCjbL2XSZfxmoYa9uQVQ==} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 is-in-browser: 1.1.3 /css-what@3.4.2: @@ -19137,7 +18953,7 @@ packages: jest-pnp-resolver: 1.2.3(jest-resolve@28.1.3) jest-util: 28.1.3 jest-validate: 28.1.3 - resolve: 1.22.2 + resolve: 1.22.3 resolve.exports: 1.1.1 slash: 3.0.0 dev: true @@ -19152,7 +18968,7 @@ packages: jest-pnp-resolver: 1.2.3(jest-resolve@29.5.0) jest-util: 29.5.0 jest-validate: 29.5.0 - resolve: 1.22.2 + resolve: 1.22.3 resolve.exports: 2.0.2 slash: 3.0.0 @@ -19878,7 +19694,7 @@ packages: resolution: {integrity: sha512-prXSYk799h3GY3iOWnC6ZigYzMPjxN2svgjJ9shk7oMadSNX3wXy0B6F32PMJv7qtMnrIbUxoEHzbutvxR2LBQ==} engines: {node: '>=6.0.0', npm: '>=6.0.0', yarn: '>=1.0.0'} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 app-root-dir: 1.0.2 core-js: 3.30.0 dotenv: 8.6.0 @@ -21369,7 +21185,7 @@ packages: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.22.2 + resolve: 1.22.3 semver: 5.7.1 validate-npm-package-license: 3.0.4 dev: true @@ -22536,7 +22352,7 @@ packages: resolution: {integrity: sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==} engines: {node: '>=10'} dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 dev: true /portfinder@1.0.32(supports-color@6.1.0): @@ -23536,7 +23352,7 @@ packages: dependencies: '@babel/core': 7.21.4 '@babel/generator': 7.21.4 - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 ast-types: 0.14.2 commander: 2.20.3 doctrine: 3.0.0 @@ -23677,7 +23493,7 @@ packages: peerDependencies: react: ^16.8.4 || ^17.0.0 dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 is-dom: 1.1.0 prop-types: 15.8.1 react: 18.2.0 @@ -23735,7 +23551,7 @@ packages: react-loadable: '*' webpack: '>=4.41.1 || 5.x' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 react-loadable: /@docusaurus/react-loadable@5.5.2(react@17.0.2) webpack: 5.79.0(esbuild@0.14.10) @@ -23746,7 +23562,7 @@ packages: react-loadable: '*' webpack: '>=4.41.1 || 5.x' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 react-loadable: 5.5.0(react@17.0.2) webpack: 5.79.0(esbuild@0.14.10) dev: false @@ -23835,7 +23651,7 @@ packages: react: '>=15' react-router: '>=5' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 react: 17.0.2 react-router: 5.3.4(react@17.0.2) @@ -23844,7 +23660,7 @@ packages: peerDependencies: react: '>=15' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 history: 4.10.1 loose-envify: 1.4.0 prop-types: 15.8.1 @@ -23872,7 +23688,7 @@ packages: peerDependencies: react: '>=15' dependencies: - '@babel/runtime': 7.21.0 + '@babel/runtime': 7.20.7 history: 4.10.1 hoist-non-react-statics: 3.3.2 loose-envify: 1.4.0 @@ -24121,7 +23937,7 @@ packages: resolution: {integrity: sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==} engines: {node: '>= 0.10'} dependencies: - resolve: 1.22.2 + resolve: 1.22.3 /rechoir@0.7.1: resolution: {integrity: sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==} @@ -24451,6 +24267,14 @@ packages: path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 + /resolve@1.22.3: + resolution: {integrity: sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw==} + hasBin: true + dependencies: + is-core-module: 2.12.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + /resolve@2.0.0-next.4: resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==} hasBin: true @@ -26462,6 +26286,14 @@ packages: typedoc: 0.23.25(typescript@4.9.4) dev: true + /typedoc-plugin-missing-exports@2.0.0(typedoc@0.23.25): + resolution: {integrity: sha512-t0QlKCm27/8DaheJkLo/gInSNjzBXgSciGhoLpL6sLyXZibm7SuwJtHvg4qXI2IjJfFBgW9mJvvszpoxMyB0TA==} + peerDependencies: + typedoc: 0.24.x + dependencies: + typedoc: 0.23.25(typescript@4.9.4) + dev: true + /typedoc@0.23.25(typescript@4.9.4): resolution: {integrity: sha512-O1he153qVyoCgJYSvIyY3bPP1wAJTegZfa6tL3APinSZhJOf8CSd8F/21M6ex8pUY/fuY6n0jAsT4fIuMGA6sA==} engines: {node: '>= 14.14'} diff --git a/website/package.json b/website/package.json index 6c8536aed..f50dbc335 100644 --- a/website/package.json +++ b/website/package.json @@ -30,24 +30,24 @@ "@docusaurus/theme-common": "2.3.1", "@docusaurus/theme-mermaid": "2.3.1", "@docusaurus/theme-search-algolia": "2.3.1", - "@emotion/cache": "11.10.5", - "@emotion/css": "11.10.5", + "@emotion/cache": "11.10.7", + "@emotion/css": "11.10.6", "@emotion/jest": "11.10.5", - "@emotion/react": "11.10.5", - "@emotion/styled": "11.10.5", - "@mdx-js/react": "^1.6.22", - "@mui/icons-material": "5.11.9", - "@mui/material": "5.11.9", - "@mui/styles": "5.11.9", + "@emotion/react": "11.10.6", + "@emotion/styled": "11.10.6", "@lyrasearch/lyra": "^0.3.1", + "@mdx-js/react": "^2.3.0", + "@mui/icons-material": "5.11.16", + "@mui/material": "5.12.0", + "@mui/styles": "5.12.0", "@verdaccio/ui-components": "workspace:2.0.0-6-next.8", - "dompurify": "2.4.5", "classnames": "2.3.2", "clsx": "1.2.1", "copy-text-to-clipboard": "3.0.1", "docusaurus-plugin-contributors": "workspace:1.0.1-6-next.0", "docusaurus-plugin-sentry": "1.0.0", "docusaurus-plugin-typedoc": "0.18.0", + "dompurify": "2.4.5", "p-cancelable": "2.1.1", "react": "17.0.2", "react-dom": "17.0.2", @@ -55,9 +55,9 @@ "react-player": "2.11.0", "react-twitter-widgets": "^1.10.0", "typedoc": "0.23.25", + "typedoc-github-wiki-theme": "^1.0.1", "typedoc-plugin-markdown": "3.14.0", "typedoc-plugin-merge-modules": "4.0.1", - "typedoc-github-wiki-theme": "^1.0.1", "use-is-in-viewport": "^1.0.9", "usehooks-ts": "2.9.1" }, diff --git a/website/src/components/Contributors.tsx b/website/src/components/Contributors.tsx index edaab882c..807969681 100644 --- a/website/src/components/Contributors.tsx +++ b/website/src/components/Contributors.tsx @@ -16,7 +16,8 @@ import ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction'; import ListItemText from '@mui/material/ListItemText'; import Tooltip from '@mui/material/Tooltip'; import Typography from '@mui/material/Typography'; -import { ThemeProvider, createTheme } from '@mui/material/styles'; +import { createTheme } from '@mui/material/styles'; +import { ThemeProvider } from '@mui/styles'; import { makeStyles, withStyles } from '@mui/styles'; import Layout from '@theme/Layout'; import React from 'react'; diff --git a/website/src/components/EcosystemSearch/AddonCard.tsx b/website/src/components/EcosystemSearch/AddonCard.tsx index e9ae02927..2163d7a7e 100644 --- a/website/src/components/EcosystemSearch/AddonCard.tsx +++ b/website/src/components/EcosystemSearch/AddonCard.tsx @@ -12,8 +12,8 @@ import Tooltip from '@mui/material/Tooltip'; import Typography from '@mui/material/Typography'; import Grid from '@mui/material/Unstable_Grid2'; import { green, red } from '@mui/material/colors'; -import { useTheme } from '@mui/material/styles'; import useMediaQuery from '@mui/material/useMediaQuery'; +import { useTheme } from '@mui/styles'; import * as React from 'react'; import { FC } from 'react'; diff --git a/website/src/components/EcosystemSearch/EcosystemSearch.tsx b/website/src/components/EcosystemSearch/EcosystemSearch.tsx index f2475a472..0509da0ae 100644 --- a/website/src/components/EcosystemSearch/EcosystemSearch.tsx +++ b/website/src/components/EcosystemSearch/EcosystemSearch.tsx @@ -1,4 +1,5 @@ -import { ThemeProvider, createTheme } from '@mui/material/styles'; +import { createTheme } from '@mui/material/styles'; +import { ThemeProvider } from '@mui/styles'; import React from 'react'; import { useState } from 'react'; diff --git a/website/src/components/EcosystemSearch/FilterControl.tsx b/website/src/components/EcosystemSearch/FilterControl.tsx index dda191744..36fec3dcf 100644 --- a/website/src/components/EcosystemSearch/FilterControl.tsx +++ b/website/src/components/EcosystemSearch/FilterControl.tsx @@ -1,4 +1,5 @@ import Translate, { translate } from '@docusaurus/Translate'; +import { useTheme } from '@mui/material'; import Alert from '@mui/material/Alert'; import Card from '@mui/material/Card'; import Checkbox from '@mui/material/Checkbox'; @@ -8,7 +9,6 @@ import Switch from '@mui/material/Switch'; import TextField from '@mui/material/TextField'; import Typography from '@mui/material/Typography'; import Grid from '@mui/material/Unstable_Grid2'; -import { useTheme } from '@mui/material/styles'; import React, { ReactElement, useState } from 'react'; import { FC } from 'react'; diff --git a/website/src/components/EcosystemSearch/ToolList.tsx b/website/src/components/EcosystemSearch/ToolList.tsx index 9d99d68ea..0e6845c1c 100644 --- a/website/src/components/EcosystemSearch/ToolList.tsx +++ b/website/src/components/EcosystemSearch/ToolList.tsx @@ -2,7 +2,7 @@ import Translate, { translate } from '@docusaurus/Translate'; import { create, insertBatch, search } from '@lyrasearch/lyra'; import Typography from '@mui/material/Typography'; import Grid from '@mui/material/Unstable_Grid2'; -import { useTheme } from '@mui/material/styles'; +import { useTheme } from '@mui/styles'; import * as React from 'react'; import { useState } from 'react'; import { useEffect } from 'react';