diff --git a/jxon.js b/jxon.js index 27b3b2b..aa01f52 100644 --- a/jxon.js +++ b/jxon.js @@ -20,7 +20,7 @@ * bugfixes and code cleanup by user @laubstein * https://github.com/tyrasd/jxon/pull/32 * - * adapted for nodejs and npm by @tyrasd (Martin Raifer ) + * adapted for nodejs and npm by @tyrasd (Martin Raifer ) */ (function(root, factory) { @@ -38,7 +38,7 @@ // only CommonJS-like environments that support module.exports, // like Node. - module.exports = factory(require('xmldom'), true); + module.exports = factory(require('@xmldom/xmldom'), true); } } else { // Browser globals (root is window) diff --git a/package.json b/package.json index 9cc1984..acce8cd 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ }, "license": "GPL v3", "dependencies": { - "xmldom": "^0.1.21" + "@xmldom/xmldom": "^0.7.5" }, "devDependencies": { "browserify": "^13.0.0", diff --git a/test/index.html b/test/index.html index 348420f..da2d698 100644 --- a/test/index.html +++ b/test/index.html @@ -9,7 +9,9 @@
- + + +