From e1d16655a4aebbb30e4faf6306bc5df394545639 Mon Sep 17 00:00:00 2001 From: Aiji Uejima Date: Tue, 13 Dec 2022 20:05:22 +0900 Subject: [PATCH 1/4] feat: add translations for `z.number().finite()` (zod v3.20) * chore: bumpup * feat: add translation of finite validation (en/ja) * feat: add fallback translation message of finite validation (ar/fr/pt/zh-CN) * chore: update type and bumpup zod * chore: add @vitest/coverage-c8 * feat: add translation of finite validation (ar/fr/pt) * feat: add translation of finite validation (zh-CN) * fix: add defaultValue for `zod:errors.not_finite` --- examples/with-next-i18next/package.json | 2 +- packages/core/locales/ar/zod.json | 1 + packages/core/locales/en/zod.json | 1 + packages/core/locales/fr/zod.json | 2 +- packages/core/locales/ja/zod.json | 1 + packages/core/locales/pt/zod.json | 1 + packages/core/locales/zh-CN/zod.json | 1 + packages/core/package.json | 2 +- packages/core/src/index.ts | 5 +++++ packages/core/tests/integrations/ar.test.ts | 3 +++ packages/core/tests/integrations/en.test.ts | 3 +++ packages/core/tests/integrations/fr.test.ts | 3 +++ packages/core/tests/integrations/ja.test.ts | 3 +++ packages/core/tests/integrations/pt.test.ts | 3 +++ packages/core/tests/integrations/zh-CN.test.ts | 3 +++ yarn.lock | 8 ++++---- 16 files changed, 35 insertions(+), 7 deletions(-) diff --git a/examples/with-next-i18next/package.json b/examples/with-next-i18next/package.json index 78cc902..d56add2 100644 --- a/examples/with-next-i18next/package.json +++ b/examples/with-next-i18next/package.json @@ -22,7 +22,7 @@ "react-dom": "18.2.0", "react-hook-form": "7.40.0", "react-i18next": "^12.0.0", - "zod": "^3.19.1", + "zod": "3.20.0-beta.0", "zod-i18n-map": "*" }, "devDependencies": { diff --git a/packages/core/locales/ar/zod.json b/packages/core/locales/ar/zod.json index 8fd6f8f..b2f7d2d 100644 --- a/packages/core/locales/ar/zod.json +++ b/packages/core/locales/ar/zod.json @@ -13,6 +13,7 @@ "custom": "مدخل غير صالح", "invalid_intersection_types": "تعذر دمج نتائج التقاطع", "not_multiple_of": "يجب أن يكون الرقم من مضاعفات {{multipleOf}}", + "not_finite": "يجب ان يكون العدد محدود", "invalid_string": { "email": "غير صالح {{validation}}", "url": "غير صالح {{validation}}", diff --git a/packages/core/locales/en/zod.json b/packages/core/locales/en/zod.json index 91e140a..e7125bd 100644 --- a/packages/core/locales/en/zod.json +++ b/packages/core/locales/en/zod.json @@ -13,6 +13,7 @@ "custom": "Invalid input", "invalid_intersection_types": "Intersection results could not be merged", "not_multiple_of": "Number must be a multiple of {{multipleOf}}", + "not_finite": "Number must be finite", "invalid_string": { "email": "Invalid {{validation}}", "url": "Invalid {{validation}}", diff --git a/packages/core/locales/fr/zod.json b/packages/core/locales/fr/zod.json index 49066f4..c1d5864 100644 --- a/packages/core/locales/fr/zod.json +++ b/packages/core/locales/fr/zod.json @@ -13,6 +13,7 @@ "custom": "Champ invalide", "invalid_intersection_types": "Les résultats d'intersection n'ont pas pu être fusionnés", "not_multiple_of": "Nombre doit être multiple de {{multipleOf}}", + "not_finite": "Nombre doit être fini", "invalid_string": { "email": "{{validation}} invalide", "url": "{{validation}} invalide", @@ -97,4 +98,3 @@ "set": "ensemble" } } - \ No newline at end of file diff --git a/packages/core/locales/ja/zod.json b/packages/core/locales/ja/zod.json index 6f4927a..ce132b5 100644 --- a/packages/core/locales/ja/zod.json +++ b/packages/core/locales/ja/zod.json @@ -16,6 +16,7 @@ "custom": "入力形式が間違っています。", "invalid_intersection_types": "交差型のマージができませんでした。", "not_multiple_of": "{{multipleOf}}の倍数である必要があります。", + "not_finite": "有限数である必要があります。", "invalid_string": { "email": "{{validation}}の形式で入力してください。", "url": "{{validation}}の形式で入力してください。", diff --git a/packages/core/locales/pt/zod.json b/packages/core/locales/pt/zod.json index 66db4c1..e602c1c 100644 --- a/packages/core/locales/pt/zod.json +++ b/packages/core/locales/pt/zod.json @@ -13,6 +13,7 @@ "custom": "Entrada inválida", "invalid_intersection_types": "Valores de interseção não poderam ser mesclados", "not_multiple_of": "O número deverá ser múltiplo de {{multipleOf}}", + "not_finite": "Número não pode ser infinito", "invalid_string": { "email": "E-mail inválido", "url": "URL inválida", diff --git a/packages/core/locales/zh-CN/zod.json b/packages/core/locales/zh-CN/zod.json index 0a2eefe..d8bf3e9 100644 --- a/packages/core/locales/zh-CN/zod.json +++ b/packages/core/locales/zh-CN/zod.json @@ -13,6 +13,7 @@ "custom": "格式错误", "invalid_intersection_types": "交集类型无法合并", "not_multiple_of": "必须是 {{multipleOf}} 的倍数", + "not_finite": "不能为无限值", "invalid_string": { "email": "{{validation}}格式错误", "url": "{{validation}} 格式错误", diff --git a/packages/core/package.json b/packages/core/package.json index 1cf2b03..cb47800 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -36,6 +36,6 @@ "typescript": "^4.9.3", "vite": "^3.2.4", "vitest": "^0.25.3", - "zod": "^3.19.1" + "zod": "3.20.0-beta.0" } } diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 90085dc..2ce2d15 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -139,6 +139,11 @@ export const makeZodI18nMap = defaultValue: message, }); break; + case ZodIssueCode.not_finite: + message = t("zod:errors.not_finite", { + defaultValue: message, + }); + break; default: } diff --git a/packages/core/tests/integrations/ar.test.ts b/packages/core/tests/integrations/ar.test.ts index 911cc62..3eb6fa2 100644 --- a/packages/core/tests/integrations/ar.test.ts +++ b/packages/core/tests/integrations/ar.test.ts @@ -79,6 +79,9 @@ test("number parser error messages", () => { expect(getErrorMessage(schema.positive().safeParse(0))).toEqual( "يجب أن يكون الرقم أكبر من 0" ); + expect(getErrorMessage(schema.finite().safeParse(Infinity))).toEqual( + "يجب ان يكون العدد محدود" + ); }); test("date parser error messages", () => { diff --git a/packages/core/tests/integrations/en.test.ts b/packages/core/tests/integrations/en.test.ts index 4c4efac..7389560 100644 --- a/packages/core/tests/integrations/en.test.ts +++ b/packages/core/tests/integrations/en.test.ts @@ -75,6 +75,9 @@ test("number parser error messages", () => { expect(getErrorMessage(schema.positive().safeParse(0))).toEqual( "Number must be greater than 0" ); + expect(getErrorMessage(schema.finite().safeParse(Infinity))).toEqual( + "Number must be finite" + ); }); test("date parser error messages", () => { diff --git a/packages/core/tests/integrations/fr.test.ts b/packages/core/tests/integrations/fr.test.ts index ef2e227..79061fb 100644 --- a/packages/core/tests/integrations/fr.test.ts +++ b/packages/core/tests/integrations/fr.test.ts @@ -77,6 +77,9 @@ test("number parser error messages", () => { expect(getErrorMessage(schema.positive().safeParse(0))).toEqual( "Nombre doit être supérieur à 0" ); + expect(getErrorMessage(schema.finite().safeParse(Infinity))).toEqual( + "Nombre doit être fini" + ); }); test("date parser error messages", () => { diff --git a/packages/core/tests/integrations/ja.test.ts b/packages/core/tests/integrations/ja.test.ts index da0c6be..8562fff 100644 --- a/packages/core/tests/integrations/ja.test.ts +++ b/packages/core/tests/integrations/ja.test.ts @@ -79,6 +79,9 @@ test("number parser error messages", () => { expect(getErrorMessage(schema.positive().safeParse(0))).toEqual( "0より大きな数値である必要があります。" ); + expect(getErrorMessage(schema.finite().safeParse(Infinity))).toEqual( + "有限数である必要があります。" + ); }); test("date parser error messages", () => { diff --git a/packages/core/tests/integrations/pt.test.ts b/packages/core/tests/integrations/pt.test.ts index 92aa039..4e96a6c 100644 --- a/packages/core/tests/integrations/pt.test.ts +++ b/packages/core/tests/integrations/pt.test.ts @@ -77,6 +77,9 @@ test("number parser error messages", () => { expect(getErrorMessage(schema.positive().safeParse(0))).toEqual( "O número precisa ser maior que 0" ); + expect(getErrorMessage(schema.finite().safeParse(Infinity))).toEqual( + "Número não pode ser infinito" + ); }); test("date parser error messages", () => { diff --git a/packages/core/tests/integrations/zh-CN.test.ts b/packages/core/tests/integrations/zh-CN.test.ts index 5b25684..323ae98 100644 --- a/packages/core/tests/integrations/zh-CN.test.ts +++ b/packages/core/tests/integrations/zh-CN.test.ts @@ -69,6 +69,9 @@ test("number parser error messages", () => { "必须大于或等于 5" ); expect(getErrorMessage(schema.positive().safeParse(0))).toEqual("必须大于 0"); + expect(getErrorMessage(schema.finite().safeParse(Infinity))).toEqual( + "不能为无限值" + ); }); test("date parser error messages", () => { diff --git a/yarn.lock b/yarn.lock index 9a7f5ff..cf78e53 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7537,7 +7537,7 @@ yocto-queue@^0.1.0: resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -zod@^3.19.1: - version "3.19.1" - resolved "https://registry.yarnpkg.com/zod/-/zod-3.19.1.tgz#112f074a97b50bfc4772d4ad1576814bd8ac4473" - integrity sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA== +zod@3.20.0-beta.0: + version "3.20.0-beta.0" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.20.0-beta.0.tgz#dba6079533a73e3782526b2f3301ea00fc8b1df8" + integrity sha512-f3tzkrcUzmZi8Rsy0dS5BZJMahnMN1uR0a25du3xBH43kmVnSU6GBtuYSWu4aFPMh847GPUeoOoVARK5hj/rDw== From bda3aebc31f128313be737416bc5aa0ccdef769c Mon Sep 17 00:00:00 2001 From: Aiji Uejima Date: Tue, 13 Dec 2022 20:11:10 +0900 Subject: [PATCH 2/4] feat: add translations for `z.string().datetime()` (zod v3.20) * feat: add translation of `z.string().datetime()` * feat: add translation of `z.string().datetime()` (ar/fr) --- packages/core/locales/ar/zod.json | 4 +++- packages/core/locales/en/zod.json | 4 +++- packages/core/locales/fr/zod.json | 4 +++- packages/core/locales/ja/zod.json | 4 +++- packages/core/locales/pt/zod.json | 4 +++- packages/core/locales/zh-CN/zod.json | 4 +++- packages/core/tests/integrations/ar.test.ts | 3 +++ packages/core/tests/integrations/en.test.ts | 3 +++ packages/core/tests/integrations/fr.test.ts | 3 +++ packages/core/tests/integrations/ja.test.ts | 3 +++ packages/core/tests/integrations/pt.test.ts | 3 +++ packages/core/tests/integrations/zh-CN.test.ts | 3 +++ 12 files changed, 36 insertions(+), 6 deletions(-) diff --git a/packages/core/locales/ar/zod.json b/packages/core/locales/ar/zod.json index b2f7d2d..24ab118 100644 --- a/packages/core/locales/ar/zod.json +++ b/packages/core/locales/ar/zod.json @@ -20,6 +20,7 @@ "uuid": "غير صالح {{validation}}", "cuid": "غير صالح {{validation}}", "regex": "غير صالح", + "datetime": "غير صالح {{validation}}", "startsWith": "إدخال غير صالح: يجب أن يبدأ بـ {{startsWith}}", "endsWith": "إدخال غير صالح: يجب أن ينتهي بـ {{endsWith}}" }, @@ -73,7 +74,8 @@ "url": "عنوان url", "uuid": "uuid", "cuid": "cuid", - "regex": "التعبير النمطي" + "regex": "التعبير النمطي", + "datetime": "التاريخ والوقت" }, "types": { "function": "دالة", diff --git a/packages/core/locales/en/zod.json b/packages/core/locales/en/zod.json index e7125bd..c730f72 100644 --- a/packages/core/locales/en/zod.json +++ b/packages/core/locales/en/zod.json @@ -20,6 +20,7 @@ "uuid": "Invalid {{validation}}", "cuid": "Invalid {{validation}}", "regex": "Invalid", + "datetime": "Invalid {{validation}}", "startsWith": "Invalid input: must start with {{startsWith}}", "endsWith": "Invalid input: must end with {{endsWith}}" }, @@ -73,7 +74,8 @@ "url": "url", "uuid": "uuid", "cuid": "cuid", - "regex": "regex" + "regex": "regex", + "datetime": "datetime" }, "types": { "function": "function", diff --git a/packages/core/locales/fr/zod.json b/packages/core/locales/fr/zod.json index c1d5864..aeac9e1 100644 --- a/packages/core/locales/fr/zod.json +++ b/packages/core/locales/fr/zod.json @@ -20,6 +20,7 @@ "uuid": "{{validation}} invalide", "cuid": "{{validation}} invalide", "regex": "{{validation}} invalide", + "datetime": "{{validation}} invalide", "startsWith": "Champ invalide: doit commencer par {{startsWith}}", "endsWith": "Champ invalide: doit se terminer par {{endsWith}}" }, @@ -73,7 +74,8 @@ "url": "lien", "uuid": "UUID", "cuid": "CUID", - "regex": "expression régulière" + "regex": "expression régulière", + "datetime": "horodate" }, "types": { "function": "fonction", diff --git a/packages/core/locales/ja/zod.json b/packages/core/locales/ja/zod.json index ce132b5..da3efbc 100644 --- a/packages/core/locales/ja/zod.json +++ b/packages/core/locales/ja/zod.json @@ -23,6 +23,7 @@ "uuid": "{{validation}}の形式で入力してください。", "cuid": "{{validation}}の形式で入力してください。", "regex": "入力形式が間違っています。", + "datetime": "{{validation}}の形式で入力してください。", "startsWith": "{{startsWith}}で始まる文字列である必要があります。", "endsWith": "{{endsWith}}で終わる文字列である必要があります。" }, @@ -78,7 +79,8 @@ "url": "URL", "uuid": "UUID", "cuid": "CUID", - "regex": "正規表現" + "regex": "正規表現", + "datetime": "日時" }, "types": { "function": "関数", diff --git a/packages/core/locales/pt/zod.json b/packages/core/locales/pt/zod.json index e602c1c..39bc564 100644 --- a/packages/core/locales/pt/zod.json +++ b/packages/core/locales/pt/zod.json @@ -20,6 +20,7 @@ "uuid": "UUID inválido", "cuid": "CUID inválido", "regex": "Combinação inválida", + "datetime": "datetime inválido", "startsWith": "Entrada inválida: precisa iniciar com {{startsWith}}", "endsWith": "Entrada inválida: precisa terminar com {{endsWith}}" }, @@ -73,7 +74,8 @@ "url": "url", "uuid": "uuid", "cuid": "cuid", - "regex": "regex" + "regex": "regex", + "datetime": "datetime" }, "types": { "function": "function", diff --git a/packages/core/locales/zh-CN/zod.json b/packages/core/locales/zh-CN/zod.json index d8bf3e9..36acef4 100644 --- a/packages/core/locales/zh-CN/zod.json +++ b/packages/core/locales/zh-CN/zod.json @@ -20,6 +20,7 @@ "uuid": "{{validation}} 格式错误", "cuid": "{{validation}} 格式错误", "regex": "格式错误", + "datetime": "{{validation}} 格式错误", "startsWith": "必须以 {{startsWith}} 起始", "endsWith": "必须以 {{endsWith}} 结尾" }, @@ -73,7 +74,8 @@ "url": "url", "uuid": "uuid", "cuid": "cuid", - "regex": "正则表达式" + "regex": "正则表达式", + "datetime": "datetime" }, "types": { "function": "函数", diff --git a/packages/core/tests/integrations/ar.test.ts b/packages/core/tests/integrations/ar.test.ts index 3eb6fa2..e73fd78 100644 --- a/packages/core/tests/integrations/ar.test.ts +++ b/packages/core/tests/integrations/ar.test.ts @@ -43,6 +43,9 @@ test("string parser error messages", () => { expect(getErrorMessage(schema.max(5).safeParse("abcdef"))).toEqual( "يجب أن تحتوي السلسلة على 5 حرف (أحرف) كحد أقصى" ); + expect( + getErrorMessage(schema.datetime().safeParse("2020-01-01T00:00:00+02:00")) + ).toEqual("غير صالح التاريخ والوقت"); }); test("number parser error messages", () => { diff --git a/packages/core/tests/integrations/en.test.ts b/packages/core/tests/integrations/en.test.ts index 7389560..4331c1a 100644 --- a/packages/core/tests/integrations/en.test.ts +++ b/packages/core/tests/integrations/en.test.ts @@ -39,6 +39,9 @@ test("string parser error messages", () => { expect(getErrorMessage(schema.max(5).safeParse("abcdef"))).toEqual( "String must contain at most 5 character(s)" ); + expect( + getErrorMessage(schema.datetime().safeParse("2020-01-01T00:00:00+02:00")) + ).toEqual("Invalid datetime"); }); test("number parser error messages", () => { diff --git a/packages/core/tests/integrations/fr.test.ts b/packages/core/tests/integrations/fr.test.ts index 79061fb..f149843 100644 --- a/packages/core/tests/integrations/fr.test.ts +++ b/packages/core/tests/integrations/fr.test.ts @@ -41,6 +41,9 @@ test("string parser error messages", () => { expect(getErrorMessage(schema.max(5).safeParse("abcdef"))).toEqual( "Champ de text doit contenir au plus 5 caractère(s)" ); + expect( + getErrorMessage(schema.datetime().safeParse("2020-01-01T00:00:00+02:00")) + ).toEqual("horodate invalide"); }); test("number parser error messages", () => { diff --git a/packages/core/tests/integrations/ja.test.ts b/packages/core/tests/integrations/ja.test.ts index 8562fff..4bf4de9 100644 --- a/packages/core/tests/integrations/ja.test.ts +++ b/packages/core/tests/integrations/ja.test.ts @@ -43,6 +43,9 @@ test("string parser error messages", () => { expect(getErrorMessage(schema.max(5).safeParse("abcdef"))).toEqual( "5文字以下の文字列である必要があります。" ); + expect( + getErrorMessage(schema.datetime().safeParse("2020-01-01T00:00:00+02:00")) + ).toEqual("日時の形式で入力してください。"); }); test("number parser error messages", () => { diff --git a/packages/core/tests/integrations/pt.test.ts b/packages/core/tests/integrations/pt.test.ts index 4e96a6c..c3470f5 100644 --- a/packages/core/tests/integrations/pt.test.ts +++ b/packages/core/tests/integrations/pt.test.ts @@ -41,6 +41,9 @@ test("string parser error messages", () => { expect(getErrorMessage(schema.max(5).safeParse("abcdef"))).toEqual( "A string pode conter no máximo 5 caracter(es)" ); + expect( + getErrorMessage(schema.datetime().safeParse("2020-01-01T00:00:00+02:00")) + ).toEqual("datetime inválido"); }); test("number parser error messages", () => { diff --git a/packages/core/tests/integrations/zh-CN.test.ts b/packages/core/tests/integrations/zh-CN.test.ts index 323ae98..e45a599 100644 --- a/packages/core/tests/integrations/zh-CN.test.ts +++ b/packages/core/tests/integrations/zh-CN.test.ts @@ -39,6 +39,9 @@ test("string parser error messages", () => { expect(getErrorMessage(schema.max(5).safeParse("abcdef"))).toEqual( "最多只能包含 5 个字符" ); + expect( + getErrorMessage(schema.datetime().safeParse("2020-01-01T00:00:00+02:00")) + ).toEqual("datetime 格式错误"); }); test("number parser error messages", () => { From 6281ee49c8e4ed3ebf7fe51ab519ecdfb5263bbd Mon Sep 17 00:00:00 2001 From: Aiji Uejima Date: Tue, 13 Dec 2022 20:15:38 +0900 Subject: [PATCH 3/4] chore: bumpup --- examples/with-next-i18next/package.json | 16 +- package.json | 2 +- packages/core/package.json | 14 +- yarn.lock | 434 +++++++++++++++--------- 4 files changed, 295 insertions(+), 171 deletions(-) diff --git a/examples/with-next-i18next/package.json b/examples/with-next-i18next/package.json index d56add2..e571a91 100644 --- a/examples/with-next-i18next/package.json +++ b/examples/with-next-i18next/package.json @@ -9,28 +9,28 @@ "lint": "next lint" }, "dependencies": { - "@chakra-ui/react": "^2.4.2", + "@chakra-ui/react": "^2.4.3", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@hookform/resolvers": "^2.9.10", - "framer-motion": "^7.6.18", - "i18next": "^22.0.6", + "framer-motion": "^7.7.3", + "i18next": "^22.4.5", "next": "13.0.6", - "next-i18next": "^13.0.0", + "next-i18next": "^13.0.1", "nookies": "^2.5.2", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "7.40.0", - "react-i18next": "^12.0.0", - "zod": "3.20.0-beta.0", + "react-i18next": "^12.1.1", + "zod": "3.20.2", "zod-i18n-map": "*" }, "devDependencies": { - "@types/node": "18.11.10", + "@types/node": "18.11.14", "@types/react": "18.0.26", "@types/react-dom": "18.0.9", "eslint": "8.29.0", "eslint-config-next": "13.0.6", - "typescript": "4.9.3" + "typescript": "4.9.4" } } diff --git a/package.json b/package.json index e26086c..34e29ab 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "husky": "^8.0.2", "lint-staged": "^13.1.0", "npm-run-all": "^4.1.5", - "prettier": "^2.8.0", + "prettier": "^2.8.1", "semantic-release": "^19.0.5", "semantic-release-monorepo": "^7.0.5" }, diff --git a/packages/core/package.json b/packages/core/package.json index cb47800..5aa1cb3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -27,15 +27,15 @@ }, "devDependencies": { "@tsconfig/node16": "^1.0.3", - "@types/node": "^18.11.10", - "@vitest/coverage-c8": "^0.25.3", + "@types/node": "^18.11.14", + "@vitest/coverage-c8": "^0.25.8", "c8": "^7.12.0", - "i18next": "^22.0.6", + "i18next": "^22.4.5", "rimraf": "^3.0.2", "tsup": "^6.5.0", - "typescript": "^4.9.3", - "vite": "^3.2.4", - "vitest": "^0.25.3", - "zod": "3.20.0-beta.0" + "typescript": "^4.9.4", + "vite": "^4.0.1", + "vitest": "^0.25.8", + "zod": "^3.20.2" } } diff --git a/yarn.lock b/yarn.lock index cf78e53..e35553e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -55,14 +55,14 @@ core-js-pure "^3.20.2" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9": version "7.18.9" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz" integrity sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw== dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.14.5": +"@babel/runtime@^7.14.5", "@babel/runtime@^7.20.6": version "7.20.6" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.6.tgz#facf4879bfed9b5326326273a64220f099b0fce3" integrity sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA== @@ -140,12 +140,10 @@ "@chakra-ui/react-use-merge-refs" "2.0.5" "@chakra-ui/spinner" "2.0.11" -"@chakra-ui/card@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/card/-/card-2.1.1.tgz#b981a68d81d0f6447eb0d4d3fdcd7846bab2111f" - integrity sha512-vvmfuNn6gkfv6bGcXQe6kvWHspziPZgYnnffiEjPaZYtaf98WRszpjyPbFv0oQR/2H1RSE1oaTqa/J1rHrzw3A== - dependencies: - "@chakra-ui/react-context" "2.0.5" +"@chakra-ui/card@2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/card/-/card-2.1.2.tgz#6a8b58d365557fd33da8e257e207fd8ba3640919" + integrity sha512-zLfrLe7NP14xWgzS+vVz07yapZNOTm3W0Gh9RCwwoQz7l4FNFNjGPmbktQGGp3fLqDUk9n9ugdFCNmxEcQ8wXA== "@chakra-ui/checkbox@2.2.5": version "2.2.5" @@ -338,14 +336,14 @@ "@chakra-ui/react-use-update-effect" "2.0.5" "@chakra-ui/transition" "2.0.12" -"@chakra-ui/modal@2.2.4": - version "2.2.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.4.tgz#dbe884a9245ed840b6511a4f06b4a622fa86de4c" - integrity sha512-K2cafyNI0b4OSAB55qIXt5DLZqj7E1G0+Fza02ZOBZpgTCNQyDtc0KzdVMJZ9ryxKd16LUk5UmKHugY/VpHEWQ== +"@chakra-ui/modal@2.2.5": + version "2.2.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/modal/-/modal-2.2.5.tgz#adcbf06c29d853b5fa17fec3a91b8096eecffe6b" + integrity sha512-QIoN89bT5wnR71wxZFHt7vsS65yF9WCfIwDtFk8ifxJORPi/UkLMwBpjTV2Jfsxd22W6Oo2VOpRR0a5WFeK+jA== dependencies: "@chakra-ui/close-button" "2.0.13" "@chakra-ui/focus-lock" "2.0.13" - "@chakra-ui/portal" "2.0.11" + "@chakra-ui/portal" "2.0.12" "@chakra-ui/react-context" "2.0.5" "@chakra-ui/react-types" "2.0.5" "@chakra-ui/react-use-merge-refs" "2.0.5" @@ -416,28 +414,28 @@ "@chakra-ui/react-use-merge-refs" "2.0.5" "@popperjs/core" "^2.9.3" -"@chakra-ui/portal@2.0.11": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.11.tgz#7a6b3ebc621bb28b46550fcfb36b94926d0111a5" - integrity sha512-Css61i4WKzKO8ou1aGjBzcsXMy9LnfnpkOFfvaNCpUUNEd6c47z6+FhZNq7Gc38PGNjSfMLAd4LmH+H0ZanYIA== +"@chakra-ui/portal@2.0.12": + version "2.0.12" + resolved "https://registry.yarnpkg.com/@chakra-ui/portal/-/portal-2.0.12.tgz#bba0dac00f5610efbf2f15b0e5e6e984135c82c2" + integrity sha512-8D/1fFUdbJtzyGL5sCBIb4oyTnPG2v6rx/L/qbG43FcXDrongmzLj0+tJ//PbJr+5hxjXAWFUjpPvyx10pTN6Q== dependencies: "@chakra-ui/react-context" "2.0.5" "@chakra-ui/react-use-safe-layout-effect" "2.0.3" -"@chakra-ui/progress@2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.1.1.tgz#b94399af12e9324737f9e690201f78546572ac59" - integrity sha512-ddAXaYGNObGqH1stRAYxkdospf6J4CDOhB0uyw9BeHRSsYkCUQWkUBd/melJuZeGHEH2ItF9T7FZ4JhcepP3GA== +"@chakra-ui/progress@2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@chakra-ui/progress/-/progress-2.1.2.tgz#dc3dcae7ddc94d18c3d7b64c2a84a83055038f4f" + integrity sha512-ofhMWTqCxnm1NiP/zH4SV7EvOLogfX15MSMTNfGqZv6t8eSSeTn6oRRzsTSllJfSqDey7oZNCRbP7vDhvx9HtQ== dependencies: "@chakra-ui/react-context" "2.0.5" -"@chakra-ui/provider@2.0.24": - version "2.0.24" - resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.0.24.tgz#733f0eacf779d39029cee164027af7bf5c6c66c3" - integrity sha512-32+DGfoXAOUOXwjLstdGQ+k/YoCwdFxWbwnEAp7WleislYsMcl0JeINDAbvksQH0piBty77swTuWfUU5cIox7g== +"@chakra-ui/provider@2.0.25": + version "2.0.25" + resolved "https://registry.yarnpkg.com/@chakra-ui/provider/-/provider-2.0.25.tgz#6f27abcb8744a7d3c4ebd09409a9e00e0f90c566" + integrity sha512-9BQm9aqiUK/5xeYECpD9dfULd/BfxV4nncFGQNXFqZr0Nx54BALndeKdtId3j+36j9MwcKqjHgKyEpv4s+4vkQ== dependencies: "@chakra-ui/css-reset" "2.0.10" - "@chakra-ui/portal" "2.0.11" + "@chakra-ui/portal" "2.0.12" "@chakra-ui/react-env" "2.0.11" "@chakra-ui/system" "2.3.4" "@chakra-ui/utils" "2.0.12" @@ -593,17 +591,17 @@ dependencies: "@chakra-ui/utils" "2.0.12" -"@chakra-ui/react@^2.4.2": - version "2.4.2" - resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.4.2.tgz#60d0cf80965d77ab6e280e28124b800a0d7a5f8c" - integrity sha512-lPDCCuY3S7XSeIK+P+ypGIL+lFqEZQt8H3Iyq4coblULMsj8skdSUqaoQ4I9fGgOi1koTPe4OlXb+rmqwQQ9MQ== +"@chakra-ui/react@^2.4.3": + version "2.4.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/react/-/react-2.4.3.tgz#c86b92b38ebaa482f22e4515208da429cd4c94bf" + integrity sha512-OzeN8lb/yoJZMuLYgnX00ZcrvMwgMomIHvq3lD7v0jtfdzAQKEySgu7/CmHOsvWnDB7Qy9LMlSb8PLUII1aDow== dependencies: "@chakra-ui/accordion" "2.1.4" "@chakra-ui/alert" "2.0.13" "@chakra-ui/avatar" "2.2.1" "@chakra-ui/breadcrumb" "2.1.1" "@chakra-ui/button" "2.0.13" - "@chakra-ui/card" "2.1.1" + "@chakra-ui/card" "2.1.2" "@chakra-ui/checkbox" "2.2.5" "@chakra-ui/close-button" "2.0.13" "@chakra-ui/control-box" "2.0.11" @@ -619,19 +617,19 @@ "@chakra-ui/live-region" "2.0.11" "@chakra-ui/media-query" "3.2.8" "@chakra-ui/menu" "2.1.5" - "@chakra-ui/modal" "2.2.4" + "@chakra-ui/modal" "2.2.5" "@chakra-ui/number-input" "2.0.14" "@chakra-ui/pin-input" "2.0.16" "@chakra-ui/popover" "2.1.4" "@chakra-ui/popper" "3.0.10" - "@chakra-ui/portal" "2.0.11" - "@chakra-ui/progress" "2.1.1" - "@chakra-ui/provider" "2.0.24" + "@chakra-ui/portal" "2.0.12" + "@chakra-ui/progress" "2.1.2" + "@chakra-ui/provider" "2.0.25" "@chakra-ui/radio" "2.0.14" "@chakra-ui/react-env" "2.0.11" "@chakra-ui/select" "2.0.14" - "@chakra-ui/skeleton" "2.0.18" - "@chakra-ui/slider" "2.0.14" + "@chakra-ui/skeleton" "2.0.19" + "@chakra-ui/slider" "2.0.15" "@chakra-ui/spinner" "2.0.11" "@chakra-ui/stat" "2.0.13" "@chakra-ui/styled-system" "2.4.0" @@ -643,8 +641,8 @@ "@chakra-ui/textarea" "2.0.14" "@chakra-ui/theme" "2.2.2" "@chakra-ui/theme-utils" "2.0.5" - "@chakra-ui/toast" "4.0.4" - "@chakra-ui/tooltip" "2.2.2" + "@chakra-ui/toast" "4.0.5" + "@chakra-ui/tooltip" "2.2.3" "@chakra-ui/transition" "2.0.12" "@chakra-ui/utils" "2.0.12" "@chakra-ui/visually-hidden" "2.0.13" @@ -661,18 +659,18 @@ resolved "https://registry.yarnpkg.com/@chakra-ui/shared-utils/-/shared-utils-2.0.3.tgz#97cbc11282e381ebd9f581c603088f9d60ead451" integrity sha512-pCU+SUGdXzjAuUiUT8mriekL3tJVfNdwSTIaNeip7k/SWDzivrKGMwAFBxd3XVTDevtVusndkO4GJuQ3yILzDg== -"@chakra-ui/skeleton@2.0.18": - version "2.0.18" - resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.18.tgz#a2af241f0b1b692db4d10b90a887107a5e401c7d" - integrity sha512-qjcD8BgVx4kL8Lmb8EvmmDGM2ICl6CqhVE2LShJrgG7PDM6Rt6rYM617kqLurLYZjbJUiwgf9VXWifS0IpT31Q== +"@chakra-ui/skeleton@2.0.19": + version "2.0.19" + resolved "https://registry.yarnpkg.com/@chakra-ui/skeleton/-/skeleton-2.0.19.tgz#c2f8619edf06d8411aeb8fac8748134bfba7ea35" + integrity sha512-i/U70wB9rX3DdO9i50kQLfPVdLPw8oIZlKynq15DkXEch3uXzLMY8ZzcEQW99B/PnynC1gni0+P9jMfeX7Wi+Q== dependencies: "@chakra-ui/media-query" "3.2.8" "@chakra-ui/react-use-previous" "2.0.3" -"@chakra-ui/slider@2.0.14": - version "2.0.14" - resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.14.tgz#8fa8fb5df292525d8b97ea3c3c666e400fb365f2" - integrity sha512-z4Q5rWtYVTdFgBVvR6aUhSMg3CQuAgjJGHvLHEGDCUjYCuBXrb3SmWyvv03uKyjSbwRyKqSsvAnSCxtmHODt/w== +"@chakra-ui/slider@2.0.15": + version "2.0.15" + resolved "https://registry.yarnpkg.com/@chakra-ui/slider/-/slider-2.0.15.tgz#e574020d3240490b12204a6b1db4f40101567f87" + integrity sha512-1PwTBgaPKe8L1aOryGd1i52snqQY615Jd7d1Jyjzr/7s3uvLnpCmTE7bazu/cJU0h1qSpluMv++A+d+fjICdmA== dependencies: "@chakra-ui/number-utils" "2.0.5" "@chakra-ui/react-context" "2.0.5" @@ -786,26 +784,26 @@ "@chakra-ui/anatomy" "2.1.0" "@chakra-ui/theme-tools" "2.0.14" -"@chakra-ui/toast@4.0.4": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-4.0.4.tgz#254fb5c4c5bde0a373aab574927c654442fb0411" - integrity sha512-Gv52UQ4fJtziL9Qg0Yterb76C1GgzViryPDf2dxSzTlnCcKIbY4ktEhehyFBjDXYoGkFb47NZUEyhy+u8p3GUA== +"@chakra-ui/toast@4.0.5": + version "4.0.5" + resolved "https://registry.yarnpkg.com/@chakra-ui/toast/-/toast-4.0.5.tgz#b501d7160ab67d9bcfa4df5c8b763d4aa789731e" + integrity sha512-avJKRiZZACi6v04cUc2uRcmta3gAes67HGkQhq5sHG/VV2cH9wXV2NMT3DolT8WiU9j7g8lWKxWe7bqFFrX+wA== dependencies: "@chakra-ui/alert" "2.0.13" "@chakra-ui/close-button" "2.0.13" - "@chakra-ui/portal" "2.0.11" + "@chakra-ui/portal" "2.0.12" "@chakra-ui/react-use-timeout" "2.0.3" "@chakra-ui/react-use-update-effect" "2.0.5" "@chakra-ui/styled-system" "2.4.0" "@chakra-ui/theme" "2.2.2" -"@chakra-ui/tooltip@2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.2.2.tgz#8ac0759fbc5adacec6e0ac7419c8055a67a95b5c" - integrity sha512-WDgQVEMHdsyUpKG9Nogy2FKLBgfdJG7hTSrSbH1WLvHsPkpPLknL4i5Z/pCvpa4A7SzTa6ps350mxtJ054MeMg== +"@chakra-ui/tooltip@2.2.3": + version "2.2.3" + resolved "https://registry.yarnpkg.com/@chakra-ui/tooltip/-/tooltip-2.2.3.tgz#92c9ed224e4c16839310acd0759c0017caec3134" + integrity sha512-yOne9ofFYfW2XHsbCEPWgLUTnHKm5z21f/cPjwEqtmvCS7aTCOLFiwz2ckRS8yJbIAy+mw0UG6jQsblYKgXj4A== dependencies: "@chakra-ui/popper" "3.0.10" - "@chakra-ui/portal" "2.0.11" + "@chakra-ui/portal" "2.0.12" "@chakra-ui/react-types" "2.0.5" "@chakra-ui/react-use-disclosure" "2.0.6" "@chakra-ui/react-use-event-listener" "2.0.5" @@ -1124,16 +1122,126 @@ resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz" integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== +"@esbuild/android-arm64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.16.4.tgz#4b31b9e3da2e4c12a8170bd682f713c775f68ab1" + integrity sha512-VPuTzXFm/m2fcGfN6CiwZTlLzxrKsWbPkG7ArRFpuxyaHUm/XFHQPD4xNwZT6uUmpIHhnSjcaCmcla8COzmZ5Q== + "@esbuild/android-arm@0.15.17": version "0.15.17" resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.15.17.tgz#05162390ed2b0f2ae9647a809efb71fba14ddfe7" integrity sha512-ay6Ken4u+JStjYmqIgh71jMT0bs/rXpCCDKaMfl78B20QYWJglT5P6Ejfm4hWf6Zi+uUWNe7ZmqakRs2BQYIeg== +"@esbuild/android-arm@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.16.4.tgz#057d3e8b0ee41ff59386c33ba6dcf20f4bedd1f7" + integrity sha512-rZzb7r22m20S1S7ufIc6DC6W659yxoOrl7sKP1nCYhuvUlnCFHVSbATG4keGUtV8rDz11sRRDbWkvQZpzPaHiw== + +"@esbuild/android-x64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.16.4.tgz#62ccab8ac1d3e6ef1df3fa2e1974bc2b8528d74a" + integrity sha512-MW+B2O++BkcOfMWmuHXB15/l1i7wXhJFqbJhp82IBOais8RBEQv2vQz/jHrDEHaY2X0QY7Wfw86SBL2PbVOr0g== + +"@esbuild/darwin-arm64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.16.4.tgz#c19a6489d626c36fc611c85ccd8a3333c1f2a930" + integrity sha512-a28X1O//aOfxwJVZVs7ZfM8Tyih2Za4nKJrBwW5Wm4yKsnwBy9aiS/xwpxiiTRttw3EaTg4Srerhcm6z0bu9Wg== + +"@esbuild/darwin-x64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.16.4.tgz#b726bbc84a1e277f6ec2509d10b8ee03f242b776" + integrity sha512-e3doCr6Ecfwd7VzlaQqEPrnbvvPjE9uoTpxG5pyLzr2rI2NMjDHmvY1E5EO81O/e9TUOLLkXA5m6T8lfjK9yAA== + +"@esbuild/freebsd-arm64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.4.tgz#364568e6ca2901297f247de0681c9b14bbe658c8" + integrity sha512-Oup3G/QxBgvvqnXWrBed7xxkFNwAwJVHZcklWyQt7YCAL5bfUkaa6FVWnR78rNQiM8MqqLiT6ZTZSdUFuVIg1w== + +"@esbuild/freebsd-x64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.16.4.tgz#44701ba4a5497ba64eec0a6c9e221d8f46a25e72" + integrity sha512-vAP+eYOxlN/Bpo/TZmzEQapNS8W1njECrqkTpNgvXskkkJC2AwOXwZWai/Kc2vEFZUXQttx6UJbj9grqjD/+9Q== + +"@esbuild/linux-arm64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.16.4.tgz#b58fb418ec9ac714d8dbb38c787ff2441eb1d9db" + integrity sha512-2zXoBhv4r5pZiyjBKrOdFP4CXOChxXiYD50LRUU+65DkdS5niPFHbboKZd/c81l0ezpw7AQnHeoCy5hFrzzs4g== + +"@esbuild/linux-arm@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.16.4.tgz#b37f15ecddb53eeea466e5960e31a58f33e0e87e" + integrity sha512-A47ZmtpIPyERxkSvIv+zLd6kNIOtJH03XA0Hy7jaceRDdQaQVGSDt4mZqpWqJYgDk9rg96aglbF6kCRvPGDSUA== + +"@esbuild/linux-ia32@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.16.4.tgz#117e32a9680b5deac184ebee122f8575369fad1b" + integrity sha512-uxdSrpe9wFhz4yBwt2kl2TxS/NWEINYBUFIxQtaEVtglm1eECvsj1vEKI0KX2k2wCe17zDdQ3v+jVxfwVfvvjw== + "@esbuild/linux-loong64@0.15.17": version "0.15.17" resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.15.17.tgz#870daa61c257dfa0ee4f0ed71704d55e9af8e20c" integrity sha512-IA1O7f7qxw2DX8oqTpugHElr926phs7Rq8ULXleBMk4go5K05BU0mI8BfCkWcYAvcmVaMc13bv5W3LIUlU6Y9w== +"@esbuild/linux-loong64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.16.4.tgz#dd504fb83c280752d4b485d9acb3cf391cb7bf5b" + integrity sha512-peDrrUuxbZ9Jw+DwLCh/9xmZAk0p0K1iY5d2IcwmnN+B87xw7kujOkig6ZRcZqgrXgeRGurRHn0ENMAjjD5DEg== + +"@esbuild/linux-mips64el@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.16.4.tgz#9ab77e31cf3be1e35572afff94b51df8149d15bd" + integrity sha512-sD9EEUoGtVhFjjsauWjflZklTNr57KdQ6xfloO4yH1u7vNQlOfAlhEzbyBKfgbJlW7rwXYBdl5/NcZ+Mg2XhQA== + +"@esbuild/linux-ppc64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.16.4.tgz#69d56c2a960808bee1c7b9b84a115220ec9ce05c" + integrity sha512-X1HSqHUX9D+d0l6/nIh4ZZJ94eQky8d8z6yxAptpZE3FxCWYWvTDd9X9ST84MGZEJx04VYUD/AGgciddwO0b8g== + +"@esbuild/linux-riscv64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.16.4.tgz#9fc23583f4a1508a8d352bd376340e42217e8a90" + integrity sha512-97ANpzyNp0GTXCt6SRdIx1ngwncpkV/z453ZuxbnBROCJ5p/55UjhbaG23UdHj88fGWLKPFtMoU4CBacz4j9FA== + +"@esbuild/linux-s390x@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.16.4.tgz#4cae1f70ac2943f076dd130c3c80d28f57bf75d1" + integrity sha512-pUvPQLPmbEeJRPjP0DYTC1vjHyhrnCklQmCGYbipkep+oyfTn7GTBJXoPodR7ZS5upmEyc8lzAkn2o29wD786A== + +"@esbuild/linux-x64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.16.4.tgz#fdf494de07cda23a2dc4b71ff1e0848e4ee6539c" + integrity sha512-N55Q0mJs3Sl8+utPRPBrL6NLYZKBCLLx0bme/+RbjvMforTGGzFvsRl4xLTZMUBFC1poDzBEPTEu5nxizQ9Nlw== + +"@esbuild/netbsd-x64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.16.4.tgz#b59ecb49087119c575c0f64d7e66001d52799e24" + integrity sha512-LHSJLit8jCObEQNYkgsDYBh2JrJT53oJO2HVdkSYLa6+zuLJh0lAr06brXIkljrlI+N7NNW1IAXGn/6IZPi3YQ== + +"@esbuild/openbsd-x64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.16.4.tgz#c51e36db875948b7b11d08bafa355605a1aa289c" + integrity sha512-nLgdc6tWEhcCFg/WVFaUxHcPK3AP/bh+KEwKtl69Ay5IBqUwKDaq/6Xk0E+fh/FGjnLwqFSsarsbPHeKM8t8Sw== + +"@esbuild/sunos-x64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.16.4.tgz#0b50e941cd44f069e9f2573321aec984244ec228" + integrity sha512-08SluG24GjPO3tXKk95/85n9kpyZtXCVwURR2i4myhrOfi3jspClV0xQQ0W0PYWHioJj+LejFMt41q+PG3mlAQ== + +"@esbuild/win32-arm64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.16.4.tgz#d1c93b20f17355ab2221cd18e13ae2f1b68013e3" + integrity sha512-yYiRDQcqLYQSvNQcBKN7XogbrSvBE45FEQdH8fuXPl7cngzkCvpsG2H9Uey39IjQ6gqqc+Q4VXYHsQcKW0OMjQ== + +"@esbuild/win32-ia32@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.16.4.tgz#df5910e76660e0acbbdceb8d4ae6bf1efeade6ae" + integrity sha512-5rabnGIqexekYkh9zXG5waotq8mrdlRoBqAktjx2W3kb0zsI83mdCwrcAeKYirnUaTGztR5TxXcXmQrEzny83w== + +"@esbuild/win32-x64@0.16.4": + version "0.16.4" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.16.4.tgz#6ec594468610c176933da1387c609558371d37e0" + integrity sha512-sN/I8FMPtmtT2Yw+Dly8Ur5vQ5a/RmC8hW7jO9PtPSQUPkowxWpcUZnqOggU7VwyT3Xkj6vcXWd3V/qTXwultQ== + "@eslint/eslintrc@^1.3.3": version "1.3.3" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.3.tgz#2b044ab39fdfa75b4688184f9e573ce3c5b0ff95" @@ -1783,7 +1891,7 @@ resolved "https://registry.npmjs.org/@types/chai/-/chai-4.3.1.tgz" integrity sha512-/zPMqDkzSZ8t3VtxOa4KPq7uzzW978M9Tvh+j7GHKuo6k6GTLxPJ4J5gE5cjfJ26pnXst0N5Hax8Sr0T2Mi9zQ== -"@types/chai@^4.3.3": +"@types/chai@^4.3.4": version "4.3.4" resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.3.4.tgz#e913e8175db8307d78b4e8fa690408ba6b65dee4" integrity sha512-KnRanxnpfpjUTqTCXslZSEdLfXExwgNxYPdiO2WGUj8+HDjFi8R3k5RVKPeSCzLjCcshCAtVO2QBbVuAV4kTnw== @@ -1828,10 +1936,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-18.6.4.tgz" integrity sha512-I4BD3L+6AWiUobfxZ49DlU43gtI+FTHSv9pE2Zekg6KjMpre4ByusaljW3vYSLJrvQ1ck1hUaeVu8HVlY3vzHg== -"@types/node@18.11.10", "@types/node@^18.11.10": - version "18.11.10" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.10.tgz#4c64759f3c2343b7e6c4b9caf761c7a3a05cee34" - integrity sha512-juG3RWMBOqcOuXC643OAdSA525V44cVgGV6dUDuiFtss+8Fk5x1hI93Rsld43VeJVIeqlP9I7Fn9/qaVqoEAuQ== +"@types/node@18.11.14", "@types/node@^18.11.14": + version "18.11.14" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.14.tgz#a8571b25f3a31e9ded14e3ab9488509adef831d8" + integrity sha512-0KXV57tENYmmJMl+FekeW9V3O/rlcqGQQJ/hNh9r8pKIj304pskWuEd8fCyNT86g/TpO0gcOTiLzsHLEURFMIQ== "@types/node@^14.0.0": version "14.18.34" @@ -1932,13 +2040,13 @@ "@typescript-eslint/types" "5.45.0" eslint-visitor-keys "^3.3.0" -"@vitest/coverage-c8@^0.25.3": - version "0.25.3" - resolved "https://registry.yarnpkg.com/@vitest/coverage-c8/-/coverage-c8-0.25.3.tgz#308dcfe574412ac8b212ee7a891f843a4e4bb10d" - integrity sha512-+tmrB3E7pZTSM+aWKzLk0FpyyaQOoRQf0594hHp+E3Kk0tiFONiEFYf7+9a1Z+C2ffU/0w6KvyBjpNPdashMrg== +"@vitest/coverage-c8@^0.25.8": + version "0.25.8" + resolved "https://registry.yarnpkg.com/@vitest/coverage-c8/-/coverage-c8-0.25.8.tgz#a46d171b1b2291089dd5518642bbbec9890617e5" + integrity sha512-fWgzQoK2KNzTTNnDcLCyibfO9/pbcpPOMtZ9Yvq/Eggpi2X8lewx/OcKZkO5ba5q9dl6+BBn6d5hTcS1709rZw== dependencies: c8 "^7.12.0" - vitest "0.25.3" + vitest "0.25.8" "@zag-js/element-size@0.1.0": version "0.1.0" @@ -1978,6 +2086,11 @@ acorn@^8.4.1, acorn@^8.8.0: resolved "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz" integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== +acorn@^8.8.1: + version "8.8.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73" + integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== + agent-base@6, agent-base@^6.0.2: version "6.0.2" resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" @@ -2393,14 +2506,14 @@ cardinal@^2.1.1: ansicolors "~0.3.2" redeyed "~2.1.0" -chai@^4.3.6: - version "4.3.6" - resolved "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz" - integrity sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q== +chai@^4.3.7: + version "4.3.7" + resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.7.tgz#ec63f6df01829088e8bf55fca839bcd464a8ec51" + integrity sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A== dependencies: assertion-error "^1.1.0" check-error "^1.0.2" - deep-eql "^3.0.1" + deep-eql "^4.1.2" get-func-name "^2.0.0" loupe "^2.3.1" pathval "^1.1.1" @@ -2828,10 +2941,10 @@ decamelize@^1.1.0: resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== -deep-eql@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz" - integrity sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw== +deep-eql@^4.1.2: + version "4.1.3" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-4.1.3.tgz#7c7775513092f7df98d8df9996dd085eb668cc6d" + integrity sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw== dependencies: type-detect "^4.0.0" @@ -3183,7 +3296,7 @@ esbuild-windows-arm64@0.15.17: resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.17.tgz#7ad50ae269a490c3b12c3128fb67d91ec2caf869" integrity sha512-I5QeSsz0X66V8rxVhmw03Wzn8Tz63H3L9GrsA7C5wvBXMk3qahLWuEL+l7SZ2DleKkFeZZMu1dPxOak9f1TZ4A== -esbuild@^0.15.1, esbuild@^0.15.9: +esbuild@^0.15.1: version "0.15.17" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.15.17.tgz#9a4e1e78898968afbdce4325e3b941cb7378ee42" integrity sha512-8MbkDX+kh0kaeYGd6klMbn1uTOXHoDw7UYMd1dQYA5cqBZivf5+pzfaXZSL1RNamJfXW/uWC5+9wX5ejDgpSqg== @@ -3211,6 +3324,34 @@ esbuild@^0.15.1, esbuild@^0.15.9: esbuild-windows-64 "0.15.17" esbuild-windows-arm64 "0.15.17" +esbuild@^0.16.3: + version "0.16.4" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.16.4.tgz#06c86298d233386f5e41bcc14d36086daf3f40bd" + integrity sha512-qQrPMQpPTWf8jHugLWHoGqZjApyx3OEm76dlTXobHwh/EBbavbRdjXdYi/GWr43GyN0sfpap14GPkb05NH3ROA== + optionalDependencies: + "@esbuild/android-arm" "0.16.4" + "@esbuild/android-arm64" "0.16.4" + "@esbuild/android-x64" "0.16.4" + "@esbuild/darwin-arm64" "0.16.4" + "@esbuild/darwin-x64" "0.16.4" + "@esbuild/freebsd-arm64" "0.16.4" + "@esbuild/freebsd-x64" "0.16.4" + "@esbuild/linux-arm" "0.16.4" + "@esbuild/linux-arm64" "0.16.4" + "@esbuild/linux-ia32" "0.16.4" + "@esbuild/linux-loong64" "0.16.4" + "@esbuild/linux-mips64el" "0.16.4" + "@esbuild/linux-ppc64" "0.16.4" + "@esbuild/linux-riscv64" "0.16.4" + "@esbuild/linux-s390x" "0.16.4" + "@esbuild/linux-x64" "0.16.4" + "@esbuild/netbsd-x64" "0.16.4" + "@esbuild/openbsd-x64" "0.16.4" + "@esbuild/sunos-x64" "0.16.4" + "@esbuild/win32-arm64" "0.16.4" + "@esbuild/win32-ia32" "0.16.4" + "@esbuild/win32-x64" "0.16.4" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" @@ -3625,15 +3766,13 @@ foreground-child@^2.0.0: cross-spawn "^7.0.0" signal-exit "^3.0.2" -framer-motion@^7.6.18: - version "7.6.18" - resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-7.6.18.tgz#bdc8f27c90d2b0d49c81bb8ac3ec2dc3b5504609" - integrity sha512-+njLqmMZBqf+GpIMRkuC7s9A9KrvOfMXm+B/yscKG+/SKAA+qdQFl/3ACU2tAhN7UFau1HuB/vBa/jrWBKVvDg== +framer-motion@^7.7.3: + version "7.7.3" + resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-7.7.3.tgz#d6634577cc78db10fd5a55b71c3c3124e97376d3" + integrity sha512-O08sQUOnlvnUrsq/NU9zMB92oYkTXu8lodyTLBXggDvE5HwHs1ZVvcYKuCfvVAqfTmJXiHgYiANrqXfzpU4Plg== dependencies: "@motionone/dom" "10.13.1" - framesync "6.1.2" hey-listen "^1.0.8" - style-value-types "5.1.2" tslib "2.4.0" optionalDependencies: "@emotion/is-prop-valid" "^0.8.2" @@ -3645,13 +3784,6 @@ framesync@5.3.0: dependencies: tslib "^2.1.0" -framesync@6.1.2: - version "6.1.2" - resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.1.2.tgz#755eff2fb5b8f3b4d2b266dd18121b300aefea27" - integrity sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g== - dependencies: - tslib "2.4.0" - from2@^2.3.0: version "2.3.0" resolved "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz" @@ -4082,12 +4214,12 @@ i18next-fs-backend@^2.0.0: resolved "https://registry.yarnpkg.com/i18next-fs-backend/-/i18next-fs-backend-2.0.1.tgz#5e33f28565257617682d622f6ce2c672d3f0ccc5" integrity sha512-fzeiFOXqsMiFAFUnNyC4buERI11vTAuf7JIDWqaiPgBK3R+XJQMSY1LyoXaWspBEFaAkXH/0uMbOv7nttBFztg== -i18next@^22.0.6: - version "22.0.6" - resolved "https://registry.yarnpkg.com/i18next/-/i18next-22.0.6.tgz#d7029912f8aa74ff295c0d9afd1b7dea45859b49" - integrity sha512-RlreNGoPIdDP4QG+qSA9PxZKGwlzmcozbI9ObI6+OyUa/Rp0EjZZA9ubyBjw887zVNZsC+7FI3sXX8oiTzAfig== +i18next@^22.4.5: + version "22.4.5" + resolved "https://registry.yarnpkg.com/i18next/-/i18next-22.4.5.tgz#7324e4946c2facbe743ca25bca8980af05b0a109" + integrity sha512-Kc+Ow0guRetUq+kv02tj0Yof9zveROPBAmJ8UxxNODLVBRSwsM4iD0Gw3BEieOmkWemF6clU3K1fbnCuTqiN2Q== dependencies: - "@babel/runtime" "^7.17.2" + "@babel/runtime" "^7.20.6" iconv-lite@^0.6.2: version "0.6.3" @@ -5190,10 +5322,10 @@ nerf-dart@^1.0.0: resolved "https://registry.npmjs.org/nerf-dart/-/nerf-dart-1.0.0.tgz" integrity sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g== -next-i18next@^13.0.0: - version "13.0.0" - resolved "https://registry.yarnpkg.com/next-i18next/-/next-i18next-13.0.0.tgz#3a0253d0df27cb305fd5bedab0da46785dd5aa21" - integrity sha512-XiODAmMdueAIETQKIRPvYEZ5ghLOlzHb6PI4/WzwYkKdC/5q6UROzwIRw7aj3VWRB3xwnuuzEVI9NAjMfXyrkQ== +next-i18next@^13.0.1: + version "13.0.1" + resolved "https://registry.yarnpkg.com/next-i18next/-/next-i18next-13.0.1.tgz#f2f625554fd7e49db6312f8db9e474de2ebe7def" + integrity sha512-GnywgEQBvXZFUJAwgg8hKJw6khl7yo3qjZkgpX2atJ5Zv8l9kpVdy5RSIc8hiVImIZVwgOfoZ3YTyoWqcP4+Aw== dependencies: "@babel/runtime" "^7.18.9" "@types/hoist-non-react-statics" "^3.3.1" @@ -5936,10 +6068,10 @@ postcss@8.4.14: picocolors "^1.0.0" source-map-js "^1.0.2" -postcss@^8.4.18: - version "8.4.19" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.19.tgz#61178e2add236b17351897c8bcc0b4c8ecab56fc" - integrity sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA== +postcss@^8.4.20: + version "8.4.20" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.20.tgz#64c52f509644cecad8567e949f4081d98349dc56" + integrity sha512-6Q04AXR1212bXr5fh03u8aAwbLxAQNGQ/Q1LNa0VfOI06ZAlhPHtQvE4OIdpj4kLThXilalPnmDSOD65DcHt+g== dependencies: nanoid "^3.3.4" picocolors "^1.0.0" @@ -5950,10 +6082,10 @@ prelude-ls@^1.2.1: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prettier@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.0.tgz#c7df58393c9ba77d6fba3921ae01faf994fb9dc9" - integrity sha512-9Lmg8hTFZKG0Asr/kW9Bp8tJjRVluO8EJQVfY2T7FMw9T5jy4I/Uvx0Rca/XWf50QQ1/SS48+6IJWnrb+2yemA== +prettier@^2.8.1: + version "2.8.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.1.tgz#4e1fd11c34e2421bc1da9aea9bd8127cd0a35efc" + integrity sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg== proc-log@^2.0.0, proc-log@^2.0.1: version "2.0.1" @@ -6086,10 +6218,10 @@ react-hook-form@7.40.0: resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.40.0.tgz#62bc939dddca88522cd7f5135b6603192ccf7e17" integrity sha512-0rokdxMPJs0k9bvFtY6dbcSydyNhnZNXCR49jgDr/aR03FDHFOK6gfh8ccqB3fl696Mk7lqh04xdm+agqWXKSw== -react-i18next@^12.0.0: - version "12.0.0" - resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-12.0.0.tgz#634015a2c035779c5736ae4c2e5c34c1659753b1" - integrity sha512-/O7N6aIEAl1FaWZBNvhdIo9itvF/MO/nRKr9pYqRc9LhuC1u21SlfwpiYQqvaeNSEW3g3qUXLREOWMt+gxrWbg== +react-i18next@^12.1.1: + version "12.1.1" + resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-12.1.1.tgz#2626cdbfe6bcb76ef833861c0184a5c4e5e3c089" + integrity sha512-mFdieOI0LDy84q3JuZU6Aou1DoWW2fhapcTGeBS8+vWSJuViuoCLQAMYSb0QoHhXS8B0WKUOPpx4cffAP7r/aA== dependencies: "@babel/runtime" "^7.14.5" html-parse-stringify "^3.0.1" @@ -6357,13 +6489,6 @@ rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" -rollup@^2.79.1: - version "2.79.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7" - integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw== - optionalDependencies: - fsevents "~2.3.2" - rollup@^3.2.5: version "3.5.1" resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.5.1.tgz#5aefd0d29288ce686239fa8c2e3de87c27708ae1" @@ -6371,6 +6496,13 @@ rollup@^3.2.5: optionalDependencies: fsevents "~2.3.2" +rollup@^3.7.0: + version "3.7.4" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.7.4.tgz#993c3b30eff1df96f5eafb7c2ef7648960f2fa34" + integrity sha512-jN9rx3k5pfg9H9al0r0y1EYKSeiRANZRYX32SuNXAnKzh6cVyf4LZVto1KAuDnbHT03E1CpsgqDKaqQ8FZtgxw== + optionalDependencies: + fsevents "~2.3.2" + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" @@ -6835,20 +6967,12 @@ strip-json-comments@~2.0.1: resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz" integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== -strip-literal@^0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-0.4.2.tgz#4f9fa6c38bb157b924e9ace7155ebf8a2342cbcf" - integrity sha512-pv48ybn4iE1O9RLgCAN0iU4Xv7RlBTiit6DKmMiErbs9x1wH6vXBs45tWc0H5wUIF6TLTrKweqkmYF/iraQKNw== +strip-literal@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-1.0.0.tgz#0a484ed5a978cd9d2becf3cf8f4f2cb5ab0e1e74" + integrity sha512-5o4LsH1lzBzO9UFH63AJ2ad2/S2AVx6NtjOcaz+VTT2h1RiRvbipW72z8M/lxEhcPHDBQwpDrnTF7sXy/7OwCQ== dependencies: - acorn "^8.8.0" - -style-value-types@5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/style-value-types/-/style-value-types-5.1.2.tgz#6be66b237bd546048a764883528072ed95713b62" - integrity sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q== - dependencies: - hey-listen "^1.0.8" - tslib "2.4.0" + acorn "^8.8.1" styled-jsx@5.1.0: version "5.1.0" @@ -7195,10 +7319,10 @@ type-fest@^1.0.2: resolved "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz" integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== -typescript@4.9.3, typescript@^4.9.3: - version "4.9.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db" - integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA== +typescript@4.9.4, typescript@^4.9.4: + version "4.9.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" + integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== typescript@^4.6.4: version "4.7.4" @@ -7312,37 +7436,37 @@ validate-npm-package-name@^4.0.0: dependencies: builtins "^5.0.0" -vite@^3.0.0, vite@^3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/vite/-/vite-3.2.4.tgz#d8c7892dd4268064e04fffbe7d866207dd24166e" - integrity sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw== +"vite@^3.0.0 || ^4.0.0", vite@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/vite/-/vite-4.0.1.tgz#e0a54d818c28ae47fd27bcac6a4a952c6a658502" + integrity sha512-kZQPzbDau35iWOhy3CpkrRC7It+HIHtulAzBhMqzGHKRf/4+vmh8rPDDdv98SWQrFWo6//3ozwsRmwQIPZsK9g== dependencies: - esbuild "^0.15.9" - postcss "^8.4.18" + esbuild "^0.16.3" + postcss "^8.4.20" resolve "^1.22.1" - rollup "^2.79.1" + rollup "^3.7.0" optionalDependencies: fsevents "~2.3.2" -vitest@0.25.3, vitest@^0.25.3: - version "0.25.3" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.25.3.tgz#4e5ed481e4da6a0ce014bdb71dfc9661fd62b722" - integrity sha512-/UzHfXIKsELZhL7OaM2xFlRF8HRZgAHtPctacvNK8H4vOcbJJAMEgbWNGSAK7Y9b1NBe5SeM7VTuz2RsTHFJJA== +vitest@0.25.8, vitest@^0.25.8: + version "0.25.8" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.25.8.tgz#9b57e0b41cd6f2d2d92aa94a39b35c36f715f8cc" + integrity sha512-X75TApG2wZTJn299E/TIYevr4E9/nBo1sUtZzn0Ci5oK8qnpZAZyhwg0qCeMSakGIWtc6oRwcQFyFfW14aOFWg== dependencies: - "@types/chai" "^4.3.3" + "@types/chai" "^4.3.4" "@types/chai-subset" "^1.3.3" "@types/node" "*" - acorn "^8.8.0" + acorn "^8.8.1" acorn-walk "^8.2.0" - chai "^4.3.6" + chai "^4.3.7" debug "^4.3.4" local-pkg "^0.4.2" source-map "^0.6.1" - strip-literal "^0.4.2" + strip-literal "^1.0.0" tinybench "^2.3.1" tinypool "^0.3.0" tinyspy "^1.0.2" - vite "^3.0.0" + vite "^3.0.0 || ^4.0.0" void-elements@3.1.0: version "3.1.0" @@ -7537,7 +7661,7 @@ yocto-queue@^0.1.0: resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -zod@3.20.0-beta.0: - version "3.20.0-beta.0" - resolved "https://registry.yarnpkg.com/zod/-/zod-3.20.0-beta.0.tgz#dba6079533a73e3782526b2f3301ea00fc8b1df8" - integrity sha512-f3tzkrcUzmZi8Rsy0dS5BZJMahnMN1uR0a25du3xBH43kmVnSU6GBtuYSWu4aFPMh847GPUeoOoVARK5hj/rDw== +zod@3.20.2, zod@^3.20.2: + version "3.20.2" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.20.2.tgz#068606642c8f51b3333981f91c0a8ab37dfc2807" + integrity sha512-1MzNQdAvO+54H+EaK5YpyEy0T+Ejo/7YLHS93G3RnYWh5gaotGHwGeN/ZO687qEDU2y4CdStQYXVHIgrUl5UVQ== From 07d04fdfb7a2ca63fef4882307fed781994ffea3 Mon Sep 17 00:00:00 2001 From: Aiji Uejima Date: Tue, 13 Dec 2022 20:21:01 +0900 Subject: [PATCH 4/4] chore: add TODO comments --- packages/core/tests/integrations/pt.test.ts | 1 + packages/core/tests/integrations/zh-CN.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/core/tests/integrations/pt.test.ts b/packages/core/tests/integrations/pt.test.ts index c3470f5..dc765bb 100644 --- a/packages/core/tests/integrations/pt.test.ts +++ b/packages/core/tests/integrations/pt.test.ts @@ -41,6 +41,7 @@ test("string parser error messages", () => { expect(getErrorMessage(schema.max(5).safeParse("abcdef"))).toEqual( "A string pode conter no máximo 5 caracter(es)" ); + // TODO: translation `datetime` (zod:validations.datetime and zod:errors.invalid_string.datetime) expect( getErrorMessage(schema.datetime().safeParse("2020-01-01T00:00:00+02:00")) ).toEqual("datetime inválido"); diff --git a/packages/core/tests/integrations/zh-CN.test.ts b/packages/core/tests/integrations/zh-CN.test.ts index e45a599..2c39690 100644 --- a/packages/core/tests/integrations/zh-CN.test.ts +++ b/packages/core/tests/integrations/zh-CN.test.ts @@ -39,6 +39,7 @@ test("string parser error messages", () => { expect(getErrorMessage(schema.max(5).safeParse("abcdef"))).toEqual( "最多只能包含 5 个字符" ); + // TODO: translation `datetime` (zod:validations.datetime) expect( getErrorMessage(schema.datetime().safeParse("2020-01-01T00:00:00+02:00")) ).toEqual("datetime 格式错误");