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.0.0 to 11.1.0

13

lib/suites/LinkedDataSignature.js
/*!
* Copyright (c) 2017-2021 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2017-2023 Digital Bazaar, Inc. All rights reserved.
*/

@@ -61,6 +61,8 @@ 'use strict';

* canonize algorithm.
* @param {object} [options.canonizeOptions] - Options to pass to
* canonize algorithm.
*/
constructor({
type, proof, LDKeyClass, date, key, signer, verifier, useNativeCanonize,
contextUrl
canonizeOptions, contextUrl
} = {}) {

@@ -76,2 +78,3 @@ super({type});

this.verifier = vm.verifier;
this.canonizeOptions = canonizeOptions;
if(date) {

@@ -218,3 +221,4 @@ this.date = new Date(date);

skipExpansion,
useNative: this.useNativeCanonize
useNative: this.useNativeCanonize,
...this.canonizeOptions
});

@@ -239,3 +243,4 @@ }

expansionMap,
skipExpansion: false
skipExpansion: false,
...this.canonizeOptions
});

@@ -242,0 +247,0 @@ }

{
"name": "jsonld-signatures",
"version": "11.0.0",
"version": "11.1.0",
"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