From 631f8320c546bd132ce91a6b422a67d930c6ec22 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Mar 2022 12:55:21 +0200 Subject: [PATCH] Bump prettier from 2.6.0 to 2.6.1 * Bump prettier from 2.6.0 to 2.6.1 Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1. - [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/2.6.0...2.6.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- src/client-scopes/details/MappingDetails.tsx | 6 ++++-- src/clients/authorization/Permissions.tsx | 6 ++++-- src/clients/authorization/policy/ClientScope.tsx | 5 +++-- src/clients/authorization/policy/Group.tsx | 5 +++-- src/clients/authorization/policy/Role.tsx | 5 +++-- src/realm-settings/ClientProfileForm.tsx | 6 ++++-- .../attribute/AttributeValidations.tsx | 5 +++-- 9 files changed, 32 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index ba6b5331b9..90eb69ee63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,7 +70,7 @@ "postcss": "^8.4.12", "postcss-import": "^14.1.0", "postcss-svg": "^3.0.0", - "prettier": "^2.6.0", + "prettier": "^2.6.1", "progress-promise": "^0.0.6", "snowpack": "^3.8.6", "ts-jest": "^27.1.3", @@ -16996,9 +16996,9 @@ } }, "node_modules/prettier": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.0.tgz", - "integrity": "sha512-m2FgJibYrBGGgQXNzfd0PuDGShJgRavjUoRCw1mZERIWVSXF0iLzLm+aOqTAbLnC3n6JzUhAA8uZnFVghHJ86A==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.1.tgz", + "integrity": "sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==", "dev": true, "bin": { "prettier": "bin-prettier.js" @@ -34967,9 +34967,9 @@ "dev": true }, "prettier": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.0.tgz", - "integrity": "sha512-m2FgJibYrBGGgQXNzfd0PuDGShJgRavjUoRCw1mZERIWVSXF0iLzLm+aOqTAbLnC3n6JzUhAA8uZnFVghHJ86A==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.1.tgz", + "integrity": "sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==", "dev": true }, "prettier-linter-helpers": { diff --git a/package.json b/package.json index 158d67cba3..8236070390 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "postcss": "^8.4.12", "postcss-import": "^14.1.0", "postcss-svg": "^3.0.0", - "prettier": "^2.6.0", + "prettier": "^2.6.1", "progress-promise": "^0.0.6", "snowpack": "^3.8.6", "ts-jest": "^27.1.3", diff --git a/src/client-scopes/details/MappingDetails.tsx b/src/client-scopes/details/MappingDetails.tsx index b5eec809bc..3c18b352d3 100644 --- a/src/client-scopes/details/MappingDetails.tsx +++ b/src/client-scopes/details/MappingDetails.tsx @@ -40,8 +40,10 @@ export default function MappingDetails() { const form = useForm(); const { register, setValue, errors, handleSubmit } = form; const [mapping, setMapping] = useState(); - const [config, setConfig] = - useState<{ protocol?: string; protocolMapper?: string }>(); + const [config, setConfig] = useState<{ + protocol?: string; + protocolMapper?: string; + }>(); const history = useHistory(); const { realm } = useRealm(); diff --git a/src/clients/authorization/Permissions.tsx b/src/clients/authorization/Permissions.tsx index d685174ed4..8e6cae5e83 100644 --- a/src/clients/authorization/Permissions.tsx +++ b/src/clients/authorization/Permissions.tsx @@ -63,8 +63,10 @@ export const AuthorizationPermissions = ({ clientId }: PermissionsProps) => { useState(); const [policyProviders, setPolicyProviders] = useState(); - const [disabledCreate, setDisabledCreate] = - useState<{ resources: boolean; scopes: boolean }>(); + const [disabledCreate, setDisabledCreate] = useState<{ + resources: boolean; + scopes: boolean; + }>(); const [createOpen, toggleCreate] = useToggle(); const [search, setSearch] = useState({}); diff --git a/src/clients/authorization/policy/ClientScope.tsx b/src/clients/authorization/policy/ClientScope.tsx index 4eb02e645e..61d36f51e9 100644 --- a/src/clients/authorization/policy/ClientScope.tsx +++ b/src/clients/authorization/policy/ClientScope.tsx @@ -25,8 +25,9 @@ export type RequiredIdValue = { export const ClientScope = () => { const { t } = useTranslation("clients"); - const { control, getValues, setValue, errors } = - useFormContext<{ clientScopes: RequiredIdValue[] }>(); + const { control, getValues, setValue, errors } = useFormContext<{ + clientScopes: RequiredIdValue[]; + }>(); const [open, setOpen] = useState(false); const [scopes, setScopes] = useState([]); diff --git a/src/clients/authorization/policy/Group.tsx b/src/clients/authorization/policy/Group.tsx index ead7941ec9..9ae1fc8a38 100644 --- a/src/clients/authorization/policy/Group.tsx +++ b/src/clients/authorization/policy/Group.tsx @@ -24,8 +24,9 @@ export type GroupValue = { export const Group = () => { const { t } = useTranslation("clients"); - const { control, register, getValues, setValue, errors } = - useFormContext<{ groups?: GroupValue[] }>(); + const { control, register, getValues, setValue, errors } = useFormContext<{ + groups?: GroupValue[]; + }>(); const values = getValues("groups"); const [open, setOpen] = useState(false); diff --git a/src/clients/authorization/policy/Role.tsx b/src/clients/authorization/policy/Role.tsx index 385712efcd..2d2f18d326 100644 --- a/src/clients/authorization/policy/Role.tsx +++ b/src/clients/authorization/policy/Role.tsx @@ -20,8 +20,9 @@ import { AddRoleMappingModal } from "../../../components/role-mapping/AddRoleMap export const Role = () => { const { t } = useTranslation("clients"); - const { control, getValues, setValue, errors } = - useFormContext<{ roles?: RequiredIdValue[] }>(); + const { control, getValues, setValue, errors } = useFormContext<{ + roles?: RequiredIdValue[]; + }>(); const values = getValues("roles"); const [open, setOpen] = useState(false); diff --git a/src/realm-settings/ClientProfileForm.tsx b/src/realm-settings/ClientProfileForm.tsx index f088042525..0be180b07f 100644 --- a/src/realm-settings/ClientProfileForm.tsx +++ b/src/realm-settings/ClientProfileForm.tsx @@ -76,8 +76,10 @@ export default function ClientProfileForm() { ], [] ); - const [executorToDelete, setExecutorToDelete] = - useState<{ idx: number; name: string }>(); + const [executorToDelete, setExecutorToDelete] = useState<{ + idx: number; + name: string; + }>(); const editMode = profileName ? true : false; const [key, setKey] = useState(0); const reload = () => setKey(new Date().getTime()); diff --git a/src/realm-settings/user-profile/attribute/AttributeValidations.tsx b/src/realm-settings/user-profile/attribute/AttributeValidations.tsx index c9b41ba31a..958fdf1bf5 100644 --- a/src/realm-settings/user-profile/attribute/AttributeValidations.tsx +++ b/src/realm-settings/user-profile/attribute/AttributeValidations.tsx @@ -31,8 +31,9 @@ import "../../realm-settings-section.css"; export const AttributeValidations = () => { const { t } = useTranslation("realm-settings"); const [addValidatorModalOpen, toggleModal] = useToggle(); - const [validatorToDelete, setValidatorToDelete] = - useState<{ name: string }>(); + const [validatorToDelete, setValidatorToDelete] = useState<{ + name: string; + }>(); const { setValue, control, register } = useFormContext(); const validators = useWatch({ name: "validations",