Commit Graph

1451 Commits

Author SHA1 Message Date
Franck R e55177d78d
Merge pull request #621 from dao/master
Fix node compatibility
2022-03-18 18:41:55 +11:00
Franck Royer d2e9a57604
Update changelog 2022-03-18 14:47:25 +11:00
Dylan Oliver ff0cc1bc38
example relay-reactjs-chat app works importing whole package rather than subpath 2022-03-18 14:41:33 +11:00
Dylan Oliver 9cf2924f7b
check presence of window before using it and appease ts types 2022-03-18 14:41:32 +11:00
Dylan Oliver 565ffb18fb
fix package.json exports to work in node as well as browser 2022-03-18 14:41:23 +11:00
status-bors-ng[bot] d879b68529
Merge #618
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>
2022-03-17 07:46:55 +00:00
dependabot[bot] 81499a97fd
Bump lint-staged from 12.3.4 to 12.3.6
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.4 to 12.3.6.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.3.4...v12.3.6)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-17 03:45:02 +00:00
status-bors-ng[bot] 7f2de93143
Merge #615
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>
2022-03-17 03:38:56 +00:00
dependabot[bot] bf72114f51
Bump @types/jasmine from 3.10.3 to 4.0.0 in /examples/relay-angular-chat (#617)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 11:09:44 +11:00
dependabot[bot] 21bc6c92f7
Bump @types/secp256k1 from 4.0.2 to 4.0.3
Bumps [@types/secp256k1](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/secp256k1) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/secp256k1)

---
updated-dependencies:
- dependency-name: "@types/secp256k1"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 15:25:17 +00:00
dependabot[bot] 5de498fe11
Bump libp2p-mplex from 0.10.5 to 0.10.7 (#614)
Bumps [libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex) from 0.10.5 to 0.10.7.
- [Release notes](https://github.com/libp2p/js-libp2p-mplex/releases)
- [Changelog](https://github.com/libp2p/js-libp2p-mplex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libp2p/js-libp2p-mplex/compare/v0.10.5...v0.10.7)

---
updated-dependencies:
- dependency-name: libp2p-mplex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 08:41:12 +11:00
Franck R c806135810
Revert "Use `BigInt` constructor instead of happening `n` as it seems to have better browser support. (#611)" (#613)
This reverts commit f4e81dd29c.
2022-03-13 20:33:47 +11:00
Franck R f4e81dd29c
Use `BigInt` constructor instead of happening `n` as it seems to have better browser support. (#611) 2022-03-13 10:11:04 +11:00
Franck R ac337855aa
Release 0.19.1 (#610) 2022-03-10 16:25:51 +11:00
Franck R b904114d1f
Export protocols (#609) 2022-03-10 14:00:09 +11:00
Franck R ed23332965
Allow passing multiaddr to `bootstrap.peers` (#608) 2022-03-09 18:38:28 +11:00
Franck R e4024d5c72
Release 0.19.0 (#607) 2022-03-09 14:29:35 +11:00
Franck R e649f772a7
`WakuMessage.timestamp` field must use nanoseconds (#606) 2022-03-09 12:00:02 +11:00
Franck R 2798376776
Remove ecies-geth (#598)
* test: specify encryption method

Makes debugging easier.

* Fix log typo

* Remove ecies-geth

Start removal of elliptic dependency and move towards exclusive usage to
CryptoSubtle.
2022-03-06 23:20:59 +11:00
Franck R ad5b3ddc7f
New `pubsub_topic` field on the `cursor` of Waku Store queries (#596) 2022-03-04 16:47:23 +11:00
status-bors-ng[bot] 09c269da7f
Merge #590
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>
2022-03-04 03:50:55 +00:00
Franck Royer fe30449861
Add exports field for node
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
2022-03-04 14:49:33 +11:00
status-bors-ng[bot] acdd95b449
Merge #589
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>
2022-03-02 02:42:49 +00:00
status-bors-ng[bot] 6b0b71f08b
Merge #591
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>
2022-03-02 02:35:57 +00:00
dependabot[bot] 58b85543f8
Bump secp256k1 from 4.0.2 to 4.0.3 (#592)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 13:34:50 +11:00
status-bors-ng[bot] f224c8320c
Merge #587
587: Update contributing r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2022-03-01 10:58:52 +00:00
Franck Royer 8029200984
Get eslint to fix files in precommit git hook
We need the hook to fix things when possible.
2022-03-01 17:04:03 +11:00
Franck Royer 067ebebdf0
Remove unnecessary log
As it is unlikely to decode as utf-8.
2022-03-01 16:58:15 +11:00
Franck Royer f73afc5244
Handle errors thrown when converting to utf-8 2022-03-01 16:58:15 +11:00
dependabot[bot] 35414eaffd
Bump ts-proto from 1.106.1 to 1.106.2 (#585)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 15:33:51 +11:00
Franck Royer 13fcba52af
Update contributing 2022-03-01 15:27:35 +11:00
status-bors-ng[bot] b97adcadcf
Merge #578
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>
2022-02-28 09:55:08 +00:00
status-bors-ng[bot] f58f8c6d7b
Merge #584
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>
2022-02-28 09:48:41 +00:00
Franck Royer e6d3c2f595
Improve count of relay peers
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.
2022-02-28 17:23:30 +11:00
status-bors-ng[bot] 88a92e277c
Merge #582
582: Bump fast-check from 2.17.0 to 2.22.0 r=D4nte a=dependabot[bot]

Bumps [fast-check](https://github.com/dubzzz/fast-check) from 2.17.0 to 2.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dubzzz/fast-check/releases">fast-check's releases</a>.</em></p>
<blockquote>
<h2>Move to next generation of properties and unlock shrink on user definable examples</h2>
<p>[<a href="https://github.com/dubzzz/fast-check/tree/v2.19.0">Code</a>][<a href="https://github.com/dubzzz/fast-check/compare/v2.18.0...v2.19.0">Diff</a>]</p>
<h2>Features</h2>
<ul>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2391">PR#2391</a>) Automatically shrink user defined examples</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2393">PR#2393</a>) Support shrink on examples with unshrinkable parts</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2395">PR#2395</a>) Better shrinker for arrays requested minLength</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2423">PR#2423</a>) Make fixed sized arrays as biased as tuples</li>
</ul>
<h2>Fixes</h2>
<ul>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2371">PR#2371</a>) Refactor: Declare API and converters for the next gen property</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2372">PR#2372</a>) Refactor: Migrate runners to rely on next gen properties</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2373">PR#2373</a>) Refactor: Migrate UnbiasedProperty to next gen property</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2374">PR#2374</a>) Refactor: Migrate IgnoreEqualValuesProperty to next gen property</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2375">PR#2375</a>) Refactor: Migrate TimeoutProperty to next gen property</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2376">PR#2376</a>) Refactor: Migrate SkipAfterProperty to next gen property</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2387">PR#2387</a>) Refactor: Produce next gen properties via decorateProperty</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2388">PR#2388</a>) Refactor: Migrate property builders to produce next gen</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2377">PR#2377</a>) Typo: Typo in error thrown when invalid arguments passed to frequency</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2394">PR#2394</a>) Bug: Properly re-wrap values on shrink in properties</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2399">PR#2399</a>) Test: Ensure correct min/max for float32/64Arrays in tests</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2402">PR#2402</a>) Test: Reduce the maximal minLength requested in tests</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2415">PR#2415</a>) Refactor: Update the way we use flags for mixedCase</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2416">PR#2416</a>) Refactor: Do not favor numeric values over others in json arbitraries</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2403">PR#2403</a>) Test: Better asserts of shrinks by going deeper in path</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2417">PR#2417</a>) Bug: Unmapper function of hexa was not unmapping properly</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2421">PR#2421</a>) Bug: Accept already cloneable values as output of .map</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2424">PR#2424</a>) CI: Run tests with verbose flag enabled</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2426">PR#2426</a>) Doc: Document shrink of user definable values</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2427">PR#2427</a>) Test: Stop flakiness on legacy tests of float/double</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/dubzzz/fast-check/blob/main/CHANGELOG.md">fast-check's changelog</a>.</em></p>
<blockquote>
<h1>2.22.0</h1>
<p><em>Introduce the notion of <code>size</code> to avoid having to specify <code>maxLength</code> not being real constraints</em>
[<a href="https://github.com/dubzzz/fast-check/tree/v2.22.0">Code</a>][<a href="https://github.com/dubzzz/fast-check/compare/v2.21.0...v2.22.0">Diff</a>]</p>
<h2>Features</h2>
<ul>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2652">PR#2652</a>) Stop defaulting <code>maxLength</code> when not provided on arrays</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2664">PR#2664</a>) Support shrink of any length with <code>stringOf</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2666">PR#2666</a>) Introduce the notion of <code>size</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2668">PR#2668</a>) Introduce the notion of relative <code>size</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2669">PR#2669</a>) Add ability to configure a base size</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2670">PR#2670</a>) Add built-in support for <code>size</code> to <code>set</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2671">PR#2671</a>) Add ability to configure constraints on <code>dictionary</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2673">PR#2673</a>) Add support for size onto object arbitraries</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2672">PR#2672</a>) Add support for size onto string arbitraries</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2690">PR#2690</a>) Add support for <code>size</code> onto <code>sparseArray</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2699">PR#2699</a>) Forward size of <code>anything</code> to underlying <code>sparseArray</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2701">PR#2701</a>) Make ipV6 independent of size global settings</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2700">PR#2700</a>) Add support for size on typed arrays</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2703">PR#2703</a>) Add support for <code>size</code> onto <code>lorem</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2712">PR#2712</a>) Add support for sized webUrl and related</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2728">PR#2728</a>) Add support for <code>size</code> on <code>commands</code></li>
</ul>
<h2>Fixes</h2>
<ul>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2674">PR#2674</a>) Bug: <code>fc.object</code> not applying constraint <code>maxKeys</code> at root</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2675">PR#2675</a>) Bug: Don't shrink array with trailing hole when not supporting it</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2709">PR#2709</a>) Bug: Cap the max generated length with max length</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2725">PR#2725</a>) Bug: Pass length related constraints to internals in <code>anything</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2727">PR#2727</a>) Bug: Pass size to any key and default value in <code>anything</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2639">PR#2639</a>) CI: Properly define the tag when publishing versions</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2661">PR#2661</a>) CI: Support fire emoji in changelog</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2660">PR#2660</a>) Clean: Remove redundant computation in <code>sparseArray</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2649">PR#2649</a>) Refactor: Split maxLength into two facets inside the internal for arrays</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2676">PR#2676</a>) Test: Add more tests around shrinker of <code>sparseArray</code></li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2702">PR#2702</a>) Test: More stable test on StrictlyEqualSet</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2710">PR#2710</a>) Test: Add more tests on size related helpers</li>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2729">PR#2729</a>) Test: Stabilize tests of <code>adapter</code> by switching to <code>Object.is</code></li>
</ul>
<hr />
<h1>2.21.0</h1>
<p><em>More performant arbitrary for arrays of unique values</em>
[<a href="https://github.com/dubzzz/fast-check/tree/v2.21.0">Code</a>][<a href="https://github.com/dubzzz/fast-check/compare/v2.20.0...v2.21.0">Diff</a>]</p>
<h2>Features</h2>
<ul>
<li>(<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/pull/2600">PR#2600</a>) Improve performance of <code>set</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c4a4c8d246"><code>c4a4c8d</code></a> 2.22.0</li>
<li><a href="350d5179fc"><code>350d517</code></a> 🔖 Update CHANGELOG.md for 2.22.0 (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2730">#2730</a>)</li>
<li><a href="b8127104bf"><code>b812710</code></a>  Stabilize tests of <code>adapter</code> by switching to <code>Object.is</code> (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2729">#2729</a>)</li>
<li><a href="4b3e581740"><code>4b3e581</code></a>  Add support for <code>size</code> on <code>commands</code> (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2728">#2728</a>)</li>
<li><a href="0d35c4c048"><code>0d35c4c</code></a> 🐛 Pass size to any key and default value in <code>anything</code> (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2727">#2727</a>)</li>
<li><a href="9f1f1d90a1"><code>9f1f1d9</code></a> ⬆️ Bump rollup in /test/esm/rollup-with-import (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2722">#2722</a>)</li>
<li><a href="ddc8da87ff"><code>ddc8da8</code></a> ⬆️ Bump actions/github-script from 5 to 6 (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2720">#2720</a>)</li>
<li><a href="5082c8f0f8"><code>5082c8f</code></a> ⬆️ Bump esbuild in /test/esm/esbuild-with-require (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2724">#2724</a>)</li>
<li><a href="6b27c4373f"><code>6b27c43</code></a> 🐛 Pass length related constraints to internals in <code>anything</code> (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2725">#2725</a>)</li>
<li><a href="ea64e1dad6"><code>ea64e1d</code></a> ⬆️ Bump follow-redirects in /.github/actions/deploy-netlify (<a href="https://github-redirect.dependabot.com/dubzzz/fast-check/issues/2723">#2723</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/dubzzz/fast-check/compare/v2.17.0...v2.22.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fast-check&package-manager=npm_and_yarn&previous-version=2.17.0&new-version=2.22.0)](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>
2022-02-28 05:09:45 +00:00
dependabot[bot] 61a2453b20
Bump fast-check from 2.17.0 to 2.22.0
Bumps [fast-check](https://github.com/dubzzz/fast-check) from 2.17.0 to 2.22.0.
- [Release notes](https://github.com/dubzzz/fast-check/releases)
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dubzzz/fast-check/compare/v2.17.0...v2.22.0)

---
updated-dependencies:
- dependency-name: fast-check
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 15:34:03 +00:00
status-bors-ng[bot] 782cf10419
Merge #581
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>
2022-02-25 09:00:54 +00:00
dependabot[bot] 53c80e2787
Bump chai from 4.3.4 to 4.3.6 (#580)
Bumps [chai](https://github.com/chaijs/chai) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v4.3.4...v4.3.6)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 19:36:34 +11:00
dependabot[bot] 0bcf7ed3aa
Bump @types/node in /examples/relay-angular-chat
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.46 to 17.0.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 03:26:03 +00:00
Franck Royer 0bbefe70f3
Add git hook to format & lint file 2022-02-25 14:18:46 +11:00
Franck Royer 61c89b30e5
Remove prettier ignore file 2022-02-25 14:18:46 +11:00
status-bors-ng[bot] 105ff6db6c
Merge #572
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>
2022-02-25 03:17:13 +00:00
Franck Royer baadcc8d82
Add dependabot for relay-angular-chat 2022-02-25 14:16:21 +11:00
Franck Royer c9652727ff
Add jemboh to reviewers 2022-02-25 14:15:04 +11:00
Franck Royer a27e91c251
Ignore patches and minor updates for examples 2022-02-25 14:15:03 +11:00
status-bors-ng[bot] e116fc2499
Merge #574
574: Setup bors r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2022-02-25 03:00:09 +00:00
Franck Royer 9942d5462c
Correct jobs names 2022-02-25 13:35:39 +11:00
dependabot[bot] 5164ab13e9
Bump eslint-plugin-import from 2.25.3 to 2.25.4 (#577)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 12:40:01 +11:00
Franck R d838f53c78
Release 0.18.0 (#576) 2022-02-24 16:40:14 +11:00
Franck R a488988f37
Implement Waku Store 2.0.0-beta4 (#566) 2022-02-24 16:25:58 +11:00