Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade multiaddr from 8.1.2 to 10.0.1 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade multiaddr from 8.1.2 to 10.0.1.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 5 versions ahead of your current version.
  • The recommended version was released 5 months ago, on 2021-08-19.
Release notes
Package name: multiaddr
  • 10.0.1 - 2021-08-19
    No content.
  • 10.0.0 - 2021-07-06

    chore

    BREAKING CHANGES

    • uses the CID class from the new multiformats module
  • 9.0.2 - 2021-06-23
    No content.
  • 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'}

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

    // after
    new Multiaddr('/ip4/127.0.0.1/tcp/4001').nodeAddress()
    {family: 4, address: '127.0.0.1', port: 4001}

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




  • 8.1.2 - 2020-12-11

    Bug Fixes

    • tell bundlers to return false for node dns module (#163) (0ac20ba)
from multiaddr GitHub release notes
Commit messages
Package name: multiaddr

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant