From a48b9c96a039513604b51f444a9cb5d5abd33b59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 00:30:44 -0400 Subject: [PATCH] chore(deps-dev): bump prettier from 3.3.2 to 3.3.3 in /dev-client (#1757) * chore(deps-dev): bump prettier from 3.3.2 to 3.3.3 in /dev-client Bumps [prettier](https://github.com/prettier/prettier) from 3.3.2 to 3.3.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * style: reformat JS with prettier 3.3.3 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paul Schreiber --- dev-client/package-lock.json | 9 ++++----- dev-client/package.json | 2 +- dev-client/src/components/util/nativeBaseAdapters.ts | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/dev-client/package-lock.json b/dev-client/package-lock.json index 8f4f831e6..18b3b5f5e 100644 --- a/dev-client/package-lock.json +++ b/dev-client/package-lock.json @@ -87,7 +87,7 @@ "eslint-plugin-prettier": "^5.1.3", "jest": "^29.7.0", "jest-expo": "~51.0.3", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "react-devtools": "^5.3.1", "react-native-svg-transformer": "^1.5.0", "react-test-renderer": "18.2.0", @@ -22230,11 +22230,10 @@ } }, "node_modules/prettier": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", - "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true, - "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, diff --git a/dev-client/package.json b/dev-client/package.json index 0a2f122c5..a7e2ec37b 100644 --- a/dev-client/package.json +++ b/dev-client/package.json @@ -96,7 +96,7 @@ "eslint-plugin-prettier": "^5.1.3", "jest": "^29.7.0", "jest-expo": "~51.0.3", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "react-devtools": "^5.3.1", "react-native-svg-transformer": "^1.5.0", "react-test-renderer": "18.2.0", diff --git a/dev-client/src/components/util/nativeBaseAdapters.ts b/dev-client/src/components/util/nativeBaseAdapters.ts index 73b0d0990..555251961 100644 --- a/dev-client/src/components/util/nativeBaseAdapters.ts +++ b/dev-client/src/components/util/nativeBaseAdapters.ts @@ -215,7 +215,7 @@ export const convertDimensionProp = ( }; export const convertColorProp = (color: ColorValue | ThemeColor | undefined) => - typeof color === 'string' ? getByKey(theme.colors, color) ?? color : color; + typeof color === 'string' ? (getByKey(theme.colors, color) ?? color) : color; const keys = (obj: O) => Object.keys(obj) as (keyof O)[];