diff --git a/package-lock.json b/package-lock.json index b13682404..9930f3619 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ }, "devDependencies": { "@appium/eslint-config-appium": "8.0.5", - "@appium/fake-driver": "5.2.11", + "@appium/fake-driver": "5.3.0", "@appium/support": "4.1.10", "@babel/core": "7.23.6", "@babel/eslint-parser": "7.23.3", @@ -414,9 +414,9 @@ } }, "node_modules/@appium/fake-driver": { - "version": "5.2.11", - "resolved": "https://registry.npmjs.org/@appium/fake-driver/-/fake-driver-5.2.11.tgz", - "integrity": "sha512-AbS4ip4cWxX61k+qlCNqZ4arijWfNUsUADSOuLbhvFJnl5SGntVGdMqgmDLw1WXfRGRk0chcyDattq+7VA5ILg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@appium/fake-driver/-/fake-driver-5.3.0.tgz", + "integrity": "sha512-CnLM8/PuJo2mwgtGbBivypIjssNrgbJt+FHnwRYQ3kzRIXRckn9Gigtl5POEsW0nU5Raui7tXX5pWSsvLGSCyA==", "dev": true, "dependencies": { "@types/bluebird": "3.5.42", @@ -425,10 +425,7 @@ "bluebird": "3.7.2", "lodash": "4.17.21", "source-map-support": "0.5.21", - "xpath": "0.0.33" - }, - "bin": { - "appium-fake-driver": "index.js" + "xpath": "0.0.34" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0", @@ -444,15 +441,6 @@ "integrity": "sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A==", "dev": true }, - "node_modules/@appium/fake-driver/node_modules/xpath": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.33.tgz", - "integrity": "sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA==", - "dev": true, - "engines": { - "node": ">=0.6.0" - } - }, "node_modules/@appium/schema": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/@appium/schema/-/schema-0.3.1.tgz", diff --git a/package.json b/package.json index c775c0524..09a65d84f 100644 --- a/package.json +++ b/package.json @@ -191,7 +191,7 @@ }, "devDependencies": { "@appium/eslint-config-appium": "8.0.5", - "@appium/fake-driver": "5.2.11", + "@appium/fake-driver": "5.3.0", "@appium/support": "4.1.10", "@babel/core": "7.23.6", "@babel/eslint-parser": "7.23.3", diff --git a/test/e2e/inspector-e2e.test.js b/test/e2e/inspector-e2e.test.js index 735a73f19..d82c1c288 100644 --- a/test/e2e/inspector-e2e.test.js +++ b/test/e2e/inspector-e2e.test.js @@ -11,7 +11,7 @@ chai.use(chaiAsPromised); const FAKE_DRIVER_PORT = 12121; -const FAKE_DRIVER_PATH = path.dirname(require.resolve('@appium/fake-driver')); +const FAKE_DRIVER_PATH = path.dirname(require.resolve('@appium/fake-driver/package.json')); const TEST_APP = path.resolve(FAKE_DRIVER_PATH, 'test', 'fixtures', 'app.xml'); const DEFAULT_CAPS = { diff --git a/test/integration/client-actions.integration-test.js b/test/integration/client-actions.integration-test.js index fe4fa1e37..8aefe4e62 100644 --- a/test/integration/client-actions.integration-test.js +++ b/test/integration/client-actions.integration-test.js @@ -11,7 +11,7 @@ chai.use(chaiAsPromised); const FAKE_DRIVER_PORT = 12121; -const FAKE_DRIVER_PATH = path.dirname(require.resolve('@appium/fake-driver')); +const FAKE_DRIVER_PATH = path.dirname(require.resolve('@appium/fake-driver/package.json')); const TEST_APP = path.resolve(FAKE_DRIVER_PATH, 'test', 'fixtures', 'app.xml'); const DEFAULT_CAPS = {