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

@libp2p/crypto

Package Overview
Dependencies
Maintainers
6
Versions
595
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/crypto - npm Package Compare versions

Comparing version 5.0.9-15a70af5f to 5.0.9-4bbcfa707

2

dist/src/keys/ed25519/index.js

@@ -38,3 +38,3 @@ import crypto from 'crypto';

// @ts-expect-error node types are missing jwk as a format
const publicKeyRaw = uint8arrayFromString(key.privateKey.x, 'base64url');
const publicKeyRaw = uint8arrayFromString(key.publicKey.x, 'base64url');
return {

@@ -41,0 +41,0 @@ privateKey: uint8arrayConcat([privateKeyRaw, publicKeyRaw], privateKeyRaw.byteLength + publicKeyRaw.byteLength),

{
"name": "@libp2p/crypto",
"version": "5.0.9-15a70af5f",
"version": "5.0.9-4bbcfa707",
"description": "Crypto primitives for libp2p",

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

"dependencies": {
"@libp2p/interface": "2.4.0-15a70af5f",
"@libp2p/interface": "2.4.0-4bbcfa707",
"@noble/curves": "^1.7.0",

@@ -98,0 +98,0 @@ "@noble/hashes": "^1.6.1",

@@ -48,3 +48,3 @@ import crypto from 'crypto'

// @ts-expect-error node types are missing jwk as a format
const publicKeyRaw = uint8arrayFromString(key.privateKey.x, 'base64url')
const publicKeyRaw = uint8arrayFromString(key.publicKey.x, 'base64url')

@@ -51,0 +51,0 @@ return {

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