Bump prettier from 3.0.3 to 3.1.0 in /js (#24724)
* Bump prettier from 3.0.3 to 3.1.0 in /js Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0. - [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.0.3...3.1.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix linting issues Signed-off-by: Jon Koops <jonkoops@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jon Koops <jonkoops@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
parent
f20d34b7dd
commit
f550ac9035
8 changed files with 30 additions and 30 deletions
|
@ -121,8 +121,8 @@ export default function ClientScopesSection() {
|
|||
searchType === "name"
|
||||
? nameFilter(search)
|
||||
: searchType === "type"
|
||||
? typeFilter(searchTypeType)
|
||||
: protocolFilter(searchProtocol);
|
||||
? typeFilter(searchTypeType)
|
||||
: protocolFilter(searchProtocol);
|
||||
|
||||
const transformed = clientScopes
|
||||
.map((scope) => {
|
||||
|
@ -133,10 +133,10 @@ export default function ClientScopesSection() {
|
|||
)
|
||||
? ClientScope.default
|
||||
: optionalScopes.find(
|
||||
(optionalScope) => optionalScope.name === scope.name,
|
||||
)
|
||||
? ClientScope.optional
|
||||
: AllClientScopes.none,
|
||||
(optionalScope) => optionalScope.name === scope.name,
|
||||
)
|
||||
? ClientScope.optional
|
||||
: AllClientScopes.none,
|
||||
};
|
||||
return row;
|
||||
})
|
||||
|
|
|
@ -155,8 +155,8 @@ export const GroupPickerDialog = ({
|
|||
type === "selectMany"
|
||||
? selectedRows
|
||||
: navigation.length
|
||||
? [currentGroup()]
|
||||
: undefined,
|
||||
? [currentGroup()]
|
||||
: undefined,
|
||||
);
|
||||
}}
|
||||
isDisabled={type === "selectMany" && selectedRows.length === 0}
|
||||
|
|
|
@ -175,8 +175,8 @@ export const ViewHeader = ({
|
|||
{isValidElement(subKey)
|
||||
? subKey
|
||||
: subKey
|
||||
? t(subKey as string)
|
||||
: ""}
|
||||
? t(subKey as string)
|
||||
: ""}
|
||||
{helpUrl && (
|
||||
<FormattedLink
|
||||
title={t("learnMore")}
|
||||
|
|
|
@ -117,8 +117,8 @@ export const DiscoveryEndpointField = ({
|
|||
errors.discoveryError || errors.discoveryEndpoint
|
||||
? "error"
|
||||
: !discoveryResult
|
||||
? "default"
|
||||
: "success"
|
||||
? "default"
|
||||
: "success"
|
||||
}
|
||||
helperTextInvalid={
|
||||
errors.discoveryEndpoint
|
||||
|
@ -142,8 +142,8 @@ export const DiscoveryEndpointField = ({
|
|||
errors.discoveryError || errors.discoveryEndpoint
|
||||
? "error"
|
||||
: !discoveryResult
|
||||
? "default"
|
||||
: "success"
|
||||
? "default"
|
||||
: "success"
|
||||
}
|
||||
customIconUrl={
|
||||
discovering
|
||||
|
|
|
@ -477,10 +477,10 @@ export const LocalizationTab = ({ save, realm }: LocalizationTabProps) => {
|
|||
field.value
|
||||
? localeToDisplayName(field.value)
|
||||
: realm.defaultLocale !== ""
|
||||
? localeToDisplayName(
|
||||
realm.defaultLocale || DEFAULT_LOCALE,
|
||||
)
|
||||
: t("placeholderText")
|
||||
? localeToDisplayName(
|
||||
realm.defaultLocale || DEFAULT_LOCALE,
|
||||
)
|
||||
: t("placeholderText")
|
||||
}
|
||||
variant={SelectVariant.single}
|
||||
aria-label={t("defaultLocale")}
|
||||
|
@ -567,8 +567,8 @@ export const LocalizationTab = ({ save, realm }: LocalizationTabProps) => {
|
|||
selectMenuValueSelected
|
||||
? localeToDisplayName(selectMenuLocale)
|
||||
: realm.defaultLocale !== ""
|
||||
? localeToDisplayName(DEFAULT_LOCALE)
|
||||
: t("placeholderText")
|
||||
? localeToDisplayName(DEFAULT_LOCALE)
|
||||
: t("placeholderText")
|
||||
}
|
||||
>
|
||||
{options}
|
||||
|
|
|
@ -139,8 +139,8 @@ export const UserIdentityProviderLinks = ({
|
|||
{groupName === "User-defined"
|
||||
? "Custom"
|
||||
: groupName! === "Social"
|
||||
? t("idpType.social")
|
||||
: groupName!}
|
||||
? t("idpType.social")
|
||||
: groupName!}
|
||||
</Label>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"husky": "^8.0.3",
|
||||
"lint-staged": "^15.1.0",
|
||||
"prettier": "^3.0.3",
|
||||
"prettier": "^3.1.0",
|
||||
"tslib": "^2.6.2",
|
||||
"typescript": "^5.2.2",
|
||||
"wireit": "^0.14.1"
|
||||
|
|
|
@ -40,7 +40,7 @@ importers:
|
|||
version: 10.2.0(eslint@8.53.0)
|
||||
eslint-plugin-prettier:
|
||||
specifier: ^5.0.1
|
||||
version: 5.0.1(eslint-config-prettier@9.0.0)(eslint@8.53.0)(prettier@3.0.3)
|
||||
version: 5.0.1(eslint-config-prettier@9.0.0)(eslint@8.53.0)(prettier@3.1.0)
|
||||
eslint-plugin-react:
|
||||
specifier: ^7.33.2
|
||||
version: 7.33.2(eslint@8.53.0)
|
||||
|
@ -54,8 +54,8 @@ importers:
|
|||
specifier: ^15.1.0
|
||||
version: 15.1.0
|
||||
prettier:
|
||||
specifier: ^3.0.3
|
||||
version: 3.0.3
|
||||
specifier: ^3.1.0
|
||||
version: 3.1.0
|
||||
tslib:
|
||||
specifier: ^2.6.2
|
||||
version: 2.6.2
|
||||
|
@ -3672,7 +3672,7 @@ packages:
|
|||
rambda: 7.5.0
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-prettier@5.0.1(eslint-config-prettier@9.0.0)(eslint@8.53.0)(prettier@3.0.3):
|
||||
/eslint-plugin-prettier@5.0.1(eslint-config-prettier@9.0.0)(eslint@8.53.0)(prettier@3.1.0):
|
||||
resolution: {integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==}
|
||||
engines: {node: ^14.18.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -3688,7 +3688,7 @@ packages:
|
|||
dependencies:
|
||||
eslint: 8.53.0
|
||||
eslint-config-prettier: 9.0.0(eslint@8.53.0)
|
||||
prettier: 3.0.3
|
||||
prettier: 3.1.0
|
||||
prettier-linter-helpers: 1.0.0
|
||||
synckit: 0.8.5
|
||||
dev: true
|
||||
|
@ -5753,8 +5753,8 @@ packages:
|
|||
fast-diff: 1.3.0
|
||||
dev: true
|
||||
|
||||
/prettier@3.0.3:
|
||||
resolution: {integrity: sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==}
|
||||
/prettier@3.1.0:
|
||||
resolution: {integrity: sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
|
Loading…
Reference in a new issue