diff --git a/lib/commands/find.js b/lib/commands/find.js index c6d7539e..5be6b86d 100644 --- a/lib/commands/find.js +++ b/lib/commands/find.js @@ -3,7 +3,7 @@ import { util } from 'appium-support'; import { errors } from 'appium-base-driver'; import _ from 'lodash'; import js2xml from 'js2xmlparser2'; -import XMLDom from 'xmldom'; +import XMLDom from '@xmldom/xmldom'; import xpath from 'xpath'; import B from 'bluebird'; import { unwrapEl } from '../utils'; diff --git a/package.json b/package.json index 8f86bd92..0217e597 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "source-map-support": "^0.x", "teen_process": "^1.6.0", "through": "^2.3.8", - "xmldom": "^0.x", + "@xmldom/xmldom": "^0.x", "xpath": "^0.x" }, "scripts": { diff --git a/test/e2e/testapp/source-specs.js b/test/e2e/testapp/source-specs.js index 6d6c1dd9..579c1f16 100644 --- a/test/e2e/testapp/source-specs.js +++ b/test/e2e/testapp/source-specs.js @@ -1,6 +1,6 @@ import setup from '../setup-base'; import desired from './desired'; -import { DOMParser as XMLDom } from 'xmldom'; +import { DOMParser as XMLDom } from '@xmldom/xmldom'; import xpath from 'xpath'; describe('testapp - source', function () {