appium-espresso-driver 2.28.0 → 2.28.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [2.28.2](https://github.com/appium/appium-espresso-driver/compare/v2.28.1...v2.28.2) (2023-11-01)
2
+
3
+
4
+ ### Miscellaneous Chores
5
+
6
+ * **deps:** bump asyncbox from 2.9.4 to 3.0.0 ([#945](https://github.com/appium/appium-espresso-driver/issues/945)) ([e3173f8](https://github.com/appium/appium-espresso-driver/commit/e3173f84fe5551bf5073c37c1ef60bb152f12018))
7
+
8
+ ## [2.28.1](https://github.com/appium/appium-espresso-driver/compare/v2.28.0...v2.28.1) (2023-11-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Alert text retrieval ([#944](https://github.com/appium/appium-espresso-driver/issues/944)) ([9c97ddc](https://github.com/appium/appium-espresso-driver/commit/9c97ddc647d64d19edd9d707382037eb9f0f7e5c))
14
+
1
15
  ## [2.28.0](https://github.com/appium/appium-espresso-driver/compare/v2.27.1...v2.28.0) (2023-10-30)
2
16
 
3
17
 
@@ -76,9 +76,13 @@ object AlertHelpers {
76
76
  else
77
77
  permissionAlertButtonResIdPattern.toString()
78
78
  return alertElements.toTypedArray()
79
- .filter { it.resourceName != null && !it.resourceName.matches(alertButtonsResIdPattern.toRegex()) }
80
- .filter { (it.text ?: "").isNotEmpty() }
81
- .joinToString(separator = "\n")
79
+ .filter {
80
+ it.resourceName != null && !it.resourceName.matches(
81
+ alertButtonsResIdPattern.toRegex()
82
+ )
83
+ }
84
+ .filter { (it.text ?: "").isNotEmpty() }
85
+ .joinToString(separator = "\n") { it.text }
82
86
  }
83
87
 
84
88
  private fun buttonResIdByIdx(index: Int): String {
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "appium-espresso-driver",
3
- "version": "2.28.0",
3
+ "version": "2.28.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-espresso-driver",
9
- "version": "2.28.0",
9
+ "version": "2.28.2",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "appium-adb": "^11.0.1",
13
13
  "appium-android-driver": "^7.2.1",
14
- "asyncbox": "^2.3.1",
14
+ "asyncbox": "^3.0.0",
15
15
  "bluebird": "^3.5.0",
16
16
  "lodash": "^4.17.11",
17
17
  "portscanner": "^2.1.1",
@@ -108,6 +108,20 @@
108
108
  "spdy": "4.0.2"
109
109
  }
110
110
  },
111
+ "node_modules/@appium/base-driver/node_modules/asyncbox": {
112
+ "version": "2.9.4",
113
+ "license": "Apache-2.0",
114
+ "dependencies": {
115
+ "@babel/runtime": "^7.0.0",
116
+ "@types/bluebird": "^3.5.37",
117
+ "bluebird": "^3.5.1",
118
+ "lodash": "^4.17.4",
119
+ "source-map-support": "^0.5.5"
120
+ },
121
+ "engines": {
122
+ "node": ">=10"
123
+ }
124
+ },
111
125
  "node_modules/@appium/base-plugin": {
112
126
  "version": "2.2.22",
113
127
  "extraneous": true,
@@ -851,7 +865,7 @@
851
865
  }
852
866
  },
853
867
  "node_modules/@types/node": {
854
- "version": "20.8.9",
868
+ "version": "20.8.10",
855
869
  "license": "MIT",
856
870
  "dependencies": {
857
871
  "undici-types": "~5.26.4"
@@ -1072,6 +1086,20 @@
1072
1086
  "npm": ">=8"
1073
1087
  }
1074
1088
  },
1089
+ "node_modules/appium-adb/node_modules/asyncbox": {
1090
+ "version": "2.9.4",
1091
+ "license": "Apache-2.0",
1092
+ "dependencies": {
1093
+ "@babel/runtime": "^7.0.0",
1094
+ "@types/bluebird": "^3.5.37",
1095
+ "bluebird": "^3.5.1",
1096
+ "lodash": "^4.17.4",
1097
+ "source-map-support": "^0.5.5"
1098
+ },
1099
+ "engines": {
1100
+ "node": ">=10"
1101
+ }
1102
+ },
1075
1103
  "node_modules/appium-android-driver": {
1076
1104
  "version": "7.2.1",
1077
1105
  "license": "Apache-2.0",
@@ -1101,6 +1129,20 @@
1101
1129
  "appium": "^2.0.0-beta.40"
1102
1130
  }
1103
1131
  },
1132
+ "node_modules/appium-android-driver/node_modules/asyncbox": {
1133
+ "version": "2.9.4",
1134
+ "license": "Apache-2.0",
1135
+ "dependencies": {
1136
+ "@babel/runtime": "^7.0.0",
1137
+ "@types/bluebird": "^3.5.37",
1138
+ "bluebird": "^3.5.1",
1139
+ "lodash": "^4.17.4",
1140
+ "source-map-support": "^0.5.5"
1141
+ },
1142
+ "engines": {
1143
+ "node": ">=10"
1144
+ }
1145
+ },
1104
1146
  "node_modules/appium-android-driver/node_modules/type-fest": {
1105
1147
  "version": "4.6.0",
1106
1148
  "license": "(MIT OR CC0-1.0)",
@@ -1112,7 +1154,7 @@
1112
1154
  }
1113
1155
  },
1114
1156
  "node_modules/appium-chromedriver": {
1115
- "version": "5.6.20",
1157
+ "version": "5.6.21",
1116
1158
  "hasInstallScript": true,
1117
1159
  "license": "Apache-2.0",
1118
1160
  "dependencies": {
@@ -1136,6 +1178,20 @@
1136
1178
  "npm": ">=8"
1137
1179
  }
1138
1180
  },
1181
+ "node_modules/appium-chromedriver/node_modules/asyncbox": {
1182
+ "version": "2.9.4",
1183
+ "license": "Apache-2.0",
1184
+ "dependencies": {
1185
+ "@babel/runtime": "^7.0.0",
1186
+ "@types/bluebird": "^3.5.37",
1187
+ "bluebird": "^3.5.1",
1188
+ "lodash": "^4.17.4",
1189
+ "source-map-support": "^0.5.5"
1190
+ },
1191
+ "engines": {
1192
+ "node": ">=10"
1193
+ }
1194
+ },
1139
1195
  "node_modules/aproba": {
1140
1196
  "version": "2.0.0",
1141
1197
  "license": "ISC"
@@ -1275,17 +1331,15 @@
1275
1331
  "license": "MIT"
1276
1332
  },
1277
1333
  "node_modules/asyncbox": {
1278
- "version": "2.9.4",
1334
+ "version": "3.0.0",
1279
1335
  "license": "Apache-2.0",
1280
1336
  "dependencies": {
1281
- "@babel/runtime": "^7.0.0",
1282
- "@types/bluebird": "^3.5.37",
1283
1337
  "bluebird": "^3.5.1",
1284
1338
  "lodash": "^4.17.4",
1285
- "source-map-support": "^0.5.5"
1339
+ "source-map-support": "^0.x"
1286
1340
  },
1287
1341
  "engines": {
1288
- "node": ">=10"
1342
+ "node": ">=16"
1289
1343
  }
1290
1344
  },
1291
1345
  "node_modules/asynckit": {
@@ -3549,7 +3603,7 @@
3549
3603
  }
3550
3604
  },
3551
3605
  "node_modules/punycode": {
3552
- "version": "2.3.0",
3606
+ "version": "2.3.1",
3553
3607
  "extraneous": true,
3554
3608
  "license": "MIT",
3555
3609
  "engines": {
@@ -4257,7 +4311,7 @@
4257
4311
  }
4258
4312
  },
4259
4313
  "node_modules/teen_process": {
4260
- "version": "2.0.68",
4314
+ "version": "2.0.72",
4261
4315
  "license": "Apache-2.0",
4262
4316
  "dependencies": {
4263
4317
  "bluebird": "3.7.2",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "2.28.0",
10
+ "version": "2.28.2",
11
11
  "author": "Appium Contributors",
12
12
  "license": "Apache-2.0",
13
13
  "repository": {
@@ -73,7 +73,7 @@
73
73
  "dependencies": {
74
74
  "appium-adb": "^11.0.1",
75
75
  "appium-android-driver": "^7.2.1",
76
- "asyncbox": "^2.3.1",
76
+ "asyncbox": "^3.0.0",
77
77
  "bluebird": "^3.5.0",
78
78
  "lodash": "^4.17.11",
79
79
  "portscanner": "^2.1.1",