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

jsonld-signatures

Package Overview
Dependencies
Maintainers
5
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonld-signatures - npm Package Compare versions

Comparing version 11.3.1 to 11.3.2

12

lib/ProofSet.js

@@ -227,6 +227,10 @@ /*!

const context = document['@context'] || constants.SECURITY_CONTEXT_URL;
proofSet = proofSet.map(proof => ({
'@context': context,
...proof
}));
proofSet = proofSet.map(proof => {
const {cryptosuite} = proof;
// JCS Data Integrity Suites require unmodified proofs
if(cryptosuite?.includes?.('-jcs-')) {
return proof;
}
return {'@context': context, ...proof};
});

@@ -233,0 +237,0 @@ return proofSet;

{
"name": "jsonld-signatures",
"version": "11.3.1",
"version": "11.3.2",
"description": "An implementation of the Linked Data Signatures specifications for JSON-LD in JavaScript.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/digitalbazaar/jsonld-signatures",

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