Skip to content

Commit

Permalink
chore: upgrade last dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Oct 27, 2024
1 parent c99537a commit 078bda7
Show file tree
Hide file tree
Showing 3 changed files with 796 additions and 643 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@react-navigation/elements": "^1.3.30",
"@react-navigation/native": "^6.1.17",
"@react-navigation/stack": "^6.3.29",
"@tanstack/react-query": "^5.59.15",
"@tanstack/react-query": "^5.59.16",
"axios": "^1.7.7",
"date-fns": "^4.1.0",
"expo": "~51.0.38",
Expand All @@ -53,7 +53,7 @@
"lodash.merge": "^4.6.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-intl": "^6.6.4",
"react-intl": "^6.8.4",
"react-is": "18.3.1",
"react-native": "0.74.5",
"react-native-gesture-handler": "~2.16.1",
Expand All @@ -66,19 +66,19 @@
"react-native-youtube-iframe": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/plugin-transform-typescript": "^7.25.7",
"@babel/preset-env": "^7.25.8",
"@react-native/eslint-config": "^0.75.4",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-typescript": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@react-native/babel-preset": "^0.75.4",
"@react-native/eslint-config": "^0.75.4",
"@tanstack/eslint-plugin-query": "^5.59.7",
"@testing-library/react-native": "^12.7.2",
"@types/jest": "^29.5.13",
"@testing-library/react-native": "^12.8.0",
"@types/jest": "^29.5.14",
"@types/lodash.debounce": "^4.0.9",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^22.7.7",
"@types/react": "~18.3.11",
"@typescript-eslint/parser": "^8.10.0",
"@types/node": "^22.8.1",
"@types/react": "~18.2.79",
"@typescript-eslint/parser": "^8.11.0",
"babel-plugin-module-resolver": "^5.0.0",
"babel-plugin-react-intl-auto": "^3.3.0",
"eslint": "^8.57.1",
Expand All @@ -92,7 +92,7 @@
"jest": "^29.7.0",
"jest-expo": "~51.0.4",
"prettier": "^3.3.3",
"typescript": "~5.6.3"
"typescript": "~5.3.3"
},
"private": true
}
4 changes: 2 additions & 2 deletions tests/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ export * from '@testing-library/react-native';

export function mockQuery<T>(data: T): UseQueryResult<T> {
return {
// @ts-ignore
promise: jest.fn(() => Promise.resolve({ data })),
data,
dataUpdatedAt: 1000000,
// @ts-ignore
error: null,
errorUpdateCount: 0,
errorUpdatedAt: 100000,
failureCount: 0,
// @ts-ignore
failureReason: null,
isError: false,
isFetched: true,
Expand Down
Loading

0 comments on commit 078bda7

Please sign in to comment.