Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Nov 6, 2024
1 parent 0ca4a59 commit 58515f6
Show file tree
Hide file tree
Showing 3 changed files with 1,015 additions and 657 deletions.
76 changes: 38 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,41 @@
"dependencies": {
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@graasp/apps-query-client": "3.7.0",
"@graasp/sdk": "4.29.1",
"@graasp/apps-query-client": "3.7.2",
"@graasp/sdk": "4.35.0",
"@graasp/stylis-plugin-rtl": "^2.2.0",
"@graasp/translations": "^1.28.0",
"@graasp/ui": "5.1.0",
"@mui/icons-material": "5.16.7",
"@mui/lab": "5.0.0-alpha.173",
"@mui/material": "5.16.7",
"@sentry/react": "8.30.0",
"@graasp/translations": "^1.40.0",
"@graasp/ui": "5.4.0",
"@mui/icons-material": "6.1.6",
"@mui/lab": "6.0.0-beta.14",
"@mui/material": "6.1.6",
"@sentry/react": "8.37.1",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"@types/node": "20.16.5",
"@types/react": "18.3.8",
"@types/react-dom": "18.3.0",
"@types/node": "20.17.6",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@uppy/core": "^3.11.3",
"@uppy/dashboard": "^3.8.3",
"@uppy/drag-drop": "^3.1.0",
"@uppy/file-input": "^3.1.2",
"@uppy/progress-bar": "^3.1.1",
"@uppy/react": "^3.3.1",
"@uppy/xhr-upload": "^3.6.7",
"i18next": "^23.9.0",
"i18next": "^23.16.4",
"lodash.groupby": "^4.6.0",
"lodash.isequal": "^4.5.0",
"lodash.orderby": "^4.6.0",
"lucide-react": "^0.441.0",
"lucide-react": "^0.454.0",
"react": "18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "18.3.1",
"react-draggable": "^4.4.6",
"react-i18next": "14.1.3",
"react-router-dom": "^6.26.2",
"react-toastify": "10.0.5",
"react-zoom-pan-pinch": "^3.6.0",
"typescript": "5.6.2"
"react-i18next": "15.1.0",
"react-router-dom": "^6.27.0",
"react-toastify": "10.0.6",
"react-zoom-pan-pinch": "^3.6.1",
"typescript": "5.6.3"
},
"scripts": {
"dev": "yarn vite",
Expand Down Expand Up @@ -74,42 +74,42 @@
"devDependencies": {
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@cypress/code-coverage": "3.13.1",
"@cypress/code-coverage": "3.13.6",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/i18n": "0.13.12",
"@types/lodash.groupby": "^4.6.9",
"@types/lodash.isequal": "^4",
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.orderby": "^4.6.9",
"@types/react-beautiful-dnd": "^13",
"@types/uuid": "9.0.8",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@vitejs/plugin-react": "^4.2.1",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "8.13.0",
"@typescript-eslint/parser": "8.13.0",
"@vitejs/plugin-react": "^4.3.3",
"axios": "1.7.7",
"concurrently": "8.2.2",
"cypress": "13.14.2",
"concurrently": "9.1.0",
"cypress": "13.15.2",
"env-cmd": "10.1.0",
"eslint": "8.57.1",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cypress": "3.5.0",
"eslint-plugin-import": "2.30.0",
"eslint-plugin-jsx-a11y": "6.10.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-cypress": "4.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "5.0.0",
"husky": "9.1.6",
"miragejs": "^0.1.48",
"nock": "^13.5.3",
"nyc": "15.1.0",
"nock": "^13.5.5",
"nyc": "17.1.0",
"prettier": "3.3.3",
"uuid": "9.0.1",
"vite": "^5.1.3",
"uuid": "11.0.2",
"vite": "^5.4.10",
"vite-plugin-checker": "^0.8.0",
"vite-plugin-istanbul": "^6.0.0"
"vite-plugin-istanbul": "^6.0.2"
},
"browserslist": {
"production": [
Expand Down
15 changes: 12 additions & 3 deletions public/mockServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* - Please do NOT serve this file on production.
*/

const PACKAGE_VERSION = '2.4.8'
const INTEGRITY_CHECKSUM = '26357c79639bfa20d64c0efca2a87423'
const PACKAGE_VERSION = '2.6.0'
const INTEGRITY_CHECKSUM = '07a8241b182f8a246a7cd39894799a9e'
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
const activeClientIds = new Set()

Expand Down Expand Up @@ -62,7 +62,12 @@ self.addEventListener('message', async function (event) {

sendToClient(client, {
type: 'MOCKING_ENABLED',
payload: true,
payload: {
client: {
id: client.id,
frameType: client.frameType,
},
},
})
break
}
Expand Down Expand Up @@ -155,6 +160,10 @@ async function handleRequest(event, requestId) {
async function resolveMainClient(event) {
const client = await self.clients.get(event.clientId)

if (activeClientIds.has(event.clientId)) {
return client
}

if (client?.frameType === 'top-level') {
return client
}
Expand Down
Loading

0 comments on commit 58515f6

Please sign in to comment.