From c00e5b5744f77e405427bcbfb01956b320e5f70c Mon Sep 17 00:00:00 2001 From: Clemence Kyara Date: Wed, 19 Jun 2024 13:21:16 +0300 Subject: [PATCH 1/3] Upgrade engines and specify packageManager --- package.json | 7 ++++--- yarn.lock | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 0bbc153c..395b5728 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,8 @@ ] }, "engines": { - "node": ">=12.18.0 <17.x", - "yarn": ">=1.19.2 <2.x" - } + "node": "20.x", + "yarn": "1" + }, + "packageManager": "yarn@1.22.22" } diff --git a/yarn.lock b/yarn.lock index 486ea55e..22e3a0a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4528,9 +4528,9 @@ can-use-dom@^0.1.0: integrity sha1-IsxKNKCrxDlQ9CxkEQJKP2NmtFo= caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001283, caniuse-lite@^1.0.30001286: - version "1.0.30001311" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001311.tgz#682ef3f4e617f1a177ad943de59775ed3032e511" - integrity sha512-mleTFtFKfykEeW34EyfhGIFjGCqzhh38Y0LhdQ9aWF+HorZTtdgKV/1hEE0NlFkG2ubvisPV6l400tlbPys98A== + version "1.0.30001636" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz" + integrity sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg== capture-exit@^2.0.0: version "2.0.0" From 3a49c788ac075f75414bc6e90aa30176c235f357 Mon Sep 17 00:00:00 2001 From: Clemence Kyara Date: Wed, 19 Jun 2024 13:21:51 +0300 Subject: [PATCH 2/3] Fix missing dependency --- src/components/Chart/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Chart/index.js b/src/components/Chart/index.js index 52634e35..b2f0c5e3 100644 --- a/src/components/Chart/index.js +++ b/src/components/Chart/index.js @@ -141,7 +141,7 @@ function Chart({ className, data, ...props }) { if (data) { renderChart(); } - }, [data, handler, isUpMd]); + }, [data, handler, isMd, isUpMd]); if (!data?.length) { return null; From ca91affd3cb37737c84e50eb1d9c7f25c4412260 Mon Sep 17 00:00:00 2001 From: Clemence Kyara Date: Wed, 19 Jun 2024 13:22:08 +0300 Subject: [PATCH 3/3] Lint & format --- content/pages/account/update.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/pages/account/update.md b/content/pages/account/update.md index 8f664347..6c446650 100644 --- a/content/pages/account/update.md +++ b/content/pages/account/update.md @@ -1,5 +1,4 @@ --- - title: Edit your details firstName: First Name lastName: Last Name @@ -9,5 +8,4 @@ changePasswordLabel: Change your password changePasswordLink: /account/settings/update/password buttonLabel: Update email: Email - ---