diff --git a/README.md b/README.md index f3a5297..8841f9d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This module provides a [jQuery](http://jquery.com/)-like wrapper, but geared for traversing and manipulating an XML DOM, as opposeed to an HTML DOM. The API aims to be compatible with [Strophe.js](https://github.com/strophe/strophejs)' `Builder` and [Less-Than XML](https://github.com/astro/ltx). The underlying DOM -is W3C standard, provided by [XMLDOM](https://github.com/jindw/xmldom). +is W3C standard, provided by [XMLDOM](https://github.com/xmldom/xmldom). ## Install diff --git a/lib/collection.js b/lib/collection.js index d2e9711..06987e9 100644 --- a/lib/collection.js +++ b/lib/collection.js @@ -1,7 +1,7 @@ /** * Module dependencies. */ -var dom = require('xmldom') +var dom = require('@xmldom/xmldom') , DOMParser = dom.DOMParser , XMLSerializer = dom.XMLSerializer; diff --git a/package.json b/package.json index 28df515..7c33dad 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ ], "main": "./lib", "dependencies": { - "xmldom": "0.1.x" + "@xmldom/xmldom": "^0.7.5" }, "devDependencies": { "mocha": "1.x.x", @@ -45,7 +45,7 @@ "browsers": [ "chrome/latest" ], - "harness" : "mocha", + "harness": "mocha", "files": [ "test/bootstrap/testling.js", "test/*.test.js" diff --git a/test/wrap.test.js b/test/wrap.test.js index 9fb1166..f4fe8f0 100644 --- a/test/wrap.test.js +++ b/test/wrap.test.js @@ -1,5 +1,5 @@ var fs = require('fs') - , DOMParser = require('xmldom').DOMParser + , DOMParser = require('@xmldom/xmldom').DOMParser , $ = require('..');