libp2p / js-libp2p-webrtc-star

libp2p WebRTC transport that includes a discovery mechanism provided by the signalling-star
https://libp2p.io
Other
320 stars 96 forks source link

chore(deps): bump multiaddr from 8.1.2 to 9.0.1 #324

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps multiaddr from 8.1.2 to 9.0.1.

Release notes

Sourced from multiaddr's releases.

v9.0.1

Bug Fixes

v9.0.0

Features

BREAKING CHANGES

  • entry point uses named exports
// before

const multiaddr = require('multiaddr') multiaddr.resolvers multiaddr.protocols

// after

const {multiaddr , Multiaddr, protocols, resolvers} = = require('multiaddr') Multiaddr.resolvers Multiaddr.protocols

  • Multiaddr is a normal class now
  • toOptions output changed to match node
// before
multiaddr('/ip4/127.0.0.1/tcp/4001').toOptions()
{ family: 'ipv4', host: '127.0.0.1', transport: 'tcp', port: 4001 }

// after new Multiaddr('/ip4/127.0.0.1/tcp/4001').toOptions() { family: 4, host: '127.0.0.1', transport: 'tcp', port: 4001 }

  • fromNodeAddress and nodeAddress inputs/outputs now match
// before the family type was not the same between them
multiaddr('/ip4/127.0.0.1/tcp/4001').nodeAddress()
{family: 4, address: '127.0.0.1', port: '4001'}

multiaddr.fromNodeAddress({family: 'IPv4', address: '127.0.0.1', port: '4001'}, 'tcp') <Multiaddr 047f000001060fa1 - /ip4/127.0.0.1/tcp/4001> </tr></table>

... (truncated)

Changelog

Sourced from multiaddr's changelog.

9.0.1 (2021-04-08)

Bug Fixes

9.0.0 (2021-04-08)

Features

BREAKING CHANGES

  • entry point uses named exports
// before

const multiaddr = require('multiaddr') multiaddr.resolvers multiaddr.protocols

// after

const {multiaddr , Multiaddr, protocols, resolvers} = = require('multiaddr') Multiaddr.resolvers Multiaddr.protocols

  • Multiaddr is a normal class now
  • toOptions output changed to match node
// before
multiaddr('/ip4/127.0.0.1/tcp/4001').toOptions()
{ family: 'ipv4', host: '127.0.0.1', transport: 'tcp', port: 4001 }

// after new Multiaddr('/ip4/127.0.0.1/tcp/4001').toOptions() { family: 4, host: '127.0.0.1', transport: 'tcp', port: 4001 }

  • fromNodeAddress and nodeAddress inputs/outputs now match
// before the family type was not the same between them
multiaddr('/ip4/127.0.0.1/tcp/4001').nodeAddress()
{family: 4, address: '127.0.0.1', port: '4001'}
</tr></table> 

... (truncated)

Commits


Dependabot compatibility score

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 commands and options
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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Looks like multiaddr is up-to-date now, so this is no longer needed.