appium-espresso-driver 9.3.3 → 9.3.5

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
  3. package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.bin +0 -0
  4. package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.lock +0 -0
  5. package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  6. package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +2 -2
  7. package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
  8. package/espresso-server/buildSrc/build/kotlin/compileKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  9. package/espresso-server/gradle/libs.versions.toml +3 -3
  10. package/espresso-server/gradle/wrapper/gradle-wrapper.jar +0 -0
  11. package/espresso-server/gradle/wrapper/gradle-wrapper.properties +1 -1
  12. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
  13. package/node_modules/appium-chromedriver/CHANGELOG.md +12 -0
  14. package/node_modules/appium-chromedriver/config/mapping.json +2 -0
  15. package/node_modules/appium-chromedriver/package.json +1 -1
  16. package/node_modules/b4a/browser.js +5 -0
  17. package/node_modules/b4a/index.d.ts +144 -0
  18. package/node_modules/b4a/index.js +5 -0
  19. package/node_modules/b4a/package.json +4 -1
  20. package/node_modules/b4a/runtime.d.ts +14 -0
  21. package/node_modules/brace-expansion/dist/commonjs/index.d.ts +4 -0
  22. package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -1
  23. package/node_modules/brace-expansion/dist/commonjs/index.js +69 -25
  24. package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -1
  25. package/node_modules/brace-expansion/dist/esm/index.d.ts +4 -0
  26. package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -1
  27. package/node_modules/brace-expansion/dist/esm/index.js +68 -24
  28. package/node_modules/brace-expansion/dist/esm/index.js.map +1 -1
  29. package/node_modules/brace-expansion/package.json +2 -1
  30. package/node_modules/p-limit/index.d.ts +2 -0
  31. package/node_modules/p-limit/index.js +17 -1
  32. package/node_modules/p-limit/package.json +1 -1
  33. package/node_modules/p-limit/readme.md +2 -0
  34. package/node_modules/proxy-addr/HISTORY.md +60 -54
  35. package/node_modules/proxy-addr/README.md +1 -1
  36. package/node_modules/proxy-addr/index.js +32 -0
  37. package/node_modules/proxy-addr/package.json +8 -4
  38. package/node_modules/spdx-license-ids/index.json +13 -0
  39. package/node_modules/spdx-license-ids/package.json +1 -1
  40. package/package.json +1 -1
  41. package/espresso-server/buildSrc/.gradle/9.6.1/executionHistory/executionHistory.bin +0 -0
  42. package/espresso-server/buildSrc/.gradle/9.6.1/executionHistory/executionHistory.lock +0 -0
  43. package/espresso-server/buildSrc/.gradle/file-system.probe +0 -0
@@ -256,6 +256,13 @@ function trustMulti (subnets) {
256
256
  if (!isip(addr)) return false
257
257
 
258
258
  var ip = parseip(addr)
259
+
260
+ if (ip.kind() === 'ipv6' && ip.isIPv4MappedAddress()) {
261
+ // Canonicalize IPv4-mapped candidates to IPv4 so a mapped address
262
+ // cannot bypass the cross-family guard via the same-family path
263
+ ip = ip.toIPv4Address()
264
+ }
265
+
259
266
  var ipconv
260
267
  var kind = ip.kind()
261
268
 
@@ -272,6 +279,12 @@ function trustMulti (subnets) {
272
279
  continue
273
280
  }
274
281
 
282
+ if (subnetkind !== 'ipv4' && !(subnetrange >= 96 && subnetip.isIPv4MappedAddress())) {
283
+ // IPv6 subnet only spans IPv4 when it is a mapped subnet whose
284
+ // prefix covers the ::ffff: marker; otherwise it must not match IPv4
285
+ continue
286
+ }
287
+
275
288
  if (!ipconv) {
276
289
  // Convert IP to match subnet IP kind
277
290
  ipconv = subnetkind === 'ipv4'
@@ -280,6 +293,9 @@ function trustMulti (subnets) {
280
293
  }
281
294
 
282
295
  trusted = ipconv
296
+ } else if (kind === 'ipv6' && subnetip.isIPv4MappedAddress()) {
297
+ // A native IPv6 candidate cannot match an IPv4-mapped subnet
298
+ continue
283
299
  }
284
300
 
285
301
  if (trusted.match(subnetip, subnetrange)) {
@@ -308,6 +324,13 @@ function trustSingle (subnet) {
308
324
  if (!isip(addr)) return false
309
325
 
310
326
  var ip = parseip(addr)
327
+
328
+ if (ip.kind() === 'ipv6' && ip.isIPv4MappedAddress()) {
329
+ // Canonicalize IPv4-mapped candidates to IPv4 so a mapped address
330
+ // cannot bypass the cross-family guard via the same-family path
331
+ ip = ip.toIPv4Address()
332
+ }
333
+
311
334
  var kind = ip.kind()
312
335
 
313
336
  if (kind !== subnetkind) {
@@ -316,10 +339,19 @@ function trustSingle (subnet) {
316
339
  return false
317
340
  }
318
341
 
342
+ if (!subnetisipv4 && !(subnetrange >= 96 && subnetip.isIPv4MappedAddress())) {
343
+ // IPv6 subnet only spans IPv4 when it is a mapped subnet whose
344
+ // prefix covers the ::ffff: marker; otherwise it must not match IPv4
345
+ return false
346
+ }
347
+
319
348
  // Convert IP to match subnet IP kind
320
349
  ip = subnetisipv4
321
350
  ? ip.toIPv4Address()
322
351
  : ip.toIPv4MappedAddress()
352
+ } else if (kind === 'ipv6' && subnetip.isIPv4MappedAddress()) {
353
+ // A native IPv6 candidate cannot match an IPv4-mapped subnet
354
+ return false
323
355
  }
324
356
 
325
357
  return ip.match(subnetip, subnetrange)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "proxy-addr",
3
3
  "description": "Determine address of proxied request",
4
- "version": "2.0.7",
4
+ "version": "2.0.8",
5
5
  "author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -10,6 +10,10 @@
10
10
  "x-forwarded-for"
11
11
  ],
12
12
  "repository": "jshttp/proxy-addr",
13
+ "funding": {
14
+ "type": "opencollective",
15
+ "url": "https://opencollective.com/express"
16
+ },
13
17
  "dependencies": {
14
18
  "forwarded": "0.2.0",
15
19
  "ipaddr.js": "1.9.1"
@@ -17,11 +21,11 @@
17
21
  "devDependencies": {
18
22
  "benchmark": "2.1.4",
19
23
  "beautify-benchmark": "0.2.4",
20
- "deep-equal": "1.0.1",
24
+ "deep-equal": "1.1.2",
21
25
  "eslint": "7.26.0",
22
26
  "eslint-config-standard": "14.1.1",
23
- "eslint-plugin-import": "2.23.4",
24
- "eslint-plugin-markdown": "2.2.0",
27
+ "eslint-plugin-import": "2.32.0",
28
+ "eslint-plugin-markdown": "2.2.1",
25
29
  "eslint-plugin-node": "11.1.0",
26
30
  "eslint-plugin-promise": "4.3.1",
27
31
  "eslint-plugin-standard": "4.1.0",
@@ -56,6 +56,7 @@
56
56
  "BSD-2-Clause-Views",
57
57
  "BSD-2-Clause-first-lines",
58
58
  "BSD-2-Clause-pkgconf-disclaimer",
59
+ "BSD-2-Clause-pos-unchanged",
59
60
  "BSD-3-Clause",
60
61
  "BSD-3-Clause-Attribution",
61
62
  "BSD-3-Clause-Clear",
@@ -67,6 +68,7 @@
67
68
  "BSD-3-Clause-No-Nuclear-License-2014",
68
69
  "BSD-3-Clause-No-Nuclear-Warranty",
69
70
  "BSD-3-Clause-Open-MPI",
71
+ "BSD-3-Clause-OpenWebUI",
70
72
  "BSD-3-Clause-Sun",
71
73
  "BSD-3-Clause-Tso",
72
74
  "BSD-3-Clause-acpica",
@@ -82,9 +84,12 @@
82
84
  "BSD-Mark-Modifications",
83
85
  "BSD-Protection",
84
86
  "BSD-Source-Code",
87
+ "BSD-Source-Code-no-disclaimer",
88
+ "BSD-Source-alt-GPL",
85
89
  "BSD-Source-beginning-file",
86
90
  "BSD-Systemics",
87
91
  "BSD-Systemics-W3Works",
92
+ "BSD-ask-to-endorse",
88
93
  "BSL-1.0",
89
94
  "BUSL-1.1",
90
95
  "Baekmuk",
@@ -101,7 +106,9 @@
101
106
  "Borceux",
102
107
  "Brian-Gladman-2-Clause",
103
108
  "Brian-Gladman-3-Clause",
109
+ "Brian-Gladman-3-Clause-no-conversion",
104
110
  "Buddy",
111
+ "Bugroff",
105
112
  "C-UDA-1.0",
106
113
  "CAL-1.0",
107
114
  "CAL-1.0-Combined-Work-Exception",
@@ -124,6 +131,7 @@
124
131
  "CC-BY-NC-2.5",
125
132
  "CC-BY-NC-3.0",
126
133
  "CC-BY-NC-3.0-DE",
134
+ "CC-BY-NC-3.0-IGO",
127
135
  "CC-BY-NC-4.0",
128
136
  "CC-BY-NC-ND-1.0",
129
137
  "CC-BY-NC-ND-2.0",
@@ -236,6 +244,7 @@
236
244
  "Eurosym",
237
245
  "FBM",
238
246
  "FDK-AAC",
247
+ "FDK-MPEG-H",
239
248
  "FSFAP",
240
249
  "FSFAP-no-warranty-disclaimer",
241
250
  "FSFUL",
@@ -318,6 +327,7 @@
318
327
  "HTMLTIDY",
319
328
  "HaskellReport",
320
329
  "Hippocratic-2.1",
330
+ "Hippocratic-3.0-core",
321
331
  "IBM-pibs",
322
332
  "ICU",
323
333
  "IEC-Code-Components-EULA",
@@ -331,6 +341,7 @@
331
341
  "ImageMagick",
332
342
  "Imlib2",
333
343
  "Info-ZIP",
344
+ "Informatica",
334
345
  "Inner-Net-2.0",
335
346
  "InnoSetup",
336
347
  "Intel",
@@ -404,6 +415,7 @@
404
415
  "MS-PL",
405
416
  "MS-RL",
406
417
  "MTLL",
418
+ "MVT-1.1",
407
419
  "Mackerras-3-Clause",
408
420
  "Mackerras-3-Clause-acknowledgment",
409
421
  "MakeIndex",
@@ -637,6 +649,7 @@
637
649
  "Zlib",
638
650
  "any-OSI",
639
651
  "any-OSI-perl-modules",
652
+ "atc-game",
640
653
  "bcrypt-Solar-Designer",
641
654
  "blessing",
642
655
  "bzip2-1.0.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spdx-license-ids",
3
- "version": "3.0.23",
3
+ "version": "3.0.24",
4
4
  "description": "A list of SPDX license identifiers",
5
5
  "repository": "jslicense/spdx-license-ids",
6
6
  "author": "Shinnosuke Watanabe (https://github.com/shinnn)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-espresso-driver",
3
- "version": "9.3.3",
3
+ "version": "9.3.5",
4
4
  "description": "Espresso integration for Appium",
5
5
  "keywords": [
6
6
  "android",