New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/keychain

Package Overview
Dependencies
Maintainers
6
Versions
557
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/keychain - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1-34455b5f2

2

dist/src/keychain.js

@@ -166,3 +166,3 @@ /* eslint max-nested-callbacks: ["error", 5] */

async importKey(name, key) {
if (!validateKeyName(name) || name === 'self') {
if (!validateKeyName(name)) {
await randomDelay();

@@ -169,0 +169,0 @@ throw new InvalidParametersError(`Invalid key name '${name}'`);

{
"name": "@libp2p/keychain",
"version": "5.0.0",
"version": "5.0.1-34455b5f2",
"description": "Key management and cryptographically protected messages",

@@ -62,4 +62,4 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/crypto": "^5.0.0",
"@libp2p/interface": "^2.0.0",
"@libp2p/crypto": "5.0.1-34455b5f2",
"@libp2p/interface": "2.0.1-34455b5f2",
"@noble/hashes": "^1.5.0",

@@ -74,3 +74,3 @@ "asn1js": "^3.0.5",

"devDependencies": {
"@libp2p/logger": "^5.0.0",
"@libp2p/logger": "5.0.1-34455b5f2",
"aegir": "^44.0.1",

@@ -77,0 +77,0 @@ "datastore-core": "^10.0.0"

@@ -199,3 +199,3 @@ /* eslint max-nested-callbacks: ["error", 5] */

async importKey (name: string, key: PrivateKey): Promise<KeyInfo> {
if (!validateKeyName(name) || name === 'self') {
if (!validateKeyName(name)) {
await randomDelay()

@@ -202,0 +202,0 @@ throw new InvalidParametersError(`Invalid key name '${name}'`)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc