Skip to content

Commit 6039cb8

Browse files
authored
Update dev dependencies to patch some low hanging fruit CVEs (#1297)
1 parent 0cffc13 commit 6039cb8

19 files changed

Lines changed: 4146 additions & 741 deletions

File tree

docs/storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@storybook/addon-styling-webpack": "^3.0.0",
2626
"@storybook/addon-themes": "^10.1.4",
2727
"@storybook/react": "^10.1.4",
28-
"@storybook/react-vite": "^10.1.4",
28+
"@storybook/react-vite": "^10.1.11",
2929
"@storybook/testing-library": "^0.2.2",
3030
"@tailwindcss/postcss": "^4",
3131
"@tailwindcss/vite": "^4.1.17",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ const nextConfig = {
1818
},
1919
};
2020

21-
module.exports = nextConfig;
21+
export default nextConfig;

examples/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@livekit/track-processors": "^0.3.2",
1616
"livekit-client": "catalog:",
1717
"livekit-server-sdk": "^2.6.1",
18-
"next": "^14.2.13",
18+
"next": "^15.5.10",
1919
"react": "^18.2.0",
2020
"react-dom": "^18.2.0"
2121
},

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
"devDependencies": {
3333
"@changesets/cli": "^2.27.1",
3434
"@livekit/changesets-changelog-github": "^0.0.4",
35-
"@rushstack/heft": "^0.73.0",
35+
"@rushstack/heft": "^0.73.6",
3636
"glob": "^11.0.0",
3737
"globals": "^16.0.0",
3838
"husky": "^8.0.3",
3939
"nodemon": "^3.0.3",
40-
"prettier": "^3.2.5",
40+
"prettier": "catalog:",
4141
"turbo": "^2.1.1",
4242
"typescript": "5.8.2",
4343
"typescript-eslint": "^8.24.0"

packages/core/src/observables/dataChannel.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ export interface BaseDataMessage<T extends string | undefined> {
4141
payload: Uint8Array;
4242
}
4343

44-
export interface ReceivedDataMessage<T extends string | undefined = string>
45-
extends BaseDataMessage<T> {
44+
export interface ReceivedDataMessage<
45+
T extends string | undefined = string,
46+
> extends BaseDataMessage<T> {
4647
from?: Participant;
4748
}
4849

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"@vitejs/plugin-react": "^4.3.2",
8686
"eslint": "catalog:",
8787
"eslint-config-lk-custom": "workspace:*",
88-
"jsdom": "^26.0.0",
88+
"jsdom": "^26.1.0",
8989
"react": "^18.2.0",
9090
"react-dom": "^18.2.0",
9191
"rimraf": "^6.0.0",

packages/react/src/components/controls/MediaDeviceSelect.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import { RoomEvent, type LocalAudioTrack, type LocalVideoTrack } from 'livekit-c
55
import { useMediaDeviceSelect } from '../../hooks';
66

77
/** @public */
8-
export interface MediaDeviceSelectProps
9-
extends Omit<React.HTMLAttributes<HTMLUListElement>, 'onError'> {
8+
export interface MediaDeviceSelectProps extends Omit<
9+
React.HTMLAttributes<HTMLUListElement>,
10+
'onError'
11+
> {
1012
kind: MediaDeviceKind;
1113
onActiveDeviceChange?: (deviceId: string) => void;
1214
onDeviceListChange?: (devices: MediaDeviceInfo[]) => void;

packages/react/src/components/controls/PaginationControl.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ import SvgChevron from '../../assets/icons/Chevron';
33
import type { usePagination } from '../../hooks';
44
import { createInteractingObservable } from '@livekit/components-core';
55

6-
export interface PaginationControlProps
7-
extends Pick<
8-
ReturnType<typeof usePagination>,
9-
'totalPageCount' | 'nextPage' | 'prevPage' | 'currentPage'
10-
> {
6+
export interface PaginationControlProps extends Pick<
7+
ReturnType<typeof usePagination>,
8+
'totalPageCount' | 'nextPage' | 'prevPage' | 'currentPage'
9+
> {
1110
/** Reference to an HTML element that holds the pages, while interacting (`mouseover`)
1211
* with it, the pagination controls will appear for a while. */
1312
pagesContainer?: React.RefObject<HTMLElement>;

packages/react/src/components/controls/TrackToggle.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import { useTrackToggle } from '../../hooks';
55
import { TrackPublishOptions } from 'livekit-client';
66

77
/** @public */
8-
export interface TrackToggleProps<T extends ToggleSource>
9-
extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
8+
export interface TrackToggleProps<T extends ToggleSource> extends Omit<
9+
React.ButtonHTMLAttributes<HTMLButtonElement>,
10+
'onChange'
11+
> {
1012
source: T;
1113
showIcon?: boolean;
1214
initialState?: boolean;

packages/react/src/components/layout/GridLayout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import { PaginationIndicator } from '../controls/PaginationIndicator';
99

1010
/** @public */
1111
export interface GridLayoutProps
12-
extends React.HTMLAttributes<HTMLDivElement>,
13-
Pick<UseParticipantsOptions, 'updateOnlyOn'> {
12+
extends React.HTMLAttributes<HTMLDivElement>, Pick<UseParticipantsOptions, 'updateOnlyOn'> {
1413
children: React.ReactNode;
1514
tracks: TrackReferenceOrPlaceholder[];
1615
}

0 commit comments

Comments
 (0)