Commit Graph

1264 Commits

Author SHA1 Message Date
Franck R a6fce594e1
Merge pull request #627 from status-im/dependabot/npm_and_yarn/debug-4.3.4
Bump debug from 4.3.3 to 4.3.4
2022-03-22 19:53:53 +11:00
dependabot[bot] dceba4e81b
Bump debug from 4.3.3 to 4.3.4
Bumps [debug](https://github.com/debug-js/debug) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.3.3...4.3.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 15:31:29 +00:00
status-bors-ng[bot] aa09b49b13
Merge #626
626: Fix typo r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2022-03-21 04:08:45 +00:00
Franck Royer 6f62ef84a7
Fix typo 2022-03-21 15:07:42 +11:00
status-bors-ng[bot] bce9c156bc
Merge #623
623: Bump libp2p-websockets from 0.16.1 to 0.16.2 r=D4nte a=dependabot[bot]

Bumps [libp2p-websockets](https://github.com/libp2p/js-libp2p-websockets) from 0.16.1 to 0.16.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/libp2p/js-libp2p-websockets/releases">libp2p-websockets's releases</a>.</em></p>
<blockquote>
<h2>v0.16.2</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/libp2p/js-libp2p-websockets/blob/master/CHANGELOG.md">libp2p-websockets's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/libp2p/js-libp2p-websockets/compare/v0.16.1...v0.16.2">0.16.2</a> (2021-09-28)</h2>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b70e7231ad"><code>b70e723</code></a> chore: release version v0.16.2</li>
<li><a href="0c8bb6865b"><code>0c8bb68</code></a> chore: update contributors</li>
<li><a href="a7f243736a"><code>a7f2437</code></a> chore: update ipfs-utils (<a href="https://github-redirect.dependabot.com/libp2p/js-libp2p-websockets/issues/136">#136</a>)</li>
<li>See full diff in <a href="https://github.com/libp2p/js-libp2p-websockets/compare/v0.16.1...v0.16.2">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~achingbrain">achingbrain</a>, a new releaser for libp2p-websockets since your current version.</p>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=libp2p-websockets&package-manager=npm_and_yarn&previous-version=0.16.1&new-version=0.16.2)](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-21 03:43:36 +00:00
status-bors-ng[bot] e87ecc3531
Merge #625
625: Add JavaScript Relay example r=D4nte a=D4nte

Simple JavaScript app that uses Waku Relay.

Could be subject for a new guide (we don't have a pure JS guide at the moment).

Co-authored-by: Franck Royer <franck@status.im>
2022-03-21 01:34:18 +00:00
Franck Royer 98c1257585
Add JavaScript Relay example 2022-03-21 12:33:31 +11:00
Franck Royer c44071fe5c
Rename Store JavaScript example 2022-03-21 12:26:39 +11:00
Franck R 21d2532a60
Merge pull request #624 from status-im/release/0.19.2 2022-03-21 11:06:28 +11:00
Franck Royer 483b11723c
Release 0.19.2 2022-03-21 10:36:27 +11:00
dependabot[bot] f686f55d60
Bump libp2p-websockets from 0.16.1 to 0.16.2
Bumps [libp2p-websockets](https://github.com/libp2p/js-libp2p-websockets) from 0.16.1 to 0.16.2.
- [Release notes](https://github.com/libp2p/js-libp2p-websockets/releases)
- [Changelog](https://github.com/libp2p/js-libp2p-websockets/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libp2p/js-libp2p-websockets/compare/v0.16.1...v0.16.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 15:26:47 +00:00
Franck R eaca592806
Merge pull request #619 from status-im/dependabot/npm_and_yarn/puppeteer-13.5.1
Bump puppeteer from 13.3.1 to 13.5.1
2022-03-18 20:13:34 +11:00
dependabot[bot] 616612de5f
Bump puppeteer from 13.3.1 to 13.5.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.3.1 to 13.5.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.3.1...v13.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 07:42:50 +00:00
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