From bd29e441455cbe9274beaae4eeaac02c9f7694fd Mon Sep 17 00:00:00 2001 From: garronej Date: Thu, 6 Oct 2022 01:21:27 +0200 Subject: [PATCH] Update Keycloakify --- package.json | 2 +- src/KcApp/kcContext.ts | 3 --- yarn.lock | 51 +++++++++++++++++++++++------------------- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 705eefd..cd70754 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "keywords": [], "dependencies": { "@emotion/react": "^11.9.0", - "keycloakify": "^6.4.0", + "keycloakify": "^6.6.3", "react": "18.1.0", "react-dom": "18.1.0", "evt": "^2.4.1" diff --git a/src/KcApp/kcContext.ts b/src/KcApp/kcContext.ts index 15e0e35..a5adc68 100644 --- a/src/KcApp/kcContext.ts +++ b/src/KcApp/kcContext.ts @@ -12,9 +12,6 @@ export const { kcContext } = getKcContext< | { pageId: "register.ftl"; authorizedMailDomains: string[]; } >({ // Uncomment to test the login page for development. - // Try with another page like "register-user-profile.ftl" - // DON'T forget to re-comment before publishing to production. - // You must run 'yarn keycloak' at least once before testing locally. //"mockPageId": "login.ftl", "mockData": [ { diff --git a/yarn.lock b/yarn.lock index 1787ddc..01823a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4401,14 +4401,14 @@ evt@^2.4.1: run-exclusive "^2.2.16" tsafe "^1.0.1" -evt@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/evt/-/evt-2.4.2.tgz#8f29f53a71609f1f5ad09ba313ad8cc0b9c63077" - integrity sha512-wPGX4eGgxh5NRff+1VkRfdTRaJA5vbr9rC9CRUIgprVDGDFtI0/vF9I0Yp3HAEGuFbUO978QAsaH6lIgpRCFAg== +evt@^2.4.4: + version "2.4.4" + resolved "https://registry.yarnpkg.com/evt/-/evt-2.4.4.tgz#37d6e28ccb5b1bc91162fc3d5bcfbeb1ef3191cf" + integrity sha512-w/ZYdPCRdSfslOhcQHq7DuYoaU04YZKkFPyBwF8pYmOkRizivpbI0jZ8ffY/jITzbLo7RZ0wxN2dqyi62kyGwg== dependencies: minimal-polyfills "^2.2.2" run-exclusive "^2.2.16" - tsafe "^1.0.1" + tsafe "^1.1.1" execa@^5.0.0: version "5.1.1" @@ -6084,24 +6084,24 @@ jsonpointer@^5.0.0: array-includes "^3.1.5" object.assign "^4.1.2" -keycloakify@^6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-6.4.0.tgz#04541d4bab52c8605ddc54e33a6811fd55e10314" - integrity sha512-JO+xkJtdXlu9UfFxVIjazAHlZ53OB7Gf5XwUUtExbgTJ3WFQ8Aig18cdo3ZPX7NdHannVQgKXuzKeyz73dckHg== +keycloakify@^6.6.3: + version "6.6.3" + resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-6.6.3.tgz#5de6b573e3579700546dfcf6f39b570ffd741f3d" + integrity sha512-QkLU5eGwFnp2Q6ZtqqYpDyECUNJejlbLz8TK1o9RAw2neJFcfktBl/Wr2hKsNHMZ7r2PSjM8CGrX8+9xRwKgAw== dependencies: "@octokit/rest" "^18.12.0" cheerio "^1.0.0-rc.5" cli-select "^1.1.2" - evt "^2.4.2" + evt "^2.4.4" memoizee "^0.4.15" minimal-polyfills "^2.2.2" minimist "^1.2.6" path-browserify "^1.0.1" - powerhooks "^0.20.17" + powerhooks "^0.20.20" react-markdown "^5.0.3" scripting-tools "^0.19.13" - tsafe "^1.0.1" - tss-react "^4.1.3" + tsafe "^1.1.1" + tss-react "^4.3.4" zod "^3.17.10" kind-of@^6.0.2: @@ -7496,15 +7496,15 @@ postcss@^8.3.5, postcss@^8.4.14, postcss@^8.4.4, postcss@^8.4.7: picocolors "^1.0.0" source-map-js "^1.0.2" -powerhooks@^0.20.17: - version "0.20.17" - resolved "https://registry.yarnpkg.com/powerhooks/-/powerhooks-0.20.17.tgz#bf9fd0c4a7f21a61aabbfc249a6d631cd1c06006" - integrity sha512-c65WYqmSmjFQBLIgHN5nHDryVSU3ARII2C8nNX2cOYFsvzp+MvQJSAP1i1159U9RvuP1iayuUiQRk4nVwZYSlg== +powerhooks@^0.20.20: + version "0.20.20" + resolved "https://registry.yarnpkg.com/powerhooks/-/powerhooks-0.20.20.tgz#f9b2549710f5166f63d80e07c46c16d6da4c6f78" + integrity sha512-98Ymz0bjo5Ds9u273wYz1tdJ51sB1jcyjqGa08mRY5dKumewydA/+71zrFelfgkOLRRhVZ+mWynG6DZ7zOVjrQ== dependencies: - evt "^2.4.2" + evt "^2.4.4" memoizee "^0.4.15" resize-observer-polyfill "^1.5.1" - tsafe "^1.0.1" + tsafe "^1.1.1" prelude-ls@^1.2.1: version "1.2.1" @@ -8796,6 +8796,11 @@ tsafe@^1.0.1: resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.0.1.tgz#c8c4eb2d75d1478418a4941307c5dd667fd76d23" integrity sha512-FgJ1a4rE7YbmW5QIzpsfFl4tsAp0x74FH2bVE6qODb2U8jSrwTr5/ckIazeylme5zXndVbtgKm4BZdqmoGhiPw== +tsafe@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.1.1.tgz#8d6998c726f8c63c518e1d1e283bbcd282a2b9a9" + integrity sha512-Ogblm3uh0dVupcCcC4IT641rnSQ7CW9IO0q8yIncG8OBe4DDXEqGtUE8LWf7+0MK1qZGeWPWEqSxlLzY2xzREA== + tsconfig-paths@^3.14.1: version "3.14.1" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" @@ -8816,10 +8821,10 @@ tslib@^2.0.3: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== -tss-react@^4.1.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/tss-react/-/tss-react-4.1.3.tgz#170a2edd85e32ba3b752416eeb45438c35e90243" - integrity sha512-Ul99aVoVngHY2nwFC87jZlGP+K3LfG9ZRakimOzRwgJz77f/zXWuY2FVzwaSc+OW804twNaxZZRtLlpagex8sg== +tss-react@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/tss-react/-/tss-react-4.3.4.tgz#1e6d67f963562f4c232ec28ca4d90c8aac3a728b" + integrity sha512-PAEB9NxGtW2nEuPDm90WISi4nb9O+bmY/XyDKp17/CoPsoaW3UqaEi+gTjBmA/P65GCRuZhpZniTOkhLcTDQqg== dependencies: "@emotion/cache" "*" "@emotion/serialize" "*"