diff --git a/lib/saml2.coffee b/lib/saml2.coffee index 0490c77..216d1a2 100644 --- a/lib/saml2.coffee +++ b/lib/saml2.coffee @@ -7,7 +7,7 @@ url = require 'url' util = require 'util' xmlbuilder = require 'xmlbuilder2' xmlcrypto = require 'xml-crypto' -xmldom = require 'xmldom' +xmldom = require '@xmldom/xmldom' xmlenc = require 'xml-encryption' zlib = require 'zlib' SignedXml = require('xml-crypto').SignedXml diff --git a/package.json b/package.json index 14e68ee..9f432f9 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,6 @@ "xml-encryption": "^2.0.0", "xml2js": "^0.4.0", "xmlbuilder2": "^2.4.0", - "xmldom": "^0.4.0" + "@xmldom/xmldom": "^0.8.3" } } diff --git a/test/saml2.coffee b/test/saml2.coffee index 54f35fa..d74ed10 100644 --- a/test/saml2.coffee +++ b/test/saml2.coffee @@ -7,7 +7,7 @@ fs = require 'fs' saml2 = require "#{__dirname}/../lib/saml2" url = require 'url' util = require 'util' -xmldom = require 'xmldom' +xmldom = require '@xmldom/xmldom' xmlcrypto = require 'xml-crypto' describe 'saml2', ->