From 701d515b40615e6f1e49c6222d5fd8e3c82af254 Mon Sep 17 00:00:00 2001 From: kasinskas Date: Wed, 13 Nov 2024 15:11:37 +0200 Subject: [PATCH] chore: remove appium-ios-device --- __mocks__/appium-ios-device.ts | 9 ------- packages/sdk-apple/package.json | 1 - packages/sdk-apple/types.d.ts | 1 - yarn.lock | 46 +++------------------------------ 4 files changed, 3 insertions(+), 54 deletions(-) delete mode 100644 __mocks__/appium-ios-device.ts delete mode 100644 packages/sdk-apple/types.d.ts diff --git a/__mocks__/appium-ios-device.ts b/__mocks__/appium-ios-device.ts deleted file mode 100644 index 0ae3e6e757..0000000000 --- a/__mocks__/appium-ios-device.ts +++ /dev/null @@ -1,9 +0,0 @@ -// __mocks__/appium-ios-device.ts -const aid: any = { - utilities: { - getConnectedDevices: jest.fn(() => Promise.resolve(['1234'])), - getDeviceInfo: jest.fn(() => Promise.resolve({ name: 'iPhone 14 Pro Max', isAvailable: true })), - }, -}; - -module.exports = aid; diff --git a/packages/sdk-apple/package.json b/packages/sdk-apple/package.json index 2aa9334b19..cda2acc440 100644 --- a/packages/sdk-apple/package.json +++ b/packages/sdk-apple/package.json @@ -32,7 +32,6 @@ "dependencies": { "@rnv/sdk-react-native": "1.6.0-rc.0", "@rnv/sdk-utils": "1.6.0-rc.0", - "appium-ios-device": "2.7.10", "ios-mobileprovision-finder": "1.1.0", "xcode": "3.0.1" }, diff --git a/packages/sdk-apple/types.d.ts b/packages/sdk-apple/types.d.ts deleted file mode 100644 index b42222fde8..0000000000 --- a/packages/sdk-apple/types.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module 'appium-ios-device' \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index fb821190a7..c66d5e7723 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6310,21 +6310,6 @@ appium-idb@^1.6.13: source-map-support "^0.x" teen_process "^2.0.1" -appium-ios-device@2.7.10: - version "2.7.10" - resolved "https://registry.npmjs.org/appium-ios-device/-/appium-ios-device-2.7.10.tgz#44e0961479d3573720d6acf88c36153e13a76e14" - integrity sha512-CeJSuzYxCvE0KlcdQ7vCWUORW7dBSmrs49qNY2QxKGFAMkmHJkOGmRehhicNPTImzKkYscy7HHJdtm435gah6w== - dependencies: - "@appium/support" "^4.0.0" - asyncbox "^3.0.0" - bluebird "^3.1.1" - bplist-creator "^0.x" - bplist-parser "^0.x" - lodash "^4.17.15" - semver "^7.0.0" - source-map-support "^0.x" - uuid "^9.0.0" - appium-ios-device@^2.0.0, appium-ios-device@^2.5.0, appium-ios-device@^2.5.4: version "2.7.15" resolved "https://registry.npmjs.org/appium-ios-device/-/appium-ios-device-2.7.15.tgz#457f6c0033aaba55336caf9c7dabc1dfad6a828f" @@ -20046,16 +20031,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -20147,7 +20123,7 @@ stringify-object@^3.2.1, stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -20161,13 +20137,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -22209,16 +22178,7 @@ workerpool@6.2.1: resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@7.0.0, wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@7.0.0, wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==