From 8a5dbca2f18be92e5dcefaf723103f2ba33b3d55 Mon Sep 17 00:00:00 2001 From: Colin Platt Date: Wed, 5 Jul 2023 10:27:50 +0200 Subject: [PATCH] linting --- .npmrc | 3 +- package.json | 2 +- pnpm-lock.yaml | 130 +++++++++++++++++++++++++++---------------------- 3 files changed, 76 insertions(+), 59 deletions(-) diff --git a/.npmrc b/.npmrc index 8db35758..19be10eb 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -strict-peer-dependencies = false \ No newline at end of file +strict-peer-dependencies=false +auto-install-peers=true diff --git a/package.json b/package.json index d5ffc6df..d0c93539 100644 --- a/package.json +++ b/package.json @@ -48,4 +48,4 @@ "esbuild": "^0.15.13" } } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 514c4264..0fad1e3a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,7 +34,7 @@ importers: version: 0.25.8 abitype: specifier: 0.8.7 - version: 0.8.7(typescript@5.0.4) + version: 0.8.7(typescript@5.1.6) dedent: specifier: ^0.7.0 version: 0.7.0 @@ -58,7 +58,7 @@ importers: version: 1.5.12 msw: specifier: ^0.49.3 - version: 0.49.3(typescript@5.0.4) + version: 0.49.3(typescript@5.1.6) rome: specifier: ^12.1.2 version: 12.1.2 @@ -67,10 +67,10 @@ importers: version: 2.8.1 tsup: specifier: ^6.5.0 - version: 6.5.0(typescript@5.0.4) + version: 6.5.0(typescript@5.1.6) typescript: specifier: ^5.0.4 - version: 5.0.4 + version: 5.1.6 vitest: specifier: ^0.25.8 version: 0.25.8(@vitest/ui@0.25.8)(jsdom@20.0.3) @@ -79,7 +79,7 @@ importers: dependencies: typescript: specifier: '>=5.0.4' - version: 5.0.4 + version: 5.1.6 packages/connectors: dependencies: @@ -91,13 +91,13 @@ importers: version: 1.1.0 '@safe-global/safe-apps-provider': specifier: ^0.17.1 - version: 0.17.1(typescript@5.0.4) + version: 0.17.1(typescript@5.1.6) '@safe-global/safe-apps-sdk': specifier: ^8.0.0 - version: 8.0.0(typescript@5.0.4) + version: 8.0.0(typescript@5.1.6) '@walletconnect/ethereum-provider': specifier: 2.8.6 - version: 2.8.6(@walletconnect/modal@2.5.9)(lokijs@1.5.12) + version: 2.8.6(@walletconnect/modal@2.5.9) '@walletconnect/legacy-provider': specifier: ^2.0.0 version: 2.0.0 @@ -106,23 +106,23 @@ importers: version: 2.5.9(react@18.2.0) '@walletconnect/utils': specifier: 2.8.6 - version: 2.8.6(lokijs@1.5.12) + version: 2.8.6 abitype: specifier: 0.8.7 - version: 0.8.7(typescript@5.0.4) + version: 0.8.7(typescript@5.1.6) eventemitter3: specifier: ^4.0.7 version: 4.0.7 typescript: specifier: '>=5.0.4' - version: 5.0.4 + version: 5.1.6 devDependencies: '@wagmi/chains': specifier: workspace:* version: link:../chains viem: specifier: ^1.0.0 - version: 1.0.0(typescript@5.0.4) + version: 1.0.0(typescript@5.1.6) packages: @@ -658,10 +658,10 @@ packages: dev: true optional: true - /@safe-global/safe-apps-provider@0.17.1(typescript@5.0.4): + /@safe-global/safe-apps-provider@0.17.1(typescript@5.1.6): resolution: {integrity: sha512-lYfRqrbbK1aKU1/UGkYWc/X7PgySYcumXKc5FB2uuwAs2Ghj8uETuW5BrwPqyjBknRxutFbTv+gth/JzjxAhdQ==} dependencies: - '@safe-global/safe-apps-sdk': 8.0.0(typescript@5.0.4) + '@safe-global/safe-apps-sdk': 8.0.0(typescript@5.1.6) events: 3.3.0 transitivePeerDependencies: - bufferutil @@ -671,11 +671,11 @@ packages: - zod dev: false - /@safe-global/safe-apps-sdk@8.0.0(typescript@5.0.4): + /@safe-global/safe-apps-sdk@8.0.0(typescript@5.1.6): resolution: {integrity: sha512-gYw0ki/EAuV1oSyMxpqandHjnthZjYYy+YWpTAzf8BqfXM3ItcZLpjxfg+3+mXW8HIO+3jw6T9iiqEXsqHaMMw==} dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.7.0 - viem: 1.0.0(typescript@5.0.4) + viem: 1.0.0(typescript@5.1.6) transitivePeerDependencies: - bufferutil - encoding @@ -973,7 +973,7 @@ packages: sirv: 2.0.2 dev: true - /@wagmi/chains@1.1.0(typescript@5.0.4): + /@wagmi/chains@1.1.0(typescript@5.1.6): resolution: {integrity: sha512-pWZlxBk0Ql8E7DV8DwqlbBpOyUdaG9UDlQPBxJNALuEK1I0tbQ3AVvSDnlsEIt06UPmPo5o27gzs3hwPQ/A+UA==} peerDependencies: typescript: '>=5.0.4' @@ -981,9 +981,9 @@ packages: typescript: optional: true dependencies: - typescript: 5.0.4 + typescript: 5.1.6 - /@walletconnect/core@2.8.6(lokijs@1.5.12): + /@walletconnect/core@2.8.6: resolution: {integrity: sha512-rnSqm1KJLcww/v6+UH8JeibQkJ3EKgyUDPfEK0stSEkrIUIcXaFlq3Et8S+vgV8bPhI0MVUhAhFL5OJZ3t2ryg==} dependencies: '@walletconnect/heartbeat': 1.2.1 @@ -991,14 +991,14 @@ packages: '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/jsonrpc-ws-connection': 1.0.11 - '@walletconnect/keyvaluestorage': 1.0.2(lokijs@1.5.12) + '@walletconnect/keyvaluestorage': 1.0.2 '@walletconnect/logger': 2.0.1 '@walletconnect/relay-api': 1.0.9 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.8.6(lokijs@1.5.12) - '@walletconnect/utils': 2.8.6(lokijs@1.5.12) + '@walletconnect/types': 2.8.6 + '@walletconnect/utils': 2.8.6 events: 3.3.0 lodash.isequal: 4.5.0 uint8arrays: 3.1.0 @@ -1034,7 +1034,7 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/ethereum-provider@2.8.6(@walletconnect/modal@2.5.9)(lokijs@1.5.12): + /@walletconnect/ethereum-provider@2.8.6(@walletconnect/modal@2.5.9): resolution: {integrity: sha512-wUvJEsXTLmMihrOhQxAs1k9hrWEOT03QBn54P9r9GpJbJ1zEfIjQaXFfi8uup6gldhH+vN38PsbOiLyv/6d3qQ==} peerDependencies: '@walletconnect/modal': '>=2' @@ -1047,10 +1047,10 @@ packages: '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.5.9(react@18.2.0) - '@walletconnect/sign-client': 2.8.6(lokijs@1.5.12) - '@walletconnect/types': 2.8.6(lokijs@1.5.12) - '@walletconnect/universal-provider': 2.8.6(lokijs@1.5.12) - '@walletconnect/utils': 2.8.6(lokijs@1.5.12) + '@walletconnect/sign-client': 2.8.6 + '@walletconnect/types': 2.8.6 + '@walletconnect/universal-provider': 2.8.6 + '@walletconnect/utils': 2.8.6 events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1164,7 +1164,7 @@ packages: - utf-8-validate dev: false - /@walletconnect/keyvaluestorage@1.0.2(lokijs@1.5.12): + /@walletconnect/keyvaluestorage@1.0.2: resolution: {integrity: sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ==} peerDependencies: '@react-native-async-storage/async-storage': 1.x @@ -1175,7 +1175,6 @@ packages: lokijs: optional: true dependencies: - lokijs: 1.5.12 safe-json-utils: 1.1.1 tslib: 1.14.1 dev: false @@ -1312,17 +1311,17 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/sign-client@2.8.6(lokijs@1.5.12): + /@walletconnect/sign-client@2.8.6: resolution: {integrity: sha512-rOFTKTHP7oJfXgYHX7+SdB8VbcsEE3ZFG/bMdmZboWaBim1mrY3vUyDdKrNr0VgI3AwBiEQezQDfKxBX0pMSQQ==} dependencies: - '@walletconnect/core': 2.8.6(lokijs@1.5.12) + '@walletconnect/core': 2.8.6 '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.0.1 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.8.6(lokijs@1.5.12) - '@walletconnect/utils': 2.8.6(lokijs@1.5.12) + '@walletconnect/types': 2.8.6 + '@walletconnect/utils': 2.8.6 events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1337,13 +1336,13 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/types@2.8.6(lokijs@1.5.12): + /@walletconnect/types@2.8.6: resolution: {integrity: sha512-Z/PFa3W1XdxeTcCtdR6lUsFgZfU/69wWJBPyclPwn7cu1+eriuCr6XZXQpJjib3flU+HnwHiXeUuqZaheehPxw==} dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-types': 1.0.3 - '@walletconnect/keyvaluestorage': 1.0.2(lokijs@1.5.12) + '@walletconnect/keyvaluestorage': 1.0.2 '@walletconnect/logger': 2.0.1 events: 3.3.0 transitivePeerDependencies: @@ -1351,7 +1350,7 @@ packages: - lokijs dev: false - /@walletconnect/universal-provider@2.8.6(lokijs@1.5.12): + /@walletconnect/universal-provider@2.8.6: resolution: {integrity: sha512-ln1RVv8+oHu9enOJ/oVkjiarneB+4vJCk16znOklIN2JtDHwB8iObDHlQH3UE6ynNTw1iRvaGuPR4g+YdIfB6w==} dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.7 @@ -1359,9 +1358,9 @@ packages: '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.0.1 - '@walletconnect/sign-client': 2.8.6(lokijs@1.5.12) - '@walletconnect/types': 2.8.6(lokijs@1.5.12) - '@walletconnect/utils': 2.8.6(lokijs@1.5.12) + '@walletconnect/sign-client': 2.8.6 + '@walletconnect/types': 2.8.6 + '@walletconnect/utils': 2.8.6 events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1371,7 +1370,7 @@ packages: - utf-8-validate dev: false - /@walletconnect/utils@2.8.6(lokijs@1.5.12): + /@walletconnect/utils@2.8.6: resolution: {integrity: sha512-wcy6e5+COYo7tfNnW8YqidnATdJDIW6vDiWWE7A1F78Sl/VflkaevB9cIgyn8eLdxC1SxXgGoeC2oLP90nnHJg==} dependencies: '@stablelib/chacha20poly1305': 1.0.1 @@ -1382,7 +1381,7 @@ packages: '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.8.6(lokijs@1.5.12) + '@walletconnect/types': 2.8.6 '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 @@ -1429,7 +1428,7 @@ packages: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} dev: true - /abitype@0.8.7(typescript@5.0.4): + /abitype@0.8.7(typescript@5.1.6): resolution: {integrity: sha512-wQ7hV8Yg/yKmGyFpqrNZufCxbszDe5es4AZGYPBitocfSqXtjrTG9JMWFcc4N30ukl2ve48aBTwt7NJxVQdU3w==} peerDependencies: typescript: '>=5.0.4' @@ -1438,7 +1437,7 @@ packages: zod: optional: true dependencies: - typescript: 5.0.4 + typescript: 5.1.6 /acorn-globals@7.0.1: resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} @@ -1681,6 +1680,7 @@ packages: requiresBuild: true dependencies: node-gyp-build: 4.5.0 + dev: false /bundle-require@3.1.2(esbuild@0.15.18): resolution: {integrity: sha512-Of6l6JBAxiyQ5axFxUM6dYeP/W7X2Sozeo/4EYB9sJhL+dqL7TKjg+shwxp6jlu/6ZSERfsYtIpSJ1/x3XkAEA==} @@ -3163,7 +3163,7 @@ packages: peerDependencies: ws: '*' dependencies: - ws: 8.12.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) + ws: 8.12.0 /istanbul-lib-coverage@3.2.0: resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==} @@ -3264,7 +3264,7 @@ packages: whatwg-encoding: 2.0.0 whatwg-mimetype: 3.0.0 whatwg-url: 11.0.0 - ws: 8.12.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) + ws: 8.12.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - bufferutil @@ -3432,6 +3432,7 @@ packages: /lokijs@1.5.12: resolution: {integrity: sha512-Q5ALD6JiS6xAUWCwX3taQmgwxyveCtIIuL08+ml0nHwT3k0S/GIFJN+Hd38b1qYIMaE5X++iqsqWVksz7SYW+Q==} + dev: true /loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} @@ -3585,7 +3586,7 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: false - /msw@0.49.3(typescript@5.0.4): + /msw@0.49.3(typescript@5.1.6): resolution: {integrity: sha512-kRCbDNbNnRq5LC1H/NUceZlrPAvSrMH6Or0mirIuH69NY84xwDruPn/hkXTovIK1KwDwbk+ZdoSyJlpiekLxEA==} engines: {node: '>=14'} hasBin: true @@ -3614,7 +3615,7 @@ packages: path-to-regexp: 6.2.1 strict-event-emitter: 0.4.4 type-fest: 2.19.0 - typescript: 5.0.4 + typescript: 5.1.6 yargs: 17.6.0 transitivePeerDependencies: - encoding @@ -3661,6 +3662,7 @@ packages: /node-gyp-build@4.5.0: resolution: {integrity: sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==} hasBin: true + dev: false /normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} @@ -4723,7 +4725,7 @@ packages: /tslib@2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} - /tsup@6.5.0(typescript@5.0.4): + /tsup@6.5.0(typescript@5.1.6): resolution: {integrity: sha512-36u82r7rYqRHFkD15R20Cd4ercPkbYmuvRkz3Q1LCm5BsiFNUgpo36zbjVhCOgvjyxNBWNKHsaD5Rl8SykfzNA==} engines: {node: '>=14'} hasBin: true @@ -4753,7 +4755,7 @@ packages: source-map: 0.8.0-beta.0 sucrase: 3.28.0 tree-kill: 1.2.2 - typescript: 5.0.4 + typescript: 5.1.6 transitivePeerDependencies: - supports-color - ts-node @@ -4816,9 +4818,9 @@ packages: is-typedarray: 1.0.0 dev: false - /typescript@5.0.4: - resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} - engines: {node: '>=12.20'} + /typescript@5.1.6: + resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} + engines: {node: '>=14.17'} hasBin: true /uint8arrays@3.1.0: @@ -4872,6 +4874,7 @@ packages: requiresBuild: true dependencies: node-gyp-build: 4.5.0 + dev: false /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -4920,7 +4923,7 @@ packages: use-sync-external-store: 1.2.0(react@18.2.0) dev: false - /viem@1.0.0(typescript@5.0.4): + /viem@1.0.0(typescript@5.1.6): resolution: {integrity: sha512-JqdO5TYSuv+/cV9xOmHUKB6qXeyLHtl3gcYYHnfFstfdzivfBttmKtwHiZPdffvcr5DqKsYFT5LLrFnfz5vfLQ==} dependencies: '@adraffy/ens-normalize': 1.9.0 @@ -4928,10 +4931,10 @@ packages: '@noble/hashes': 1.3.0 '@scure/bip32': 1.3.0 '@scure/bip39': 1.2.0 - '@wagmi/chains': 1.1.0(typescript@5.0.4) - abitype: 0.8.7(typescript@5.0.4) + '@wagmi/chains': 1.1.0(typescript@5.1.6) + abitype: 0.8.7(typescript@5.1.6) isomorphic-ws: 5.0.0(ws@8.12.0) - ws: 8.12.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) + ws: 8.12.0 transitivePeerDependencies: - bufferutil - typescript @@ -5167,6 +5170,18 @@ packages: optional: true dev: false + /ws@8.12.0: + resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + /ws@8.12.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==} engines: {node: '>=10.0.0'} @@ -5181,6 +5196,7 @@ packages: dependencies: bufferutil: 4.0.7 utf-8-validate: 5.0.10 + dev: false /xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} @@ -5283,4 +5299,4 @@ packages: settings: autoInstallPeers: true - excludeLinksFromLockfile: false \ No newline at end of file + excludeLinksFromLockfile: false