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 8.0.0 to 8.0.1

3

dist/src/handshakes/abstract-handshake.js

@@ -17,3 +17,4 @@ import { equals as uint8ArrayEquals } from 'uint8arrays/equals';

const { plaintext, valid } = this.decrypt(cs.k, cs.n, ad, ciphertext);
cs.n.increment();
if (valid)
cs.n.increment();
return { plaintext, valid };

@@ -20,0 +21,0 @@ }

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

@@ -64,2 +64,3 @@ "license": "Apache-2.0 OR MIT",

"test:electron-main": "aegir test -t electron-main",
"test:interop": "aegir test -t node -f dist/test/interop.js",
"docs": "aegir docs",

@@ -82,5 +83,5 @@ "proto:gen": "protons ./src/proto/payload.proto",

"it-pair": "^2.0.2",
"it-stream-types": "^1.0.4",
"it-pb-stream": "^2.0.2",
"it-pipe": "^2.0.3",
"it-stream-types": "^1.0.4",
"protons-runtime": "^3.1.0",

@@ -91,8 +92,18 @@ "uint8arraylist": "^2.3.2",

"devDependencies": {
"@libp2p/daemon-client": "2.0.4",
"@libp2p/daemon-server": "^2.0.4",
"@libp2p/interface-connection-encrypter-compliance-tests": "^2.0.1",
"@libp2p/interop": "^2.1.0",
"@libp2p/mplex": "^5.0.0",
"@libp2p/peer-id-factory": "^1.0.8",
"@libp2p/tcp": "^3.0.3",
"@multiformats/multiaddr": "^10.3.3",
"aegir": "^37.3.0",
"benchmark": "^2.1.4",
"execa": "^6.1.0",
"go-libp2p": "^0.0.6",
"iso-random-stream": "^2.0.2",
"libp2p": "0.38.0",
"mkdirp": "^1.0.4",
"p-defer": "^4.0.0",
"protons": "^5.1.0",

@@ -99,0 +110,0 @@ "sinon": "^14.0.0",

@@ -26,3 +26,3 @@ import { equals as uint8ArrayEquals } from 'uint8arrays/equals'

const { plaintext, valid } = this.decrypt(cs.k, cs.n, ad, ciphertext)
cs.n.increment()
if (valid) cs.n.increment()

@@ -29,0 +29,0 @@ return { plaintext, valid }

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