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

@chainsafe/libp2p-noise

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainsafe/libp2p-noise - npm Package Compare versions

Comparing version 11.0.0 to 11.0.1

2

dist/src/utils.js

@@ -49,3 +49,3 @@ import { unmarshalPublicKey, unmarshalPrivateKey } from '@libp2p/crypto/keys';

if (!payloadPeerId.equals(remotePeer)) {
throw new Error("Peer ID doesn't match libp2p public key.");
throw new Error(`Payload identity key ${payloadPeerId.toString()} does not match expected remote peer ${remotePeer.toString()}`);
}

@@ -52,0 +52,0 @@ const generatedPayload = getHandshakePayload(noiseStaticKey);

{
"name": "@chainsafe/libp2p-noise",
"version": "11.0.0",
"version": "11.0.1",
"author": "ChainSafe <info@chainsafe.io>",

@@ -70,8 +70,8 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/crypto": "^1.0.0",
"@libp2p/interface-connection-encrypter": "^3.0.0",
"@libp2p/interface-keys": "^1.0.2",
"@libp2p/interface-metrics": "^4.0.2",
"@libp2p/crypto": "^1.0.11",
"@libp2p/interface-connection-encrypter": "^3.0.5",
"@libp2p/interface-keys": "^1.0.6",
"@libp2p/interface-metrics": "^4.0.4",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/logger": "^2.0.0",
"@libp2p/logger": "^2.0.5",
"@libp2p/peer-id": "^2.0.0",

@@ -81,3 +81,3 @@ "@stablelib/chacha20poly1305": "^1.0.1",

"@stablelib/sha256": "^1.0.1",
"@stablelib/x25519": "^1.0.1",
"@stablelib/x25519": "^1.0.3",
"it-length-prefixed": "^8.0.2",

@@ -93,6 +93,6 @@ "it-pair": "^2.0.2",

"devDependencies": {
"@libp2p/daemon-client": "^3.0.1",
"@libp2p/daemon-server": "^3.0.1",
"@libp2p/daemon-client": "^4.0.1",
"@libp2p/daemon-server": "^4.0.1",
"@libp2p/interface-connection-encrypter-compliance-tests": "^4.0.0",
"@libp2p/interop": "^3.0.1",
"@libp2p/interop": "^4.0.2",
"@libp2p/mplex": "^7.0.0",

@@ -104,7 +104,7 @@ "@libp2p/peer-id-factory": "^2.0.0",

"benchmark": "^2.1.4",
"execa": "^6.1.0",
"execa": "^7.0.0",
"go-libp2p": "^0.0.6",
"iso-random-stream": "^2.0.2",
"libp2p": "^0.41.0",
"mkdirp": "^1.0.4",
"libp2p": "^0.42.0",
"mkdirp": "^2.0.0",
"p-defer": "^4.0.0",

@@ -111,0 +111,0 @@ "protons": "^6.0.0",

# js-libp2p-noise
![npm](https://img.shields.io/npm/v/libp2p-noise)
[![CI](https://github.com/ChainSafe/js-libp2p-noise/actions/workflows/ci.yml/badge.svg?branch=master&event=push)](https://github.com/ChainSafe/js-libp2p-noise/actions/workflows/ci.yml)
[![](https://img.shields.io/github/actions/workflow/status/ChainSafe/js-libp2p-noise/js-test-and-release.yml?branch=master)](https://github.com/ChainSafe/js-libp2p-noise/actions)
[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/)
![](https://img.shields.io/github/issues-raw/ChainSafe/js-libp2p-noise)
![](https://img.shields.io/github/license/ChainSafe/js-libp2p-noise)
[![License Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![License MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![](https://img.shields.io/badge/yarn-%3E%3D1.17.0-orange.svg?style=flat-square)
![](https://img.shields.io/badge/Node.js-%3E%3D16.0.0-orange.svg?style=flat-square)
![](https://img.shields.io/badge/browsers-last%202%20versions%2C%20not%20ie%20%3C%3D11-orange)
[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io)
[![Twitter](https://img.shields.io/twitter/follow/ChainSafeth.svg?label=Twitter)](https://twitter.com/ChainSafeth)
[![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord)](https://discord.gg/Q6A3YA2)

@@ -14,0 +15,0 @@ > Noise libp2p handshake for js-libp2p

@@ -78,3 +78,3 @@ import { unmarshalPublicKey, unmarshalPrivateKey } from '@libp2p/crypto/keys'

if (!payloadPeerId.equals(remotePeer)) {
throw new Error("Peer ID doesn't match libp2p public key.")
throw new Error(`Payload identity key ${payloadPeerId.toString()} does not match expected remote peer ${remotePeer.toString()}`)
}

@@ -81,0 +81,0 @@ const generatedPayload = getHandshakePayload(noiseStaticKey)

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