Skip to content

Commit

Permalink
Test suites of other projects (mocha) that include v1.5.0 fail with e…
Browse files Browse the repository at this point in the history
…rror: "Error: global leak detected: existingPrefixes"
  • Loading branch information
troyfactor4 committed Apr 12, 2020
1 parent 0157f26 commit 01d462d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/signed-xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ SignedXml.prototype.computeSignature = function(xml, opts, callback) {
prefix = opts.prefix;
attrs = opts.attrs || {};
location = opts.location || {};
existingPrefixes = opts.existingPrefixes || {};
var existingPrefixes = opts.existingPrefixes || {};
// defaults to the root node
location.reference = location.reference || "/*";
// defaults to append action
Expand Down Expand Up @@ -1017,4 +1017,4 @@ SignedXml.prototype.getOriginalXmlWithIds = function() {

SignedXml.prototype.getSignedXml = function() {
return this.signedXml
}
}

0 comments on commit 01d462d

Please sign in to comment.