From e8e6cee96bf73fc517907c11c55e9c17858f4991 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 14:07:18 -0400 Subject: [PATCH 1/3] build(deps-dev): Bump jose from 5.2.4 to 5.3.0 (#1880) Bumps [jose](https://github.com/panva/jose) from 5.2.4 to 5.3.0. - [Release notes](https://github.com/panva/jose/releases) - [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md) - [Commits](https://github.com/panva/jose/compare/v5.2.4...v5.3.0) --- updated-dependencies: - dependency-name: jose dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index c34f0f0c6..ee00c7b69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21102,9 +21102,9 @@ } }, "node_modules/jose": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/jose/-/jose-5.2.4.tgz", - "integrity": "sha512-6ScbIk2WWCeXkmzF6bRPmEuaqy1m8SbsRFMa/FLrSCkGIhj8OLVG/IH+XHVmNMx/KUo8cVWEE6oKR4dJ+S0Rkg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/jose/-/jose-5.3.0.tgz", + "integrity": "sha512-IChe9AtAE79ru084ow8jzkN2lNrG3Ntfiv65Cvj9uOCE2m5LNsdHG+9EbxWxAoWRF9TgDOqLN5jm08++owDVRg==", "dev": true, "funding": { "url": "https://github.com/sponsors/panva" From 3c3456eee44ce42c848d8bd96a607e4257347051 Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Tue, 14 May 2024 21:04:24 -0400 Subject: [PATCH 2/3] chore: add react/jsx-curly-brace-presence rule to .eslintrc --- .eslintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 4c0892e95..304b2f6e5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -22,6 +22,7 @@ "prettier/prettier": "error", "testing-library/no-unnecessary-act": "off", "testing-library/prefer-find-by": "off", - "curly": "error" + "curly": "error", + "react/jsx-curly-brace-presence": "error" } } From 5b4107f777d8f8de1347c3ec03efc85dbccf3ee5 Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Tue, 14 May 2024 21:04:50 -0400 Subject: [PATCH 3/3] style: remove extra braces --- src/group/components/GroupList.js | 2 +- src/landscape/components/LandscapeForm/AffiliationStep.js | 2 +- src/landscape/components/LandscapeForm/KeyInfoStep.js | 2 +- src/landscape/components/LandscapeForm/ProfileImageStep.js | 2 +- src/landscape/components/LandscapeList.js | 4 ++-- .../components/VisualizationConfigForm/ColumnSelect.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/group/components/GroupList.js b/src/group/components/GroupList.js index d56153a57..39cd62297 100644 --- a/src/group/components/GroupList.js +++ b/src/group/components/GroupList.js @@ -222,7 +222,7 @@ const GroupList = () => { First Prefix - + to add . diff --git a/src/landscape/components/LandscapeForm/AffiliationStep.js b/src/landscape/components/LandscapeForm/AffiliationStep.js index d001366ab..784c4146c 100644 --- a/src/landscape/components/LandscapeForm/AffiliationStep.js +++ b/src/landscape/components/LandscapeForm/AffiliationStep.js @@ -136,7 +136,7 @@ const YearSelect = props => { labelId={`${id}-label`} id={id} > - + {t('landscape.form_profile_partnership_year_placeholder')} {_.range(PARTNERSHIP_START_YEAR, new Date().getFullYear() + 1) diff --git a/src/landscape/components/LandscapeForm/KeyInfoStep.js b/src/landscape/components/LandscapeForm/KeyInfoStep.js index 09c308cc0..d946d5b17 100644 --- a/src/landscape/components/LandscapeForm/KeyInfoStep.js +++ b/src/landscape/components/LandscapeForm/KeyInfoStep.js @@ -123,7 +123,7 @@ const CountrySelector = props => { ) } > - {t('landscape.form_location_select')} + {t('landscape.form_location_select')} {countries.map((country, index) => ( {country.name} diff --git a/src/landscape/components/LandscapeForm/ProfileImageStep.js b/src/landscape/components/LandscapeForm/ProfileImageStep.js index 939383f9a..5c130b9a6 100644 --- a/src/landscape/components/LandscapeForm/ProfileImageStep.js +++ b/src/landscape/components/LandscapeForm/ProfileImageStep.js @@ -213,7 +213,7 @@ const ProfileImageStep = props => { onCancel={() => navigate(-1)} updatedValues={updatedValues} onNext={setUpdatedLandscape} - nextLabel={'landscape.form_save_label'} + nextLabel="landscape.form_save_label" saveDisabled={!updatedValues?.profileImage?.result} /> diff --git a/src/landscape/components/LandscapeList.js b/src/landscape/components/LandscapeList.js index 40e93b809..b44d02155 100644 --- a/src/landscape/components/LandscapeList.js +++ b/src/landscape/components/LandscapeList.js @@ -192,7 +192,7 @@ const LandscapeList = () => { Prefix - + add link or @@ -218,7 +218,7 @@ const LandscapeList = () => { First Prefix - + to add . diff --git a/src/sharedData/visualization/components/VisualizationConfigForm/ColumnSelect.js b/src/sharedData/visualization/components/VisualizationConfigForm/ColumnSelect.js index 9f3fc19d2..17ae69c34 100644 --- a/src/sharedData/visualization/components/VisualizationConfigForm/ColumnSelect.js +++ b/src/sharedData/visualization/components/VisualizationConfigForm/ColumnSelect.js @@ -47,7 +47,7 @@ const ColumnSelect = props => { ) } > - + {t(placeholder)} {options.map((option, index) => (