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] <support@github.com>
This commit is contained in:
parent
3dd563ca2e
commit
631f8320c5
9 changed files with 32 additions and 22 deletions
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -40,8 +40,10 @@ export default function MappingDetails() {
|
|||
const form = useForm();
|
||||
const { register, setValue, errors, handleSubmit } = form;
|
||||
const [mapping, setMapping] = useState<ProtocolMapperTypeRepresentation>();
|
||||
const [config, setConfig] =
|
||||
useState<{ protocol?: string; protocolMapper?: string }>();
|
||||
const [config, setConfig] = useState<{
|
||||
protocol?: string;
|
||||
protocolMapper?: string;
|
||||
}>();
|
||||
|
||||
const history = useHistory();
|
||||
const { realm } = useRealm();
|
||||
|
|
|
@ -63,8 +63,10 @@ export const AuthorizationPermissions = ({ clientId }: PermissionsProps) => {
|
|||
useState<PolicyRepresentation>();
|
||||
const [policyProviders, setPolicyProviders] =
|
||||
useState<PolicyProviderRepresentation[]>();
|
||||
const [disabledCreate, setDisabledCreate] =
|
||||
useState<{ resources: boolean; scopes: boolean }>();
|
||||
const [disabledCreate, setDisabledCreate] = useState<{
|
||||
resources: boolean;
|
||||
scopes: boolean;
|
||||
}>();
|
||||
const [createOpen, toggleCreate] = useToggle();
|
||||
const [search, setSearch] = useState<SearchForm>({});
|
||||
|
||||
|
|
|
@ -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<ClientScopeRepresentation[]>([]);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -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<Validator[]>({
|
||||
name: "validations",
|
||||
|
|
Loading…
Reference in a new issue