chore(deps)(deps): bump @libp2p/crypto from 1.0.17 to 2.0.8 (#1714)

Bumps [@libp2p/crypto](https://github.com/libp2p/js-libp2p) from 1.0.17 to 2.0.8.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/master/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/commits/crypto-v2.0.8)

---
updated-dependencies:
- dependency-name: "@libp2p/crypto"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-11-21 23:03:23 +01:00 committed by GitHub
parent b5e420de91
commit 4770388edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 280 deletions

303
package-lock.json generated
View File

@ -1365,20 +1365,6 @@
"npm": ">=8.7.0" "npm": ">=8.7.0"
} }
}, },
"node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/crypto": {
"version": "2.0.4",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@libp2p/interface": "^0.1.2",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"node_modules/@chainsafe/libp2p-noise": { "node_modules/@chainsafe/libp2p-noise": {
"version": "13.0.1", "version": "13.0.1",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
@ -1405,20 +1391,6 @@
"npm": ">=7.0.0" "npm": ">=7.0.0"
} }
}, },
"node_modules/@chainsafe/libp2p-noise/node_modules/@libp2p/crypto": {
"version": "2.0.4",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@libp2p/interface": "^0.1.2",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"node_modules/@chainsafe/netmask": { "node_modules/@chainsafe/netmask": {
"version": "2.0.0", "version": "2.0.0",
"license": "MIT", "license": "MIT",
@ -2205,36 +2177,24 @@
} }
}, },
"node_modules/@libp2p/crypto": { "node_modules/@libp2p/crypto": {
"version": "1.0.17", "version": "2.0.8",
"license": "Apache-2.0 OR MIT", "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.8.tgz",
"integrity": "sha512-8e5fh6bsJNpSjhrggtlm8QF+BERjelJswIjRS69aKgxp24R4z2kDM4pRYPkfQjXJDLNDtqWtKNmePgX23+QJsA==",
"dependencies": { "dependencies": {
"@libp2p/interface-keys": "^1.0.2", "@libp2p/interface": "^0.1.6",
"@libp2p/interfaces": "^3.2.0", "@noble/curves": "^1.1.0",
"@noble/ed25519": "^1.6.0", "@noble/hashes": "^1.3.1",
"@noble/secp256k1": "^1.5.4", "multiformats": "^12.0.1",
"multiformats": "^11.0.0",
"node-forge": "^1.1.0", "node-forge": "^1.1.0",
"protons-runtime": "^5.0.0", "protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3", "uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.2" "uint8arrays": "^4.0.6"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@libp2p/crypto/node_modules/multiformats": {
"version": "11.0.2",
"license": "Apache-2.0 OR MIT",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
} }
}, },
"node_modules/@libp2p/interface": { "node_modules/@libp2p/interface": {
"version": "0.1.5", "version": "0.1.6",
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-0.1.5.tgz", "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-0.1.6.tgz",
"integrity": "sha512-1sPZ0iZifINtw8RAZ6flML7InRXNkZJF/MpKmAwIFXhEFDtRvbwMSs/kihPxLgsvbBCfJiTqUuy2ki8a4p06Vg==", "integrity": "sha512-Lzc5cS/hXuoXhuAbVIxJIHLCYmfPcbU0vVgrpMoiP1Qb2Q3ETU4A46GB8s8mWXgSU6tr9RcqerUqzFYD6+OAag==",
"dependencies": { "dependencies": {
"@multiformats/multiaddr": "^12.1.5", "@multiformats/multiaddr": "^12.1.5",
"abortable-iterator": "^5.0.1", "abortable-iterator": "^5.0.1",
@ -2318,14 +2278,6 @@
"uint8arraylist": "^2.4.3" "uint8arraylist": "^2.4.3"
} }
}, },
"node_modules/@libp2p/interface-keys": {
"version": "1.0.8",
"license": "Apache-2.0 OR MIT",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@libp2p/interfaces": { "node_modules/@libp2p/interfaces": {
"version": "3.3.2", "version": "3.3.2",
"license": "Apache-2.0 OR MIT", "license": "Apache-2.0 OR MIT",
@ -2349,21 +2301,6 @@
"uint8arrays": "^4.0.6" "uint8arrays": "^4.0.6"
} }
}, },
"node_modules/@libp2p/keychain/node_modules/@libp2p/crypto": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz",
"integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==",
"dependencies": {
"@libp2p/interface": "^0.1.3",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"node_modules/@libp2p/logger": { "node_modules/@libp2p/logger": {
"version": "3.0.5", "version": "3.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.5.tgz", "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.5.tgz",
@ -2448,21 +2385,6 @@
"uint8arrays": "^4.0.6" "uint8arrays": "^4.0.6"
} }
}, },
"node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/crypto": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz",
"integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==",
"dependencies": {
"@libp2p/interface": "^0.1.3",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"node_modules/@libp2p/peer-record": { "node_modules/@libp2p/peer-record": {
"version": "6.0.6", "version": "6.0.6",
"resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.6.tgz", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.6.tgz",
@ -2479,21 +2401,6 @@
"uint8arrays": "^4.0.6" "uint8arrays": "^4.0.6"
} }
}, },
"node_modules/@libp2p/peer-record/node_modules/@libp2p/crypto": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz",
"integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==",
"dependencies": {
"@libp2p/interface": "^0.1.3",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"node_modules/@libp2p/peer-store": { "node_modules/@libp2p/peer-store": {
"version": "9.0.6", "version": "9.0.6",
"resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.6.tgz", "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.6.tgz",
@ -2535,20 +2442,6 @@
"uint8arrays": "^4.0.6" "uint8arrays": "^4.0.6"
} }
}, },
"node_modules/@libp2p/pubsub/node_modules/@libp2p/crypto": {
"version": "2.0.4",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@libp2p/interface": "^0.1.2",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"node_modules/@libp2p/utils": { "node_modules/@libp2p/utils": {
"version": "4.0.4", "version": "4.0.4",
"resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-4.0.4.tgz", "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-4.0.4.tgz",
@ -2663,16 +2556,6 @@
"url": "https://paulmillr.com/funding/" "url": "https://paulmillr.com/funding/"
} }
}, },
"node_modules/@noble/ed25519": {
"version": "1.7.3",
"funding": [
{
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
],
"license": "MIT"
},
"node_modules/@noble/hashes": { "node_modules/@noble/hashes": {
"version": "1.3.2", "version": "1.3.2",
"license": "MIT", "license": "MIT",
@ -13185,21 +13068,6 @@
"xsalsa20": "^1.1.0" "xsalsa20": "^1.1.0"
} }
}, },
"node_modules/libp2p/node_modules/@libp2p/crypto": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz",
"integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==",
"dependencies": {
"@libp2p/interface": "^0.1.3",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"node_modules/lilconfig": { "node_modules/lilconfig": {
"version": "2.1.0", "version": "2.1.0",
"license": "MIT", "license": "MIT",
@ -26044,7 +25912,7 @@
"license": "MIT OR Apache-2.0", "license": "MIT OR Apache-2.0",
"dependencies": { "dependencies": {
"@ethersproject/rlp": "^5.7.0", "@ethersproject/rlp": "^5.7.0",
"@libp2p/crypto": "^1.0.17", "@libp2p/crypto": "^2.0.8",
"@libp2p/peer-id": "^3.0.3", "@libp2p/peer-id": "^3.0.3",
"@multiformats/multiaddr": "^12.0.0", "@multiformats/multiaddr": "^12.0.0",
"@noble/secp256k1": "^1.7.1", "@noble/secp256k1": "^1.7.1",
@ -27102,21 +26970,6 @@
"protobufjs": "^7.2.4", "protobufjs": "^7.2.4",
"uint8arraylist": "^2.4.3", "uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.4" "uint8arrays": "^4.0.4"
},
"dependencies": {
"@libp2p/crypto": {
"version": "2.0.4",
"requires": {
"@libp2p/interface": "^0.1.2",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
}
} }
}, },
"@chainsafe/libp2p-noise": { "@chainsafe/libp2p-noise": {
@ -27138,21 +26991,6 @@
"protons-runtime": "^5.0.0", "protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3", "uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.4" "uint8arrays": "^4.0.4"
},
"dependencies": {
"@libp2p/crypto": {
"version": "2.0.4",
"requires": {
"@libp2p/interface": "^0.1.2",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
}
} }
}, },
"@chainsafe/netmask": { "@chainsafe/netmask": {
@ -27690,28 +27528,24 @@
} }
}, },
"@libp2p/crypto": { "@libp2p/crypto": {
"version": "1.0.17", "version": "2.0.8",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.8.tgz",
"integrity": "sha512-8e5fh6bsJNpSjhrggtlm8QF+BERjelJswIjRS69aKgxp24R4z2kDM4pRYPkfQjXJDLNDtqWtKNmePgX23+QJsA==",
"requires": { "requires": {
"@libp2p/interface-keys": "^1.0.2", "@libp2p/interface": "^0.1.6",
"@libp2p/interfaces": "^3.2.0", "@noble/curves": "^1.1.0",
"@noble/ed25519": "^1.6.0", "@noble/hashes": "^1.3.1",
"@noble/secp256k1": "^1.5.4", "multiformats": "^12.0.1",
"multiformats": "^11.0.0",
"node-forge": "^1.1.0", "node-forge": "^1.1.0",
"protons-runtime": "^5.0.0", "protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3", "uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.2" "uint8arrays": "^4.0.6"
},
"dependencies": {
"multiformats": {
"version": "11.0.2"
}
} }
}, },
"@libp2p/interface": { "@libp2p/interface": {
"version": "0.1.5", "version": "0.1.6",
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-0.1.5.tgz", "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-0.1.6.tgz",
"integrity": "sha512-1sPZ0iZifINtw8RAZ6flML7InRXNkZJF/MpKmAwIFXhEFDtRvbwMSs/kihPxLgsvbBCfJiTqUuy2ki8a4p06Vg==", "integrity": "sha512-Lzc5cS/hXuoXhuAbVIxJIHLCYmfPcbU0vVgrpMoiP1Qb2Q3ETU4A46GB8s8mWXgSU6tr9RcqerUqzFYD6+OAag==",
"requires": { "requires": {
"@multiformats/multiaddr": "^12.1.5", "@multiformats/multiaddr": "^12.1.5",
"abortable-iterator": "^5.0.1", "abortable-iterator": "^5.0.1",
@ -27783,9 +27617,6 @@
"uint8arraylist": "^2.4.3" "uint8arraylist": "^2.4.3"
} }
}, },
"@libp2p/interface-keys": {
"version": "1.0.8"
},
"@libp2p/interfaces": { "@libp2p/interfaces": {
"version": "3.3.2" "version": "3.3.2"
}, },
@ -27802,23 +27633,6 @@
"merge-options": "^3.0.4", "merge-options": "^3.0.4",
"sanitize-filename": "^1.6.3", "sanitize-filename": "^1.6.3",
"uint8arrays": "^4.0.6" "uint8arrays": "^4.0.6"
},
"dependencies": {
"@libp2p/crypto": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz",
"integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==",
"requires": {
"@libp2p/interface": "^0.1.3",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
}
} }
}, },
"@libp2p/logger": { "@libp2p/logger": {
@ -27903,23 +27717,6 @@
"protons-runtime": "^5.0.0", "protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3", "uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6" "uint8arrays": "^4.0.6"
},
"dependencies": {
"@libp2p/crypto": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz",
"integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==",
"requires": {
"@libp2p/interface": "^0.1.3",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
}
} }
}, },
"@libp2p/peer-record": { "@libp2p/peer-record": {
@ -27936,23 +27733,6 @@
"uint8-varint": "^2.0.0", "uint8-varint": "^2.0.0",
"uint8arraylist": "^2.4.3", "uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6" "uint8arrays": "^4.0.6"
},
"dependencies": {
"@libp2p/crypto": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz",
"integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==",
"requires": {
"@libp2p/interface": "^0.1.3",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
}
} }
}, },
"@libp2p/peer-store": { "@libp2p/peer-store": {
@ -27993,21 +27773,6 @@
"p-queue": "^7.3.4", "p-queue": "^7.3.4",
"uint8arraylist": "^2.4.3", "uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6" "uint8arrays": "^4.0.6"
},
"dependencies": {
"@libp2p/crypto": {
"version": "2.0.4",
"requires": {
"@libp2p/interface": "^0.1.2",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
}
} }
}, },
"@libp2p/utils": { "@libp2p/utils": {
@ -28090,9 +27855,6 @@
"@noble/hashes": "1.3.2" "@noble/hashes": "1.3.2"
} }
}, },
"@noble/ed25519": {
"version": "1.7.3"
},
"@noble/hashes": { "@noble/hashes": {
"version": "1.3.2" "version": "1.3.2"
}, },
@ -29382,7 +29144,7 @@
"version": "file:packages/enr", "version": "file:packages/enr",
"requires": { "requires": {
"@ethersproject/rlp": "^5.7.0", "@ethersproject/rlp": "^5.7.0",
"@libp2p/crypto": "^1.0.17", "@libp2p/crypto": "^2.0.8",
"@libp2p/peer-id": "^3.0.3", "@libp2p/peer-id": "^3.0.3",
"@libp2p/peer-id-factory": "^3.0.3", "@libp2p/peer-id-factory": "^3.0.3",
"@multiformats/multiaddr": "^12.0.0", "@multiformats/multiaddr": "^12.0.0",
@ -34702,23 +34464,6 @@
"uint8arrays": "^4.0.6", "uint8arrays": "^4.0.6",
"wherearewe": "^2.0.1", "wherearewe": "^2.0.1",
"xsalsa20": "^1.1.0" "xsalsa20": "^1.1.0"
},
"dependencies": {
"@libp2p/crypto": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.5.tgz",
"integrity": "sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==",
"requires": {
"@libp2p/interface": "^0.1.3",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
}
} }
}, },
"lilconfig": { "lilconfig": {

View File

@ -52,7 +52,7 @@
}, },
"dependencies": { "dependencies": {
"@ethersproject/rlp": "^5.7.0", "@ethersproject/rlp": "^5.7.0",
"@libp2p/crypto": "^1.0.17", "@libp2p/crypto": "^2.0.8",
"@libp2p/peer-id": "^3.0.3", "@libp2p/peer-id": "^3.0.3",
"@multiformats/multiaddr": "^12.0.0", "@multiformats/multiaddr": "^12.0.0",
"@noble/secp256k1": "^1.7.1", "@noble/secp256k1": "^1.7.1",