js-libp2p icon indicating copy to clipboard operation
js-libp2p copied to clipboard

deps: @libp2p/webrtc depends on deprecated packages

Open SgtPooki opened this issue 2 years ago • 1 comments

We should remove the dependencies on deprecated packages.

I'm working on removing all the old ipld/ipfs deps from ipld-explorer-components and saw the following when npm installing:

npm WARN deprecated [email protected]: This module has been superseded by the multiformats module

I ran npm why to determine what was up:

╰─ ✔ ❯ npm why multibase
[email protected]
node_modules/multibase
  multibase@"^4.0.1" from [email protected]
  node_modules/multihashes
    multihashes@"^4.0.3" from @libp2p/[email protected]
    node_modules/@libp2p/webrtc
      @libp2p/webrtc@"^4.0.0" from the root project
    multihashes@"^4.0.3" from @libp2p/[email protected]
    node_modules/helia/node_modules/@libp2p/webrtc
      @libp2p/webrtc@"^3.1.3" from [email protected]
      node_modules/helia
        helia@"^2.1.0" from the root project

╭─    ~/c/work/p/ipfs/ipld-explorer-components    deps/refresh *4 ?4 
╰─ ✔ ❯ npm why multihashes
[email protected]
node_modules/multihashes
  multihashes@"^4.0.3" from @libp2p/[email protected]
  node_modules/@libp2p/webrtc
    @libp2p/webrtc@"^4.0.0" from the root project
  multihashes@"^4.0.3" from @libp2p/[email protected]
  node_modules/helia/node_modules/@libp2p/webrtc
    @libp2p/webrtc@"^3.1.3" from [email protected]
    node_modules/helia
      helia@"^2.1.0" from the root project

SgtPooki avatar Nov 29 '23 23:11 SgtPooki

Waiting for #2522 to land

dhuseby avatar May 07 '24 16:05 dhuseby