chore: uprade @libp2p/pubsub

Removes one import of iso-random-stream.
This library brings buffer.
This commit is contained in:
fryorcraken.eth 2022-08-05 21:12:20 +10:00
parent 12ef29161a
commit d0a975fecd
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 94 additions and 18 deletions

112
package-lock.json generated
View File

@ -1483,15 +1483,15 @@
}
},
"node_modules/@libp2p/pubsub": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-3.0.3.tgz",
"integrity": "sha512-DKIkvjjX7/I+no7SAyCiK4lSs/u2FdnSaksvxkD4TocUyKqlXcDO89rYQElSHGN5HaHa59DLaClyQdzuqoLLCg==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-3.1.0.tgz",
"integrity": "sha512-VljbX3Vd1GaFWLDvEvvhKNb2SiAjIQhLVGWFaZR7kxR1A9mVA5JGqHzQvuhLaJF/nW3CgtiWVG/VPzcqp7PTJg==",
"dependencies": {
"@libp2p/components": "^2.0.0",
"@libp2p/crypto": "^1.0.0",
"@libp2p/interface-connection": "^2.0.0",
"@libp2p/interface-peer-id": "^1.0.2",
"@libp2p/interface-pubsub": "^1.0.3",
"@libp2p/interface-pubsub": "^2.0.0",
"@libp2p/interface-registrar": "^2.0.0",
"@libp2p/interfaces": "^3.0.2",
"@libp2p/logger": "^2.0.0",
@ -1501,12 +1501,12 @@
"@multiformats/multiaddr": "^10.2.0",
"abortable-iterator": "^4.0.2",
"err-code": "^3.0.1",
"iso-random-stream": "^2.0.0",
"it-length-prefixed": "^7.0.1",
"it-length-prefixed": "^8.0.2",
"it-pipe": "^2.0.3",
"it-pushable": "^3.0.0",
"multiformats": "^9.6.3",
"p-queue": "^7.2.0",
"uint8arraylist": "^2.0.0",
"uint8arrays": "^3.0.0"
},
"engines": {
@ -1514,6 +1514,22 @@
"npm": ">=7.0.0"
}
},
"node_modules/@libp2p/pubsub/node_modules/@libp2p/interface-pubsub": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-2.0.0.tgz",
"integrity": "sha512-32Eo/GG3/sitqfOrNoIc+V8aTaNrVUk6zLb8++t1tr0p8opCQfXnbJwDe/TNxhwVkfHCEJxI8NuXMHZqGZWUgA==",
"dependencies": {
"@libp2p/interface-connection": "^2.0.0",
"@libp2p/interface-peer-id": "^1.0.0",
"@libp2p/interfaces": "^3.0.0",
"it-pushable": "^3.0.0",
"uint8arraylist": "^2.0.0"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@libp2p/pubsub/node_modules/@libp2p/peer-collections": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-2.0.0.tgz",
@ -1527,11 +1543,39 @@
"npm": ">=7.0.0"
}
},
"node_modules/@libp2p/pubsub/node_modules/it-length-prefixed": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-8.0.2.tgz",
"integrity": "sha512-qYCGZ6lTaI6lcuTXUrJmVpE6clq63ULrkq1FGTxHrzexjB2cCrS/CZ5HCRDZ5IRPw33tSDUDK91S7X5S64dPyQ==",
"dependencies": {
"err-code": "^3.0.1",
"it-stream-types": "^1.0.4",
"uint8-varint": "^1.0.1",
"uint8arraylist": "^2.0.0",
"uint8arrays": "^3.0.0"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@libp2p/pubsub/node_modules/it-pushable": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.0.0.tgz",
"integrity": "sha512-Lpo9Q6wghDDoX8RyA2vIkpNckd5E0EY7RzIKwgiTPakrTmwDw7tKMx6DDJ1ZXrunYnHdKHnKSHYJL3Csya5U2w=="
},
"node_modules/@libp2p/pubsub/node_modules/uint8arraylist": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.1.tgz",
"integrity": "sha512-H3wS++iW0HYs0NPP3MNH4G/eAooZxcOYG2bje0HsoedGTzXArAe54j4k6UXqxIm23ekWwtHmiXBWGetmX/oZNQ==",
"dependencies": {
"uint8arrays": "^3.1.0"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@libp2p/topology": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@libp2p/topology/-/topology-3.0.0.tgz",
@ -11019,9 +11063,9 @@
}
},
"node_modules/uint8arrays": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.0.0.tgz",
"integrity": "sha512-HRCx0q6O9Bfbp+HHSfQQKD7wU70+lydKVt4EghkdOvlK/NlrF90z+eXV34mUd48rNvVJXwkrMSPpCATkct8fJA==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.1.0.tgz",
"integrity": "sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog==",
"dependencies": {
"multiformats": "^9.4.2"
}
@ -12854,15 +12898,15 @@
}
},
"@libp2p/pubsub": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-3.0.3.tgz",
"integrity": "sha512-DKIkvjjX7/I+no7SAyCiK4lSs/u2FdnSaksvxkD4TocUyKqlXcDO89rYQElSHGN5HaHa59DLaClyQdzuqoLLCg==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-3.1.0.tgz",
"integrity": "sha512-VljbX3Vd1GaFWLDvEvvhKNb2SiAjIQhLVGWFaZR7kxR1A9mVA5JGqHzQvuhLaJF/nW3CgtiWVG/VPzcqp7PTJg==",
"requires": {
"@libp2p/components": "^2.0.0",
"@libp2p/crypto": "^1.0.0",
"@libp2p/interface-connection": "^2.0.0",
"@libp2p/interface-peer-id": "^1.0.2",
"@libp2p/interface-pubsub": "^1.0.3",
"@libp2p/interface-pubsub": "^2.0.0",
"@libp2p/interface-registrar": "^2.0.0",
"@libp2p/interfaces": "^3.0.2",
"@libp2p/logger": "^2.0.0",
@ -12872,15 +12916,27 @@
"@multiformats/multiaddr": "^10.2.0",
"abortable-iterator": "^4.0.2",
"err-code": "^3.0.1",
"iso-random-stream": "^2.0.0",
"it-length-prefixed": "^7.0.1",
"it-length-prefixed": "^8.0.2",
"it-pipe": "^2.0.3",
"it-pushable": "^3.0.0",
"multiformats": "^9.6.3",
"p-queue": "^7.2.0",
"uint8arraylist": "^2.0.0",
"uint8arrays": "^3.0.0"
},
"dependencies": {
"@libp2p/interface-pubsub": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-2.0.0.tgz",
"integrity": "sha512-32Eo/GG3/sitqfOrNoIc+V8aTaNrVUk6zLb8++t1tr0p8opCQfXnbJwDe/TNxhwVkfHCEJxI8NuXMHZqGZWUgA==",
"requires": {
"@libp2p/interface-connection": "^2.0.0",
"@libp2p/interface-peer-id": "^1.0.0",
"@libp2p/interfaces": "^3.0.0",
"it-pushable": "^3.0.0",
"uint8arraylist": "^2.0.0"
}
},
"@libp2p/peer-collections": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-2.0.0.tgz",
@ -12890,10 +12946,30 @@
"@libp2p/peer-id": "^1.1.0"
}
},
"it-length-prefixed": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-8.0.2.tgz",
"integrity": "sha512-qYCGZ6lTaI6lcuTXUrJmVpE6clq63ULrkq1FGTxHrzexjB2cCrS/CZ5HCRDZ5IRPw33tSDUDK91S7X5S64dPyQ==",
"requires": {
"err-code": "^3.0.1",
"it-stream-types": "^1.0.4",
"uint8-varint": "^1.0.1",
"uint8arraylist": "^2.0.0",
"uint8arrays": "^3.0.0"
}
},
"it-pushable": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.0.0.tgz",
"integrity": "sha512-Lpo9Q6wghDDoX8RyA2vIkpNckd5E0EY7RzIKwgiTPakrTmwDw7tKMx6DDJ1ZXrunYnHdKHnKSHYJL3Csya5U2w=="
},
"uint8arraylist": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.1.tgz",
"integrity": "sha512-H3wS++iW0HYs0NPP3MNH4G/eAooZxcOYG2bje0HsoedGTzXArAe54j4k6UXqxIm23ekWwtHmiXBWGetmX/oZNQ==",
"requires": {
"uint8arrays": "^3.1.0"
}
}
}
},
@ -20046,9 +20122,9 @@
}
},
"uint8arrays": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.0.0.tgz",
"integrity": "sha512-HRCx0q6O9Bfbp+HHSfQQKD7wU70+lydKVt4EghkdOvlK/NlrF90z+eXV34mUd48rNvVJXwkrMSPpCATkct8fJA==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.1.0.tgz",
"integrity": "sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog==",
"requires": {
"multiformats": "^9.4.2"
}