From 8b8a13dd1c14a026cb62bc10b9a717444dbafbac Mon Sep 17 00:00:00 2001 From: spaenleh Date: Tue, 15 Aug 2023 10:40:27 +0200 Subject: [PATCH 1/8] chore: update deps --- package.json | 32 +-- yarn.lock | 674 +++++++++++++++++---------------------------------- 2 files changed, 234 insertions(+), 472 deletions(-) diff --git a/package.json b/package.json index 590afacad..9f8c8de1b 100644 --- a/package.json +++ b/package.json @@ -17,15 +17,15 @@ "@emotion/react": "11.11.1", "@emotion/styled": "11.11.0", "@graasp/chatbox": "2.0.0", - "@graasp/query-client": "1.3.2", + "@graasp/query-client": "1.4.1", "@graasp/sdk": "1.2.0", "@graasp/translations": "1.18.1", "@graasp/ui": "3.3.1", "@mui/icons-material": "5.14.3", "@mui/lab": "5.0.0-alpha.138", - "@mui/material": "5.14.4", - "@sentry/react": "7.61.1", - "@sentry/tracing": "7.61.1", + "@mui/material": "5.14.5", + "@sentry/react": "7.64.0", + "@sentry/tracing": "7.64.0", "@uppy/core": "3.3.1", "@uppy/dashboard": "3.4.2", "@uppy/drag-drop": "3.0.2", @@ -35,13 +35,13 @@ "@uppy/status-bar": "3.2.2", "@uppy/tus": "3.1.2", "@uppy/xhr-upload": "3.3.1", - "ag-grid-community": "29.3.3", - "ag-grid-react": "29.3.3", + "ag-grid-community": "29.3.5", + "ag-grid-react": "29.3.5", "date-fns": "2.30.0", - "filesize": "10.0.8", + "filesize": "10.0.12", "http-status-codes": "2.2.0", "immutable": "4.3.1", - "katex": "0.16.7", + "katex": "0.16.8", "lodash.groupby": "4.6.0", "lodash.partition": "4.6.0", "lodash.truncate": "4.4.2", @@ -56,8 +56,8 @@ "react-image-crop": "9.1.1", "react-query": "3.39.3", "react-quill": "2.0.0", - "react-router": "6.14.2", - "react-router-dom": "6.14.2", + "react-router": "6.15.0", + "react-router-dom": "6.15.0", "react-toastify": "9.1.3", "stylis": "4.3.0", "stylis-plugin-rtl": "2.1.1", @@ -104,7 +104,7 @@ "@commitlint/cli": "17.7.1", "@commitlint/config-conventional": "17.7.0", "@cypress/code-coverage": "3.11.0", - "@testing-library/jest-dom": "^5.16.5", + "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "@trivago/prettier-plugin-sort-imports": "4.2.0", @@ -119,17 +119,17 @@ "@types/react-dom": "18.2.7", "@types/uuid": "9.0.2", "@types/validator": "13.11.1", - "@typescript-eslint/eslint-plugin": "6.3.0", - "@typescript-eslint/parser": "6.3.0", + "@typescript-eslint/eslint-plugin": "6.4.0", + "@typescript-eslint/parser": "6.4.0", "@vitejs/plugin-react": "4.0.4", "concurrently": "8.2.0", "cypress": "12.17.3", - "cypress-localstorage-commands": "2.2.3", + "cypress-localstorage-commands": "2.2.4", "env-cmd": "10.1.0", - "eslint": "^8.46.0", + "eslint": "^8.47.0", "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "9.0.0", - "eslint-import-resolver-typescript": "3.5.5", + "eslint-import-resolver-typescript": "3.6.0", "eslint-plugin-import": "2.28.0", "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-react": "7.33.1", diff --git a/yarn.lock b/yarn.lock index 33e7ee2e3..81477303c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1929,9 +1929,9 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.1": - version: 2.1.1 - resolution: "@eslint/eslintrc@npm:2.1.1" +"@eslint/eslintrc@npm:^2.1.2": + version: 2.1.2 + resolution: "@eslint/eslintrc@npm:2.1.2" dependencies: ajv: ^6.12.4 debug: ^4.3.2 @@ -1942,14 +1942,14 @@ __metadata: js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: bf909ea183d27238c257a82d4ffdec38ca94b906b4b8dfae02ecbe7ecc9e5a8182ef5e469c808bb8cb4fea4750f43ac4ca7c4b4a167b6cd7e3aaacd386b2bd25 + checksum: bc742a1e3b361f06fedb4afb6bf32cbd27171292ef7924f61c62f2aed73048367bcc7ac68f98c06d4245cd3fabc43270f844e3c1699936d4734b3ac5398814a7 languageName: node linkType: hard -"@eslint/js@npm:^8.46.0": - version: 8.46.0 - resolution: "@eslint/js@npm:8.46.0" - checksum: 7aed479832302882faf5bec37e9d068f270f84c19b3fb529646a7c1b031e73a312f730569c78806492bc09cfce3d7651dfab4ce09a56cbb06bc6469449e56377 +"@eslint/js@npm:^8.47.0": + version: 8.47.0 + resolution: "@eslint/js@npm:8.47.0" + checksum: 0ef57fe27b6d4c305b33f3b2d2fee1ab397a619006f1d6f4ce5ee4746b8f03d11a4e098805a7d78601ca534cf72917d37f0ac19896c992a32e26299ecb9f9de1 languageName: node linkType: hard @@ -2062,12 +2062,12 @@ __metadata: languageName: node linkType: hard -"@graasp/query-client@npm:1.3.2": - version: 1.3.2 - resolution: "@graasp/query-client@npm:1.3.2" +"@graasp/query-client@npm:1.4.1": + version: 1.4.1 + resolution: "@graasp/query-client@npm:1.4.1" dependencies: - "@graasp/sdk": 1.1.3 - "@graasp/translations": 1.17.0 + "@graasp/sdk": 1.2.0 + "@graasp/translations": 1.18.1 axios: 0.27.2 crypto-js: 4.1.1 http-status-codes: 2.2.0 @@ -2077,7 +2077,7 @@ __metadata: uuid: 9.0.0 peerDependencies: react: ^17.0.0 - checksum: 72880d87c4e95061504e92fa2ccc68764ed9e5815ce22f3b7976d32a2019d7cdee4aefdef48401157a62f71cd04602019761490989bb18a94c697f2f81d3f231 + checksum: 95d97d12d4d8fee4c06fbce468edd58909e35b63a05e34de4a5cf44d9f5f2246bfae296e97cbef04e72e46160b53059a757aac2118c9074e647f4781efc34705 languageName: node linkType: hard @@ -2119,15 +2119,6 @@ __metadata: languageName: node linkType: hard -"@graasp/translations@npm:1.17.0": - version: 1.17.0 - resolution: "@graasp/translations@npm:1.17.0" - dependencies: - i18next: 22.4.15 - checksum: cd9b28b30f1fb02301f8369f51e9cdd7c70299da03a567e9787df3c08db13c1b7dabce036824113755307bd1af9fac85ee5e6551e47a6b511f2c158eb1a96391 - languageName: node - linkType: hard - "@graasp/translations@npm:1.18.1": version: 1.18.1 resolution: "@graasp/translations@npm:1.18.1" @@ -2322,14 +2313,14 @@ __metadata: languageName: node linkType: hard -"@mui/base@npm:5.0.0-beta.10": - version: 5.0.0-beta.10 - resolution: "@mui/base@npm:5.0.0-beta.10" +"@mui/base@npm:5.0.0-beta.11": + version: 5.0.0-beta.11 + resolution: "@mui/base@npm:5.0.0-beta.11" dependencies: "@babel/runtime": ^7.22.6 "@emotion/is-prop-valid": ^1.2.1 "@mui/types": ^7.2.4 - "@mui/utils": ^5.14.4 + "@mui/utils": ^5.14.5 "@popperjs/core": ^2.11.8 clsx: ^2.0.0 prop-types: ^15.8.1 @@ -2341,7 +2332,7 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 4190213fea4715fb3928828339389aeb69620d3f992d42c79422ddaa76540890d3df3468658e4aa071712ec6efc0bba286ef6c7820daeaad6f1d22fedd692afd + checksum: 7a60421c427f3561d3e58abfa223a08ba6fc00e5587ff13c2ebbad52c3ea6bb45bdfa6e8a5cf673be4e90af0aef96b3253ec9098446ba94f5a414eb81e0c3d1a languageName: node linkType: hard @@ -2368,10 +2359,10 @@ __metadata: languageName: node linkType: hard -"@mui/core-downloads-tracker@npm:^5.14.4": - version: 5.14.4 - resolution: "@mui/core-downloads-tracker@npm:5.14.4" - checksum: da36c30ba8cd5ce5241fd6806603d70833a3ff5d92a47bbd3b1215308e47181a1340dbcb5acefeab99bd8e2e2cb9e6a1565c140a9bbf078236c10af8f8c27dc5 +"@mui/core-downloads-tracker@npm:^5.14.5": + version: 5.14.5 + resolution: "@mui/core-downloads-tracker@npm:5.14.5" + checksum: 934fe49cf1a14db380727a83fcd559771b82480ebbbe36ea476e219b91cf08224ca3f0b50b3f218aeb10b537cc61e096d3c3048fd93ae7a17238631b144da241 languageName: node linkType: hard @@ -2421,16 +2412,16 @@ __metadata: languageName: node linkType: hard -"@mui/material@npm:5.14.4": - version: 5.14.4 - resolution: "@mui/material@npm:5.14.4" +"@mui/material@npm:5.14.5": + version: 5.14.5 + resolution: "@mui/material@npm:5.14.5" dependencies: "@babel/runtime": ^7.22.6 - "@mui/base": 5.0.0-beta.10 - "@mui/core-downloads-tracker": ^5.14.4 - "@mui/system": ^5.14.4 + "@mui/base": 5.0.0-beta.11 + "@mui/core-downloads-tracker": ^5.14.5 + "@mui/system": ^5.14.5 "@mui/types": ^7.2.4 - "@mui/utils": ^5.14.4 + "@mui/utils": ^5.14.5 "@types/react-transition-group": ^4.4.6 clsx: ^2.0.0 csstype: ^3.1.2 @@ -2450,7 +2441,7 @@ __metadata: optional: true "@types/react": optional: true - checksum: 9f419b4dfc1fa299a542217fc9d02d8976c97860d175df225e2516cc84454e0222f5ad285612021f46228db6915eabea8914f8d58bf194c2139b9b2ca2968320 + checksum: a3889143be3a5eff0bb7cfce66f677eb6a441f17a958abb2ace09f20cbfd4edb6ade3d63aa616eca0c774abc7167c63b57a05bb172355f3b6f7ac90ce31f55d2 languageName: node linkType: hard @@ -2471,12 +2462,12 @@ __metadata: languageName: node linkType: hard -"@mui/private-theming@npm:^5.14.4": - version: 5.14.4 - resolution: "@mui/private-theming@npm:5.14.4" +"@mui/private-theming@npm:^5.14.5": + version: 5.14.5 + resolution: "@mui/private-theming@npm:5.14.5" dependencies: "@babel/runtime": ^7.22.6 - "@mui/utils": ^5.14.4 + "@mui/utils": ^5.14.5 prop-types: ^15.8.1 peerDependencies: "@types/react": ^17.0.0 || ^18.0.0 @@ -2484,7 +2475,7 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 822487a6bd2cc06397b4158dd79283fa6829410d3abd16aa7c12d8569512bfa5f2b6db707b2b2e2f4fa59fc62286057b8184428c7e1cf8147eb1649c426b164c + checksum: 0d42a858725ee52369689f51c5237cd7d296bf2af380954b7406b62f41a09c34820ac698e53475caf1115adb3849b346945fe2dd867d637be7ae182a84c92b56 languageName: node linkType: hard @@ -2537,15 +2528,15 @@ __metadata: languageName: node linkType: hard -"@mui/system@npm:^5.14.4": - version: 5.14.4 - resolution: "@mui/system@npm:5.14.4" +"@mui/system@npm:^5.14.5": + version: 5.14.5 + resolution: "@mui/system@npm:5.14.5" dependencies: "@babel/runtime": ^7.22.6 - "@mui/private-theming": ^5.14.4 + "@mui/private-theming": ^5.14.5 "@mui/styled-engine": ^5.13.2 "@mui/types": ^7.2.4 - "@mui/utils": ^5.14.4 + "@mui/utils": ^5.14.5 clsx: ^2.0.0 csstype: ^3.1.2 prop-types: ^15.8.1 @@ -2561,7 +2552,7 @@ __metadata: optional: true "@types/react": optional: true - checksum: 1f0df9872456f3876d6963bb661212e5030ca7218f4687b649d1a969f9c27f707c1cc4687d375257c75cbabd39cd402c5a16d4739b37e94f89f0a5eb9827edd1 + checksum: a177012914cf6f86af17e45e15ad489f5203ce5c055d40e77e5152ea0584fa01092c5b27fde956c8d7079b40d9ffd92270edf9c3a5249d4cd217b0dbccadd32d languageName: node linkType: hard @@ -2607,9 +2598,9 @@ __metadata: languageName: node linkType: hard -"@mui/utils@npm:^5.14.4": - version: 5.14.4 - resolution: "@mui/utils@npm:5.14.4" +"@mui/utils@npm:^5.14.5": + version: 5.14.5 + resolution: "@mui/utils@npm:5.14.5" dependencies: "@babel/runtime": ^7.22.6 "@types/prop-types": ^15.7.5 @@ -2618,7 +2609,7 @@ __metadata: react-is: ^18.2.0 peerDependencies: react: ^17.0.0 || ^18.0.0 - checksum: b0084c55dc15c304e93832a23c567e41f2b152242dee3dc2578ce4b3d5177d604994abe1fd39b38a23d049592126a71ecf5ac9fe9f141155aeb4cce06241df92 + checksum: 7044d73ae41bdfd9c7c6287a3c1391ec4c5395c8f0092eac3ca4f1fd5359068fad29366f39d8072f68493eb5225399463935bbca266c879d630f8ebaa3db96d7 languageName: node linkType: hard @@ -2669,20 +2660,6 @@ __metadata: languageName: node linkType: hard -"@pkgr/utils@npm:^2.3.1": - version: 2.4.1 - resolution: "@pkgr/utils@npm:2.4.1" - dependencies: - cross-spawn: ^7.0.3 - fast-glob: ^3.2.12 - is-glob: ^4.0.3 - open: ^9.1.0 - picocolors: ^1.0.0 - tslib: ^2.5.0 - checksum: 654682860272541a40485b01e0763b155ec31faeba85b2c51e38b59c4ff1f8918c37b87b5ecbda3ff482d8486eba086e92b991fe4a8ed62efbbbdf83c0f64409 - languageName: node - linkType: hard - "@popperjs/core@npm:^2.11.8": version: 2.11.8 resolution: "@popperjs/core@npm:2.11.8" @@ -2690,99 +2667,99 @@ __metadata: languageName: node linkType: hard -"@remix-run/router@npm:1.7.2": - version: 1.7.2 - resolution: "@remix-run/router@npm:1.7.2" - checksum: ea43bb662f1f5c93965989b1667fb6e8a301cb69c44341ee92c81cb15ea685b494168e5905593b5777d59058f1455b4b58083d5b895f04382e49362e420d7af4 +"@remix-run/router@npm:1.8.0": + version: 1.8.0 + resolution: "@remix-run/router@npm:1.8.0" + checksum: f754f02d3b4fc86791b88acf16065000609e2324b9436027844a76831c7107c0994067cb83abdd6093c282bd518a5c89b5e02aead585782978586e3a04534428 languageName: node linkType: hard -"@sentry-internal/tracing@npm:7.61.1": - version: 7.61.1 - resolution: "@sentry-internal/tracing@npm:7.61.1" +"@sentry-internal/tracing@npm:7.64.0": + version: 7.64.0 + resolution: "@sentry-internal/tracing@npm:7.64.0" dependencies: - "@sentry/core": 7.61.1 - "@sentry/types": 7.61.1 - "@sentry/utils": 7.61.1 + "@sentry/core": 7.64.0 + "@sentry/types": 7.64.0 + "@sentry/utils": 7.64.0 tslib: ^2.4.1 || ^1.9.3 - checksum: 272c3462b2d42703b900c2d5296ab69874895b48e23a26f266384609507051d8286aa0520d4446a0cd0bb73f32e1450ed65e003ca85891c7d562af0e203dd2ff + checksum: 74601ec707867e536e226fd86544024bd1a07d5e8374f8d036a9570920aba4354dd3be185c1c02a6e72bb1ecd4a30b98b0b76f0016d7781864804a6105641029 languageName: node linkType: hard -"@sentry/browser@npm:7.61.1": - version: 7.61.1 - resolution: "@sentry/browser@npm:7.61.1" +"@sentry/browser@npm:7.64.0": + version: 7.64.0 + resolution: "@sentry/browser@npm:7.64.0" dependencies: - "@sentry-internal/tracing": 7.61.1 - "@sentry/core": 7.61.1 - "@sentry/replay": 7.61.1 - "@sentry/types": 7.61.1 - "@sentry/utils": 7.61.1 + "@sentry-internal/tracing": 7.64.0 + "@sentry/core": 7.64.0 + "@sentry/replay": 7.64.0 + "@sentry/types": 7.64.0 + "@sentry/utils": 7.64.0 tslib: ^2.4.1 || ^1.9.3 - checksum: 9d53d4dc7a4bfd58ebd3f44b72505f33775e441c35f18a59c4559c9a558e3c1cc212c9a63fed39177ba64bc587784b93dad58da9f9cd22b14bc6d2753f7d975c + checksum: 759b5289fb6b3707027bb14c1458e296fb17d98b5444b64b5e098f4d0939da47fb53ff912c3023d33c8cd952d4343eeaf9d86f7ecc6844ac35a8a28f2b436061 languageName: node linkType: hard -"@sentry/core@npm:7.61.1": - version: 7.61.1 - resolution: "@sentry/core@npm:7.61.1" +"@sentry/core@npm:7.64.0": + version: 7.64.0 + resolution: "@sentry/core@npm:7.64.0" dependencies: - "@sentry/types": 7.61.1 - "@sentry/utils": 7.61.1 + "@sentry/types": 7.64.0 + "@sentry/utils": 7.64.0 tslib: ^2.4.1 || ^1.9.3 - checksum: 7e7a7d8e58c1f232f7022c96f96f1c0f3a04d9c5b06ff57340574c634ad35a2e447f5007b3138dcaa0df79e988c13a7c6825faac8ecb013de4679220bb1bf9ae + checksum: 62834e0c0dbf58a743ac956157c81ebfb8ba35a0b2558a9787e172b081c5fa3d4a80c13c3c56797de8139c7aa324ed4baf54946136ba7d624c17e4f0bbc38c5a languageName: node linkType: hard -"@sentry/react@npm:7.61.1": - version: 7.61.1 - resolution: "@sentry/react@npm:7.61.1" +"@sentry/react@npm:7.64.0": + version: 7.64.0 + resolution: "@sentry/react@npm:7.64.0" dependencies: - "@sentry/browser": 7.61.1 - "@sentry/types": 7.61.1 - "@sentry/utils": 7.61.1 + "@sentry/browser": 7.64.0 + "@sentry/types": 7.64.0 + "@sentry/utils": 7.64.0 hoist-non-react-statics: ^3.3.2 tslib: ^2.4.1 || ^1.9.3 peerDependencies: react: 15.x || 16.x || 17.x || 18.x - checksum: 3b34348aee4d949e7c1f0698ca1e542c6866ec00cb56d216c382c960398e984d19b1c844ec37bfbd2dcfc696dfba5ab46744ced1f9c523d99a390d8060f53361 + checksum: f5f6b36037b659a7d64eb56a98121e72a592b9fe1b0ed8626598cf700e552007a1d3e3fe9c922985dd9adda6349b28231e9b767e6c8aeb6c446355ff26a42ec6 languageName: node linkType: hard -"@sentry/replay@npm:7.61.1": - version: 7.61.1 - resolution: "@sentry/replay@npm:7.61.1" +"@sentry/replay@npm:7.64.0": + version: 7.64.0 + resolution: "@sentry/replay@npm:7.64.0" dependencies: - "@sentry/core": 7.61.1 - "@sentry/types": 7.61.1 - "@sentry/utils": 7.61.1 - checksum: 41a40e4c9040c3717513a1d2fe60cb1f5cecdcbdfdd7a9ad4fb70ec38eee61326f04902bda4fa5de8b2115177c9f5d3b9f68ab484985c5b709e3fc4517eb284c + "@sentry/core": 7.64.0 + "@sentry/types": 7.64.0 + "@sentry/utils": 7.64.0 + checksum: 0e9522bff5ee8a6383660e8da182b0918b01782153f1ac645b2a3c917656705ca19b6eb176b80becb0b527e42ceb12e85baf405f3e4f82ca2c09ffda80fea242 languageName: node linkType: hard -"@sentry/tracing@npm:7.61.1": - version: 7.61.1 - resolution: "@sentry/tracing@npm:7.61.1" +"@sentry/tracing@npm:7.64.0": + version: 7.64.0 + resolution: "@sentry/tracing@npm:7.64.0" dependencies: - "@sentry-internal/tracing": 7.61.1 - checksum: 4c585c44dcdd56e8a928c25fc2107bfa0ea8a1eb12bb4f118b28b7c09f9a17cc89f962901b53222a72e80fdf672ba151fb9d7b02595648e04ffb80ef44e70155 + "@sentry-internal/tracing": 7.64.0 + checksum: 6412fdd2f0d4230d24859cce647dffd5fe823ab7d3b98ac75769f4116a1224d9cb56b17fb284cdb2ec89fad32d35fbe0df73d0daf58c0ed7d404e8a9fa53903d languageName: node linkType: hard -"@sentry/types@npm:7.61.1": - version: 7.61.1 - resolution: "@sentry/types@npm:7.61.1" - checksum: 959f75ecfd15cac2f2d5d41d354e817ca7bb8a9e00c557f2fdb8c923273f04ec3fdecfd3bad3d12aebdef1a1ba4c0433d2f58d84dafa3d9ffc7d376f1201eee2 +"@sentry/types@npm:7.64.0": + version: 7.64.0 + resolution: "@sentry/types@npm:7.64.0" + checksum: 405ff957d9b617466ccf1aedd53c27e604379b1b3c1b1fcf106b2a019247326e9dba20f9d34d61fb89f74e7e0a2f1670c23dfd2cf6a642fdbfdcc81f0fa06e2f languageName: node linkType: hard -"@sentry/utils@npm:7.61.1": - version: 7.61.1 - resolution: "@sentry/utils@npm:7.61.1" +"@sentry/utils@npm:7.64.0": + version: 7.64.0 + resolution: "@sentry/utils@npm:7.64.0" dependencies: - "@sentry/types": 7.61.1 + "@sentry/types": 7.64.0 tslib: ^2.4.1 || ^1.9.3 - checksum: 555b1c70b6b837b245ec1901f49e1f0a919c0be32907fa6c0b5ffaa896d3a07c44e2e16055e6e9d3d317815ae1222213fe767a34684a7f5ab592a49782e20f3f + checksum: 049cc2324283080f3f4745720e43c567b04061a85ca7a3fa4abcae4ea4fb9a09f6ebbbb9a47539e8397973512803c777f1d6a017accf3e54322a5e0259854616 languageName: node linkType: hard @@ -3286,9 +3263,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:^5.16.5": - version: 5.16.5 - resolution: "@testing-library/jest-dom@npm:5.16.5" +"@testing-library/jest-dom@npm:^5.17.0": + version: 5.17.0 + resolution: "@testing-library/jest-dom@npm:5.17.0" dependencies: "@adobe/css-tools": ^4.0.1 "@babel/runtime": ^7.9.2 @@ -3299,7 +3276,7 @@ __metadata: dom-accessibility-api: ^0.5.6 lodash: ^4.17.15 redent: ^3.0.0 - checksum: 94911f901a8031f3e489d04ac057cb5373621230f5d92bed80e514e24b069fb58a3166d1dd86963e55f078a1bd999da595e2ab96ed95f452d477e272937d792a + checksum: 9f28dbca8b50d7c306aae40c3aa8e06f0e115f740360004bd87d57f95acf7ab4b4f4122a7399a76dbf2bdaaafb15c99cc137fdcb0ae457a92e2de0f3fbf9b03b languageName: node linkType: hard @@ -3789,20 +3766,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:6.3.0": - version: 6.3.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.3.0" +"@typescript-eslint/eslint-plugin@npm:6.4.0": + version: 6.4.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.4.0" dependencies: "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 6.3.0 - "@typescript-eslint/type-utils": 6.3.0 - "@typescript-eslint/utils": 6.3.0 - "@typescript-eslint/visitor-keys": 6.3.0 + "@typescript-eslint/scope-manager": 6.4.0 + "@typescript-eslint/type-utils": 6.4.0 + "@typescript-eslint/utils": 6.4.0 + "@typescript-eslint/visitor-keys": 6.4.0 debug: ^4.3.4 graphemer: ^1.4.0 ignore: ^5.2.4 natural-compare: ^1.4.0 - natural-compare-lite: ^1.4.0 semver: ^7.5.4 ts-api-utils: ^1.0.1 peerDependencies: @@ -3811,44 +3787,44 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 1493c6c661993640eef56893a7919cb964165cb46653c62468e71ce02a5ec8c654dd7e9767587aea67ec16c026a5630011bc7ea6c04e2fa8a4afee7f26a51358 + checksum: d59e88228a4088f3dcaa614103eefa7a0c57315ed79ee1c48afd9817ad013522aa9a9f987e90e1fd7dccc0bbb03ed23e4df6f5ea5cceef8856db33c78ea13d53 languageName: node linkType: hard -"@typescript-eslint/parser@npm:6.3.0": - version: 6.3.0 - resolution: "@typescript-eslint/parser@npm:6.3.0" +"@typescript-eslint/parser@npm:6.4.0": + version: 6.4.0 + resolution: "@typescript-eslint/parser@npm:6.4.0" dependencies: - "@typescript-eslint/scope-manager": 6.3.0 - "@typescript-eslint/types": 6.3.0 - "@typescript-eslint/typescript-estree": 6.3.0 - "@typescript-eslint/visitor-keys": 6.3.0 + "@typescript-eslint/scope-manager": 6.4.0 + "@typescript-eslint/types": 6.4.0 + "@typescript-eslint/typescript-estree": 6.4.0 + "@typescript-eslint/visitor-keys": 6.4.0 debug: ^4.3.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: ec739adbe4a972a696b4a4625dc5c2f5b4e072968decdcafd0a9b972d0167007230951a6450becb52e187b1b90a2858debba26f73162e293f7846b373888b8e9 + checksum: 36c8dbeacfc03af9c5a4a0f065861ac6f3747fc64be582a32b0b084de5b5247cef086a0c0052291b97145e0ea8f82acbec452dd927b7b7a1917d56381d59a17c languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.3.0": - version: 6.3.0 - resolution: "@typescript-eslint/scope-manager@npm:6.3.0" +"@typescript-eslint/scope-manager@npm:6.4.0": + version: 6.4.0 + resolution: "@typescript-eslint/scope-manager@npm:6.4.0" dependencies: - "@typescript-eslint/types": 6.3.0 - "@typescript-eslint/visitor-keys": 6.3.0 - checksum: 1690465f620f2b4517d45516864ef107258b2b608293d72606d0f115e11a8c1416b3d57e1b67f1daa1838f0239f71464aead57fe77c53ebd54b0aeee5fd4cf5e + "@typescript-eslint/types": 6.4.0 + "@typescript-eslint/visitor-keys": 6.4.0 + checksum: 19406eac3a1899f77eb7c3aa52577e2146075e1318c6eb34d220678afa167832b89c90860714f33b99e107544b48f6970594ca4bcf48c5ede8f2a14a0795ba33 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.3.0": - version: 6.3.0 - resolution: "@typescript-eslint/type-utils@npm:6.3.0" +"@typescript-eslint/type-utils@npm:6.4.0": + version: 6.4.0 + resolution: "@typescript-eslint/type-utils@npm:6.4.0" dependencies: - "@typescript-eslint/typescript-estree": 6.3.0 - "@typescript-eslint/utils": 6.3.0 + "@typescript-eslint/typescript-estree": 6.4.0 + "@typescript-eslint/utils": 6.4.0 debug: ^4.3.4 ts-api-utils: ^1.0.1 peerDependencies: @@ -3856,23 +3832,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: cf2ab9d576bc9f3c0554318d20cb92671e4f46a07c24271fc47f144139b3843dab54592ee2e0962f81ad588f57a0b0a7c09d7e1047c720143a54bb1ec3ac4007 + checksum: 7930d2ffdc844a5b706d48ae3e4584882f7f0c06d581a3b06bc280a351c55974b16dbb73f1842f7389f04b80c2cfaf867edd2f261b699804d8a4fea9c20b3869 languageName: node linkType: hard -"@typescript-eslint/types@npm:6.3.0": - version: 6.3.0 - resolution: "@typescript-eslint/types@npm:6.3.0" - checksum: 3c133e4c1b06d009739f1a4387831eb99758ba45b06b6f632fe9cf14c2839fc92dcbdbb6d94ca42c1cb5ab4ca1b31a5ead50a72e0a084b62e4de15255c451160 +"@typescript-eslint/types@npm:6.4.0": + version: 6.4.0 + resolution: "@typescript-eslint/types@npm:6.4.0" + checksum: 85b293ad1559dbf8103b2c4cfd0db11c3d9c970d502e2c13d4b1d35e420567042d7077a716d2b4e5113286314d5260f378f242a6dd22ad4b94b4aa69c5f79223 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.3.0": - version: 6.3.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.3.0" +"@typescript-eslint/typescript-estree@npm:6.4.0": + version: 6.4.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.4.0" dependencies: - "@typescript-eslint/types": 6.3.0 - "@typescript-eslint/visitor-keys": 6.3.0 + "@typescript-eslint/types": 6.4.0 + "@typescript-eslint/visitor-keys": 6.4.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -3881,34 +3857,34 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: b2bb03411a5d079a9fd3310eec0af3b81a99827569cb3957724071aa54ac6c88449fbd1ebb72d7a356d5994d7e9542b5292a385ca3c3b0bc8049bb61a40a8ae9 + checksum: a8db3896550515d0adf140ee115527b409916c4a14ac1f45b5623d130a27ae2d08a1ac906ceda440b01167c88846e2b91ca2025f3d718bff389948f66990c1e7 languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.3.0": - version: 6.3.0 - resolution: "@typescript-eslint/utils@npm:6.3.0" +"@typescript-eslint/utils@npm:6.4.0": + version: 6.4.0 + resolution: "@typescript-eslint/utils@npm:6.4.0" dependencies: "@eslint-community/eslint-utils": ^4.4.0 "@types/json-schema": ^7.0.12 "@types/semver": ^7.5.0 - "@typescript-eslint/scope-manager": 6.3.0 - "@typescript-eslint/types": 6.3.0 - "@typescript-eslint/typescript-estree": 6.3.0 + "@typescript-eslint/scope-manager": 6.4.0 + "@typescript-eslint/types": 6.4.0 + "@typescript-eslint/typescript-estree": 6.4.0 semver: ^7.5.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 98a078a3948e8b6a45dec8f3be9bcb72dc98faa2fe84336b1925efb7caa06c05a2fbf7290cddb420465b415cc05252548e2b839b9311f99bce84cf856fd32888 + checksum: abc55382c601c7ed298076548d2df78f15b07ed6830086db6ce1b82d461f0a190ee103a804690ac9205cdca9f373a864e1dd3e20012e9d103f3137963e0aa5ea languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.3.0": - version: 6.3.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.3.0" +"@typescript-eslint/visitor-keys@npm:6.4.0": + version: 6.4.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.4.0" dependencies: - "@typescript-eslint/types": 6.3.0 + "@typescript-eslint/types": 6.4.0 eslint-visitor-keys: ^3.4.1 - checksum: fc3148c3284de3f42724736f312a4fd0c3c2029617ae2ea9a84cf6601d31f600ee6563f9288de162028ffffde85b58d92feaafbe75a2da863ff2c4e3a0b5ed8c + checksum: 42eb614b9c0a49b6929e093757d772fd27fe5dda9c75f4c7820d1710012c8257eea9bd4f1c4173e2265a8a9ad86cefc1a21869893e7304f3b29b94fa1f987554 languageName: node linkType: hard @@ -4236,23 +4212,23 @@ __metadata: languageName: node linkType: hard -"ag-grid-community@npm:29.3.3": - version: 29.3.3 - resolution: "ag-grid-community@npm:29.3.3" - checksum: c584670f21feb28ebdc6f0b17411ad6ba98c17d6aa63515789dd1963ed4a2019940fba9562a941f0c28f0997f79a4d98759d084173bcff2282b22722629404da +"ag-grid-community@npm:29.3.5": + version: 29.3.5 + resolution: "ag-grid-community@npm:29.3.5" + checksum: ad071f6ea80ebfa96e79d3e9e77947a52182c783bcee5f7ed377f5de2758f0e88bbf3dbace9272c80e7fb566931fe6a56227dd1e2526670a7e17dd1152d854d6 languageName: node linkType: hard -"ag-grid-react@npm:29.3.3": - version: 29.3.3 - resolution: "ag-grid-react@npm:29.3.3" +"ag-grid-react@npm:29.3.5": + version: 29.3.5 + resolution: "ag-grid-react@npm:29.3.5" dependencies: prop-types: ^15.8.1 peerDependencies: - ag-grid-community: ~29.3.3 + ag-grid-community: ~29.3.5 react: ^16.3.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.3.0 || ^17.0.0 || ^18.0.0 - checksum: 27ffd1b5df091809d37a104d61a195802693a9c51ad4c9828e331c04440bb58196f25a6c0146e8d224be0912d5f656317a90923371559775094b3efc64f77789 + checksum: e22371250461069096c3528ff1e9a4310e44d2167467729776b9ff1af0b63827f034069a791240fa2d2e69f22dfa2d1a846d7d490b0beb9814fd085d25b19426 languageName: node linkType: hard @@ -4751,7 +4727,7 @@ __metadata: languageName: node linkType: hard -"big-integer@npm:^1.6.16, big-integer@npm:^1.6.44": +"big-integer@npm:^1.6.16": version: 1.6.51 resolution: "big-integer@npm:1.6.51" checksum: 3d444173d1b2e20747e2c175568bedeebd8315b0637ea95d75fd27830d3b8e8ba36c6af40374f36bdaea7b5de376dcada1b07587cb2a79a928fccdb6e6e3c518 @@ -4793,15 +4769,6 @@ __metadata: languageName: node linkType: hard -"bplist-parser@npm:^0.2.0": - version: 0.2.0 - resolution: "bplist-parser@npm:0.2.0" - dependencies: - big-integer: ^1.6.44 - checksum: d5339dd16afc51de6c88f88f58a45b72ed6a06aa31f5557d09877575f220b7c1d3fbe375da0b62e6a10d4b8ed80523567e351f24014f5bc886ad523758142cdd - languageName: node - linkType: hard - "brace-expansion@npm:^1.1.7": version: 1.1.11 resolution: "brace-expansion@npm:1.1.11" @@ -4908,15 +4875,6 @@ __metadata: languageName: node linkType: hard -"bundle-name@npm:^3.0.0": - version: 3.0.0 - resolution: "bundle-name@npm:3.0.0" - dependencies: - run-applescript: ^5.0.0 - checksum: edf2b1fbe6096ed32e7566947ace2ea937ee427391744d7510a2880c4b9a5b3543d3f6c551236a29e5c87d3195f8e2912516290e638c15bcbede7b37cc375615 - languageName: node - linkType: hard - "cacache@npm:^16.1.0": version: 16.1.3 resolution: "cacache@npm:16.1.3" @@ -5566,12 +5524,12 @@ __metadata: languageName: node linkType: hard -"cypress-localstorage-commands@npm:2.2.3": - version: 2.2.3 - resolution: "cypress-localstorage-commands@npm:2.2.3" +"cypress-localstorage-commands@npm:2.2.4": + version: 2.2.4 + resolution: "cypress-localstorage-commands@npm:2.2.4" peerDependencies: cypress: ">=2.1.0" - checksum: 8fa7791b5f2087d45d014c0135dcbb8719e777e490dcee64f789096a69c8bd2fbfd421e698cd3097a3bbeaf5218b74b5cd989b45e6eef2dbcfe661197d19d8f5 + checksum: 8969bcb6ee63e13c6f7ddea4dd31d32a39bc6e41f6bca9c28335919838b7df8e80aa6a1efd8165a3d50fbac45b67647e4d29b2ecd2eb59be68729a5a1c07f5a2 languageName: node linkType: hard @@ -5774,28 +5732,6 @@ __metadata: languageName: node linkType: hard -"default-browser-id@npm:^3.0.0": - version: 3.0.0 - resolution: "default-browser-id@npm:3.0.0" - dependencies: - bplist-parser: ^0.2.0 - untildify: ^4.0.0 - checksum: 279c7ad492542e5556336b6c254a4eaf31b2c63a5433265655ae6e47301197b6cfb15c595a6fdc6463b2ff8e1a1a1ed3cba56038a60e1527ba4ab1628c6b9941 - languageName: node - linkType: hard - -"default-browser@npm:^4.0.0": - version: 4.0.0 - resolution: "default-browser@npm:4.0.0" - dependencies: - bundle-name: ^3.0.0 - default-browser-id: ^3.0.0 - execa: ^7.1.1 - titleize: ^3.0.0 - checksum: 40c5af984799042b140300be5639c9742599bda76dc9eba5ac9ad5943c83dd36cebc4471eafcfddf8e0ec817166d5ba89d56f08e66a126c7c7908a179cead1a7 - languageName: node - linkType: hard - "default-require-extensions@npm:^3.0.0": version: 3.0.1 resolution: "default-require-extensions@npm:3.0.1" @@ -5812,13 +5748,6 @@ __metadata: languageName: node linkType: hard -"define-lazy-prop@npm:^3.0.0": - version: 3.0.0 - resolution: "define-lazy-prop@npm:3.0.0" - checksum: 54884f94caac0791bf6395a3ec530ce901cf71c47b0196b8754f3fd17edb6c0e80149c1214429d851873bb0d689dbe08dcedbb2306dc45c8534a5934723851b6 - languageName: node - linkType: hard - "define-properties@npm:^1.1.3, define-properties@npm:^1.1.4, define-properties@npm:^1.2.0": version: 1.2.0 resolution: "define-properties@npm:1.2.0" @@ -6434,22 +6363,21 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:3.5.5": - version: 3.5.5 - resolution: "eslint-import-resolver-typescript@npm:3.5.5" +"eslint-import-resolver-typescript@npm:3.6.0": + version: 3.6.0 + resolution: "eslint-import-resolver-typescript@npm:3.6.0" dependencies: debug: ^4.3.4 enhanced-resolve: ^5.12.0 eslint-module-utils: ^2.7.4 + fast-glob: ^3.3.1 get-tsconfig: ^4.5.0 - globby: ^13.1.3 is-core-module: ^2.11.0 is-glob: ^4.0.3 - synckit: ^0.8.5 peerDependencies: eslint: "*" eslint-plugin-import: "*" - checksum: 27e6276fdff5d377c9036362ff736ac29852106e883ff589ea9092dc57d4bc2a67a82d75134221124f05045f9a7e2114a159b2c827d1f9f64d091f7afeab0f58 + checksum: 57b1b3859149f847e0d4174ff979cf35362d60c951df047f01b96f4c3794a7ea0d4e1ec85be25e610d3706902c3acfb964a66b825c1a55e3ce3a124b9a7a13bd languageName: node linkType: hard @@ -6570,21 +6498,21 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.4.2": - version: 3.4.2 - resolution: "eslint-visitor-keys@npm:3.4.2" - checksum: 9e0e7e4aaea705c097ae37c97410e5f167d4d2193be2edcb1f0760762ede3df01545e4820ae314f42dcec687745f2c6dcaf6d83575c4a2a241eb0c8517d724f2 +"eslint-visitor-keys@npm:^3.4.3": + version: 3.4.3 + resolution: "eslint-visitor-keys@npm:3.4.3" + checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 languageName: node linkType: hard -"eslint@npm:^8.46.0": - version: 8.46.0 - resolution: "eslint@npm:8.46.0" +"eslint@npm:^8.47.0": + version: 8.47.0 + resolution: "eslint@npm:8.47.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.1 - "@eslint/js": ^8.46.0 + "@eslint/eslintrc": ^2.1.2 + "@eslint/js": ^8.47.0 "@humanwhocodes/config-array": ^0.11.10 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 @@ -6595,7 +6523,7 @@ __metadata: doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 eslint-scope: ^7.2.2 - eslint-visitor-keys: ^3.4.2 + eslint-visitor-keys: ^3.4.3 espree: ^9.6.1 esquery: ^1.4.2 esutils: ^2.0.2 @@ -6620,7 +6548,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 7a7d36b1a3bbc12e08fbb5bc36fd482a7a5a1797e62e762499dd45601b9e45aaa53a129f31ce0b4444551a9639b8b681ad535f379893dd1e3ae37b31dccd82aa + checksum: 1988617f703eadc5c7540468d54dc8e5171cf2bb9483f6172799cd1ff54a9a5e4470f003784e8cef92687eaa14de37172732787040e67817581a20bcb9c15970 languageName: node linkType: hard @@ -6757,23 +6685,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:^7.1.1": - version: 7.1.1 - resolution: "execa@npm:7.1.1" - dependencies: - cross-spawn: ^7.0.3 - get-stream: ^6.0.1 - human-signals: ^4.3.0 - is-stream: ^3.0.0 - merge-stream: ^2.0.0 - npm-run-path: ^5.1.0 - onetime: ^6.0.0 - signal-exit: ^3.0.7 - strip-final-newline: ^3.0.0 - checksum: 21fa46fc69314ace4068cf820142bdde5b643a5d89831c2c9349479c1555bff137a291b8e749e7efca36535e4e0a8c772c11008ca2e84d2cbd6ca141a3c8f937 - languageName: node - linkType: hard - "executable@npm:^4.1.1": version: 4.1.1 resolution: "executable@npm:4.1.1" @@ -6869,7 +6780,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.1.1, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9": +"fast-glob@npm:^3.1.1, fast-glob@npm:^3.2.9": version: 3.2.12 resolution: "fast-glob@npm:3.2.12" dependencies: @@ -6882,7 +6793,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.7": +"fast-glob@npm:^3.2.7, fast-glob@npm:^3.3.1": version: 3.3.1 resolution: "fast-glob@npm:3.3.1" dependencies: @@ -7031,10 +6942,10 @@ __metadata: languageName: node linkType: hard -"filesize@npm:10.0.8": - version: 10.0.8 - resolution: "filesize@npm:10.0.8" - checksum: ee1a9dd56f0993eb0378fe78d7f3bcd6773dcc939bfc72d7c09ea10da338ad41dfb26767f6f4da31e6e093050406fd95b3a32f8ed6b45c0e5cebbb7afe87e0e0 +"filesize@npm:10.0.12": + version: 10.0.12 + resolution: "filesize@npm:10.0.12" + checksum: 1719683813fabf8afb39133871b80dcc71f31695c70b866814d7fd15151888fc3405d6ca0b9ac2665c59c046e7104e8776e938e6f5c68b2fda060d35d256416b languageName: node linkType: hard @@ -7343,7 +7254,7 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^6.0.0, get-stream@npm:^6.0.1": +"get-stream@npm:^6.0.0": version: 6.0.1 resolution: "get-stream@npm:6.0.1" checksum: e04ecece32c92eebf5b8c940f51468cd53554dcbb0ea725b2748be583c9523d00128137966afce410b9b051eb2ef16d657cd2b120ca8edafcf5a65e81af63cad @@ -7518,19 +7429,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^13.1.3": - version: 13.2.0 - resolution: "globby@npm:13.2.0" - dependencies: - dir-glob: ^3.0.1 - fast-glob: ^3.2.11 - ignore: ^5.2.0 - merge2: ^1.4.1 - slash: ^4.0.0 - checksum: 0a3dd786571788adef1c894f22112834cff5bbe061ae6e0a01c5118c39d44b3f1937ef1dae3f8b9bc24756eba84a0923e565b1ad9a4ec52831d7e2a04c035e75 - languageName: node - linkType: hard - "gopd@npm:^1.0.1": version: 1.0.1 resolution: "gopd@npm:1.0.1" @@ -7551,16 +7449,16 @@ __metadata: "@emotion/react": 11.11.1 "@emotion/styled": 11.11.0 "@graasp/chatbox": 2.0.0 - "@graasp/query-client": 1.3.2 + "@graasp/query-client": 1.4.1 "@graasp/sdk": 1.2.0 "@graasp/translations": 1.18.1 "@graasp/ui": 3.3.1 "@mui/icons-material": 5.14.3 "@mui/lab": 5.0.0-alpha.138 - "@mui/material": 5.14.4 - "@sentry/react": 7.61.1 - "@sentry/tracing": 7.61.1 - "@testing-library/jest-dom": ^5.16.5 + "@mui/material": 5.14.5 + "@sentry/react": 7.64.0 + "@sentry/tracing": 7.64.0 + "@testing-library/jest-dom": ^5.17.0 "@testing-library/react": ^14.0.0 "@testing-library/user-event": ^14.4.3 "@trivago/prettier-plugin-sort-imports": 4.2.0 @@ -7575,8 +7473,8 @@ __metadata: "@types/react-dom": 18.2.7 "@types/uuid": 9.0.2 "@types/validator": 13.11.1 - "@typescript-eslint/eslint-plugin": 6.3.0 - "@typescript-eslint/parser": 6.3.0 + "@typescript-eslint/eslint-plugin": 6.4.0 + "@typescript-eslint/parser": 6.4.0 "@uppy/core": 3.3.1 "@uppy/dashboard": 3.4.2 "@uppy/drag-drop": 3.0.2 @@ -7587,26 +7485,26 @@ __metadata: "@uppy/tus": 3.1.2 "@uppy/xhr-upload": 3.3.1 "@vitejs/plugin-react": 4.0.4 - ag-grid-community: 29.3.3 - ag-grid-react: 29.3.3 + ag-grid-community: 29.3.5 + ag-grid-react: 29.3.5 concurrently: 8.2.0 cypress: 12.17.3 - cypress-localstorage-commands: 2.2.3 + cypress-localstorage-commands: 2.2.4 date-fns: 2.30.0 env-cmd: 10.1.0 - eslint: ^8.46.0 + eslint: ^8.47.0 eslint-config-airbnb: 19.0.4 eslint-config-prettier: 9.0.0 - eslint-import-resolver-typescript: 3.5.5 + eslint-import-resolver-typescript: 3.6.0 eslint-plugin-import: 2.28.0 eslint-plugin-jsx-a11y: 6.7.1 eslint-plugin-react: 7.33.1 eslint-plugin-react-hooks: 4.6.0 - filesize: 10.0.8 + filesize: 10.0.12 http-status-codes: 2.2.0 husky: 8.0.3 immutable: 4.3.1 - katex: 0.16.7 + katex: 0.16.8 lodash.groupby: 4.6.0 lodash.partition: 4.6.0 lodash.truncate: 4.4.2 @@ -7623,8 +7521,8 @@ __metadata: react-image-crop: 9.1.1 react-query: 3.39.3 react-quill: 2.0.0 - react-router: 6.14.2 - react-router-dom: 6.14.2 + react-router: 6.15.0 + react-router-dom: 6.15.0 react-toastify: 9.1.3 rollup-plugin-visualizer: 5.9.2 stylis: 4.3.0 @@ -7885,13 +7783,6 @@ __metadata: languageName: node linkType: hard -"human-signals@npm:^4.3.0": - version: 4.3.1 - resolution: "human-signals@npm:4.3.1" - checksum: 6f12958df3f21b6fdaf02d90896c271df00636a31e2bbea05bddf817a35c66b38a6fdac5863e2df85bd52f34958997f1f50350ff97249e1dff8452865d5235d1 - languageName: node - linkType: hard - "humanize-ms@npm:^1.2.1": version: 1.2.1 resolution: "humanize-ms@npm:1.2.1" @@ -8169,15 +8060,6 @@ __metadata: languageName: node linkType: hard -"is-docker@npm:^3.0.0": - version: 3.0.0 - resolution: "is-docker@npm:3.0.0" - bin: - is-docker: cli.js - checksum: b698118f04feb7eaf3338922bd79cba064ea54a1c3db6ec8c0c8d8ee7613e7e5854d802d3ef646812a8a3ace81182a085dfa0a71cc68b06f3fa794b9783b3c90 - languageName: node - linkType: hard - "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -8201,17 +8083,6 @@ __metadata: languageName: node linkType: hard -"is-inside-container@npm:^1.0.0": - version: 1.0.0 - resolution: "is-inside-container@npm:1.0.0" - dependencies: - is-docker: ^3.0.0 - bin: - is-inside-container: cli.js - checksum: c50b75a2ab66ab3e8b92b3bc534e1ea72ca25766832c0623ac22d134116a98bcf012197d1caabe1d1c4bd5f84363d4aa5c36bb4b585fbcaf57be172cd10a1a03 - languageName: node - linkType: hard - "is-installed-globally@npm:~0.4.0": version: 0.4.0 resolution: "is-installed-globally@npm:0.4.0" @@ -8334,13 +8205,6 @@ __metadata: languageName: node linkType: hard -"is-stream@npm:^3.0.0": - version: 3.0.0 - resolution: "is-stream@npm:3.0.0" - checksum: 172093fe99119ffd07611ab6d1bcccfe8bc4aa80d864b15f43e63e54b7abc71e779acd69afdb854c4e2a67fdc16ae710e370eda40088d1cfc956a50ed82d8f16 - languageName: node - linkType: hard - "is-string@npm:^1.0.5, is-string@npm:^1.0.7": version: 1.0.7 resolution: "is-string@npm:1.0.7" @@ -8799,17 +8663,6 @@ __metadata: languageName: node linkType: hard -"katex@npm:0.16.7": - version: 0.16.7 - resolution: "katex@npm:0.16.7" - dependencies: - commander: ^8.3.0 - bin: - katex: cli.js - checksum: 6c3f61e28820ecba074a149d17be6d731d8a950cdd7826851e16f2b0f3627c4119acd8c6e4fb86950063c4e99a6e478720ea6cca3dc82e59bbca81001ee00b70 - languageName: node - linkType: hard - "katex@npm:0.16.8": version: 0.16.8 resolution: "katex@npm:0.16.8" @@ -9861,13 +9714,6 @@ __metadata: languageName: node linkType: hard -"mimic-fn@npm:^4.0.0": - version: 4.0.0 - resolution: "mimic-fn@npm:4.0.0" - checksum: 995dcece15ee29aa16e188de6633d43a3db4611bcf93620e7e62109ec41c79c0f34277165b8ce5e361205049766e371851264c21ac64ca35499acb5421c2ba56 - languageName: node - linkType: hard - "min-indent@npm:^1.0.0": version: 1.0.1 resolution: "min-indent@npm:1.0.1" @@ -10086,13 +9932,6 @@ __metadata: languageName: node linkType: hard -"natural-compare-lite@npm:^1.4.0": - version: 1.4.0 - resolution: "natural-compare-lite@npm:1.4.0" - checksum: 5222ac3986a2b78dd6069ac62cbb52a7bf8ffc90d972ab76dfe7b01892485d229530ed20d0c62e79a6b363a663b273db3bde195a1358ce9e5f779d4453887225 - languageName: node - linkType: hard - "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -10212,15 +10051,6 @@ __metadata: languageName: node linkType: hard -"npm-run-path@npm:^5.1.0": - version: 5.1.0 - resolution: "npm-run-path@npm:5.1.0" - dependencies: - path-key: ^4.0.0 - checksum: dc184eb5ec239d6a2b990b43236845332ef12f4e0beaa9701de724aa797fe40b6bbd0157fb7639d24d3ab13f5d5cf22d223a19c6300846b8126f335f788bee66 - languageName: node - linkType: hard - "npmlog@npm:^6.0.0": version: 6.0.2 resolution: "npmlog@npm:6.0.2" @@ -10400,15 +10230,6 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^6.0.0": - version: 6.0.0 - resolution: "onetime@npm:6.0.0" - dependencies: - mimic-fn: ^4.0.0 - checksum: 0846ce78e440841335d4e9182ef69d5762e9f38aa7499b19f42ea1c4cd40f0b4446094c455c713f9adac3f4ae86f613bb5e30c99e52652764d06a89f709b3788 - languageName: node - linkType: hard - "open@npm:^8.4.0": version: 8.4.2 resolution: "open@npm:8.4.2" @@ -10420,18 +10241,6 @@ __metadata: languageName: node linkType: hard -"open@npm:^9.1.0": - version: 9.1.0 - resolution: "open@npm:9.1.0" - dependencies: - default-browser: ^4.0.0 - define-lazy-prop: ^3.0.0 - is-inside-container: ^1.0.0 - is-wsl: ^2.2.0 - checksum: 3993c0f61d51fed8ac290e99c9c3cf45d3b6cfb3e2aa2b74cafd312c3486c22fd81df16ac8f3ab91dd8a4e3e729a16fc2480cfc406c4833416cf908acf1ae7c9 - languageName: node - linkType: hard - "optionator@npm:^0.9.3": version: 0.9.3 resolution: "optionator@npm:0.9.3" @@ -10629,13 +10438,6 @@ __metadata: languageName: node linkType: hard -"path-key@npm:^4.0.0": - version: 4.0.0 - resolution: "path-key@npm:4.0.0" - checksum: 8e6c314ae6d16b83e93032c61020129f6f4484590a777eed709c4a01b50e498822b00f76ceaf94bc64dbd90b327df56ceadce27da3d83393790f1219e07721d7 - languageName: node - linkType: hard - "path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" @@ -11297,27 +11099,27 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:6.14.2": - version: 6.14.2 - resolution: "react-router-dom@npm:6.14.2" +"react-router-dom@npm:6.15.0": + version: 6.15.0 + resolution: "react-router-dom@npm:6.15.0" dependencies: - "@remix-run/router": 1.7.2 - react-router: 6.14.2 + "@remix-run/router": 1.8.0 + react-router: 6.15.0 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: a53dbc566ecab7890b829d42d38553684f704803c1f615db1bd6aa2d71542c369a1a79e4385be31ae71a14b72ddbcd0d8b51188248c2bccd44e015050d1927df + checksum: 95301837e293654f00934de6a4bdb27bfb06f613503e4cce7a93f19384793729832e7479d50faf3b9457d149014d4df40a3ee3a5193d7e3a3caadb7aaa6ec0f9 languageName: node linkType: hard -"react-router@npm:6.14.2": - version: 6.14.2 - resolution: "react-router@npm:6.14.2" +"react-router@npm:6.15.0": + version: 6.15.0 + resolution: "react-router@npm:6.15.0" dependencies: - "@remix-run/router": 1.7.2 + "@remix-run/router": 1.8.0 peerDependencies: react: ">=16.8" - checksum: 7507bf5732b3a8ddbd901c2061216eebca73e194449bff58acc1445171e22bdda36b455b8af066e467748ebfb5875b3c0a565941c46af65c6f653a6ed0dc4fe4 + checksum: 345b29277e13997f2625f0037f537eaf1955bb9f44ebfea80dd3ff83fc06273f7b64e1be944bfc75945fd2af5af917874133a8a93ed5ecaca523be8f045ae166 languageName: node linkType: hard @@ -11763,15 +11565,6 @@ __metadata: languageName: node linkType: hard -"run-applescript@npm:^5.0.0": - version: 5.0.0 - resolution: "run-applescript@npm:5.0.0" - dependencies: - execa: ^5.0.0 - checksum: d00c2dbfa5b2d774de7451194b8b125f40f65fc183de7d9dcae97f57f59433586d3c39b9001e111c38bfa24c3436c99df1bb4066a2a0c90d39a8c4cd6889af77 - languageName: node - linkType: hard - "run-parallel@npm:^1.1.9": version: 1.2.0 resolution: "run-parallel@npm:1.2.0" @@ -12023,13 +11816,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^4.0.0": - version: 4.0.0 - resolution: "slash@npm:4.0.0" - checksum: da8e4af73712253acd21b7853b7e0dbba776b786e82b010a5bfc8b5051a1db38ed8aba8e1e8f400dd2c9f373be91eb1c42b66e91abb407ff42b10feece5e1d2d - languageName: node - linkType: hard - "slice-ansi@npm:^3.0.0": version: 3.0.0 resolution: "slice-ansi@npm:3.0.0" @@ -12375,13 +12161,6 @@ __metadata: languageName: node linkType: hard -"strip-final-newline@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-final-newline@npm:3.0.0" - checksum: 23ee263adfa2070cd0f23d1ac14e2ed2f000c9b44229aec9c799f1367ec001478469560abefd00c5c99ee6f0b31c137d53ec6029c53e9f32a93804e18c201050 - languageName: node - linkType: hard - "strip-indent@npm:^3.0.0": version: 3.0.0 resolution: "strip-indent@npm:3.0.0" @@ -12485,16 +12264,6 @@ __metadata: languageName: node linkType: hard -"synckit@npm:^0.8.5": - version: 0.8.5 - resolution: "synckit@npm:0.8.5" - dependencies: - "@pkgr/utils": ^2.3.1 - tslib: ^2.5.0 - checksum: 8a9560e5d8f3d94dc3cf5f7b9c83490ffa30d320093560a37b88f59483040771fd1750e76b9939abfbb1b5a23fd6dfbae77f6b338abffe7cae7329cd9b9bb86b - languageName: node - linkType: hard - "tapable@npm:^2.2.0": version: 2.2.1 resolution: "tapable@npm:2.2.1" @@ -12605,13 +12374,6 @@ __metadata: languageName: node linkType: hard -"titleize@npm:^3.0.0": - version: 3.0.0 - resolution: "titleize@npm:3.0.0" - checksum: 71fbbeabbfb36ccd840559f67f21e356e1d03da2915b32d2ae1a60ddcc13a124be2739f696d2feb884983441d159a18649e8d956648d591bdad35c430a6b6d28 - languageName: node - linkType: hard - "tmp@npm:~0.2.1": version: 0.2.1 resolution: "tmp@npm:0.2.1" From 4bd531f0f6e87219ef360ff6141f4c125af81d3e Mon Sep 17 00:00:00 2001 From: spaenleh Date: Tue, 15 Aug 2023 11:48:34 +0200 Subject: [PATCH 2/8] fix: redirection link to https --- cypress/e2e/redirection.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/redirection.cy.ts b/cypress/e2e/redirection.cy.ts index 9f0f678d6..79104acd9 100644 --- a/cypress/e2e/redirection.cy.ts +++ b/cypress/e2e/redirection.cy.ts @@ -7,7 +7,7 @@ const DOMAIN = Cypress.env('REACT_APP_GRAASP_DOMAIN'); describe('Redirection', () => { it('Redirection to saved url', () => { - const link = 'http://somelink.com'; + const link = 'https://graasp.org'; saveUrlForRedirection(link, DOMAIN); cy.setUpApi(); From 619f2a265ef00c750c30362b66d3bf682fa83533 Mon Sep 17 00:00:00 2001 From: spaenleh Date: Tue, 15 Aug 2023 13:51:59 +0200 Subject: [PATCH 3/8] fix: add timeout --- .github/workflows/cypress.yml | 6 ++++++ cypress/support/commands/item.ts | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index ea097c110..1ddf62756 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -15,10 +15,16 @@ jobs: cypress: name: Cypress runs-on: ubuntu-latest + timeout-minutes: 50 steps: - name: Check out code uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: '16' + - name: Yarn Install and Cache uses: graasp/graasp-deploy/.github/actions/yarn-install-and-cache@v1 with: diff --git a/cypress/support/commands/item.ts b/cypress/support/commands/item.ts index 3fee9a487..6011fd063 100644 --- a/cypress/support/commands/item.ts +++ b/cypress/support/commands/item.ts @@ -18,7 +18,6 @@ import { } from '../../../src/config/selectors'; import { getParentsIdsFromPath } from '../../../src/utils/item'; import { APP_NAME, NEW_APP_NAME } from '../../fixtures/apps/apps'; -import { TREE_VIEW_PAUSE } from '../constants'; Cypress.Commands.add( 'fillShareForm', @@ -43,7 +42,7 @@ Cypress.Commands.add( (toItemPath, treeRootId = TREE_MODAL_MY_ITEMS_ID) => { const ids = getParentsIdsFromPath(toItemPath); - cy.wait(TREE_VIEW_PAUSE); + // cy.wait(TREE_VIEW_PAUSE); [treeRootId, ...ids].forEach((value, idx, array) => { cy.get(`#${treeRootId}`).then(($tree) => { From bcf7a133bc588ab64c8d99cdce2c1cae914c9edf Mon Sep 17 00:00:00 2001 From: spaenleh Date: Wed, 16 Aug 2023 13:03:37 +0200 Subject: [PATCH 4/8] chore: update deps --- package.json | 6 +-- yarn.lock | 139 ++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 124 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 9f8c8de1b..75f380720 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "@typescript-eslint/parser": "6.4.0", "@vitejs/plugin-react": "4.0.4", "concurrently": "8.2.0", - "cypress": "12.17.3", + "cypress": "12.17.4", "cypress-localstorage-commands": "2.2.4", "env-cmd": "10.1.0", "eslint": "^8.47.0", @@ -132,11 +132,11 @@ "eslint-import-resolver-typescript": "3.6.0", "eslint-plugin-import": "2.28.0", "eslint-plugin-jsx-a11y": "6.7.1", - "eslint-plugin-react": "7.33.1", + "eslint-plugin-react": "7.33.2", "eslint-plugin-react-hooks": "4.6.0", "husky": "8.0.3", "nyc": "15.1.0", - "prettier": "3.0.1", + "prettier": "3.0.2", "rollup-plugin-visualizer": "5.9.2", "typescript": "5.1.6", "vite": "4.4.9", diff --git a/yarn.lock b/yarn.lock index 81477303c..fdde54472 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1559,7 +1559,7 @@ __metadata: languageName: node linkType: hard -"@cypress/request@npm:^2.88.11": +"@cypress/request@npm:2.88.12": version: 2.88.12 resolution: "@cypress/request@npm:2.88.12" dependencies: @@ -4596,6 +4596,15 @@ __metadata: languageName: node linkType: hard +"asynciterator.prototype@npm:^1.0.0": + version: 1.0.0 + resolution: "asynciterator.prototype@npm:1.0.0" + dependencies: + has-symbols: ^1.0.3 + checksum: e8ebfd9493ac651cf9b4165e9d64030b3da1d17181bb1963627b59e240cdaf021d9b59d44b827dc1dde4e22387ec04c2d0f8720cf58a1c282e34e40cc12721b3 + languageName: node + linkType: hard + "asynckit@npm:^0.4.0": version: 0.4.0 resolution: "asynckit@npm:0.4.0" @@ -5533,11 +5542,11 @@ __metadata: languageName: node linkType: hard -"cypress@npm:12.17.3": - version: 12.17.3 - resolution: "cypress@npm:12.17.3" +"cypress@npm:12.17.4": + version: 12.17.4 + resolution: "cypress@npm:12.17.4" dependencies: - "@cypress/request": ^2.88.11 + "@cypress/request": 2.88.12 "@cypress/xvfb": ^1.2.4 "@types/node": ^16.18.39 "@types/sinonjs__fake-timers": 8.1.1 @@ -5572,6 +5581,7 @@ __metadata: minimist: ^1.2.8 ospath: ^1.2.2 pretty-bytes: ^5.6.0 + process: ^0.11.10 proxy-from-env: 1.0.0 request-progress: ^3.0.0 semver: ^7.5.3 @@ -5581,7 +5591,7 @@ __metadata: yauzl: ^2.10.0 bin: cypress: bin/cypress - checksum: 1da3922cac45c35ee282116fe2af2278e92cc08bd2d8586e0f2346cbe5c9f62129cec567bc9274c585e8c2e887341fa4e5c8623cfaa41dba87331cfb5a023721 + checksum: c9c79f5493b23e9c8cfb92d45d50ea9d0fae54210dde203bfa794a79436faf60108d826fe9007a7d67fddf7919802ad8f006b7ae56c5c198c75d5bc85bbc851b languageName: node linkType: hard @@ -6095,7 +6105,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.21.2": +"es-abstract@npm:^1.21.2, es-abstract@npm:^1.21.3": version: 1.22.1 resolution: "es-abstract@npm:1.22.1" dependencies: @@ -6159,6 +6169,24 @@ __metadata: languageName: node linkType: hard +"es-iterator-helpers@npm:^1.0.12": + version: 1.0.12 + resolution: "es-iterator-helpers@npm:1.0.12" + dependencies: + asynciterator.prototype: ^1.0.0 + es-abstract: ^1.21.3 + es-set-tostringtag: ^2.0.1 + function-bind: ^1.1.1 + globalthis: ^1.0.3 + has-proto: ^1.0.1 + has-symbols: ^1.0.3 + internal-slot: ^1.0.5 + iterator.prototype: ^1.1.0 + safe-array-concat: ^1.0.0 + checksum: df1800a64be755e61718d2e62eef17c22590ed668c44eb3a5c9b78f874e8e01bfa7ba27a0f258b1322f577c2b2032fec194aa20912f7417ddc580c4ec31882e4 + languageName: node + linkType: hard + "es-set-tostringtag@npm:^2.0.1": version: 2.0.1 resolution: "es-set-tostringtag@npm:2.0.1" @@ -6456,14 +6484,15 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:7.33.1": - version: 7.33.1 - resolution: "eslint-plugin-react@npm:7.33.1" +"eslint-plugin-react@npm:7.33.2": + version: 7.33.2 + resolution: "eslint-plugin-react@npm:7.33.2" dependencies: array-includes: ^3.1.6 array.prototype.flatmap: ^1.3.1 array.prototype.tosorted: ^1.1.1 doctrine: ^2.1.0 + es-iterator-helpers: ^1.0.12 estraverse: ^5.3.0 jsx-ast-utils: ^2.4.1 || ^3.0.0 minimatch: ^3.1.2 @@ -6477,7 +6506,7 @@ __metadata: string.prototype.matchall: ^4.0.8 peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 0427bd24acb87422b7298686203167123ba289ba563384983f3d99fad7817eae7f63157fd2e9b868bdcf0760719c319ab1e22a44764a98302034b0c844763e57 + checksum: b4c3d76390b0ae6b6f9fed78170604cc2c04b48e6778a637db339e8e3911ec9ef22510b0ae77c429698151d0f1b245f282177f384105b6830e7b29b9c9b26610 languageName: node linkType: hard @@ -7488,7 +7517,7 @@ __metadata: ag-grid-community: 29.3.5 ag-grid-react: 29.3.5 concurrently: 8.2.0 - cypress: 12.17.3 + cypress: 12.17.4 cypress-localstorage-commands: 2.2.4 date-fns: 2.30.0 env-cmd: 10.1.0 @@ -7498,7 +7527,7 @@ __metadata: eslint-import-resolver-typescript: 3.6.0 eslint-plugin-import: 2.28.0 eslint-plugin-jsx-a11y: 6.7.1 - eslint-plugin-react: 7.33.1 + eslint-plugin-react: 7.33.2 eslint-plugin-react-hooks: 4.6.0 filesize: 10.0.12 http-status-codes: 2.2.0 @@ -7510,7 +7539,7 @@ __metadata: lodash.truncate: 4.4.2 nyc: 15.1.0 papaparse: 5.4.1 - prettier: 3.0.1 + prettier: 3.0.2 qs: 6.11.2 react: 18.2.0 react-beautiful-dnd: 13.1.1 @@ -7971,6 +8000,15 @@ __metadata: languageName: node linkType: hard +"is-async-function@npm:^2.0.0": + version: 2.0.0 + resolution: "is-async-function@npm:2.0.0" + dependencies: + has-tostringtag: ^1.0.0 + checksum: e3471d95e6c014bf37cad8a93f2f4b6aac962178e0a5041e8903147166964fdc1c5c1d2ef87e86d77322c370ca18f2ea004fa7420581fa747bcaf7c223069dbd + languageName: node + linkType: hard + "is-bigint@npm:^1.0.1": version: 1.0.4 resolution: "is-bigint@npm:1.0.4" @@ -8067,6 +8105,15 @@ __metadata: languageName: node linkType: hard +"is-finalizationregistry@npm:^1.0.2": + version: 1.0.2 + resolution: "is-finalizationregistry@npm:1.0.2" + dependencies: + call-bind: ^1.0.2 + checksum: 4f243a8e06228cd45bdab8608d2cb7abfc20f6f0189c8ac21ea8d603f1f196eabd531ce0bb8e08cbab047e9845ef2c191a3761c9a17ad5cabf8b35499c4ad35d + languageName: node + linkType: hard + "is-fullwidth-code-point@npm:^3.0.0": version: 3.0.0 resolution: "is-fullwidth-code-point@npm:3.0.0" @@ -8074,6 +8121,15 @@ __metadata: languageName: node linkType: hard +"is-generator-function@npm:^1.0.10": + version: 1.0.10 + resolution: "is-generator-function@npm:1.0.10" + dependencies: + has-tostringtag: ^1.0.0 + checksum: d54644e7dbaccef15ceb1e5d91d680eb5068c9ee9f9eb0a9e04173eb5542c9b51b5ab52c5537f5703e48d5fddfd376817c1ca07a84a407b7115b769d4bdde72b + languageName: node + linkType: hard + "is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": version: 4.0.3 resolution: "is-glob@npm:4.0.3" @@ -8416,6 +8472,19 @@ __metadata: languageName: node linkType: hard +"iterator.prototype@npm:^1.1.0": + version: 1.1.0 + resolution: "iterator.prototype@npm:1.1.0" + dependencies: + define-properties: ^1.1.4 + get-intrinsic: ^1.1.3 + has-symbols: ^1.0.3 + has-tostringtag: ^1.0.0 + reflect.getprototypeof: ^1.0.3 + checksum: 462fe16c770affeb9c08620b13fc98d38307335821f4fabd489f491d38c79855c6a93d4b56f6146eaa56711f61690aa5c7eb0ce8586c95145d2f665a3834d916 + languageName: node + linkType: hard + "javascript-natural-sort@npm:0.7.1": version: 0.7.1 resolution: "javascript-natural-sort@npm:0.7.1" @@ -10579,12 +10648,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.0.1": - version: 3.0.1 - resolution: "prettier@npm:3.0.1" +"prettier@npm:3.0.2": + version: 3.0.2 + resolution: "prettier@npm:3.0.2" bin: prettier: bin/prettier.cjs - checksum: e1f3f16c7fe0495de3faa182597871f74927d787cce3c52095a66ff5d7eacc05173371d5f58bf12141a0a1b6bfe739a338531d6cf18b92c7256c1319f2c84e73 + checksum: 118b59ddb6c80abe2315ab6d0f4dd1b253be5cfdb20622fa5b65bb1573dcd362e6dd3dcf2711dd3ebfe64aecf7bdc75de8a69dc2422dcd35bdde7610586b677a languageName: node linkType: hard @@ -11258,6 +11327,20 @@ __metadata: languageName: node linkType: hard +"reflect.getprototypeof@npm:^1.0.3": + version: 1.0.3 + resolution: "reflect.getprototypeof@npm:1.0.3" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.1.4 + es-abstract: ^1.20.4 + get-intrinsic: ^1.1.1 + globalthis: ^1.0.3 + which-builtin-type: ^1.1.3 + checksum: 843e2506c013da66f83635f943c5bd41243bc6c7703298531cfb16eb6baaefd92f83031fa37140ad31c4edc86938b6eb385e6fc85bf1628e79348ed49e044f3d + languageName: node + linkType: hard + "regenerator-runtime@npm:^0.13.11, regenerator-runtime@npm:^0.13.2": version: 0.13.11 resolution: "regenerator-runtime@npm:0.13.11" @@ -13245,6 +13328,26 @@ __metadata: languageName: node linkType: hard +"which-builtin-type@npm:^1.1.3": + version: 1.1.3 + resolution: "which-builtin-type@npm:1.1.3" + dependencies: + function.prototype.name: ^1.1.5 + has-tostringtag: ^1.0.0 + is-async-function: ^2.0.0 + is-date-object: ^1.0.5 + is-finalizationregistry: ^1.0.2 + is-generator-function: ^1.0.10 + is-regex: ^1.1.4 + is-weakref: ^1.0.2 + isarray: ^2.0.5 + which-boxed-primitive: ^1.0.2 + which-collection: ^1.0.1 + which-typed-array: ^1.1.9 + checksum: 43730f7d8660ff9e33d1d3f9f9451c4784265ee7bf222babc35e61674a11a08e1c2925019d6c03154fcaaca4541df43abe35d2720843b9b4cbcebdcc31408f36 + languageName: node + linkType: hard + "which-collection@npm:^1.0.1": version: 1.0.1 resolution: "which-collection@npm:1.0.1" From 7a984485396980b5bcb83cd6c2dee3a2f4043344 Mon Sep 17 00:00:00 2001 From: spaenleh Date: Wed, 16 Aug 2023 14:58:54 +0200 Subject: [PATCH 5/8] fix: remove waits --- cypress/e2e/item/apps/apps.cy.ts | 2 +- cypress/e2e/item/create/createApp.cy.ts | 5 ----- cypress/e2e/item/create/createDocument.cy.ts | 3 --- cypress/e2e/item/create/createFolder.cy.ts | 3 --- cypress/e2e/item/create/createShortcut.cy.ts | 3 +-- cypress/e2e/item/delete/gridRecycleItem.cy.ts | 3 +-- cypress/e2e/item/delete/listDeleteItem.cy.ts | 3 +-- cypress/e2e/item/delete/listDeleteItems.cy.ts | 3 +-- cypress/support/commands/item.ts | 3 ++- cypress/support/constants.ts | 2 +- 10 files changed, 8 insertions(+), 22 deletions(-) diff --git a/cypress/e2e/item/apps/apps.cy.ts b/cypress/e2e/item/apps/apps.cy.ts index b0babebd5..1a29aaebb 100644 --- a/cypress/e2e/item/apps/apps.cy.ts +++ b/cypress/e2e/item/apps/apps.cy.ts @@ -7,7 +7,7 @@ describe('Apps', () => { cy.setUpApi({ items: [APP_USING_CONTEXT_ITEM] }); cy.visit(buildItemPath(id)); - cy.wait(3000); + cy.wait(2000); const iframeSelector = `iframe[title="${name}"]`; diff --git a/cypress/e2e/item/create/createApp.cy.ts b/cypress/e2e/item/create/createApp.cy.ts index 46d00d0d3..4ac9830ea 100644 --- a/cypress/e2e/item/create/createApp.cy.ts +++ b/cypress/e2e/item/create/createApp.cy.ts @@ -2,7 +2,6 @@ import { HOME_PATH, buildItemPath } from '../../../../src/config/paths'; import ITEM_LAYOUT_MODES from '../../../../src/enums/itemLayoutModes'; import { GRAASP_APP_ITEM } from '../../../fixtures/apps'; import { SAMPLE_ITEMS } from '../../../fixtures/items'; -import { CREATE_ITEM_PAUSE } from '../../../support/constants'; import { createApp } from '../../../support/createUtils'; describe('Create App', () => { @@ -17,8 +16,6 @@ describe('Create App', () => { createApp(GRAASP_APP_ITEM); cy.wait('@postItem').then(() => { - // check item is created and displayed - cy.wait(CREATE_ITEM_PAUSE); // should update view cy.wait('@getOwnItems'); }); @@ -34,8 +31,6 @@ describe('Create App', () => { createApp(GRAASP_APP_ITEM); cy.wait('@postItem').then(() => { - // check item is created and displayed - cy.wait(CREATE_ITEM_PAUSE); // should update view cy.wait('@getOwnItems'); }); diff --git a/cypress/e2e/item/create/createDocument.cy.ts b/cypress/e2e/item/create/createDocument.cy.ts index c7ec707dd..9f1ce9e4d 100644 --- a/cypress/e2e/item/create/createDocument.cy.ts +++ b/cypress/e2e/item/create/createDocument.cy.ts @@ -2,7 +2,6 @@ import { HOME_PATH, buildItemPath } from '../../../../src/config/paths'; import ITEM_LAYOUT_MODES from '../../../../src/enums/itemLayoutModes'; import { GRAASP_DOCUMENT_ITEM } from '../../../fixtures/documents'; import { SAMPLE_ITEMS } from '../../../fixtures/items'; -import { CREATE_ITEM_PAUSE } from '../../../support/constants'; import { createDocument } from '../../../support/createUtils'; describe('Create Document', () => { @@ -16,8 +15,6 @@ describe('Create Document', () => { createDocument(GRAASP_DOCUMENT_ITEM); cy.wait('@postItem').then(() => { - // check item is created and displayed - cy.wait(CREATE_ITEM_PAUSE); // should update view cy.wait('@getOwnItems'); }); diff --git a/cypress/e2e/item/create/createFolder.cy.ts b/cypress/e2e/item/create/createFolder.cy.ts index eaa182992..195c1ab5e 100644 --- a/cypress/e2e/item/create/createFolder.cy.ts +++ b/cypress/e2e/item/create/createFolder.cy.ts @@ -6,7 +6,6 @@ import { } from '../../../../src/config/selectors'; import ITEM_LAYOUT_MODES from '../../../../src/enums/itemLayoutModes'; import { CREATED_ITEM, SAMPLE_ITEMS } from '../../../fixtures/items'; -import { CREATE_ITEM_PAUSE } from '../../../support/constants'; import { createFolder } from '../../../support/createUtils'; describe('Create Folder', () => { @@ -52,8 +51,6 @@ describe('Create Folder', () => { createFolder(CREATED_ITEM); cy.wait('@postItem').then(() => { - // check item is created and displayed - cy.wait(CREATE_ITEM_PAUSE); // expect update cy.wait('@getOwnItems'); diff --git a/cypress/e2e/item/create/createShortcut.cy.ts b/cypress/e2e/item/create/createShortcut.cy.ts index a6c93831c..4af08adc7 100644 --- a/cypress/e2e/item/create/createShortcut.cy.ts +++ b/cypress/e2e/item/create/createShortcut.cy.ts @@ -12,7 +12,6 @@ import ITEM_LAYOUT_MODES from '../../../../src/enums/itemLayoutModes'; import { buildShortcutExtra } from '../../../../src/utils/itemExtra'; import { IMAGE_ITEM_DEFAULT } from '../../../fixtures/files'; import { SAMPLE_ITEMS } from '../../../fixtures/items'; -import { TABLE_ITEM_RENDER_TIME } from '../../../support/constants'; const createShortcut = ({ id, @@ -44,7 +43,7 @@ const createShortcutInList = ({ id: string; toItemPath?: string; }) => { - cy.wait(TABLE_ITEM_RENDER_TIME); + // cy.wait(TABLE_ITEM_RENDER_TIME); const menuSelector = `#${buildItemMenuButtonId(id)}`; cy.get(menuSelector).click(); createShortcut({ id, toItemPath }); diff --git a/cypress/e2e/item/delete/gridRecycleItem.cy.ts b/cypress/e2e/item/delete/gridRecycleItem.cy.ts index d69bf1833..cb651e7b0 100644 --- a/cypress/e2e/item/delete/gridRecycleItem.cy.ts +++ b/cypress/e2e/item/delete/gridRecycleItem.cy.ts @@ -7,11 +7,10 @@ import { } from '../../../../src/config/selectors'; import { ITEM_LAYOUT_MODES } from '../../../../src/enums'; import { SAMPLE_ITEMS } from '../../../fixtures/items'; -import { TABLE_ITEM_RENDER_TIME } from '../../../support/constants'; const recycleItem = (id: string) => { const menuSelector = `#${buildItemMenuButtonId(id)}`; - cy.wait(TABLE_ITEM_RENDER_TIME); + // cy.wait(TABLE_ITEM_RENDER_TIME); cy.get(menuSelector).click(); cy.get(`#${buildItemMenu(id)} .${ITEM_MENU_RECYCLE_BUTTON_CLASS}`).click(); }; diff --git a/cypress/e2e/item/delete/listDeleteItem.cy.ts b/cypress/e2e/item/delete/listDeleteItem.cy.ts index e95a9ac02..089d583b3 100644 --- a/cypress/e2e/item/delete/listDeleteItem.cy.ts +++ b/cypress/e2e/item/delete/listDeleteItem.cy.ts @@ -6,10 +6,9 @@ import { } from '../../../../src/config/selectors'; import { ITEM_LAYOUT_MODES } from '../../../../src/enums'; import { RECYCLED_ITEM_DATA, SAMPLE_ITEMS } from '../../../fixtures/items'; -import { TABLE_ITEM_RENDER_TIME } from '../../../support/constants'; const deleteItem = (id: string) => { - cy.wait(TABLE_ITEM_RENDER_TIME); + // cy.wait(TABLE_ITEM_RENDER_TIME); cy.get( `${buildItemsTableRowIdAttribute(id)} .${ITEM_DELETE_BUTTON_CLASS}`, ).click(); diff --git a/cypress/e2e/item/delete/listDeleteItems.cy.ts b/cypress/e2e/item/delete/listDeleteItems.cy.ts index b7b0d0f32..403b28532 100644 --- a/cypress/e2e/item/delete/listDeleteItems.cy.ts +++ b/cypress/e2e/item/delete/listDeleteItems.cy.ts @@ -6,12 +6,11 @@ import { } from '../../../../src/config/selectors'; import { ITEM_LAYOUT_MODES } from '../../../../src/enums'; import { RECYCLED_ITEM_DATA, SAMPLE_ITEMS } from '../../../fixtures/items'; -import { TABLE_ITEM_RENDER_TIME } from '../../../support/constants'; const deleteItems = (itemIds: string[]) => { // check selected ids itemIds.forEach((id) => { - cy.wait(TABLE_ITEM_RENDER_TIME); + // cy.wait(TABLE_ITEM_RENDER_TIME); cy.get(`${buildItemsTableRowIdAttribute(id)} .ag-checkbox-input`).click(); }); diff --git a/cypress/support/commands/item.ts b/cypress/support/commands/item.ts index 6011fd063..3fee9a487 100644 --- a/cypress/support/commands/item.ts +++ b/cypress/support/commands/item.ts @@ -18,6 +18,7 @@ import { } from '../../../src/config/selectors'; import { getParentsIdsFromPath } from '../../../src/utils/item'; import { APP_NAME, NEW_APP_NAME } from '../../fixtures/apps/apps'; +import { TREE_VIEW_PAUSE } from '../constants'; Cypress.Commands.add( 'fillShareForm', @@ -42,7 +43,7 @@ Cypress.Commands.add( (toItemPath, treeRootId = TREE_MODAL_MY_ITEMS_ID) => { const ids = getParentsIdsFromPath(toItemPath); - // cy.wait(TREE_VIEW_PAUSE); + cy.wait(TREE_VIEW_PAUSE); [treeRootId, ...ids].forEach((value, idx, array) => { cy.get(`#${treeRootId}`).then(($tree) => { diff --git a/cypress/support/constants.ts b/cypress/support/constants.ts index 5b5025649..0918b8a78 100644 --- a/cypress/support/constants.ts +++ b/cypress/support/constants.ts @@ -6,7 +6,7 @@ export const NAVIGATION_LOAD_PAUSE = 1500; export const PAGE_LOAD_WAITING_PAUSE = 3000; export const REQUEST_FAILURE_LOADING_TIME = 1500; export const FILE_LOADING_PAUSE = 2000; -export const TREE_VIEW_PAUSE = 2000; +export const TREE_VIEW_PAUSE = 1500; export const ITEM_LOADING_PAUSE = 2000; export const WEBSOCKETS_DELAY_TIME = 1500; export const WAIT_FOR_ITEM_TABLE_ROW_TIME = 7000; From cf5dd0d83960ef475dfe9922d85e1a1030049bbc Mon Sep 17 00:00:00 2001 From: spaenleh Date: Thu, 17 Aug 2023 08:08:33 +0200 Subject: [PATCH 6/8] fix: add a small pause to allow test to complete --- cypress/e2e/item/create/createFolder.cy.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/cypress/e2e/item/create/createFolder.cy.ts b/cypress/e2e/item/create/createFolder.cy.ts index 195c1ab5e..bf02df2f0 100644 --- a/cypress/e2e/item/create/createFolder.cy.ts +++ b/cypress/e2e/item/create/createFolder.cy.ts @@ -50,14 +50,12 @@ describe('Create Folder', () => { // create createFolder(CREATED_ITEM); - cy.wait('@postItem').then(() => { - // expect update - cy.wait('@getOwnItems'); - - // form is cleared - cy.get(`#${CREATE_ITEM_BUTTON_ID}`).click({ force: true }); - cy.get(`#${ITEM_FORM_NAME_INPUT_ID}`).should('have.value', ''); - }); + cy.wait('@postItem'); + // small necessary pause required in order for the form to be able to reset + cy.wait(300); + // form is cleared + cy.get(`#${CREATE_ITEM_BUTTON_ID}`).click({ force: true }); + cy.get(`#${ITEM_FORM_NAME_INPUT_ID}`).should('have.value', ''); }); it('create folder in item', () => { From f3cfc4313e0235c4fec66af110c5ed381156cdf7 Mon Sep 17 00:00:00 2001 From: spaenleh Date: Thu, 17 Aug 2023 12:02:57 +0200 Subject: [PATCH 7/8] chore: fix tests --- .github/workflows/cypress.yml | 2 +- package.json | 2 +- yarn.lock | 15 +++++++-------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 1ddf62756..6d142d7d5 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Yarn Install and Cache uses: graasp/graasp-deploy/.github/actions/yarn-install-and-cache@v1 diff --git a/package.json b/package.json index 75f380720..27b23516f 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "@typescript-eslint/parser": "6.4.0", "@vitejs/plugin-react": "4.0.4", "concurrently": "8.2.0", - "cypress": "12.17.4", + "cypress": "12.17.3", "cypress-localstorage-commands": "2.2.4", "env-cmd": "10.1.0", "eslint": "^8.47.0", diff --git a/yarn.lock b/yarn.lock index fdde54472..07b0e03ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1559,7 +1559,7 @@ __metadata: languageName: node linkType: hard -"@cypress/request@npm:2.88.12": +"@cypress/request@npm:^2.88.11": version: 2.88.12 resolution: "@cypress/request@npm:2.88.12" dependencies: @@ -5542,11 +5542,11 @@ __metadata: languageName: node linkType: hard -"cypress@npm:12.17.4": - version: 12.17.4 - resolution: "cypress@npm:12.17.4" +"cypress@npm:12.17.3": + version: 12.17.3 + resolution: "cypress@npm:12.17.3" dependencies: - "@cypress/request": 2.88.12 + "@cypress/request": ^2.88.11 "@cypress/xvfb": ^1.2.4 "@types/node": ^16.18.39 "@types/sinonjs__fake-timers": 8.1.1 @@ -5581,7 +5581,6 @@ __metadata: minimist: ^1.2.8 ospath: ^1.2.2 pretty-bytes: ^5.6.0 - process: ^0.11.10 proxy-from-env: 1.0.0 request-progress: ^3.0.0 semver: ^7.5.3 @@ -5591,7 +5590,7 @@ __metadata: yauzl: ^2.10.0 bin: cypress: bin/cypress - checksum: c9c79f5493b23e9c8cfb92d45d50ea9d0fae54210dde203bfa794a79436faf60108d826fe9007a7d67fddf7919802ad8f006b7ae56c5c198c75d5bc85bbc851b + checksum: 1da3922cac45c35ee282116fe2af2278e92cc08bd2d8586e0f2346cbe5c9f62129cec567bc9274c585e8c2e887341fa4e5c8623cfaa41dba87331cfb5a023721 languageName: node linkType: hard @@ -7517,7 +7516,7 @@ __metadata: ag-grid-community: 29.3.5 ag-grid-react: 29.3.5 concurrently: 8.2.0 - cypress: 12.17.4 + cypress: 12.17.3 cypress-localstorage-commands: 2.2.4 date-fns: 2.30.0 env-cmd: 10.1.0 From a6ca9b73d049f378ebe2ea420cd6a87fea3b8720 Mon Sep 17 00:00:00 2001 From: spaenleh Date: Thu, 17 Aug 2023 14:11:06 +0200 Subject: [PATCH 8/8] fix(ci): use old headless mode --- cypress.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cypress.config.ts b/cypress.config.ts index b5fc2c9ee..61a066163 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -19,6 +19,12 @@ export default defineConfig({ setupNodeEvents(on, config) { // eslint-disable-next-line @typescript-eslint/no-var-requires, global-require require('@cypress/code-coverage/task')(on, config); + on('before:browser:launch', (browser, launchOptions) => { + if (browser.name === 'chrome' && browser.isHeadless) { + launchOptions.args.push('--headless=old'); + } + return launchOptions; + }); return config; }, baseUrl: `http://localhost:${process.env.VITE_PORT || 3333}`,