From 6ab42e88183d33ef92f153b393e676d76a060413 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 00:48:49 +0000 Subject: [PATCH 1/2] 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] --- dev-client/package-lock.json | 9 ++++----- dev-client/package.json | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/dev-client/package-lock.json b/dev-client/package-lock.json index 630ac8b1c..c4b476899 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", @@ -22237,11 +22237,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 ad97a83a4..7250d7a3c 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", From 16a5ca5bfdd1c0a4da33da2e9ce32662d2d4ae52 Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Mon, 15 Jul 2024 23:10:37 -0400 Subject: [PATCH 2/2] style: reformat JS with prettier 3.3.3 --- dev-client/src/components/util/nativeBaseAdapters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)[];