Skip to content

Commit

Permalink
fix: remove extra deps
Browse files Browse the repository at this point in the history
Remove extra/add missing deps shown by ipfs/aegir#1426

Depends on #2339
  • Loading branch information
achingbrain committed Dec 30, 2023
1 parent 3687f1e commit 20c1a53
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 36 deletions.
2 changes: 1 addition & 1 deletion packages/connection-encrypter-plaintext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"dependencies": {
"@libp2p/interface": "^1.1.0",
"@libp2p/peer-id": "^4.0.3",
"@multiformats/multiaddr": "^12.1.10",
"it-protobuf-stream": "^1.1.1",
"it-stream-types": "^2.0.1",
"protons-runtime": "^5.0.0",
Expand All @@ -63,6 +62,7 @@
"@libp2p/interface-compliance-tests": "^5.1.0",
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"@multiformats/multiaddr": "^12.1.10",
"aegir": "^41.0.2",
"protons": "^7.3.0",
"sinon": "^17.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/kad-dht/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@
"@multiformats/multiaddr": "^12.1.10",
"@types/sinon": "^17.0.0",
"any-signal": "^4.1.1",
"datastore-core": "^9.0.1",
"hashlru": "^2.3.0",
"interface-datastore": "^8.2.0",
"it-all": "^3.0.2",
"it-drain": "^3.0.2",
"it-length": "^3.0.1",
"it-length-prefixed": "^9.0.3",
Expand All @@ -78,7 +76,6 @@
"it-pipe": "^3.0.1",
"it-protobuf-stream": "^1.0.2",
"it-pushable": "^3.2.1",
"it-stream-types": "^2.0.1",
"it-take": "^3.0.1",
"multiformats": "^13.0.0",
"p-defer": "^4.0.0",
Expand All @@ -100,12 +97,15 @@
"@types/lodash.range": "^3.2.6",
"@types/which": "^3.0.0",
"aegir": "^41.0.2",
"datastore-core": "^9.0.1",
"datastore-level": "^10.0.0",
"delay": "^6.0.0",
"execa": "^8.0.1",
"it-all": "^3.0.2",
"it-filter": "^3.0.1",
"it-last": "^3.0.3",
"it-pair": "^2.0.6",
"it-stream-types": "^2.0.1",
"lodash.random": "^3.2.0",
"lodash.range": "^3.2.0",
"p-retry": "^6.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/keychain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@
"@libp2p/peer-id": "^4.0.3",
"interface-datastore": "^8.2.0",
"merge-options": "^3.0.4",
"multiformats": "^13.0.0",
"sanitize-filename": "^1.6.3",
"uint8arrays": "^5.0.0"
},
"devDependencies": {
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"aegir": "^41.0.2",
"datastore-core": "^9.1.1",
"multiformats": "^13.0.0"
"datastore-core": "^9.1.1"
}
}
23 changes: 11 additions & 12 deletions packages/libp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,27 +94,16 @@
"@libp2p/peer-id-factory": "^4.0.2",
"@libp2p/peer-store": "^10.0.4",
"@libp2p/utils": "^5.1.1",
"@multiformats/mafmt": "^12.1.6",
"@multiformats/multiaddr": "^12.1.10",
"@multiformats/multiaddr-matcher": "^1.1.0",
"any-signal": "^4.1.1",
"datastore-core": "^9.0.1",
"delay": "^6.0.0",
"interface-datastore": "^8.2.0",
"it-all": "^3.0.2",
"it-drain": "^3.0.2",
"it-map": "^3.0.4",
"it-merge": "^3.0.0",
"it-parallel": "^3.0.6",
"it-pipe": "^3.0.1",
"it-stream-types": "^2.0.1",
"merge-options": "^3.0.4",
"multiformats": "^13.0.0",
"p-defer": "^4.0.0",
"p-queue": "^8.0.0",
"private-ip": "^3.0.1",
"rate-limiter-flexible": "^4.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^5.0.0"
},
"devDependencies": {
Expand All @@ -126,12 +115,22 @@
"@libp2p/plaintext": "^1.0.9",
"@libp2p/tcp": "^9.0.9",
"@libp2p/websockets": "^8.0.9",
"@multiformats/mafmt": "^12.1.6",
"@multiformats/multiaddr-matcher": "^1.1.0",
"aegir": "^41.0.2",
"delay": "^6.0.0",
"it-all": "^3.0.2",
"it-drain": "^3.0.2",
"it-map": "^3.0.4",
"it-pipe": "^3.0.1",
"it-pushable": "^3.2.1",
"it-stream-types": "^2.0.1",
"p-defer": "^4.0.0",
"p-event": "^6.0.0",
"p-wait-for": "^5.0.2",
"sinon": "^17.0.0",
"sinon-ts": "^2.0.0"
"sinon-ts": "^2.0.0",
"uint8arraylist": "^2.4.3"
},
"browser": {
"./dist/src/connection-manager/constants.js": "./dist/src/connection-manager/constants.browser.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/multistream-select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"@libp2p/interface": "^1.1.0",
"it-length-prefixed": "^9.0.3",
"it-length-prefixed-stream": "^1.1.1",
"it-pipe": "^3.0.1",
"it-stream-types": "^2.0.1",
"p-defer": "^4.0.0",
"race-signal": "^1.0.2",
Expand All @@ -75,6 +74,7 @@
"it-all": "^3.0.3",
"it-drain": "^3.0.5",
"it-pair": "^2.0.6",
"it-pipe": "^3.0.1",
"p-timeout": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/peer-discovery-mdns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
},
"dependencies": {
"@libp2p/interface": "^1.1.0",
"@libp2p/interface-internal": "^1.0.4",
"@libp2p/peer-id": "^4.0.3",
"@libp2p/utils": "^5.1.1",
"@multiformats/multiaddr": "^12.1.10",
Expand All @@ -59,7 +60,6 @@
},
"devDependencies": {
"@libp2p/interface-compliance-tests": "^5.1.0",
"@libp2p/interface-internal": "^1.0.4",
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"aegir": "^41.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-id-factory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
"@libp2p/crypto": "^3.0.3",
"@libp2p/interface": "^1.1.0",
"@libp2p/peer-id": "^4.0.3",
"multiformats": "^13.0.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^5.0.0"
},
"devDependencies": {
"aegir": "^41.0.2",
"multiformats": "^13.0.0",
"protons": "^7.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/peer-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"@libp2p/interface": "^1.1.0",
"@libp2p/peer-collections": "^5.1.2",
"@libp2p/peer-id": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"@libp2p/peer-record": "^7.0.3",
"@multiformats/multiaddr": "^12.1.10",
"interface-datastore": "^8.2.0",
Expand All @@ -74,6 +73,7 @@
},
"devDependencies": {
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"@types/sinon": "^17.0.0",
"aegir": "^41.0.2",
"datastore-core": "^9.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-autonat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"@libp2p/interface": "^1.1.0",
"@libp2p/interface-internal": "^1.0.4",
"@libp2p/peer-id": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"@multiformats/multiaddr": "^12.1.10",
"it-first": "^3.0.3",
"it-length-prefixed": "^9.0.3",
Expand All @@ -66,7 +67,6 @@
},
"devDependencies": {
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"aegir": "^41.0.2",
"it-all": "^3.0.3",
"it-pushable": "^3.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-identify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"@libp2p/peer-record": "^7.0.3",
"@multiformats/multiaddr": "^12.1.10",
"@multiformats/multiaddr-matcher": "^1.1.0",
"it-length-prefixed": "^9.0.3",
"it-protobuf-stream": "^1.0.2",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
Expand All @@ -70,6 +69,7 @@
"aegir": "^41.0.2",
"delay": "^6.0.0",
"it-drain": "^3.0.3",
"it-length-prefixed": "^9.0.3",
"it-pair": "^2.0.6",
"it-pushable": "^3.2.1",
"protons": "^7.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-ping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
"@libp2p/crypto": "^3.0.3",
"@libp2p/interface": "^1.1.0",
"@libp2p/interface-internal": "^1.0.4",
"@libp2p/peer-id-factory": "^4.0.2",
"@multiformats/multiaddr": "^12.1.10",
"it-first": "^3.0.3",
"it-pipe": "^3.0.1",
"uint8arrays": "^5.0.0"
},
"devDependencies": {
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"aegir": "^41.0.2",
"it-byte-stream": "^1.0.1",
"it-pair": "^2.0.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/stream-multiplexer-mplex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"dependencies": {
"@libp2p/interface": "^1.1.0",
"@libp2p/utils": "^5.1.1",
"benchmark": "^2.1.4",
"it-pipe": "^3.0.1",
"it-pushable": "^3.2.1",
"it-stream-types": "^2.0.1",
"rate-limiter-flexible": "^4.0.0",
Expand All @@ -75,6 +75,7 @@
"@libp2p/interface-compliance-tests": "^5.1.0",
"@libp2p/logger": "^4.0.3",
"aegir": "^41.0.2",
"benchmark": "^2.1.4",
"cborg": "^4.0.3",
"delay": "^6.0.0",
"iso-random-stream": "^2.0.2",
Expand All @@ -83,7 +84,6 @@
"it-foreach": "^2.0.2",
"it-map": "^3.0.3",
"it-pair": "^2.0.6",
"it-pipe": "^3.0.1",
"p-defer": "^4.0.0",
"random-int": "^3.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/transport-circuit-relay-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,12 @@
"@multiformats/mafmt": "^12.1.6",
"@multiformats/multiaddr": "^12.1.10",
"any-signal": "^4.1.1",
"delay": "^6.0.0",
"it-protobuf-stream": "^1.0.2",
"it-stream-types": "^2.0.1",
"multiformats": "^13.0.0",
"p-defer": "^4.0.0",
"p-retry": "^6.1.0",
"protons-runtime": "^5.0.0",
"race-signal": "^1.0.2",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^5.0.0"
},
Expand All @@ -76,12 +74,14 @@
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"aegir": "^41.0.2",
"delay": "^6.0.0",
"it-drain": "^3.0.3",
"it-pair": "^2.0.6",
"it-pushable": "^3.2.1",
"it-to-buffer": "^4.0.3",
"p-wait-for": "^5.0.2",
"protons": "^7.3.0",
"race-signal": "^1.0.2",
"sinon": "^17.0.0",
"sinon-ts": "^2.0.0"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/transport-webrtc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,16 @@
"@chainsafe/libp2p-noise": "^14.0.0",
"@libp2p/interface": "^1.1.0",
"@libp2p/interface-internal": "^1.0.4",
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id": "^4.0.3",
"@libp2p/utils": "^5.1.1",
"@multiformats/mafmt": "^12.1.6",
"@multiformats/multiaddr": "^12.1.10",
"@multiformats/multiaddr-matcher": "^1.1.0",
"detect-browser": "^5.3.0",
"it-length-prefixed": "^9.0.3",
"it-pipe": "^3.0.1",
"it-protobuf-stream": "^1.0.2",
"it-pushable": "^3.2.1",
"it-stream-types": "^2.0.1",
"it-to-buffer": "^4.0.2",
"multiformats": "^13.0.0",
"multihashes": "^4.0.3",
"node-datachannel": "^0.5.3",
Expand All @@ -81,6 +78,7 @@
"@chainsafe/libp2p-yamux": "^6.0.1",
"@libp2p/circuit-relay-v2": "^1.0.9",
"@libp2p/interface-compliance-tests": "^5.1.0",
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"@libp2p/websockets": "^8.0.9",
"@types/sinon": "^17.0.0",
Expand All @@ -90,6 +88,8 @@
"it-length": "^3.0.2",
"it-map": "^3.0.3",
"it-pair": "^2.0.6",
"it-pipe": "^3.0.1",
"it-to-buffer": "^4.0.2",
"libp2p": "^1.1.0",
"p-retry": "^6.1.0",
"protons": "^7.3.0",
Expand Down
6 changes: 2 additions & 4 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,28 +112,26 @@
"dependencies": {
"@chainsafe/is-ip": "^2.0.2",
"@libp2p/interface": "^1.1.0",
"@libp2p/peer-collections": "^5.1.2",
"@libp2p/logger": "^4.0.3",
"@multiformats/multiaddr": "^12.1.10",
"@multiformats/multiaddr-matcher": "^1.1.0",
"get-iterator": "^2.0.1",
"is-loopback-addr": "^2.0.1",
"it-pushable": "^3.2.2",
"it-stream-types": "^2.0.1",
"p-queue": "^8.0.0",
"p-defer": "^4.0.0",
"private-ip": "^3.0.1",
"race-signal": "^1.0.1",
"uint8arraylist": "^2.4.3"
},
"devDependencies": {
"@libp2p/logger": "^4.0.3",
"@libp2p/peer-id-factory": "^4.0.2",
"aegir": "^41.0.2",
"delay": "^6.0.0",
"it-all": "^3.0.3",
"it-drain": "^3.0.5",
"it-pair": "^2.0.6",
"it-pipe": "^3.0.1",
"p-defer": "^4.0.0",
"sinon": "^17.0.1",
"sinon-ts": "^2.0.0",
"uint8arrays": "^5.0.0"
Expand Down

0 comments on commit 20c1a53

Please sign in to comment.