Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update xmldom to 0.7.0 #236

Merged
merged 1 commit into from
Aug 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Example:

`````javascript
var select = require('xml-crypto').xpath
, dom = require('xmldom').DOMParser
, dom = require('@xmldom/xmldom').DOMParser
, SignedXml = require('xml-crypto').SignedXml
, FileKeyInfo = require('xml-crypto').FileKeyInfo
, fs = require('fs')
Expand Down
2 changes: 1 addition & 1 deletion example/example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var select = require('xml-crypto').xpath
, dom = require('xmldom').DOMParser
, dom = require('@xmldom/xmldom').DOMParser
, SignedXml = require('xml-crypto').SignedXml
, FileKeyInfo = require('xml-crypto').FileKeyInfo
, fs = require('fs')
Expand Down
2 changes: 1 addition & 1 deletion lib/signed-xml.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var xpath = require('xpath')
, Dom = require('xmldom').DOMParser
, Dom = require('@xmldom/xmldom').DOMParser
, utils = require('./utils')
, c14n = require('./c14n-canonicalization')
, execC14n = require('./exclusive-canonicalization')
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"LoneRifle <[email protected]>"
],
"dependencies": {
"xmldom": "^0.6.0",
"@xmldom/xmldom": "^0.7.0",
"xpath": "0.0.32"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions test/c14n-non-exclusive-unit-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var C14nCanonicalization = require("../lib/c14n-canonicalization").C14nCanonicalization
, Dom = require('xmldom').DOMParser
, Dom = require('@xmldom/xmldom').DOMParser
, select = require('xpath').select
, findAncestorNs = require('../lib/signed-xml').SignedXml.findAncestorNs

Expand Down Expand Up @@ -175,4 +175,4 @@ exports["C14n: Don't redeclare an attribute's namespace prefix if already in sco
var expected = '<child2 xmlns:aaa="bbb" aaa:foo="bar"></child2>';

test_C14nCanonicalization(test, xml, xpath, expected);
}
}
2 changes: 1 addition & 1 deletion test/c14nWithComments-unit-tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var c14nWithComments = require("../lib/exclusive-canonicalization").ExclusiveCanonicalizationWithComments
, Dom = require('xmldom').DOMParser
, Dom = require('@xmldom/xmldom').DOMParser
, select = require('xpath').select
, SignedXml = require('../lib/signed-xml.js').SignedXml

Expand Down
2 changes: 1 addition & 1 deletion test/canonicalization-unit-tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var ExclusiveCanonicalization = require("../lib/exclusive-canonicalization").ExclusiveCanonicalization
, Dom = require('xmldom').DOMParser
, Dom = require('@xmldom/xmldom').DOMParser
, select = require('xpath').select
, SignedXml = require('../lib/signed-xml.js').SignedXml

Expand Down
2 changes: 1 addition & 1 deletion test/document-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var crypto = require('../index');
var xpath = require('xpath');
var xmldom = require('xmldom');
var xmldom = require('@xmldom/xmldom');
var fs = require('fs');

exports['test with a document '] = function (test) {
Expand Down
2 changes: 1 addition & 1 deletion test/hmac-tests.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var crypto = require('../index');
var xpath = require('xpath');
var xmldom = require('xmldom');
var xmldom = require('@xmldom/xmldom');
var fs = require('fs');

crypto.SignedXml.enableHMAC()
Expand Down
2 changes: 1 addition & 1 deletion test/saml-response-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var crypto = require('../index');
var xpath = require('xpath');
var xmldom = require('xmldom');
var xmldom = require('@xmldom/xmldom');
var fs = require('fs');

exports['test validating SAML response'] = function (test) {
Expand Down
2 changes: 1 addition & 1 deletion test/signature-integration-tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var xpath = require('xpath')
, Dom = require('xmldom').DOMParser
, Dom = require('@xmldom/xmldom').DOMParser
, SignedXml = require('../lib/signed-xml.js').SignedXml
, fs = require('fs')
, crypto = require('../index')
Expand Down
2 changes: 1 addition & 1 deletion test/signature-unit-tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var select = require('xpath').select
, dom = require('xmldom').DOMParser
, dom = require('@xmldom/xmldom').DOMParser
, SignedXml = require('../lib/signed-xml.js').SignedXml
, FileKeyInfo = require('../lib/signed-xml.js').FileKeyInfo
, fs = require('fs')
Expand Down
2 changes: 1 addition & 1 deletion test/wsfed-metadata-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var crypto = require('../index');
var xpath = require('xpath');
var xmldom = require('xmldom');
var xmldom = require('@xmldom/xmldom');
var fs = require('fs');

exports['test validating WS-Fed Metadata'] = function (test) {
Expand Down