Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/crypto

Package Overview
Dependencies
Maintainers
6
Versions
574
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 4.1.6 to 4.1.7-944935f8d

2

dist/src/webcrypto-browser.js

@@ -7,3 +7,3 @@ /* eslint-env browser */

const nativeCrypto = win.crypto;
if (nativeCrypto == null || nativeCrypto.subtle == null) {
if (nativeCrypto?.subtle == null) {
throw Object.assign(new Error('Missing Web Crypto API. ' +

@@ -10,0 +10,0 @@ 'The most likely cause of this error is that this page is being accessed ' +

{
"name": "@libp2p/crypto",
"version": "4.1.6",
"version": "4.1.7-944935f8d",
"description": "Crypto primitives for libp2p",

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

"dependencies": {
"@libp2p/interface": "^1.6.1",
"@libp2p/interface": "1.6.2-944935f8d",
"@noble/curves": "^1.4.0",

@@ -99,3 +99,3 @@ "@noble/hashes": "^1.4.0",

"@types/mocha": "^10.0.6",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"benchmark": "^2.1.4",

@@ -102,0 +102,0 @@ "protons": "^7.5.0"

@@ -9,3 +9,3 @@ /* eslint-env browser */

if (nativeCrypto == null || nativeCrypto.subtle == null) {
if (nativeCrypto?.subtle == null) {
throw Object.assign(

@@ -12,0 +12,0 @@ new Error(

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