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
2021-05-04 10:49:14 +10:00
2022-01-19 15:43:45 +11:00
2022-02-01 12:54:54 +11:00
2021-03-05 09:34:01 +11:00
2021-12-21 12:08:16 +11:00
2021-03-19 11:23:34 +11:00
2022-02-25 13:35:39 +11:00
2021-03-10 16:22:49 +11:00
2022-02-24 16:40:14 +11:00
2021-04-28 21:27:26 +10:00
2021-05-11 10:50:58 +10:00
2022-02-24 16:40:14 +11:00
2021-12-06 14:28:29 +11:00
2021-10-12 11:43:29 +11:00
2022-02-11 17:27:15 +11:00
2021-10-12 11:43:29 +11:00
2021-10-12 11:43:29 +11:00
2021-10-12 11:43:29 +11:00

NPM

GitHub Action Discord chat

js-waku

A JavaScript implementation of the Waku v2 protocol.

Documentation

API Documentation can also be generated locally:

git clone https://github.com/status-im/js-waku.git
cd js-waku
npm install
npm run doc

Changelog

Release changelog can be found in CHANGELOG.md.

Bugs, Questions & Features

If you encounter any bug or would like to propose new features, feel free to open an issue.

To get help, join #wakuconnect-support on Vac Discord or Telegram.

For more general discussion and latest news, join #wakuconnect on Vac Discord or Telegram.

Roadmap

You can track progress on the project board.

Contributing

See CONTRIBUTING.md.

License

Licensed and distributed under either of

or

at your option. These files may not be copied, modified, or distributed except according to those terms.

Description
JavaScript implementation of Waku v2
https://js.waku.org
Readme
Languages
TypeScript 94.5%
JavaScript 5.5%