Skip to content

Commit

Permalink
chore: update dependencies (#360)
Browse files Browse the repository at this point in the history
* chore: bump dependencies

* chore: bump dev dependencies
  • Loading branch information
tsyirvo authored Dec 26, 2023
1 parent cfa0f5c commit 793a899
Show file tree
Hide file tree
Showing 5 changed files with 1,300 additions and 1,174 deletions.
62 changes: 30 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"e2e:build:android:release": "detox build --configuration android:release",
"e2e:test:android:release": "detox test --configuration android:release",
"//// QUALITY ////": "",
"tsc": "tsc",
"lint": "eslint ./ --ext .js,.ts,.tsx,.json --fix --ignore-path .gitignore",
"prettify": "yarn prettier --write './**/*.{js,ts,tsx}'",
"pretty:check": "yarn prettier --check './**/*.{js,ts,tsx}'",
Expand All @@ -72,66 +71,65 @@
},
"dependencies": {
"@react-native-masked-view/masked-view": "0.2.9",
"@react-navigation/devtools": "6.0.19",
"@react-navigation/native": "6.1.7",
"@react-navigation/native-stack": "6.9.13",
"@sentry/react-native": "5.5.0",
"@react-navigation/native": "6.1.9",
"@react-navigation/native-stack": "6.9.17",
"@sentry/react-native": "5.10.0",
"@shopify/restyle": "2.4.2",
"dayjs": "1.11.9",
"expo": "49.0.9",
"dayjs": "1.11.10",
"expo": "49.0.21",
"expo-application": "~5.3.0",
"expo-asset": "~8.10.1",
"expo-build-properties": "~0.8.3",
"expo-constants": "~14.4.2",
"expo-dev-client": "~2.4.8",
"expo-dev-client": "2.4.8",
"expo-dev-menu": "3.1.10",
"expo-device": "~5.4.0",
"expo-font": "~11.4.0",
"expo-image": "~1.3.2",
"expo-image": "~1.3.5",
"expo-localization": "~14.3.0",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
"expo-updates": "~0.18.12",
"flagsmith": "3.19.1",
"i18next": "23.5.1",
"expo-updates": "~0.18.18",
"flagsmith": "3.21.0",
"i18next": "23.7.11",
"lodash": "4.17.21",
"mixpanel-react-native": "2.3.1",
"mixpanel-react-native": "2.4.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "13.2.2",
"react-native": "0.72.4",
"react-i18next": "14.0.0",
"react-native": "0.72.6",
"react-native-flipper": "0.212.0",
"react-native-gesture-handler": "~2.12.0",
"react-native-keyboard-aware-scroll-view": "0.9.5",
"react-native-mmkv": "2.10.2",
"react-native-mmkv": "2.11.0",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.7.2",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-svg": "13.9.0",
"react-native-toast-message": "2.1.6",
"react-native-toast-message": "2.2.0",
"semver": "7.5.4",
"sentry-expo": "~7.0.0",
"zod": "3.22.2"
"sentry-expo": "~7.1.0",
"zod": "3.22.4"
},
"devDependencies": {
"@babel/core": "7.23.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@config-plugins/detox": "3.0.0",
"@svgr/cli": "8.1.0",
"@testing-library/jest-native": "5.4.3",
"@testing-library/react-native": "12.3.0",
"@types/fs-extra": "11.0.1",
"@testing-library/react-native": "12.4.2",
"@types/fs-extra": "11.0.4",
"@types/imagemin": "8.0.0",
"@types/imagemin-mozjpeg": "8.0.1",
"@types/jest": "29.5.4",
"@types/lodash": "4.14.198",
"@types/jest": "29.5.11",
"@types/lodash": "4.14.202",
"@types/node": "20.7.0",
"@types/react": "~18.2.14",
"@types/react-navigation": "3.4.0",
"@types/semver": "7.5.1",
"@types/semver": "7.5.6",
"@types/sharp": "0.31.0",
"babel-plugin-root-import": "6.6.0",
"babel-plugin-transform-remove-console": "6.9.4",
Expand All @@ -140,23 +138,23 @@
"dotenv": "16.3.1",
"eslint": "8.50.0",
"eslint-config-tsyirvo-react-native": "1.5.0",
"fs-extra": "11.1.1",
"fs-extra": "11.2.0",
"husky": "8.0.3",
"imagemin": "7.0.1",
"imagemin-mozjpeg": "9.0.0",
"imagemin-pngquant": "9.0.2",
"is-image": "3.1.0",
"jest": "^29.2.1",
"jest": "29.7.0",
"jest-expo": "49.0.0",
"lint-staged": "14.0.1",
"lint-staged": "15.2.0",
"patch-package": "8.0.0",
"pinst": "3.0.0",
"postinstall-postinstall": "2.1.0",
"prettier": "3.0.3",
"prettier": "3.1.1",
"sharp": "0.31.1",
"standard-version": "9.5.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"ts-node": "10.9.2",
"typescript": "5.1.3"
},
"lint-staged": {
Expand Down
3 changes: 0 additions & 3 deletions src/core/navigation/navigation.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useFlipper } from '@react-navigation/devtools';
import {
NavigationContainer,
useNavigationContainerRef,
Expand Down Expand Up @@ -29,8 +28,6 @@ export function RootStack() {

const { t } = useTranslation('otherScreen');

useFlipper(navigationRef);

const onNavigationReady = () => {
routeNameRef.current = navigationRef.getCurrentRoute()?.name;

Expand Down
6 changes: 6 additions & 0 deletions src/shared/uiKit/button/__tests__/ButtonWithIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ describe('Button component', () => {
const onPress = jest.fn();
const props = { iconName, onPress };

beforeEach(() => {
jest.useFakeTimers();
});

afterEach(() => {
jest.clearAllMocks();

jest.useRealTimers();
});

it('should render correctly with a text and icon', () => {
Expand Down
6 changes: 6 additions & 0 deletions src/shared/uiKit/button/__tests__/ButtonWithText.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ describe('Button component', () => {
const onPress = jest.fn();
const props = { onPress };

beforeEach(() => {
jest.useFakeTimers();
});

afterEach(() => {
jest.clearAllMocks();

jest.useRealTimers();
});

it('should render correctly with a text', () => {
Expand Down
Loading

0 comments on commit 793a899

Please sign in to comment.