appium-uiautomator2-driver 2.4.6 → 2.4.9
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/build/index.js +2 -4
- package/build/lib/commands/actions.js +2 -4
- package/build/lib/commands/alert.js +2 -4
- package/build/lib/commands/battery.js +2 -4
- package/build/lib/commands/element.js +2 -4
- package/build/lib/commands/find.js +2 -4
- package/build/lib/commands/general.js +2 -4
- package/build/lib/commands/gestures.js +2 -4
- package/build/lib/commands/index.js +2 -4
- package/build/lib/commands/screenshot.js +2 -4
- package/build/lib/commands/touch.js +2 -4
- package/build/lib/commands/viewport.js +2 -4
- package/build/lib/css-converter.js +2 -4
- package/build/lib/desired-caps.js +2 -4
- package/build/lib/driver.js +7 -4
- package/build/lib/extensions.js +2 -4
- package/build/lib/helpers.js +2 -4
- package/build/lib/logger.js +2 -4
- package/build/lib/uiautomator2.js +2 -4
- package/lib/driver.js +4 -0
- package/npm-shrinkwrap.json +752 -476
- package/package.json +39 -35
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.4.
|
|
11
|
-
"author": "
|
|
10
|
+
"version": "2.4.9",
|
|
11
|
+
"author": "Appium Contributors",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
@@ -17,9 +17,20 @@
|
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/appium/appium-uiautomator2-driver/issues"
|
|
19
19
|
},
|
|
20
|
-
"engines":
|
|
21
|
-
"node"
|
|
22
|
-
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=14",
|
|
22
|
+
"npm": ">=8"
|
|
23
|
+
},
|
|
24
|
+
"lint-staged": {
|
|
25
|
+
"*.js": [
|
|
26
|
+
"eslint --fix"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"prettier": {
|
|
30
|
+
"bracketSpacing": false,
|
|
31
|
+
"printWidth": 100,
|
|
32
|
+
"singleQuote": true
|
|
33
|
+
},
|
|
23
34
|
"appium": {
|
|
24
35
|
"driverName": "uiautomator2",
|
|
25
36
|
"automationName": "UiAutomator2",
|
|
@@ -41,10 +52,10 @@
|
|
|
41
52
|
],
|
|
42
53
|
"dependencies": {
|
|
43
54
|
"@babel/runtime": "^7.0.0",
|
|
44
|
-
"appium-adb": "^9.10.
|
|
45
|
-
"appium-android-driver": "^5.2.
|
|
46
|
-
"appium-chromedriver": "^5.
|
|
47
|
-
"appium-uiautomator2-server": "^5.
|
|
55
|
+
"appium-adb": "^9.10.9",
|
|
56
|
+
"appium-android-driver": "^5.2.12",
|
|
57
|
+
"appium-chromedriver": "^5.2.1",
|
|
58
|
+
"appium-uiautomator2-server": "^5.7.0",
|
|
48
59
|
"asyncbox": "^2.3.1",
|
|
49
60
|
"axios": "^0.x",
|
|
50
61
|
"bluebird": "^3.5.1",
|
|
@@ -52,51 +63,44 @@
|
|
|
52
63
|
"lodash": "^4.17.4",
|
|
53
64
|
"portscanner": "^2.2.0",
|
|
54
65
|
"source-map-support": "^0.x",
|
|
55
|
-
"teen_process": "^
|
|
66
|
+
"teen_process": "^2.0.0"
|
|
56
67
|
},
|
|
57
68
|
"scripts": {
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"test": "gulp once",
|
|
63
|
-
"e2e-test": "gulp e2e-test",
|
|
64
|
-
"watch": "gulp watch",
|
|
65
|
-
"mocha": "mocha",
|
|
66
|
-
"mocha:parallel": "mocha-parallel-tests",
|
|
67
|
-
"coverage": "gulp coveralls",
|
|
68
|
-
"lint": "gulp lint",
|
|
69
|
-
"lint:fix": "gulp eslint --fix",
|
|
69
|
+
"build": "rimraf build && babel --out-dir=build/lib lib && babel --out-dir=build index.js",
|
|
70
|
+
"dev": "npm run build -- --watch",
|
|
71
|
+
"lint": "eslint .",
|
|
72
|
+
"lint:fix": "npm run lint -- --fix",
|
|
70
73
|
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"e2e:
|
|
75
|
-
"e2e:testobject": "cross-env TESTOBJECT_E2E_TESTS=true npm run e2e"
|
|
74
|
+
"precommit-lint": "lint-staged",
|
|
75
|
+
"prepare": "npm run build",
|
|
76
|
+
"test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.js\"",
|
|
77
|
+
"e2e-test:driver": "mocha --exit --timeout 10m \"./test/functional/driver-e2e-specs.js\""
|
|
76
78
|
},
|
|
77
79
|
"pre-commit": [
|
|
78
80
|
"precommit-msg",
|
|
79
|
-
"
|
|
81
|
+
"precommit-lint"
|
|
80
82
|
],
|
|
81
83
|
"peerDependencies": {
|
|
82
84
|
"appium": "^2.0.0-beta.40"
|
|
83
85
|
},
|
|
84
86
|
"devDependencies": {
|
|
85
|
-
"@appium/gulp-plugins": "^7.0.0",
|
|
86
87
|
"@appium/eslint-config-appium": "^6.0.0",
|
|
87
88
|
"@appium/test-support": "^1.0.0",
|
|
88
|
-
"@babel/
|
|
89
|
+
"@babel/cli": "^7.18.10",
|
|
90
|
+
"@babel/core": "^7.18.10",
|
|
91
|
+
"@babel/eslint-parser": "^7.18.9",
|
|
92
|
+
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
93
|
+
"@babel/preset-env": "^7.18.10",
|
|
94
|
+
"@babel/register": "^7.18.9",
|
|
89
95
|
"@semantic-release/git": "^10.0.1",
|
|
90
96
|
"@xmldom/xmldom": "^0.x",
|
|
91
|
-
"android-apidemos": "^4.
|
|
97
|
+
"android-apidemos": "^4.1.1",
|
|
98
|
+
"babel-plugin-source-map-support": "^2.2.0",
|
|
92
99
|
"chai": "^4.1.0",
|
|
93
100
|
"chai-as-promised": "^7.1.1",
|
|
94
101
|
"eslint-config-prettier": "^8.5.0",
|
|
95
|
-
"
|
|
96
|
-
"gulp": "^4.0.0",
|
|
102
|
+
"lint-staged": "^13.0.3",
|
|
97
103
|
"mocha": "^10.0.0",
|
|
98
|
-
"mocha-junit-reporter": "^2.0.0",
|
|
99
|
-
"mocha-multi-reporters": "^1.1.7",
|
|
100
104
|
"pngjs": "^6.0.0",
|
|
101
105
|
"pre-commit": "^1.2.2",
|
|
102
106
|
"rimraf": "^3.0.0",
|