0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor: update language kit (#2232)

This commit is contained in:
Xiao Yijun 2022-10-24 12:26:11 +08:00 committed by GitHub
parent ef4f6a5ad5
commit bab7a607db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 102 additions and 96 deletions

View file

@ -60,7 +60,7 @@
"slonik-sql-tag-raw": "^1.1.4",
"tar": "^6.1.11",
"yargs": "^17.6.0",
"zod": "^3.18.0"
"zod": "^3.19.1"
},
"devDependencies": {
"@silverhand/eslint-config": "1.3.0",

View file

@ -19,7 +19,7 @@
"devDependencies": {
"@fontsource/roboto-mono": "^4.5.7",
"@logto/core-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.20",
"@logto/phrases": "workspace:^",
"@logto/phrases-ui": "workspace:^",
"@logto/react": "1.0.0-beta.10",
@ -82,7 +82,7 @@
"stylelint": "^14.9.1",
"swr": "^1.3.0",
"typescript": "^4.7.4",
"zod": "^3.18.0"
"zod": "^3.19.1"
},
"alias": {
"@/*": "./src/$1",

View file

@ -1,4 +1,4 @@
import { getDefaultLanguage } from '@logto/core-kit';
import { isLanguageTag } from '@logto/language-kit';
import type { ConnectorResponse } from '@logto/schemas';
import { ConnectorType } from '@logto/schemas';
import { conditional } from '@silverhand/essentials';
@ -32,7 +32,8 @@ const Guide = ({ connector, onClose }: Props) => {
const { updateSettings } = useSettings();
const { t } = useTranslation(undefined, { keyPrefix: 'admin_console' });
const { id: connectorId, type: connectorType, name, configTemplate, readme } = connector;
const connectorName = name[getDefaultLanguage(i18next.language)];
const { language } = i18next;
const connectorName = conditional(isLanguageTag(language) && name[language]) ?? name.en;
const isSocialConnector =
connectorType !== ConnectorType.Sms && connectorType !== ConnectorType.Email;
const methods = useForm<GuideForm>({ reValidateMode: 'onBlur' });

View file

@ -59,7 +59,7 @@ const UserConnectors = ({ userId, connectors, onDelete }: Props) => {
'zh-CN': '未知连接器',
en: 'Unknown Connector',
'tr-TR': 'Bilinmeyen connector.',
'ko-KR': '알수없는 연동',
ko: '알수없는 연동',
},
target: key,
userId: connectors[key]?.userId,

View file

@ -20,9 +20,9 @@
},
"dependencies": {
"@logto/cli": "workspace:^",
"@logto/connector-kit": "^1.0.0-beta.18",
"@logto/connector-kit": "1.0.0-beta.20",
"@logto/core-kit": "^1.0.0-beta.18",
"@logto/language-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.20",
"@logto/phrases": "workspace:^",
"@logto/phrases-ui": "workspace:^",
"@logto/schemas": "workspace:^",
@ -64,7 +64,7 @@
"slonik-sql-tag-raw": "^1.1.4",
"snake-case": "^3.0.4",
"snakecase-keys": "^5.1.0",
"zod": "^3.18.0"
"zod": "^3.19.1"
},
"devDependencies": {
"@shopify/jest-koa-mocks": "^5.0.0",

View file

@ -14,7 +14,7 @@ export const mockMetadata: ConnectorMetadata = {
'pt-PT': 'Conector',
'zh-CN': '连接器',
'tr-TR': 'Connector',
'ko-KR': 'Connector',
ko: 'Connector',
},
logo: './logo.png',
logoDark: './logo-dark.png',
@ -23,7 +23,7 @@ export const mockMetadata: ConnectorMetadata = {
'pt-PT': 'Conector',
'zh-CN': '连接器',
'tr-TR': 'Connector',
'ko-KR': 'Connector',
ko: 'Connector',
},
readme: 'README.md',
configTemplate: 'config-template.json',

View file

@ -18,7 +18,7 @@
},
"devDependencies": {
"@logto/core-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.20",
"@logto/phrases": "workspace:^",
"@logto/react": "1.0.0-beta.10",
"@logto/schemas": "workspace:^",

View file

@ -32,9 +32,9 @@
},
"dependencies": {
"@logto/core-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.20",
"@silverhand/essentials": "^1.3.0",
"zod": "^3.18.0"
"zod": "^3.19.1"
},
"devDependencies": {
"@silverhand/eslint-config": "1.3.0",

View file

@ -6,7 +6,7 @@ import { z } from 'zod';
import en from './locales/en';
import fr from './locales/fr';
import koKR from './locales/ko-kr';
import ko from './locales/ko';
import ptPT from './locales/pt-pt';
import trTR from './locales/tr-tr';
import zhCN from './locales/zh-cn';
@ -16,7 +16,7 @@ export type { LocalePhrase } from './types';
export type I18nKey = NormalizeKeyPaths<typeof en.translation>;
export const builtInLanguages = ['en', 'fr', 'pt-PT', 'zh-CN', 'ko-KR', 'tr-TR'] as const;
export const builtInLanguages = ['en', 'fr', 'pt-PT', 'zh-CN', 'ko', 'tr-TR'] as const;
export const builtInLanguageOptions = builtInLanguages.map((languageTag) => ({
value: languageTag,
@ -34,7 +34,7 @@ const resource: Resource = {
fr,
'pt-PT': ptPT,
'zh-CN': zhCN,
'ko-KR': koKR,
ko,
'tr-TR': trTR,
};

View file

@ -80,8 +80,8 @@ const translation = {
},
};
const koKR: LocalePhrase = Object.freeze({
const ko: LocalePhrase = Object.freeze({
translation,
});
export default koKR;
export default ko;

View file

@ -32,9 +32,9 @@
},
"dependencies": {
"@logto/core-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.20",
"@silverhand/essentials": "^1.3.0",
"zod": "^3.18.0"
"zod": "^3.19.1"
},
"devDependencies": {
"@silverhand/eslint-config": "1.3.0",

View file

@ -6,7 +6,7 @@ import { z } from 'zod';
import en from './locales/en';
import fr from './locales/fr';
import koKR from './locales/ko-kr';
import ko from './locales/ko';
import ptPT from './locales/pt-pt';
import trTR from './locales/tr-tr';
import zhCN from './locales/zh-cn';
@ -16,7 +16,7 @@ export type { LocalPhrase } from './types';
export type I18nKey = NormalizeKeyPaths<typeof en.translation>;
export const builtInLanguages = ['en', 'fr', 'pt-PT', 'zh-CN', 'ko-KR', 'tr-TR'] as const;
export const builtInLanguages = ['en', 'fr', 'pt-PT', 'zh-CN', 'ko', 'tr-TR'] as const;
export const builtInLanguageOptions = builtInLanguages.map((languageTag) => ({
value: languageTag,
@ -46,7 +46,7 @@ const resource: Resource = {
fr,
'pt-PT': ptPT,
'zh-CN': zhCN,
'ko-KR': koKR,
ko,
'tr-TR': trTR,
};

View file

@ -2,9 +2,9 @@ import type { LocalPhrase } from '../../types';
import errors from './errors';
import translation from './translation';
const koKR: LocalPhrase = Object.freeze({
const ko: LocalPhrase = Object.freeze({
translation,
errors,
});
export default koKR;
export default ko;

View file

@ -67,11 +67,11 @@
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"@logto/connector-kit": "1.0.0-beta.19",
"@logto/connector-kit": "1.0.0-beta.20",
"@logto/core-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.19",
"@logto/language-kit": "1.0.0-beta.20",
"@logto/phrases": "workspace:^",
"@logto/phrases-ui": "workspace:^",
"zod": "^3.18.0"
"zod": "^3.19.1"
}
}

View file

@ -19,6 +19,7 @@
"@logto/core-kit": "1.0.0-beta.19"
},
"devDependencies": {
"@logto/language-kit": "1.0.0-beta.20",
"@logto/phrases": "workspace:^",
"@logto/phrases-ui": "workspace:^",
"@logto/schemas": "workspace:^",

View file

@ -24,14 +24,14 @@ export const socialConnectors = [
'pt-PT': 'Entrar com GitHub',
'zh-CN': '使用 GitHub 登录',
'tr-TR': 'Github ile giriş yap',
'ko-KR': 'Github 로그인',
ko: 'Github 로그인',
},
description: {
en: 'Sign in with GitHub',
'pt-PT': 'Entrar com GitHub',
'zh-CN': '使用 GitHub 登录',
'tr-TR': 'Github ile giriş yap',
'ko-KR': 'Github 로그인',
ko: 'Github 로그인',
},
readme: '',
configTemplate: '',
@ -48,14 +48,14 @@ export const socialConnectors = [
'pt-PT': 'Entrar com Alipay',
'zh-CN': '使用 Alipay 登录',
'tr-TR': 'Alipay ile giriş yap',
'ko-KR': 'Alipay 로그인',
ko: 'Alipay 로그인',
},
description: {
en: 'Sign in with Alipay',
'pt-PT': 'Entrar com Alipay',
'zh-CN': '使用 Alipay 登录',
'tr-TR': 'Alipay ile giriş yap',
'ko-KR': 'Alipay 로그인',
ko: 'Alipay 로그인',
},
readme: '',
configTemplate: '',
@ -72,14 +72,14 @@ export const socialConnectors = [
'pt-PT': 'Entrar com WeChat',
'zh-CN': '使用 WeChat 登录',
'tr-TR': 'WeChat ile giriş yap',
'ko-KR': 'WeChat 로그인',
ko: 'WeChat 로그인',
},
description: {
en: 'Sign in with WeChat',
'pt-PT': 'Entrar com WeChat',
'zh-CN': '使用 WeChat 登录',
'tr-TR': 'WeChat ile giriş yap',
'ko-KR': 'WeChat 로그인',
ko: 'WeChat 로그인',
},
readme: '',
configTemplate: '',
@ -96,14 +96,14 @@ export const socialConnectors = [
'pt-PT': 'Entrar com Google',
'zh-CN': '使用 Google 登录',
'tr-TR': 'Google ile giriş yap',
'ko-KR': 'Google 로그인',
ko: 'Google 로그인',
},
description: {
en: 'Sign in with Google',
'pt-PT': 'Entrar com Google',
'zh-CN': '使用 Google 登录',
'tr-TR': 'Google ile giriş yap',
'ko-KR': 'Google 로그인',
ko: 'Google 로그인',
},
readme: '',
configTemplate: '',
@ -120,14 +120,14 @@ export const socialConnectors = [
'pt-PT': 'Entrar com Facebook',
'zh-CN': '使用 Meta 登录',
'tr-TR': 'Meta ile giriş yap',
'ko-KR': 'Meta 로그인',
ko: 'Meta 로그인',
},
description: {
en: 'Sign in with Meta',
'pt-PT': 'Entrar com Facebook',
'zh-CN': '使用 Meta 登录',
'tr-TR': 'Meta ile giriş yap',
'ko-KR': 'Meta 로그인',
ko: 'Meta 로그인',
},
readme: '',
configTemplate: '',
@ -146,14 +146,14 @@ export const mockSocialConnectorData = {
'pt-PT': 'Entrar com Xxx',
'zh-CN': '使用 Xxx 登录',
'tr-TR': 'Xxx ile giriş yap',
'ko-KR': 'Xxx 로그인',
ko: 'Xxx 로그인',
},
description: {
en: 'Sign in with Xxx',
'pt-PT': 'Entrar com Xxx',
'zh-CN': '使用 Xxx 登录',
'tr-TR': 'Xxx ile giriş yap',
'ko-KR': 'Xxx 로그인',
ko: 'Xxx 로그인',
},
readme: '',
configTemplate: '',

View file

@ -1,5 +1,6 @@
import { getDefaultLanguage } from '@logto/core-kit';
import { isLanguageTag } from '@logto/language-kit';
import type { ConnectorMetadata } from '@logto/schemas';
import { conditional } from '@silverhand/essentials';
import { useState, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
@ -47,7 +48,7 @@ const SocialSignInDropdown = ({ isOpen, onClose, connectors, anchorRef }: Props)
>
{connectors.map((connector) => {
const { id, name, logo, logoDark } = connector;
const localName = name[getDefaultLanguage(language)];
const localName = conditional(isLanguageTag(language) && name[language]) ?? name.en;
return (
<DropdownItem

View file

@ -60,7 +60,7 @@ importers:
ts-node: ^10.9.1
typescript: ^4.7.4
yargs: ^17.6.0
zod: ^3.18.0
zod: ^3.19.1
dependencies:
'@logto/schemas': link:../schemas
'@logto/shared': link:../shared
@ -82,7 +82,7 @@ importers:
slonik-sql-tag-raw: 1.1.4_roarr@7.11.0+slonik@30.1.2
tar: 6.1.11
yargs: 17.6.0
zod: 3.18.0
zod: 3.19.1
devDependencies:
'@silverhand/eslint-config': 1.3.0_swk2g7ygmfleszo5c33j4vooni
'@silverhand/jest-config': 1.2.2_zapogttls25djihwjkusccjjym
@ -106,7 +106,7 @@ importers:
specifiers:
'@fontsource/roboto-mono': ^4.5.7
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': workspace:^
'@logto/phrases-ui': workspace:^
'@logto/react': 1.0.0-beta.10
@ -169,11 +169,11 @@ importers:
stylelint: ^14.9.1
swr: ^1.3.0
typescript: ^4.7.4
zod: ^3.18.0
zod: ^3.19.1
devDependencies:
'@fontsource/roboto-mono': 4.5.7
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': link:../phrases
'@logto/phrases-ui': link:../phrases-ui
'@logto/react': 1.0.0-beta.10_react@18.2.0
@ -236,14 +236,14 @@ importers:
stylelint: 14.9.1
swr: 1.3.0_react@18.2.0
typescript: 4.7.4
zod: 3.18.0
zod: 3.19.1
packages/core:
specifiers:
'@logto/cli': workspace:^
'@logto/connector-kit': ^1.0.0-beta.18
'@logto/connector-kit': 1.0.0-beta.20
'@logto/core-kit': ^1.0.0-beta.18
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': workspace:^
'@logto/phrases-ui': workspace:^
'@logto/schemas': workspace:^
@ -316,12 +316,12 @@ importers:
snakecase-keys: ^5.1.0
supertest: ^6.2.2
typescript: ^4.7.4
zod: ^3.18.0
zod: ^3.19.1
dependencies:
'@logto/cli': link:../cli
'@logto/connector-kit': 1.0.0-beta.18
'@logto/connector-kit': 1.0.0-beta.20
'@logto/core-kit': 1.0.0-beta.18
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': link:../phrases
'@logto/phrases-ui': link:../phrases-ui
'@logto/schemas': link:../schemas
@ -363,7 +363,7 @@ importers:
slonik-sql-tag-raw: 1.1.4_roarr@7.11.0+slonik@30.1.2
snake-case: 3.0.4
snakecase-keys: 5.1.2
zod: 3.18.0
zod: 3.19.1
devDependencies:
'@shopify/jest-koa-mocks': 5.0.0
'@silverhand/eslint-config': 1.3.0_swk2g7ygmfleszo5c33j4vooni
@ -406,7 +406,7 @@ importers:
packages/demo-app:
specifiers:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': workspace:^
'@logto/react': 1.0.0-beta.10
'@logto/schemas': workspace:^
@ -433,7 +433,7 @@ importers:
typescript: ^4.7.4
devDependencies:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': link:../phrases
'@logto/react': 1.0.0-beta.10_react@18.2.0
'@logto/schemas': link:../schemas
@ -514,7 +514,7 @@ importers:
packages/phrases:
specifiers:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@silverhand/eslint-config': 1.3.0
'@silverhand/essentials': ^1.3.0
'@silverhand/ts-config': 1.2.1
@ -522,12 +522,12 @@ importers:
lint-staged: ^13.0.0
prettier: ^2.7.1
typescript: ^4.7.4
zod: ^3.18.0
zod: ^3.19.1
dependencies:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@silverhand/essentials': 1.3.0
zod: 3.18.0
zod: 3.19.1
devDependencies:
'@silverhand/eslint-config': 1.3.0_swk2g7ygmfleszo5c33j4vooni
'@silverhand/ts-config': 1.2.1_typescript@4.7.4
@ -539,7 +539,7 @@ importers:
packages/phrases-ui:
specifiers:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@silverhand/eslint-config': 1.3.0
'@silverhand/essentials': ^1.3.0
'@silverhand/ts-config': 1.2.1
@ -547,12 +547,12 @@ importers:
lint-staged: ^13.0.0
prettier: ^2.7.1
typescript: ^4.7.4
zod: ^3.18.0
zod: ^3.19.1
dependencies:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@silverhand/essentials': 1.3.0
zod: 3.18.0
zod: 3.19.1
devDependencies:
'@silverhand/eslint-config': 1.3.0_swk2g7ygmfleszo5c33j4vooni
'@silverhand/ts-config': 1.2.1_typescript@4.7.4
@ -563,9 +563,9 @@ importers:
packages/schemas:
specifiers:
'@logto/connector-kit': 1.0.0-beta.19
'@logto/connector-kit': 1.0.0-beta.20
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': workspace:^
'@logto/phrases-ui': workspace:^
'@silverhand/eslint-config': 1.3.0
@ -586,14 +586,14 @@ importers:
slonik: ^30.0.0
ts-node: ^10.9.1
typescript: ^4.7.4
zod: ^3.18.0
zod: ^3.19.1
dependencies:
'@logto/connector-kit': 1.0.0-beta.19
'@logto/connector-kit': 1.0.0-beta.20
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': link:../phrases
'@logto/phrases-ui': link:../phrases-ui
zod: 3.18.0
zod: 3.19.1
devDependencies:
'@silverhand/eslint-config': 1.3.0_swk2g7ygmfleszo5c33j4vooni
'@silverhand/essentials': 1.3.0
@ -654,6 +654,7 @@ importers:
packages/ui:
specifiers:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': workspace:^
'@logto/phrases-ui': workspace:^
'@logto/schemas': workspace:^
@ -707,6 +708,7 @@ importers:
dependencies:
'@logto/core-kit': 1.0.0-beta.19
devDependencies:
'@logto/language-kit': 1.0.0-beta.20
'@logto/phrases': link:../phrases
'@logto/phrases-ui': link:../phrases-ui
'@logto/schemas': link:../schemas
@ -2311,44 +2313,44 @@ packages:
lodash.once: 4.1.1
dev: true
/@logto/connector-kit/1.0.0-beta.18:
resolution: {integrity: sha512-V3QxKE2gjs5FpLBihHA4YLC0RFK8gW56qZkBKk0uWt2gxcs5eGJvBxV1rgskn6W/3Z8ohnK5FJRv6fIOsUWSKw==}
/@logto/connector-kit/1.0.0-beta.20:
resolution: {integrity: sha512-Z9rrrjpUJFKdxfs7CKrabiTmrHFyTFnUuPFfl6HG38I6EUOaURITJ3c6FJjCdu60nIRuwaM29+i/h4AChzLwew==}
engines: {node: ^16.0.0}
dependencies:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@logto/core-kit': 1.0.0-beta.20
'@logto/language-kit': 1.0.0-beta.20
'@silverhand/essentials': 1.3.0
zod: 3.18.0
dev: false
/@logto/connector-kit/1.0.0-beta.19:
resolution: {integrity: sha512-ybSgeF841ondEm3zcOX1UH+0f5G5JyPwRV1Gwrr83MdYQ9HV/q1mBoeEqaCTI2fmTEhRdTS9l2QtPHkyipw/Vw==}
engines: {node: ^16.0.0}
dependencies:
'@logto/core-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.19
'@silverhand/essentials': 1.3.0
zod: 3.18.0
zod: 3.19.1
dev: false
/@logto/core-kit/1.0.0-beta.18:
resolution: {integrity: sha512-VgSBWbPeFHgSOiOoYiE+TQF8byImxfd2xGTjA37RtFHMeUfT8CNTQWESUYuP7JWrKNm1N2ua7DTZZAJAKH9qMg==}
engines: {node: ^16.0.0}
dependencies:
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
color: 4.2.3
nanoid: 3.3.4
zod: 3.18.0
zod: 3.19.1
dev: false
/@logto/core-kit/1.0.0-beta.19:
resolution: {integrity: sha512-cqwfz+Ic/t7mV23QUEXWeRaLTqN71NSv02adaul8VWZQg4IePOlWLLaiTyY6ods88f3ZOarIBlJ5fYexw3J8qg==}
engines: {node: ^16.0.0}
dependencies:
'@logto/language-kit': 1.0.0-beta.19
'@logto/language-kit': 1.0.0-beta.20
color: 4.2.3
nanoid: 3.3.4
zod: 3.18.0
zod: 3.19.1
/@logto/core-kit/1.0.0-beta.20:
resolution: {integrity: sha512-seYvL/aGYRfO4d0FYfKIW/Cu9PnFMRpRM5/oRXwXbcbv+LY1a3TcAX0itrVXeBygIrxiAmWd9DL7CGIWzb48Qg==}
engines: {node: ^16.0.0}
dependencies:
'@logto/language-kit': 1.0.0-beta.20
color: 4.2.3
nanoid: 3.3.4
zod: 3.19.1
dev: false
/@logto/js/1.0.0-beta.10:
resolution: {integrity: sha512-mMzverjbeKtGjSb0NmEUHzDBRrXhCPOydCE37yhzL/qORiehyblPqntw3lLrf5oCNUKaxv7PzT5q/Lfbxb3Q8g==}
@ -2360,11 +2362,11 @@ packages:
lodash.get: 4.4.2
dev: true
/@logto/language-kit/1.0.0-beta.19:
resolution: {integrity: sha512-pJj4YejCJ4q17wPWwy7Q1/T8mcJ9p7dxFDDTAmIWQgqGZTIfdjRnrZX99T5AHnkjBKT5F02+6pM7ASHBOk+ZvA==}
/@logto/language-kit/1.0.0-beta.20:
resolution: {integrity: sha512-nBqWQo2xGAlVcD9O/txpCzRyy7eKXNXBAHm8J1y/u5Fp3BMObMmJv+v4Zk+UhckdFpsnFJF0wYIX45ta2+IipA==}
engines: {node: ^16.0.0}
dependencies:
zod: 3.18.0
zod: 3.19.1
/@logto/node/1.0.0-beta.10:
resolution: {integrity: sha512-4st77cD1h/bCIrt+BttDHva/I7ibLw0ilvi30uadEwuH0Ih8WFYvlyi2V1wOljd5Ym+fqSMbyKXQQIwba6CenQ==}
@ -7359,6 +7361,7 @@ packages:
/graceful-fs/4.2.10:
resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==}
dev: true
/graceful-fs/4.2.9:
resolution: {integrity: sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==}
@ -9267,7 +9270,7 @@ packages:
dependencies:
universalify: 2.0.0
optionalDependencies:
graceful-fs: 4.2.10
graceful-fs: 4.2.9
/jsonparse/1.3.1:
resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==}
@ -14363,8 +14366,8 @@ packages:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
/zod/3.18.0:
resolution: {integrity: sha512-gwTm8RfUCe8l9rDwN5r2A17DkAa8Ez4Yl4yXqc5VqeGaXaJahzYYXbTwvhroZi0SNBqTwh/bKm2N0mpCzuw4bA==}
/zod/3.19.1:
resolution: {integrity: sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA==}
/zwitch/1.0.5:
resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==}