618: Bump lint-staged from 12.3.4 to 12.3.6 r=D4nte a=dependabot[bot]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.4 to 12.3.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/okonet/lint-staged/releases">lint-staged's releases</a>.</em></p>
<blockquote>
<h2>v12.3.6</h2>
<h2><a href="https://github.com/okonet/lint-staged/compare/v12.3.5...v12.3.6">12.3.6</a> (2022-03-16)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>kill other running tasks on failure (<a href="https://github-redirect.dependabot.com/okonet/lint-staged/issues/1117">#1117</a>) (<a href="34fe319862">34fe319</a>)</li>
</ul>
<h2>v12.3.5</h2>
<h2><a href="https://github.com/okonet/lint-staged/compare/v12.3.4...v12.3.5">12.3.5</a> (2022-03-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>search all configs regardless of staged files (<a href="4b605cd369">4b605cd</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="34fe319862"><code>34fe319</code></a> fix: kill other running tasks on failure (<a href="https://github-redirect.dependabot.com/okonet/lint-staged/issues/1117">#1117</a>)</li>
<li><a href="517235d5e4"><code>517235d</code></a> chore: don't use touch on windows</li>
<li><a href="531275cbdb"><code>531275c</code></a> docs: add note about <code>ng lint</code> to README.md</li>
<li><a href="fa15d686de"><code>fa15d68</code></a> refactor: extract <code>parseGitZOutput</code> util</li>
<li><a href="4b605cd369"><code>4b605cd</code></a> fix: search all configs regardless of staged files</li>
<li>See full diff in <a href="https://github.com/okonet/lint-staged/compare/v12.3.4...v12.3.6">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=12.3.4&new-version=12.3.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
615: Bump @types/secp256k1 from 4.0.2 to 4.0.3 r=D4nte a=dependabot[bot]
Bumps [`@types/secp256k1](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/secp256k1)` from 4.0.2 to 4.0.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/secp256k1">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=`@types/secp256k1&package-manager=npm_and_yarn&previous-version=4.0.2&new-version=4.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)`
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
590: Add exports field for node r=D4nte a=D4nte
While this library targets the browser, it is sometimes helpful to use
it in need for experiments.
For example: https://github.com/status-im/js-waku/pull/588
Co-authored-by: Franck Royer <franck@status.im>
589: Handle errors thrown when converting to utf-8 r=D4nte a=D4nte
`bytesToUtf8` replaced a previously used library. The previous library did not throw when failing to decode whereas `bytesToUtf8` does. Need to handle those errors.
Co-authored-by: Franck Royer <franck@status.im>
591: Get eslint to fix files in precommit git hook r=D4nte a=D4nte
We need the hook to fix things when possible.
Co-authored-by: Franck Royer <franck@status.im>
578: Add git hook to format and lint staged files r=D4nte a=D4nte
Make life easier by not having to think about running prettier.
Co-authored-by: Franck Royer <franck@status.im>
584: Improve count of relay peers r=D4nte a=D4nte
Active relay peers are peer which are part of the gossip mesh.
Which means that it's not just a peer we are connect to but a peer on
subscribed to the same pubsub topic, with a good score, part of the
mesh, etc.
Mesh maintenance is done during the gossipsub hearbeat so it's the best
time to review the count.
A store peer is any peer we are connected to that support the store
protocol, so it can be counted when a new peer is added to the store.
This does not cater for store peers that disconnect, but we are not
handling those just yet.
Co-authored-by: Franck Royer <franck@status.im>
Active relay peers are peer which are part of the gossip mesh.
Which means that it's not just a peer we are connect to but a peer on
subscribed to the same pubsub topic, with a good score, part of the
mesh, etc.
Mesh maintenance is done during the gossipsub hearbeat so it's the best
time to review the count.
A store peer is any peer we are connected to that support the store
protocol, so it can be counted when a new peer is added to the store.
This does not cater for store peers that disconnect, but we are not
handling those just yet.
581: Bump @types/node from 12.20.46 to 17.0.21 in /examples/relay-angular-chat r=D4nte a=dependabot[bot]
Bumps [`@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)` from 12.20.46 to 17.0.21.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=`@types/node&package-manager=npm_and_yarn&previous-version=12.20.46&new-version=17.0.21)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)`
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
572: Ignore patches and minor updates for examples/Add dependabot to angular-relay-chat r=D4nte a=D4nte
Too much noise.
Co-authored-by: Franck Royer <franck@status.im>