chore(fake-driver): Bump xmldom version
MODIFY
packages/fake-driver/lib/fake-app.js
packages/fake-driver/lib/fake-app.js
import { fs } from '@appium/support';
import { readFileSync } from 'fs';
import path from 'path';
-import XMLDom from 'xmldom';
+import XMLDom from '@xmldom/xmldom';
import xpath from 'xpath';
import log from './logger';
import { FakeElement } from './fake-element';

MODIFY
packages/fake-driver/lib/fake-element.js
packages/fake-driver/lib/fake-element.js
import _ from 'lodash';
-import XMLDom from 'xmldom';
+import XMLDom from '@xmldom/xmldom';
class FakeElement {
constructor (xmlNode, app) {

MODIFY
packages/fake-driver/package.json
packages/fake-driver/package.json
"@appium/base-driver": "file:../base-driver",
"@appium/support": "file:../support",
"@babel/runtime": "7.16.3",
+ "@xmldom/xmldom": "0.7.5",
"asyncbox": "2.9.2",
"bluebird": "3.7.2",
"lodash": "4.17.21",
"source-map-support": "0.5.21",
- "xmldom": "0.6.0",
"xpath": "0.0.32"
},
"engines": {

chore(fake-driver): Bump xmldom version (#16182)