From 1c5c816c2238aa4b18757e256799a6a8fad742bb Mon Sep 17 00:00:00 2001 From: cballevre Date: Thu, 26 Oct 2023 09:52:43 +0200 Subject: [PATCH 1/3] feat: Update cozy-client from 41.2.0 to 42.0.0 --- package.json | 2 +- src/components/Services.jsx | 5 ++--- yarn.lock | 19 ++++++++++++++----- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index a3c6836142..897a044b4a 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "homepage": "https://github.com/cozy/cozy-home#readme", "dependencies": { "@cozy/minilog": "1.0.0", - "cozy-client": "^41.2.0", + "cozy-client": "^42.0.0", "cozy-device-helper": "2.7.0", "cozy-doctypes": "1.83.8", "cozy-flags": "3.0.1", diff --git a/src/components/Services.jsx b/src/components/Services.jsx index 16e3fb16bb..54620e2414 100644 --- a/src/components/Services.jsx +++ b/src/components/Services.jsx @@ -2,7 +2,7 @@ import React, { useMemo } from 'react' import PropTypes from 'prop-types' import sortBy from 'lodash/sortBy' import { connect } from 'react-redux' -import { useClient, useAppsInMaintenance, useQuery } from 'cozy-client' +import { useAppsInMaintenance, useQuery } from 'cozy-client' import { queryConnect } from 'cozy-client' import keyBy from 'lodash/keyBy' import has from 'lodash/has' @@ -27,8 +27,7 @@ import { export const Services = ({ installedKonnectors, suggestedKonnectorsQuery }) => { const { t } = useI18n() - const client = useClient() - const appsAndKonnectorsInMaintenance = useAppsInMaintenance(client) + const appsAndKonnectorsInMaintenance = useAppsInMaintenance() const appsAndKonnectorsInMaintenanceBySlug = keyBy( appsAndKonnectorsInMaintenance, 'slug' diff --git a/yarn.lock b/yarn.lock index 807e1bb355..f5198bbc0a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9010,16 +9010,16 @@ cozy-client-js@0.20.0: pouchdb-browser "7.0.0" pouchdb-find "7.0.0" -cozy-client@^41.2.0: - version "41.2.0" - resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-41.2.0.tgz#a2d72fabe6ba1be4bf5fee39a52a953b9c1dd6c1" - integrity sha512-e/YYLE06/kpW7s9qGxEmhvILcRRLs3oZhIDyGmsQfJbmsCthfAxCc291qLQwcqdDVzG8gEi/UNfUySJhqbEAYQ== +cozy-client@^42.0.0: + version "42.0.0" + resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-42.0.0.tgz#f23d53709be264ab67fb4b5e98f9a3ec5bd292d1" + integrity sha512-rgm06z39XyFDP2pk9X+zjEgDZ3KnuNCWlvdbIfz3wAkI9+TvJbMa7D/eUREbLG5iCCT4pROcLxwpZ8rwGyN4Yw== dependencies: "@cozy/minilog" "1.0.0" "@types/jest" "^26.0.20" "@types/lodash" "^4.14.170" btoa "^1.2.1" - cozy-stack-client "^41.2.0" + cozy-stack-client "^42.0.0" date-fns "2.29.3" json-stable-stringify "^1.0.1" lodash "^4.17.13" @@ -9279,6 +9279,15 @@ cozy-stack-client@^41.2.0: mime "^2.4.0" qs "^6.7.0" +cozy-stack-client@^42.0.0: + version "42.0.0" + resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-42.0.0.tgz#3af9ff207e4361a25f609c75d40f6c238bf2ee34" + integrity sha512-ltsSdmR9WfNPc5HBJlXDW4I+w/JeCISsVgT6+CAUb6DHWqXJAtm8re2NWi8Y5d1gBLdqW+2J1fkme0YU8VXpkA== + dependencies: + detect-node "^2.0.4" + mime "^2.4.0" + qs "^6.7.0" + cozy-tsconfig@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/cozy-tsconfig/-/cozy-tsconfig-1.2.0.tgz#17e61f960f139fae4d26cbac2254b9ab632b269e" From 5ad1fb3dd3540328186bbdaebfdf4944b3b78f8e Mon Sep 17 00:00:00 2001 From: cballevre Date: Thu, 26 Oct 2023 09:59:25 +0200 Subject: [PATCH 2/3] feat: Update cozy-harvest-lib from 18.2.1 to 20.1.0 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 897a044b4a..32e12d961c 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "cozy-device-helper": "2.7.0", "cozy-doctypes": "1.83.8", "cozy-flags": "3.0.1", - "cozy-harvest-lib": "^18.2.1", + "cozy-harvest-lib": "20.1.0", "cozy-intent": "^2.3.0", "cozy-keys-lib": "^6.0.0", "cozy-logger": "1.10.0", diff --git a/yarn.lock b/yarn.lock index f5198bbc0a..8cf1ea452a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9085,10 +9085,10 @@ cozy-flags@3.0.1: dependencies: microee "^0.0.6" -cozy-harvest-lib@^18.2.1: - version "18.2.1" - resolved "https://registry.yarnpkg.com/cozy-harvest-lib/-/cozy-harvest-lib-18.2.1.tgz#1059f72b787ff8f86ad24eed5ea90ee119ecbed7" - integrity sha512-R8BsqQC0zE1k9JzUVTeKaYZGAebGLT8kYQhHzeADkC8BZ2ma587YbxFxY7MEFWJ51tfTJETogT1Q8E1AO2FaDg== +cozy-harvest-lib@20.1.0: + version "20.1.0" + resolved "https://registry.yarnpkg.com/cozy-harvest-lib/-/cozy-harvest-lib-20.1.0.tgz#703d9e9bba9bbc1f4824f44dfc84fcc8b87aad9c" + integrity sha512-P3qQy+xppzXSsxN4VZr9VW+6KHQE28T3OF3MGrCMsag2LYfypmj/KuE27rW7vfm2h5xnowaHAq+VPKfKLumPWQ== dependencies: "@cozy/minilog" "^1.0.0" "@sentry/browser" "^6.0.1" From b162c1146e4381f9c9f2e8cfe6db9eeaf6467227 Mon Sep 17 00:00:00 2001 From: cballevre Date: Thu, 26 Oct 2023 11:42:13 +0200 Subject: [PATCH 3/3] chore: Update bundlemon size --- .bundlemonrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bundlemonrc b/.bundlemonrc index 73f802e082..9b664e568d 100644 --- a/.bundlemonrc +++ b/.bundlemonrc @@ -40,7 +40,7 @@ }, { "path": "services/softDeleteOrRestoreAccounts/home.js", - "maxSize": "487 KB" + "maxSize": "490 KB" }, { "path": "services/updateAccounts/home.js",