Skip to content

Commit ae5e663

Browse files
authored
build(deps): upgrade some dependencies (#6962)
1 parent 0b93f25 commit ae5e663

8 files changed

Lines changed: 558 additions & 501 deletions

File tree

app/containers/RoomHeader/RoomHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ interface IRoomHeader {
7575
usersTyping: IUsersTyping;
7676
isGroupChat?: boolean;
7777
parentTitle?: string;
78-
onPress: Function;
78+
onPress: () => void;
7979
testID?: string;
8080
sourceType?: IOmnichannelSource;
8181
disabled?: boolean;

app/containers/RoomHeader/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface IRoomHeaderContainerProps {
1414
tmid?: string;
1515
teamMain?: boolean;
1616
roomUserId?: string | null;
17-
onPress: Function;
17+
onPress: () => void;
1818
parentTitle?: string;
1919
isGroupChat?: boolean;
2020
testID?: string;

app/views/ForwardMessageView/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const ForwardMessageView = () => {
3232
const { blockUnauthenticatedAccess, server, serverVersion, user } = useAppSelector(state => ({
3333
user: getUserSelector(state),
3434
server: state.server.server,
35-
blockUnauthenticatedAccess: !!state.settings.Accounts_AvatarBlockUnauthenticatedAccess ?? true,
35+
blockUnauthenticatedAccess: !!state.settings.Accounts_AvatarBlockUnauthenticatedAccess,
3636
serverVersion: state.server.version as string
3737
}));
3838

app/views/RoomView/LeftButtons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface ILeftButtonsProps {
2020
token?: string;
2121
title?: string;
2222
t: string;
23-
goRoomActionsView: Function;
23+
goRoomActionsView: () => void;
2424
isMasterDetail: boolean;
2525
}
2626

app/views/RoomView/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import { dequal } from 'dequal';
77
import { withSafeAreaInsets } from 'react-native-safe-area-context';
88
import { type Subscription } from 'rxjs';
99
import * as Haptics from 'expo-haptics';
10+
import { type NavigatorScreenParams } from '@react-navigation/native';
11+
12+
import { type TNavigation } from 'stacks/stackType';
1013

1114
import dayjs from '../../lib/dayjs';
1215
import {
@@ -589,7 +592,7 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
589592
joined,
590593
omnichannelPermissions: { canForwardGuest, canReturnQueue, canViewCannedResponse, canPlaceLivechatOnHold }
591594
}
592-
});
595+
} as NavigatorScreenParams<ModalStackParamList & TNavigation>);
593596
} else if (this.rid && this.t) {
594597
navigation.push('RoomActionsView', {
595598
rid: this.rid,

app/views/TeamChannelsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class TeamChannelsView extends React.Component<ITeamChannelsViewProps, ITeamChan
306306
);
307307
};
308308

309-
goRoomActionsView = (screen: string) => {
309+
goRoomActionsView = (screen?: string) => {
310310
logEvent(events.TC_GO_ACTIONS);
311311
const { team, joined } = this;
312312
const { navigation, isMasterDetail } = this.props;

package.json

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"@rocket.chat/mobile-crypto": "RocketChat/rocket.chat-mobile-crypto",
5252
"@rocket.chat/sdk": "RocketChat/Rocket.Chat.js.SDK#mobile",
5353
"@rocket.chat/ui-kit": "0.31.19",
54-
"bytebuffer": "5.0.1",
54+
"axios": "~0.28.1",
55+
"bytebuffer": "~5.0.1",
5556
"color2k": "1.2.4",
5657
"dayjs": "^1.11.18",
5758
"dequal": "2.0.3",
@@ -79,11 +80,9 @@
7980
"js-base64": "3.6.1",
8081
"js-sha256": "0.9.0",
8182
"jsrsasign": "11.0.0",
82-
"lint-staged": "11.1.0",
8383
"lodash": "4.17.21",
8484
"mitt": "3.0.1",
8585
"pretty-bytes": "5.6.0",
86-
"prop-types": "15.7.2",
8786
"react": "19.0.0",
8887
"react-hook-form": "7.34.2",
8988
"react-native": "0.79.4",
@@ -111,13 +110,11 @@
111110
"react-native-picker-select": "9.0.1",
112111
"react-native-platform-touchable": "1.1.1",
113112
"react-native-popover-view": "5.1.7",
114-
"react-native-prompt-android": "1.1.0",
115113
"react-native-reanimated": "^3.17.1",
116114
"react-native-restart": "0.0.22",
117115
"react-native-safe-area-context": "^5.4.0",
118116
"react-native-screens": "^4.13.1",
119117
"react-native-skeleton-placeholder": "5.2.4",
120-
"react-native-slowlog": "1.0.2",
121118
"react-native-svg": "^15.12.1",
122119
"react-native-url-polyfill": "2.0.0",
123120
"react-native-webview": "^13.15.0",
@@ -144,13 +141,13 @@
144141
"jpeg-js": "0.4.4"
145142
},
146143
"devDependencies": {
147-
"@babel/core": "^7.25.2",
148-
"@babel/eslint-parser": "^7.24.1",
149-
"@babel/eslint-plugin": "^7.23.5",
150-
"@babel/plugin-proposal-decorators": "^7.24.1",
151-
"@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5",
152-
"@babel/preset-env": "^7.25.3",
153-
"@babel/runtime": "^7.25.0",
144+
"@babel/core": "~7.25.9",
145+
"@babel/eslint-parser": "~7.25.9",
146+
"@babel/eslint-plugin": "~7.25.9",
147+
"@babel/plugin-proposal-decorators": "~7.25.9",
148+
"@babel/plugin-transform-named-capturing-groups-regex": "~7.25.9",
149+
"@babel/preset-env": "~7.25.9",
150+
"@babel/runtime": "~7.25.9",
154151
"@bugsnag/cli": "^3.2.1",
155152
"@bugsnag/source-maps": "^2.3.3",
156153
"@gorhom/bottom-sheet": "^5.1.6",
@@ -162,10 +159,10 @@
162159
"@react-native/metro-config": "0.79.4",
163160
"@react-native/typescript-config": "0.79.4",
164161
"@rocket.chat/eslint-config": "^0.4.0",
165-
"@storybook/react": "9.0.9",
166-
"@storybook/react-native": "9.0.9",
162+
"@storybook/react": "~9.0.9",
163+
"@storybook/react-native": "~9.0.9",
167164
"@testing-library/react-native": "^13.2.0",
168-
"@types/bytebuffer": "^5.0.44",
165+
"@types/bytebuffer": "~5.0.49",
169166
"@types/ejson": "^2.1.3",
170167
"@types/i18n-js": "3.8.3",
171168
"@types/invariant": "2.2.37",
@@ -181,12 +178,11 @@
181178
"@types/url-parse": "^1.4.8",
182179
"@typescript-eslint/eslint-plugin": "^7.4.0",
183180
"@typescript-eslint/parser": "^7.4.0",
184-
"axios": "0.28.0",
185-
"babel-jest": "^29.7.0",
186-
"babel-loader": "^9.1.3",
187-
"babel-plugin-react-compiler": "^19.1.0-rc.3",
181+
"babel-jest": "~29.7.0",
182+
"babel-loader": "~9.1.3",
183+
"babel-plugin-react-compiler": "19.1.0-rc.3",
188184
"babel-plugin-transform-remove-console": "^6.9.4",
189-
"babel-preset-expo": "^12.0.11",
185+
"babel-preset-expo": "~12.0.12",
190186
"eslint": "^8.57.0",
191187
"eslint-config-prettier": "^9.1.0",
192188
"eslint-plugin-import": "^2.29.1",
@@ -199,12 +195,11 @@
199195
"jest": "^29.7.0",
200196
"jest-cli": "^29.7.0",
201197
"jest-expo": "^53.0.5",
202-
"patch-package": "8.0.0",
198+
"patch-package": "~8.0.1",
203199
"prettier": "2.8.8",
204-
"react-dom": "18.2.0",
205-
"react-native-dotenv": "3.4.8",
206-
"storybook": "9.0.9",
207-
"typescript": "5.4.3"
200+
"react-native-dotenv": "~3.4.11",
201+
"storybook": "~9.0.9",
202+
"typescript": "~5.9.3"
208203
},
209204
"snyk": true,
210205
"engines": {
@@ -217,5 +212,9 @@
217212
"android": {
218213
"javaPackageName": "chat.rocket.reactnative.networking"
219214
}
215+
},
216+
"volta": {
217+
"node": "24.13.1",
218+
"yarn": "1.22.22"
220219
}
221220
}

0 commit comments

Comments
 (0)