From ccfb47ec0c8a34286ddb2bb0cfb2f8811c9cb097 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 08:51:36 +0000 Subject: [PATCH 1/2] deps: update dependency electron to v27 --- package.json | 4 ++-- pnpm-lock.yaml | 45 ++++++++++++++++++++------------------------- 2 files changed, 22 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 6470bb8a..d52ee8b7 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "name": "Julien Jean Malard-Adam", "url": "https://github.com/julienmalard" }, - "version": "0.2.1", + "version": "0.2.2", "main": "packages/main/dist/index.cjs", "scripts": { "build": "pnpm run build:main && pnpm run build:preload && pnpm run build:renderer", @@ -47,7 +47,7 @@ "@vitest/coverage-istanbul": "^0.34.2", "@vue/test-utils": "2.4.1", "cross-env": "7.0.3", - "electron": "26.0.0", + "electron": "27.0.0", "electron-builder": "24.6.3", "eslint": "8.47.0", "eslint-plugin-vue": "9.17.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c54a9a7..107b9c2e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ dependencies: version: 0.1.13 '@constl/mandataire-electron-principal': specifier: ^0.2.13 - version: 0.2.13(@constl/ipa@0.9.2)(@constl/mandataire@0.1.13)(@constl/serveur@0.3.2)(electron@26.0.0) + version: 0.2.13(@constl/ipa@0.9.2)(@constl/mandataire@0.1.13)(@constl/serveur@0.3.2)(electron@27.0.0) '@constl/mandataire-electron-rendu': specifier: ^0.2.13 version: 0.2.13 @@ -176,8 +176,8 @@ devDependencies: specifier: 7.0.3 version: 7.0.3 electron: - specifier: 26.0.0 - version: 26.0.0 + specifier: 27.0.0 + version: 27.0.0 electron-builder: specifier: 24.6.3 version: 24.6.3 @@ -673,7 +673,7 @@ packages: - supports-color - utf-8-validate - /@constl/mandataire-electron-principal@0.2.13(@constl/ipa@0.9.2)(@constl/mandataire@0.1.13)(@constl/serveur@0.3.2)(electron@26.0.0): + /@constl/mandataire-electron-principal@0.2.13(@constl/ipa@0.9.2)(@constl/mandataire@0.1.13)(@constl/serveur@0.3.2)(electron@27.0.0): resolution: {integrity: sha512-SN5isKwITS6juikhBLyO/DXGr7eeT7nu4Uj7/TllK/fEBZS0gzhl8bvIhe8A1btXz9BBc5+Esn9enmUOhi560A==} peerDependencies: '@constl/ipa': ^0.8.1 @@ -684,7 +684,7 @@ packages: '@constl/ipa': 0.9.2(wrtc@0.4.7) '@constl/mandataire': 0.1.13 '@constl/serveur': 0.3.2(@constl/ipa@0.9.2) - electron: 26.0.0 + electron: 27.0.0 semaphore-async-await: 1.5.1 tslib: 2.6.2 uuid: 9.0.0 @@ -3630,9 +3630,9 @@ packages: /@types/cacheable-request@6.0.3: resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==} dependencies: - '@types/http-cache-semantics': 4.0.1 + '@types/http-cache-semantics': 4.0.2 '@types/keyv': 3.1.4 - '@types/node': 20.5.3 + '@types/node': 20.8.2 '@types/responselike': 1.0.0 /@types/chai-subset@1.3.3: @@ -3658,7 +3658,7 @@ packages: /@types/dns-packet@5.6.0: resolution: {integrity: sha512-EYkl1Vh2hDLAJPF0pI9IxbphuTkxQVotWy35Dc281znIMY//eOOyIqG6qQJArzxt26itYEyoY81nrKflK3LnFQ==} dependencies: - '@types/node': 20.5.3 + '@types/node': 20.8.2 /@types/estree@1.0.1: resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} @@ -3670,15 +3670,11 @@ packages: /@types/fs-extra@9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 20.5.3 + '@types/node': 20.8.2 dev: true - /@types/http-cache-semantics@4.0.1: - resolution: {integrity: sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==} - /@types/http-cache-semantics@4.0.2: resolution: {integrity: sha512-FD+nQWA2zJjh4L9+pFXqWOi0Hs1ryBCfI+985NjluQ1p8EYtoLvjLOKidXBtZ4/IcxDX4o8/E8qDS3540tNliw==} - dev: true /@types/js-cookie@3.0.3: resolution: {integrity: sha512-Xe7IImK09HP1sv2M/aI+48a20VX+TdRJucfq4vfRVy6nWN8PYPOEnlMRSgxJAgYQIXJVL8dZ4/ilAM7dWNaOww==} @@ -3691,7 +3687,7 @@ packages: /@types/keyv@3.1.4: resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} dependencies: - '@types/node': 20.5.3 + '@types/node': 20.8.2 /@types/lodash@4.14.197: resolution: {integrity: sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==} @@ -3711,7 +3707,7 @@ packages: resolution: {integrity: sha512-A2PmB8MRcNVEkw6wzGT5rtBHqyHOVjiRMkJH+zpJKXipSi+GGkHg6JjNFApDiYK9WefJqkVG0taln1VMl4TGfw==} dependencies: '@types/dns-packet': 5.6.0 - '@types/node': 20.5.3 + '@types/node': 20.8.2 /@types/node@18.17.8: resolution: {integrity: sha512-Av/7MqX/iNKwT9Tr60V85NqMnsmh8ilfJoBlIVibkXfitk9Q22D9Y5mSpm+FvG5DET7EbVfB40bOiLzKgYFgPw==} @@ -3721,7 +3717,6 @@ packages: /@types/node@20.8.2: resolution: {integrity: sha512-Vvycsc9FQdwhxE3y3DzeIxuEJbWGDsnrxvMADzTDF/lcdR9/K+AQIeAghTQsHtotg/q0j3WEOYS/jQgSdWue3w==} - dev: true /@types/node@8.10.66: resolution: {integrity: sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==} @@ -3733,7 +3728,7 @@ packages: resolution: {integrity: sha512-ULqvZNGMv0zRFvqn8/4LSPtnmN4MfhlPNtJCTpKuIIxGVGZ2rYWzFXrvEBoh9CVyqSE7D6YFRJ1hydLHI6kbWw==} requiresBuild: true dependencies: - '@types/node': 20.5.3 + '@types/node': 20.8.2 xmlbuilder: 15.1.1 dev: true optional: true @@ -3745,7 +3740,7 @@ packages: /@types/responselike@1.0.0: resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} dependencies: - '@types/node': 20.5.3 + '@types/node': 20.8.2 /@types/retry@0.12.1: resolution: {integrity: sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==} @@ -3784,7 +3779,7 @@ packages: resolution: {integrity: sha512-CHzgNU3qYBnp/O4S3yv2tXPlvMTq0YWSTVg2/JYLqWZGHwwgJGAwd00poay/11asPq8wLFwHzubyInqHIFmmiw==} requiresBuild: true dependencies: - '@types/node': 20.5.3 + '@types/node': 20.8.2 optional: true /@typescript-eslint/eslint-plugin@6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.47.0)(typescript@5.1.6): @@ -6031,8 +6026,8 @@ packages: dev: true optional: true - /electron@26.0.0: - resolution: {integrity: sha512-x57bdCaDvgnlc41VOm/UWihJCCiI3OxJKiBgB/e5F7Zd6avo+61mO6IzQS7Bu/k/a1KPjou25EUORR6UPKznBQ==} + /electron@27.0.0: + resolution: {integrity: sha512-mr3Zoy82l8XKK/TgguE5FeNeHZ9KHXIGIpUMjbjZWIREfAv+X2Q3vdX6RG0Pmi1K23AFAxANXQezIHBA2Eypwg==} engines: {node: '>= 12.20.55'} hasBin: true requiresBuild: true @@ -10845,7 +10840,7 @@ packages: '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 '@types/long': 4.0.2 - '@types/node': 20.5.3 + '@types/node': 20.8.2 long: 4.0.0 /protobufjs@7.2.5: @@ -10863,7 +10858,7 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 20.5.3 + '@types/node': 20.8.2 long: 5.2.3 /protons-runtime@4.0.2(uint8arraylist@2.4.3): @@ -12471,7 +12466,7 @@ packages: dependencies: assert-plus: 1.0.0 core-util-is: 1.0.2 - extsprintf: 1.3.0 + extsprintf: 1.4.1 dev: true optional: true @@ -12862,7 +12857,7 @@ packages: /wide-align@1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} dependencies: - string-width: 1.0.2 + string-width: 4.2.3 /widest-line@4.0.1: resolution: {integrity: sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==} From 9453bb1a7d47961d236f2e1a6e2d51156dd631e2 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 16 Oct 2023 08:52:47 +0000 Subject: [PATCH 2/2] style: formatter le code --- packages/renderer/src/components/InitialiserCompte.vue | 6 +++--- packages/renderer/src/components/bds/CarteBd.vue | 2 +- packages/renderer/src/components/communs/ImageEditable.vue | 2 +- .../renderer/src/components/compte/InviterDispositif.vue | 1 - .../src/components/membres/ModifierInfoContactMembre.vue | 3 ++- .../src/components/nu\303\251es/NouvelleNu\303\251e.vue" | 2 +- packages/renderer/src/vues/PageCompte.vue | 2 +- "packages/renderer/src/vues/donn\303\251es/PageBD.vue" | 2 +- "packages/renderer/src/vues/donn\303\251es/PageTableau.vue" | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/renderer/src/components/InitialiserCompte.vue b/packages/renderer/src/components/InitialiserCompte.vue index f5d0b976..338f37d5 100644 --- a/packages/renderer/src/components/InitialiserCompte.vue +++ b/packages/renderer/src/components/InitialiserCompte.vue @@ -94,7 +94,7 @@ (comptesEnLigne.length ? t('accueil.initialiserCompte.indiceComptePasVu') : t('accueil.initialiserCompte.indiceRechercheComptes')) + - t('accueil.initialiserCompte.indiceEssaieDeConnecter') + t('accueil.initialiserCompte.indiceEssaieDeConnecter') }}

@@ -369,7 +369,7 @@ const ajusterNoms = (nms: {[lng: string]: string}) => { }; // Image -const imageSélectionnée = ref< {contenu: ArrayBuffer, fichier: string}>(); +const imageSélectionnée = ref<{contenu: ArrayBuffer; fichier: string}>(); const srcImgProfil = computed(() => { if (imageSélectionnée.value) { return URL.createObjectURL(new Blob([imageSélectionnée.value.contenu], {type: 'image'})); @@ -379,7 +379,7 @@ const srcImgProfil = computed(() => { }); const imgDefaut = obtImageDéco('profil'); -const imageChangée = (img?: {contenu: ArrayBuffer, fichier: string}) => { +const imageChangée = (img?: {contenu: ArrayBuffer; fichier: string}) => { imageSélectionnée.value = img; }; diff --git a/packages/renderer/src/components/bds/CarteBd.vue b/packages/renderer/src/components/bds/CarteBd.vue index 0a3ecd17..b3ec565c 100644 --- a/packages/renderer/src/components/bds/CarteBd.vue +++ b/packages/renderer/src/components/bds/CarteBd.vue @@ -271,7 +271,7 @@ const tableaux = ref(); enregistrerÉcoute( constl?.bds.suivreTableauxBd({ idBd: props.id, - f: x => tableaux.value = x, + f: x => (tableaux.value = x), }), ); diff --git a/packages/renderer/src/components/communs/ImageEditable.vue b/packages/renderer/src/components/communs/ImageEditable.vue index f7c4eeea..075e936c 100644 --- a/packages/renderer/src/components/communs/ImageEditable.vue +++ b/packages/renderer/src/components/communs/ImageEditable.vue @@ -103,7 +103,7 @@ const props = defineProps<{ editable: boolean; }>(); const émettre = defineEmits<{ - (é: 'imageChangee', image?: {contenu: ArrayBuffer, fichier: string}): void; + (é: 'imageChangee', image?: {contenu: ArrayBuffer; fichier: string}): void; }>(); const {useI18n} = கிளிமூக்கை_உபயோகி(); diff --git a/packages/renderer/src/components/compte/InviterDispositif.vue b/packages/renderer/src/components/compte/InviterDispositif.vue index b0018ff6..ad149a59 100644 --- a/packages/renderer/src/components/compte/InviterDispositif.vue +++ b/packages/renderer/src/components/compte/InviterDispositif.vue @@ -282,7 +282,6 @@ watchEffect(async () => { await révoquerInvitation(); } }); -