diff --git a/lib/introspect.js b/lib/introspect.js index 1e62899..a700fb7 100644 --- a/lib/introspect.js +++ b/lib/introspect.js @@ -1,4 +1,4 @@ -const xml2js = require('xml2js'); +const xml2js = require('isomorphic-xml2js'); const promisify = require('./promisify'); module.exports.introspectBus = function(obj, callback) { diff --git a/package.json b/package.json index 281b376..a734063 100644 --- a/package.json +++ b/package.json @@ -36,11 +36,11 @@ "dependencies": { "event-stream": "^4.0.0", "hexy": "^0.2.10", + "isomorphic-xml2js": "^0.1.3", "long": "^4.0.0", "optimist": "^0.6.1", "put": "0.0.6", - "safe-buffer": "^5.1.1", - "xml2js": "^0.4.17" + "safe-buffer": "^5.1.1" }, "devDependencies": { "mocha": "^10.2.0"