Bump prettier from 2.8.1 to 2.8.2 (#4154)

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.1 to 2.8.2.
- [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.8.1...2.8.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-01-09 12:53:43 +01:00 committed by GitHub
parent be3bc83037
commit 84da38789d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 14 additions and 14 deletions

View file

@ -17,7 +17,7 @@ import { AddSubFlowModal, Flow } from "./components/modals/AddSubFlowModal";
import "./empty-execution-state.css";
const SECTIONS = ["addExecution", "addSubFlow"] as const;
type SectionType = typeof SECTIONS[number] | undefined;
type SectionType = (typeof SECTIONS)[number] | undefined;
type EmptyExecutionStateProps = {
flow: AuthenticationFlowRepresentation;

View file

@ -30,7 +30,7 @@ const types = ["basic-flow", "form-flow"] as const;
export type Flow = {
name: string;
description: string;
type: typeof types[number];
type: (typeof types)[number];
provider: string;
};

View file

@ -19,7 +19,7 @@ import type { Row } from "../../clients/scopes/ClientScopes";
export type SearchType = "name" | "type" | "protocol";
export const PROTOCOLS = ["all", "saml", "openid-connect"] as const;
export type ProtocolType = typeof PROTOCOLS[number];
export type ProtocolType = (typeof PROTOCOLS)[number];
export const nameFilter =
(search = "") =>

View file

@ -37,7 +37,7 @@ type SamlKeysProps = {
};
const KEYS = ["saml.signing", "saml.encryption"] as const;
export type KeyTypes = typeof KEYS[number];
export type KeyTypes = (typeof KEYS)[number];
const KEYS_MAPPING: { [key in KeyTypes]: { [index: string]: string } } = {
"saml.signing": {

View file

@ -35,7 +35,7 @@ const ComponentTypes = [
"Password",
] as const;
export type Components = typeof ComponentTypes[number];
export type Components = (typeof ComponentTypes)[number];
export const COMPONENTS: {
[index in Components]: FunctionComponent<ComponentProps>;

View file

@ -27,7 +27,7 @@ import useToggle from "../../utils/useToggle";
import "../realm-settings-section.css";
const FILTER_OPTIONS = ["ACTIVE", "PASSIVE", "DISABLED"] as const;
type FilterType = typeof FILTER_OPTIONS[number];
type FilterType = (typeof FILTER_OPTIONS)[number];
type KeyData = KeyMetadataRepresentation & {
provider?: string;

14
package-lock.json generated
View file

@ -28,7 +28,7 @@
"eslint-plugin-react": "^7.31.11",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"prettier": "^2.8.2",
"typescript": "^4.9.4",
"wireit": "^0.9.3"
}
@ -12560,9 +12560,9 @@
}
},
"node_modules/prettier": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz",
"integrity": "sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==",
"version": "2.8.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.2.tgz",
"integrity": "sha512-BtRV9BcncDyI2tsuS19zzhzoxD8Dh8LiCx7j7tHzrkz8GFXAexeWFdi22mjE1d16dftH2qNaytVxqiRTGlMfpw==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
@ -24735,9 +24735,9 @@
"dev": true
},
"prettier": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz",
"integrity": "sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==",
"version": "2.8.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.2.tgz",
"integrity": "sha512-BtRV9BcncDyI2tsuS19zzhzoxD8Dh8LiCx7j7tHzrkz8GFXAexeWFdi22mjE1d16dftH2qNaytVxqiRTGlMfpw==",
"dev": true
},
"prettier-linter-helpers": {

View file

@ -26,7 +26,7 @@
"eslint-plugin-react": "^7.31.11",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"prettier": "^2.8.2",
"typescript": "^4.9.4",
"wireit": "^0.9.3"
},