Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10 (#2390)

* Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10

Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 18.0.0-dev.8 to 18.0.0-dev.10.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/main/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v18.0.0-dev.8...v18.0.0-dev.10)

---
updated-dependencies:
- dependency-name: "@keycloak/keycloak-admin-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2022-04-06 16:08:30 +02:00 committed by GitHub
parent 49eb22a1f5
commit 525d90c234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 9 deletions

14
package-lock.json generated
View file

@ -7,7 +7,7 @@
"name": "keycloak-admin-ui", "name": "keycloak-admin-ui",
"license": "Apache", "license": "Apache",
"dependencies": { "dependencies": {
"@keycloak/keycloak-admin-client": "^18.0.0-dev.8", "@keycloak/keycloak-admin-client": "^18.0.0-dev.10",
"@patternfly/patternfly": "^4.185.1", "@patternfly/patternfly": "^4.185.1",
"@patternfly/react-code-editor": "^4.43.14", "@patternfly/react-code-editor": "^4.43.14",
"@patternfly/react-core": "^4.202.14", "@patternfly/react-core": "^4.202.14",
@ -3442,9 +3442,9 @@
} }
}, },
"node_modules/@keycloak/keycloak-admin-client": { "node_modules/@keycloak/keycloak-admin-client": {
"version": "18.0.0-dev.8", "version": "18.0.0-dev.10",
"resolved": "https://registry.npmjs.org/@keycloak/keycloak-admin-client/-/keycloak-admin-client-18.0.0-dev.8.tgz", "resolved": "https://registry.npmjs.org/@keycloak/keycloak-admin-client/-/keycloak-admin-client-18.0.0-dev.10.tgz",
"integrity": "sha512-nEQghUmW913zAD6IunqWQaK9LVBe4T1i7c8eWcrx/l4BYkoo+pmLKCFqf+peJINgtR1o/8K0br+Y6vuZmKD6uQ==", "integrity": "sha512-hkttSZx2VCDK6cQ+PWb7FlvmK1C7iwIxDC4Lh92EQh9SRzYLcM/BtxiFZFlq7fyAkQaiOGTUks+EzGXSIlPlAQ==",
"dependencies": { "dependencies": {
"axios": "^0.26.1", "axios": "^0.26.1",
"camelize-ts": "^1.0.8", "camelize-ts": "^1.0.8",
@ -24330,9 +24330,9 @@
} }
}, },
"@keycloak/keycloak-admin-client": { "@keycloak/keycloak-admin-client": {
"version": "18.0.0-dev.8", "version": "18.0.0-dev.10",
"resolved": "https://registry.npmjs.org/@keycloak/keycloak-admin-client/-/keycloak-admin-client-18.0.0-dev.8.tgz", "resolved": "https://registry.npmjs.org/@keycloak/keycloak-admin-client/-/keycloak-admin-client-18.0.0-dev.10.tgz",
"integrity": "sha512-nEQghUmW913zAD6IunqWQaK9LVBe4T1i7c8eWcrx/l4BYkoo+pmLKCFqf+peJINgtR1o/8K0br+Y6vuZmKD6uQ==", "integrity": "sha512-hkttSZx2VCDK6cQ+PWb7FlvmK1C7iwIxDC4Lh92EQh9SRzYLcM/BtxiFZFlq7fyAkQaiOGTUks+EzGXSIlPlAQ==",
"requires": { "requires": {
"axios": "^0.26.1", "axios": "^0.26.1",
"camelize-ts": "^1.0.8", "camelize-ts": "^1.0.8",

View file

@ -23,7 +23,7 @@
"prepare": "husky install" "prepare": "husky install"
}, },
"dependencies": { "dependencies": {
"@keycloak/keycloak-admin-client": "^18.0.0-dev.8", "@keycloak/keycloak-admin-client": "^18.0.0-dev.10",
"@patternfly/patternfly": "^4.185.1", "@patternfly/patternfly": "^4.185.1",
"@patternfly/react-code-editor": "^4.43.14", "@patternfly/react-code-editor": "^4.43.14",
"@patternfly/react-core": "^4.202.14", "@patternfly/react-core": "^4.202.14",

View file

@ -108,7 +108,9 @@ export default function PolicyDetails() {
// remove entries that only have the boolean set and no id // remove entries that only have the boolean set and no id
policy.groups = policy.groups?.filter((g) => g.id); policy.groups = policy.groups?.filter((g) => g.id);
policy.clientScopes = policy.clientScopes?.filter((c) => c.id); policy.clientScopes = policy.clientScopes?.filter((c) => c.id);
policy.roles = policy.roles?.filter((r) => r.id); policy.roles = policy.roles
?.filter((r) => r.id)
.map((r) => ({ ...r, required: r.required || false }));
try { try {
if (policyId) { if (policyId) {