From f47016f892166b82698c5be57eec88944a7a274b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20La=20Scala?= Date: Wed, 13 Mar 2024 11:49:46 +0100 Subject: [PATCH 1/2] feat: error boundary work in progress, requires graasp/graasp-ui#756 --- package.json | 5 +- src/langs/en.json | 17 ++- src/modules/ErrorBoundary.tsx | 40 +++++++ src/modules/Root.tsx | 65 +++++----- tsconfig.json | 2 +- yarn.lock | 220 ++++++++++++++++------------------ 6 files changed, 195 insertions(+), 154 deletions(-) create mode 100644 src/modules/ErrorBoundary.tsx diff --git a/package.json b/package.json index afeea218..d0c6e796 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "license": "AGPL-3.0-only", "author": "Graasp", "contributors": [ - "Basile Spaenlehauer" + "Basile Spaenlehauer", + "Jérémy La Scala" ], "homepage": ".", "type": "module", @@ -13,7 +14,7 @@ "@emotion/styled": "11.11.0", "@graasp/apps-query-client": "3.4.8", "@graasp/sdk": "4.1.0", - "@graasp/ui": "4.9.3", + "@graasp/ui": "4.10.0", "@mui/icons-material": "5.15.12", "@mui/lab": "5.0.0-alpha.167", "@mui/material": "5.15.12", diff --git a/src/langs/en.json b/src/langs/en.json index a356c2fb..f8f4256a 100644 --- a/src/langs/en.json +++ b/src/langs/en.json @@ -1,5 +1,20 @@ { "translations": { - "Welcome to the Graasp App Starter Kit": "Welcome to the Graasp App Starter Kit" + "Welcome to the Graasp App Starter Kit": "Welcome to the Graasp App Starter Kit", + "ERROR_BOUNDARY": { + "FALLBACK": { + "MESSAGE_TITLE": "Sorry, something went wrong with this application", + "MESSAGE_FEEDBACK": "Our team has been notified. If you would like to help, please, tell us what happened below.", + "ERROR_DETAILS": "Details of the error", + "NAME_LABEL": "Name", + "NAME_HELPER": "Provide your name (optional)", + "EMAIL_LABEL": "Email", + "EMAIL_HELPER": "Provide your email (optional)", + "COMMENT_LABEL": "Comment", + "COMMENT_HELPER": "Tell us what happened (optional)", + "THANKS_FOR_FEEDBACK": "Thank you for your feedback!", + "SEND": "Send your feedback" + } + } } } diff --git a/src/modules/ErrorBoundary.tsx b/src/modules/ErrorBoundary.tsx new file mode 100644 index 00000000..d22f6ca2 --- /dev/null +++ b/src/modules/ErrorBoundary.tsx @@ -0,0 +1,40 @@ +import { FC, ReactNode } from 'react'; +import { useTranslation } from 'react-i18next'; + +import { ErrorFallback } from '@graasp/ui/apps'; + +import * as Sentry from '@sentry/react'; + +const ErrorBoundary: FC<{ children?: ReactNode }> = ({ children }) => { + const { t: tFallback } = useTranslation('translations', { + keyPrefix: 'ERROR_BOUNDARY.FALLBACK', + }); + return ( + ( + + )} + > + {children} + + ); +}; + +export default ErrorBoundary; diff --git a/src/modules/Root.tsx b/src/modules/Root.tsx index 9921c053..e8ef6255 100644 --- a/src/modules/Root.tsx +++ b/src/modules/Root.tsx @@ -24,6 +24,7 @@ import { defaultMockContext, mockMembers } from '@/mocks/db'; import Loader from '@/modules/common/Loader'; import { useObjectState } from '@/utils/hooks'; +import ErrorBoundary from './ErrorBoundary'; import App from './main/App'; // declare the module to enable theme modification @@ -80,42 +81,46 @@ const Root: FC = () => { - - - } - useGetLocalContext={hooks.useGetLocalContext} - useAutoResize={hooks.useAutoResize} - onError={() => { - console.error( - 'An error occurred while fetching the context.', - ); - }} - > - + + + } - useAuthToken={hooks.useAuthToken} + useGetLocalContext={hooks.useGetLocalContext} + useAutoResize={hooks.useAutoResize} onError={() => { console.error( - 'An error occurred while requesting the token.', + 'An error occurred while fetching the context.', ); }} > - - {import.meta.env.DEV && ( - - )} - - - {import.meta.env.DEV && ( - - )} - + } + useAuthToken={hooks.useAuthToken} + onError={() => { + console.error( + 'An error occurred while requesting the token.', + ); + }} + > + + {import.meta.env.DEV && ( + + )} + + + {import.meta.env.DEV && ( + + )} + + diff --git a/tsconfig.json b/tsconfig.json index 6a925fa3..da98e421 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "strict": true, "forceConsistentCasingInFileNames": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, diff --git a/yarn.lock b/yarn.lock index 0b0a866e..599781e5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -213,9 +213,9 @@ __metadata: languageName: node linkType: hard -"@babel/helper-define-polyfill-provider@npm:^0.6.0": - version: 0.6.0 - resolution: "@babel/helper-define-polyfill-provider@npm:0.6.0" +"@babel/helper-define-polyfill-provider@npm:^0.6.1": + version: 0.6.1 + resolution: "@babel/helper-define-polyfill-provider@npm:0.6.1" dependencies: "@babel/helper-compilation-targets": "npm:^7.22.6" "@babel/helper-plugin-utils": "npm:^7.22.5" @@ -224,7 +224,7 @@ __metadata: resolve: "npm:^1.14.2" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 10/1d5de59e4714bbf2e3623d0b312044e6d60f6320d9720784a740e87bbf58f8a143cb480f1ce3994b6f7beb32b97b7eb1e2c008aac7058e076ad97a78695eb2d5 + checksum: 10/316e7c0f05d2ae233d5fbb622c6339436da8d2b2047be866b64a16e6996c078a23b4adfebbdb33bc6a9882326a6cc20b95daa79a5e0edc92e9730e36d45fa523 languageName: node linkType: hard @@ -2589,9 +2589,9 @@ __metadata: languageName: node linkType: hard -"@graasp/ui@npm:4.9.3": - version: 4.9.3 - resolution: "@graasp/ui@npm:4.9.3" +"@graasp/ui@npm:4.10.0": + version: 4.10.0 + resolution: "@graasp/ui@npm:4.10.0" dependencies: "@ag-grid-community/client-side-row-model": "npm:31.1.1" "@ag-grid-community/react": "npm:^31.1.1" @@ -2623,7 +2623,7 @@ __metadata: react-router-dom: ^6.11.0 stylis: ^4.1.3 stylis-plugin-rtl: ^2.1.1 - checksum: 10/190d5c7bf0dbb1fe7fc042359c0f9f6f6fb8fb7fd72c1631082bf98ef4bc422a7792a0f89f1a67b7463ac63dbce70598f39903fe74c79decc646508457474549 + checksum: 10/3f6058e000d9d8c8ea07d23164db03e21a5ca8415395e2f328c90852b56ca7f6b21226c7abe5bda48e40ec1a26818b3cf23f285e3287a02a1c0264b17d382af3 languageName: node linkType: hard @@ -2833,9 +2833,9 @@ __metadata: linkType: hard "@mui/core-downloads-tracker@npm:^5.15.11, @mui/core-downloads-tracker@npm:^5.15.12": - version: 5.15.12 - resolution: "@mui/core-downloads-tracker@npm:5.15.12" - checksum: 10/bbece78282ca224ee8aee67f67c7840962ccdfa9753e93c0c4ede2d6a37853ad7523996c39be530077a7ecb49fb82f6e60bed7ce7937b05ca485a2d091aac3d8 + version: 5.15.13 + resolution: "@mui/core-downloads-tracker@npm:5.15.13" + checksum: 10/988e5c7ff9c185c603b6c5d533e6dbb305b5d334c3f2b4ebcc9e2a5fb7dea141ccb05f70aa4cbf972e2556a67a0d928c7bd3bf7ab5d41b139fd0532af64e2c65 languageName: node linkType: hard @@ -3045,8 +3045,8 @@ __metadata: linkType: hard "@mui/utils@npm:^5.15.11, @mui/utils@npm:^5.15.12": - version: 5.15.12 - resolution: "@mui/utils@npm:5.15.12" + version: 5.15.13 + resolution: "@mui/utils@npm:5.15.13" dependencies: "@babel/runtime": "npm:^7.23.9" "@types/prop-types": "npm:^15.7.11" @@ -3058,7 +3058,7 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 10/e4c40d73a0367ccc89491835fb98baafaea046fbcdd46d407689b8cda95ead1d45bb3b4364a135c1fa20d1c3b23ad69705e228943e5995d597860be9b5ab8c2b + checksum: 10/16f78b87bb88f6e1131ac1ff426d4fda128d56bbbca53b98ae45ce45bf0bb826dba66cbff98b25d842225fd1a983c17ae83b43ead17c9add88789eb9514d065b languageName: node linkType: hard @@ -3164,93 +3164,93 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.12.1" +"@rollup/rollup-android-arm-eabi@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.13.0" conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-android-arm64@npm:4.12.1" +"@rollup/rollup-android-arm64@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-android-arm64@npm:4.13.0" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-darwin-arm64@npm:4.12.1" +"@rollup/rollup-darwin-arm64@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.13.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-darwin-x64@npm:4.12.1" +"@rollup/rollup-darwin-x64@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.13.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.12.1" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.13.0" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.12.1" +"@rollup/rollup-linux-arm64-gnu@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.13.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.12.1" +"@rollup/rollup-linux-arm64-musl@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.13.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.12.1" +"@rollup/rollup-linux-riscv64-gnu@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.13.0" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.12.1" +"@rollup/rollup-linux-x64-gnu@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.13.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.12.1" +"@rollup/rollup-linux-x64-musl@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.13.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.12.1" +"@rollup/rollup-win32-arm64-msvc@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.13.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.12.1" +"@rollup/rollup-win32-ia32-msvc@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.13.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.12.1": - version: 4.12.1 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.12.1" +"@rollup/rollup-win32-x64-msvc@npm:4.13.0": + version: 4.13.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.13.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3955,16 +3955,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*": - version: 20.11.25 - resolution: "@types/node@npm:20.11.25" - dependencies: - undici-types: "npm:~5.26.4" - checksum: 10/861265f1bbb151404bd8842b595f027a4ff067c61ecff9a37b9f7f53922c18dd532c8e795e8e7675dd8dba056645623fd2b9848d5ef72863ec3609096cd2923e - languageName: node - linkType: hard - -"@types/node@npm:20.11.27": +"@types/node@npm:*, @types/node@npm:20.11.27": version: 20.11.27 resolution: "@types/node@npm:20.11.27" dependencies: @@ -3974,11 +3965,11 @@ __metadata: linkType: hard "@types/node@npm:^18.0.0": - version: 18.19.22 - resolution: "@types/node@npm:18.19.22" + version: 18.19.24 + resolution: "@types/node@npm:18.19.24" dependencies: undici-types: "npm:~5.26.4" - checksum: 10/4da0bd3e6cb8d85d2194d6ce241fc7fadd6fd1983914283cbc264e12c8a5ee8b646af9f6bf3f3b35d825890cfc908ff9e8ae5535597ac93aa02b826b6bbb24f7 + checksum: 10/75aa69309d76c6be300d7264c462952ab0d37d69c289a0fd5d27ccf06273b3a9c745317c2004f757bdbcc8f48d693a625b5925c09cac77605979ecb825066627 languageName: node linkType: hard @@ -4044,18 +4035,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*": - version: 18.2.64 - resolution: "@types/react@npm:18.2.64" - dependencies: - "@types/prop-types": "npm:*" - "@types/scheduler": "npm:*" - csstype: "npm:^3.0.2" - checksum: 10/e82bd16660030c9aabdb5027bb9bf69570a90813e4a894c17bfb288978c2b80251def5754e455d72aa3485d99136e1b11b694f78c586e5918e10b3bb09b91b3c - languageName: node - linkType: hard - -"@types/react@npm:18.2.65": +"@types/react@npm:*, @types/react@npm:18.2.65": version: 18.2.65 resolution: "@types/react@npm:18.2.65" dependencies: @@ -4984,7 +4964,7 @@ __metadata: languageName: node linkType: hard -"available-typed-arrays@npm:^1.0.6, available-typed-arrays@npm:^1.0.7": +"available-typed-arrays@npm:^1.0.7": version: 1.0.7 resolution: "available-typed-arrays@npm:1.0.7" dependencies: @@ -5057,15 +5037,15 @@ __metadata: linkType: hard "babel-plugin-polyfill-corejs2@npm:^0.4.8": - version: 0.4.9 - resolution: "babel-plugin-polyfill-corejs2@npm:0.4.9" + version: 0.4.10 + resolution: "babel-plugin-polyfill-corejs2@npm:0.4.10" dependencies: "@babel/compat-data": "npm:^7.22.6" - "@babel/helper-define-polyfill-provider": "npm:^0.6.0" + "@babel/helper-define-polyfill-provider": "npm:^0.6.1" semver: "npm:^6.3.1" peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 10/e49de0d2667468193e07986270c2ad9ed45f5b58e3605a288296b02a88e1c10a0333277a9d1609eeb64d862851a03cdb62f22d483fd332410d2016d2f4ec0751 + checksum: 10/9fb5e59a3235eba66fb05060b2a3ecd6923084f100df7526ab74b6272347d7adcf99e17366b82df36e592cde4e82fdb7ae24346a990eced76c7d504cac243400 languageName: node linkType: hard @@ -5352,9 +5332,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001587": - version: 1.0.30001596 - resolution: "caniuse-lite@npm:1.0.30001596" - checksum: 10/4124d6e927193ee31bb7237925720263ac837ef0bf6627c67a8217edfe49eefc3a385a4830d4aa92a213576a0aa6006e61c8dd57a644ec65882c15d15f625182 + version: 1.0.30001597 + resolution: "caniuse-lite@npm:1.0.30001597" + checksum: 10/44a268113faeee51e249cbcb3924dc3765f26cd527a134e3bb720ed20d50abd8b9291500a88beee061cc03ae9f15ddc9045d57e30d25a98efeaff4f7bb8965c1 languageName: node linkType: hard @@ -6223,9 +6203,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.4.668": - version: 1.4.699 - resolution: "electron-to-chromium@npm:1.4.699" - checksum: 10/dd09cc21a204fee05349348f3399fc2a2a02b770fc43c746f3f117d870e8614495eb05647d01dfea92bb05bf2f0dd374ce19e6acd7623a1ad785951e193942d3 + version: 1.4.703 + resolution: "electron-to-chromium@npm:1.4.703" + checksum: 10/e7927fbe75e56508dd0b4efeb0e69dfb8ee1e6e6aaf6f07c047b96ff530d8f49e1eaf51cae64c2d3c179e3932fb37661012ccaa4f36956dd96480219f3a23013 languageName: node linkType: hard @@ -6269,12 +6249,12 @@ __metadata: linkType: hard "enhanced-resolve@npm:^5.12.0": - version: 5.15.1 - resolution: "enhanced-resolve@npm:5.15.1" + version: 5.16.0 + resolution: "enhanced-resolve@npm:5.16.0" dependencies: graceful-fs: "npm:^4.2.4" tapable: "npm:^2.2.0" - checksum: 10/9d4badf18c515f7607539e61d7b78f3057ba2f17b97d188c5ef9bcbc26fa6d25b66f0007d39a3a3c3c2a83b53bedbdb6ce82250c57b85470b6b73004d78989be + checksum: 10/47f123676b9b179b35195769b9d9523f314f6fc3a13d4461a4d95d5beaec9adc26aaa3b60b61f93e21ed1290dff0e9d9e67df343ec47f4480669a8e26ffe52a3 languageName: node linkType: hard @@ -7942,7 +7922,7 @@ __metadata: "@emotion/styled": "npm:11.11.0" "@graasp/apps-query-client": "npm:3.4.8" "@graasp/sdk": "npm:4.1.0" - "@graasp/ui": "npm:4.9.3" + "@graasp/ui": "npm:4.10.0" "@mui/icons-material": "npm:5.15.12" "@mui/lab": "npm:5.0.0-alpha.167" "@mui/material": "npm:5.15.12" @@ -8075,7 +8055,7 @@ __metadata: languageName: node linkType: hard -"has-tostringtag@npm:^1.0.0, has-tostringtag@npm:^1.0.1, has-tostringtag@npm:^1.0.2": +"has-tostringtag@npm:^1.0.0, has-tostringtag@npm:^1.0.2": version: 1.0.2 resolution: "has-tostringtag@npm:1.0.2" dependencies: @@ -11233,22 +11213,22 @@ __metadata: linkType: hard "rollup@npm:^4.2.0": - version: 4.12.1 - resolution: "rollup@npm:4.12.1" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.12.1" - "@rollup/rollup-android-arm64": "npm:4.12.1" - "@rollup/rollup-darwin-arm64": "npm:4.12.1" - "@rollup/rollup-darwin-x64": "npm:4.12.1" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.12.1" - "@rollup/rollup-linux-arm64-gnu": "npm:4.12.1" - "@rollup/rollup-linux-arm64-musl": "npm:4.12.1" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.12.1" - "@rollup/rollup-linux-x64-gnu": "npm:4.12.1" - "@rollup/rollup-linux-x64-musl": "npm:4.12.1" - "@rollup/rollup-win32-arm64-msvc": "npm:4.12.1" - "@rollup/rollup-win32-ia32-msvc": "npm:4.12.1" - "@rollup/rollup-win32-x64-msvc": "npm:4.12.1" + version: 4.13.0 + resolution: "rollup@npm:4.13.0" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.13.0" + "@rollup/rollup-android-arm64": "npm:4.13.0" + "@rollup/rollup-darwin-arm64": "npm:4.13.0" + "@rollup/rollup-darwin-x64": "npm:4.13.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.13.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.13.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.13.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.13.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.13.0" + "@rollup/rollup-linux-x64-musl": "npm:4.13.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.13.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.13.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.13.0" "@types/estree": "npm:1.0.5" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -11282,7 +11262,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10/986c3b3422ac7a93af0980da2ea14b6d2c75cfdeb314843e9d91ca75641fd585b0fcaf242c3f00615ac8371ba93e0cc341b4a342cad99e1c66301dcec5936a8c + checksum: 10/3ebced8ad49e8b5617cb7013cb106dd8ac99ae31a71f9689dc689b8fdaf0eb109f3d861330ef659e5f28a2c38e040282aea0e1df150b165f53f649d46275df84 languageName: node linkType: hard @@ -12428,14 +12408,14 @@ __metadata: linkType: hard "unplugin@npm:^1.3.1": - version: 1.9.0 - resolution: "unplugin@npm:1.9.0" + version: 1.10.0 + resolution: "unplugin@npm:1.10.0" dependencies: acorn: "npm:^8.11.3" chokidar: "npm:^3.6.0" webpack-sources: "npm:^3.2.3" webpack-virtual-modules: "npm:^0.6.1" - checksum: 10/35378912ae9f7e26e8166c80487ee79a1728d0be59e5d6c1f88ef292cd97e89a0307b9407ee0eea97df3117f6c05f4c8171cd10f89eda142a75bf0ae423fb7c9 + checksum: 10/a275d100dba47d1c59f2feba112b8a8ac917d97ac14b4b50b1da1acfcbe82b865a97870879cc16cb5495c90358657076b73a3d655aa32e74071f18a2e68d15ba languageName: node linkType: hard @@ -12902,15 +12882,15 @@ __metadata: linkType: hard "which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.9": - version: 1.1.14 - resolution: "which-typed-array@npm:1.1.14" + version: 1.1.15 + resolution: "which-typed-array@npm:1.1.15" dependencies: - available-typed-arrays: "npm:^1.0.6" - call-bind: "npm:^1.0.5" + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" for-each: "npm:^0.3.3" gopd: "npm:^1.0.1" - has-tostringtag: "npm:^1.0.1" - checksum: 10/56253d2c9d6b41b8a4af96d8c2751bac5508906bd500cdcd0dc5301fb082de0391a4311ab21258bc8d2609ed593f422c1a66f0020fcb3a1e97f719bc928b9018 + has-tostringtag: "npm:^1.0.2" + checksum: 10/c3b6a99beadc971baa53c3ee5b749f2b9bdfa3b3b9a70650dd8511a48b61d877288b498d424712e9991d16019633086bd8b5923369460d93463c5825fa36c448 languageName: node linkType: hard From e6c932994617ca6f0cfd4f5b2067a179689c71e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20La=20Scala?= Date: Wed, 13 Mar 2024 14:39:26 +0100 Subject: [PATCH 2/2] chore(deps): graasp-ui to 4.10.0 --- yarn.lock | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/yarn.lock b/yarn.lock index 599781e5..f1505ce2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2966,12 +2966,12 @@ __metadata: languageName: node linkType: hard -"@mui/private-theming@npm:^5.15.12": - version: 5.15.12 - resolution: "@mui/private-theming@npm:5.15.12" +"@mui/private-theming@npm:^5.15.13": + version: 5.15.13 + resolution: "@mui/private-theming@npm:5.15.13" dependencies: "@babel/runtime": "npm:^7.23.9" - "@mui/utils": "npm:^5.15.12" + "@mui/utils": "npm:^5.15.13" prop-types: "npm:^15.8.1" peerDependencies: "@types/react": ^17.0.0 || ^18.0.0 @@ -2979,7 +2979,7 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 10/9e4e144d3de79536ec7cb46c98cabbe334ec7368c49ec3aa5a312e37fb8571cc95bad60b799e3252bbce7f2de6cc467f250cb217ca60316ead5303b5f5f2a660 + checksum: 10/677fa31f8caa1f3ae4b44806b2cf340b23eb9132baaca1421f615d1ef1aae5560a7c452b4f79e38bdb865a54306ba65c4ac95c1f4c0216f89217dd19fb320747 languageName: node linkType: hard @@ -3005,14 +3005,14 @@ __metadata: linkType: hard "@mui/system@npm:^5.15.11, @mui/system@npm:^5.15.12": - version: 5.15.12 - resolution: "@mui/system@npm:5.15.12" + version: 5.15.13 + resolution: "@mui/system@npm:5.15.13" dependencies: "@babel/runtime": "npm:^7.23.9" - "@mui/private-theming": "npm:^5.15.12" + "@mui/private-theming": "npm:^5.15.13" "@mui/styled-engine": "npm:^5.15.11" "@mui/types": "npm:^7.2.13" - "@mui/utils": "npm:^5.15.12" + "@mui/utils": "npm:^5.15.13" clsx: "npm:^2.1.0" csstype: "npm:^3.1.3" prop-types: "npm:^15.8.1" @@ -3028,7 +3028,7 @@ __metadata: optional: true "@types/react": optional: true - checksum: 10/23642eea1f5948cf0c57674569af9df3e7630d888da80d5d34afe6259a21631424f86b23a431a76a4046a6caa738d81d8a1b36ca438c6695aa93ca62b08afd50 + checksum: 10/678a741d872a4badba32f7b88d7db969af96cf3e029f984abd0f58e88e95203a1ee3f4110f970a015d15f7e9171d0dea57040cdb8419901236790df4900de017 languageName: node linkType: hard @@ -3044,7 +3044,7 @@ __metadata: languageName: node linkType: hard -"@mui/utils@npm:^5.15.11, @mui/utils@npm:^5.15.12": +"@mui/utils@npm:^5.15.11, @mui/utils@npm:^5.15.12, @mui/utils@npm:^5.15.13": version: 5.15.13 resolution: "@mui/utils@npm:5.15.13" dependencies: