From d1b0378a45c69ec75a20e7c882fc3186bc04bc89 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 20 Jun 2025 20:04:53 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F(frontend)=20bump=20livekit-c?= =?UTF-8?q?lient=20from=202.11=20to=202.13?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix critical Chrome screenshare bug and other issues. See: https://github.com/livekit/client-sdk-js/pull/1556 Breaking change: Chat functionality affected by behavior changes. Discussion: https://github.com/livekit/components-js/issues/1158 --- src/frontend/package-lock.json | 124 +++++++++++++++++++-------------- src/frontend/package.json | 8 +-- 2 files changed, 75 insertions(+), 57 deletions(-) diff --git a/src/frontend/package-lock.json b/src/frontend/package-lock.json index 6e5bc0b2..6cc99420 100644 --- a/src/frontend/package-lock.json +++ b/src/frontend/package-lock.json @@ -8,9 +8,9 @@ "name": "meet", "version": "0.1.23", "dependencies": { - "@livekit/components-react": "2.8.1", - "@livekit/components-styles": "1.1.5", - "@livekit/track-processors": "0.5.6", + "@livekit/components-react": "2.9.10", + "@livekit/components-styles": "1.1.6", + "@livekit/track-processors": "0.5.7", "@pandacss/preset-panda": "0.53.6", "@react-aria/toast": "3.0.2", "@remixicon/react": "4.6.0", @@ -21,7 +21,7 @@ "i18next-browser-languagedetector": "8.1.0", "i18next-parser": "9.3.0", "i18next-resources-to-backend": "1.2.1", - "livekit-client": "2.11.4", + "livekit-client": "2.13.8", "posthog-js": "1.240.6", "react": "18.3.1", "react-aria-components": "1.8.0", @@ -405,9 +405,9 @@ } }, "node_modules/@bufbuild/protobuf": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz", - "integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.1.tgz", + "integrity": "sha512-wJ8ReQbHxsAfXhrf9ixl0aYbZorRuOWpBNzm8pL8ftmSxQx/wnJD5Eg861NwJU/czy2VXFIebCeZnZrI9rktIQ==", "license": "(Apache-2.0 AND BSD-3-Clause)" }, "node_modules/@clack/core": { @@ -981,22 +981,22 @@ } }, "node_modules/@floating-ui/core": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.0.tgz", - "integrity": "sha512-FRdBLykrPPA6P76GGGqlex/e7fbe0F1ykgxHYNXQsH/iTEtjMj/f9bpY5oQqbjt5VgZvgz/uKXbGuROijh3VLA==", + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.1.tgz", + "integrity": "sha512-azI0DrjMMfIug/ExbBaeDVJXcY0a7EPvPjb2xAJPa4HeimBX+Z18HK8QQR3jb6356SnDDdxx+hinMLcJEDdOjw==", "license": "MIT", "dependencies": { "@floating-ui/utils": "^0.2.9" } }, "node_modules/@floating-ui/dom": { - "version": "1.6.11", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.11.tgz", - "integrity": "sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ==", + "version": "1.6.13", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz", + "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==", "license": "MIT", "dependencies": { "@floating-ui/core": "^1.6.0", - "@floating-ui/utils": "^0.2.8" + "@floating-ui/utils": "^0.2.9" } }, "node_modules/@floating-ui/utils": { @@ -1214,48 +1214,39 @@ } }, "node_modules/@livekit/components-core": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/@livekit/components-core/-/components-core-0.12.1.tgz", - "integrity": "sha512-R7qWoVzPckOYxEHZgP3Kp8u+amu+isnTptgoZV7+bpmLRBHI7mWnaD+0uDWlyIMjI1pBbK3wHg0ILKa5UytI+A==", + "version": "0.12.7", + "resolved": "https://registry.npmjs.org/@livekit/components-core/-/components-core-0.12.7.tgz", + "integrity": "sha512-oxP2qlFy2Dqnu2u0ESQgcKF+5LfAMpOZ87FTMXyZ+RFogM3AkU0PWR31+j3tkAMPC9fCrgh4V1lZG3h6LjGTiw==", "license": "Apache-2.0", "dependencies": { - "@floating-ui/dom": "1.6.11", + "@floating-ui/dom": "1.6.13", "loglevel": "1.9.1", - "rxjs": "7.8.1" + "rxjs": "7.8.2" }, "engines": { "node": ">=18" }, "peerDependencies": { - "livekit-client": "^2.8.1", + "livekit-client": "^2.13.1", "tslib": "^2.6.2" } }, - "node_modules/@livekit/components-core/node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.1.0" - } - }, "node_modules/@livekit/components-react": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/@livekit/components-react/-/components-react-2.8.1.tgz", - "integrity": "sha512-XpuDu7iDMcN4pkV8CYNzHf9hLNdYOeEtbmCr7Zesy6Au3BxUl4aS1Ajmg0b75Rx7zTlkyCJt9Lm4VrEqbJCI6Q==", + "version": "2.9.10", + "resolved": "https://registry.npmjs.org/@livekit/components-react/-/components-react-2.9.10.tgz", + "integrity": "sha512-itkMCP+KrG9KuidO+7A4W/9LaGweKxA35EyejCV49N1/gOelj4wi4Mmrf2ZIXAG8A+Xk5GXAxoCbEAh0mtMf9Q==", "license": "Apache-2.0", "dependencies": { - "@livekit/components-core": "0.12.1", + "@livekit/components-core": "0.12.7", "clsx": "2.1.1", - "usehooks-ts": "3.1.0" + "usehooks-ts": "3.1.1" }, "engines": { "node": ">=18" }, "peerDependencies": { "@livekit/krisp-noise-filter": "^0.2.12", - "livekit-client": "^2.8.1", + "livekit-client": "^2.13.1", "react": ">=18", "react-dom": ">=18", "tslib": "^2.6.2" @@ -1267,9 +1258,9 @@ } }, "node_modules/@livekit/components-styles": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@livekit/components-styles/-/components-styles-1.1.5.tgz", - "integrity": "sha512-SocIPcwm18S28zVruvJcmiHfbUIwGTfxGbUOIp1Db78EON/iJ2v7B2g/xD5sr+c7jXoV1DNUPl2qQiFW2S9dbw==", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@livekit/components-styles/-/components-styles-1.1.6.tgz", + "integrity": "sha512-V6zfuREC2ksW8z6T6WSbEvdLB5ICVikGz1GtLr59UcxHDyAsKDbuDHAyl3bF3xBqPKYmY3GWF3Qk39rnScyOtA==", "license": "Apache-2.0", "engines": { "node": ">=18" @@ -1282,23 +1273,24 @@ "license": "Apache-2.0" }, "node_modules/@livekit/protocol": { - "version": "1.36.1", - "resolved": "https://registry.npmjs.org/@livekit/protocol/-/protocol-1.36.1.tgz", - "integrity": "sha512-nN3QnITAQ5yXk7UKfotH7CRWIlEozNWeKVyFJ0/+dtSzvWP/ib+10l1DDnRYi3A1yICJOGAKFgJ5d6kmi1HCUA==", + "version": "1.39.2", + "resolved": "https://registry.npmjs.org/@livekit/protocol/-/protocol-1.39.2.tgz", + "integrity": "sha512-kYbIO/JlC6cylSxd4WJrBps9+zoZ9gifL7t3iW9whT8rbo5jHx03I4dwBLhzOonVyX+memSEO90m/ymNoT+aAw==", "license": "Apache-2.0", "dependencies": { "@bufbuild/protobuf": "^1.10.0" } }, "node_modules/@livekit/track-processors": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/@livekit/track-processors/-/track-processors-0.5.6.tgz", - "integrity": "sha512-TlzObrSlp2PKor4VXqg6iefLRFVEb2T1lXwddBFdkPod60XVgYoMOj7V5xJm+UTE2MEtlE0003vUli9PyQGB1g==", + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@livekit/track-processors/-/track-processors-0.5.7.tgz", + "integrity": "sha512-/2SkuVAF+YiPNtOi9zQJz/yH1WGaK53XZ3PaESpLOiEYUBsYky13BrriXCXUf6kwn5R5+7ZsYWc2k3XSsAuLtg==", "license": "Apache-2.0", "dependencies": { "@mediapipe/tasks-vision": "0.10.14" }, "peerDependencies": { + "@types/dom-mediacapture-transform": "^0.1.9", "livekit-client": "^1.12.0 || ^2.1.0" } }, @@ -3949,6 +3941,30 @@ "@babel/types": "^7.20.7" } }, + "node_modules/@types/dom-mediacapture-record": { + "version": "1.0.22", + "resolved": "https://registry.npmjs.org/@types/dom-mediacapture-record/-/dom-mediacapture-record-1.0.22.tgz", + "integrity": "sha512-mUMZLK3NvwRLcAAT9qmcK+9p7tpU2FHdDsntR3YI4+GY88XrgG4XiE7u1Q2LAN2/FZOz/tdMDC3GQCR4T8nFuw==", + "license": "MIT", + "peer": true + }, + "node_modules/@types/dom-mediacapture-transform": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/@types/dom-mediacapture-transform/-/dom-mediacapture-transform-0.1.11.tgz", + "integrity": "sha512-Y2p+nGf1bF2XMttBnsVPHUWzRRZzqUoJAKmiP10b5umnO6DDrWI0BrGDJy1pOHoOULVmGSfFNkQrAlC5dcj6nQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@types/dom-webcodecs": "*" + } + }, + "node_modules/@types/dom-webcodecs": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/@types/dom-webcodecs/-/dom-webcodecs-0.1.15.tgz", + "integrity": "sha512-omOlCPvTWyPm4ZE5bZUhlSvnHM2ZWM2U+1cPiYFL/e8aV5O9MouELp+L4dMKNTON0nTeHqEg+KWDfFQMY5Wkaw==", + "license": "MIT", + "peer": true + }, "node_modules/@types/estree": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", @@ -7347,13 +7363,13 @@ } }, "node_modules/livekit-client": { - "version": "2.11.4", - "resolved": "https://registry.npmjs.org/livekit-client/-/livekit-client-2.11.4.tgz", - "integrity": "sha512-V82NdyhHo3iBxxQmPTk95Fe2+VZMABWZL56t9oZmMgycoF8li8gs/KG7yyDsKki50EeKLgwOmlwqx/Xf0pc0+Q==", + "version": "2.13.8", + "resolved": "https://registry.npmjs.org/livekit-client/-/livekit-client-2.13.8.tgz", + "integrity": "sha512-HXE89EizbgS/V+gh74GLGYOzvQ9d8qAsWt/N5lYkVGJX8PCq+7WK8whq5baFF7FBGkVPaE5NmW7Nk2V5nHvvWA==", "license": "Apache-2.0", "dependencies": { "@livekit/mutex": "1.1.1", - "@livekit/protocol": "1.36.1", + "@livekit/protocol": "1.39.2", "events": "^3.3.0", "loglevel": "^1.9.2", "sdp-transform": "^2.15.0", @@ -7361,6 +7377,9 @@ "tslib": "2.8.1", "typed-emitter": "^2.1.0", "webrtc-adapter": "^9.0.1" + }, + "peerDependencies": { + "@types/dom-mediacapture-record": "^1" } }, "node_modules/livekit-client/node_modules/loglevel": { @@ -8672,7 +8691,6 @@ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", "license": "Apache-2.0", - "optional": true, "dependencies": { "tslib": "^2.1.0" } @@ -9502,9 +9520,9 @@ } }, "node_modules/usehooks-ts": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-3.1.0.tgz", - "integrity": "sha512-bBIa7yUyPhE1BCc0GmR96VU/15l/9gP1Ch5mYdLcFBaFGQsdmXkvjV0TtOqW1yUd6VjIwDunm+flSciCQXujiw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-3.1.1.tgz", + "integrity": "sha512-I4diPp9Cq6ieSUH2wu+fDAVQO43xwtulo+fKEidHUwZPnYImbtkTjzIJYcDcJqxgmX31GVqNFURodvcgHcW0pA==", "license": "MIT", "dependencies": { "lodash.debounce": "^4.0.8" @@ -9513,7 +9531,7 @@ "node": ">=16.15.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18" + "react": "^16.8.0 || ^17 || ^18 || ^19 || ^19.0.0-rc" } }, "node_modules/util-deprecate": { diff --git a/src/frontend/package.json b/src/frontend/package.json index a21dfa7f..6eeb7853 100644 --- a/src/frontend/package.json +++ b/src/frontend/package.json @@ -13,9 +13,9 @@ "check": "prettier --check ./src" }, "dependencies": { - "@livekit/components-react": "2.8.1", - "@livekit/components-styles": "1.1.5", - "@livekit/track-processors": "0.5.6", + "@livekit/components-react": "2.9.10", + "@livekit/components-styles": "1.1.6", + "@livekit/track-processors": "0.5.7", "@pandacss/preset-panda": "0.53.6", "@react-aria/toast": "3.0.2", "@remixicon/react": "4.6.0", @@ -26,7 +26,7 @@ "i18next-browser-languagedetector": "8.1.0", "i18next-parser": "9.3.0", "i18next-resources-to-backend": "1.2.1", - "livekit-client": "2.11.4", + "livekit-client": "2.13.8", "posthog-js": "1.240.6", "react": "18.3.1", "react-aria-components": "1.8.0",