ChainSafe / js-libp2p-gossipsub

TypeScript implementation of Gossipsub
Apache License 2.0
145 stars 43 forks source link

chore: upgrade deps + linting #430

Closed maschad closed 11 months ago

maschad commented 1 year ago

While upgrading a few of the eslint-plugins I was noticing that it was throwing invalid linting errors.

if we are using aegir for JS project management I think it's more efficient to utilize it's linting feature as well as opposed to trying to configure custom plugins, we also benefit from it's dep-check to remove unused dependencies.

what-the-diff[bot] commented 1 year ago

PR Summary

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 85.12% and project coverage change: +0.11 :tada:

Comparison is base (324c693) 82.96% compared to head (8b4e000) 83.07%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #430 +/- ## ========================================== + Coverage 82.96% 83.07% +0.11% ========================================== Files 48 49 +1 Lines 11896 11963 +67 Branches 1282 1296 +14 ========================================== + Hits 9869 9938 +69 + Misses 2027 2025 -2 ``` | [Impacted Files](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe) | Coverage Δ | | |---|---|---| | [src/metrics.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL21ldHJpY3MudHM=) | `19.44% <26.37%> (-0.84%)` | :arrow_down: | | [src/message-cache.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL21lc3NhZ2UtY2FjaGUudHM=) | `77.83% <82.35%> (ø)` | | | [src/index.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL2luZGV4LnRz) | `70.38% <82.51%> (+0.22%)` | :arrow_up: | | [src/score/scoreMetrics.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL3Njb3JlL3Njb3JlTWV0cmljcy50cw==) | `79.53% <83.33%> (ø)` | | | [src/utils/multiaddr.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL3V0aWxzL211bHRpYWRkci50cw==) | `85.18% <83.33%> (-1.78%)` | :arrow_down: | | [src/types.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL3R5cGVzLnRz) | `93.45% <88.88%> (-1.13%)` | :arrow_down: | | [src/tracer.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL3RyYWNlci50cw==) | `77.90% <89.47%> (+0.89%)` | :arrow_up: | | [src/utils/time-cache.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL3V0aWxzL3RpbWUtY2FjaGUudHM=) | `83.09% <90.00%> (ø)` | | | [src/utils/buildRawMessage.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL3V0aWxzL2J1aWxkUmF3TWVzc2FnZS50cw==) | `91.37% <90.47%> (-0.84%)` | :arrow_down: | | [src/score/peer-score.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL3Njb3JlL3BlZXItc2NvcmUudHM=) | `85.96% <93.33%> (+0.02%)` | :arrow_up: | | ... and [33 more](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/430?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.