appium-espresso-driver 8.6.2 → 9.0.0
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 +10 -0
- package/build/lib/commands/actions.d.ts +1 -1
- package/build/lib/commands/actions.d.ts.map +1 -1
- package/build/lib/commands/actions.js +1 -4
- package/build/lib/commands/actions.js.map +1 -1
- package/build/lib/commands/app-install.d.ts +1 -1
- package/build/lib/commands/app-install.d.ts.map +1 -1
- package/build/lib/commands/app-install.js +31 -41
- package/build/lib/commands/app-install.js.map +1 -1
- package/build/lib/commands/app-management.d.ts +1 -1
- package/build/lib/commands/app-management.d.ts.map +1 -1
- package/build/lib/commands/app-management.js +8 -12
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/clipboard.d.ts +1 -1
- package/build/lib/commands/clipboard.d.ts.map +1 -1
- package/build/lib/commands/clipboard.js +2 -6
- package/build/lib/commands/clipboard.js.map +1 -1
- package/build/lib/commands/context.d.ts +1 -1
- package/build/lib/commands/context.d.ts.map +1 -1
- package/build/lib/commands/context.js +2 -6
- package/build/lib/commands/context.js.map +1 -1
- package/build/lib/commands/element.d.ts +1 -1
- package/build/lib/commands/element.d.ts.map +1 -1
- package/build/lib/commands/element.js +17 -30
- package/build/lib/commands/element.js.map +1 -1
- package/build/lib/commands/idling-resources.d.ts +1 -1
- package/build/lib/commands/idling-resources.d.ts.map +1 -1
- package/build/lib/commands/idling-resources.js +4 -10
- package/build/lib/commands/idling-resources.js.map +1 -1
- package/build/lib/commands/misc.d.ts +2 -2
- package/build/lib/commands/misc.d.ts.map +1 -1
- package/build/lib/commands/misc.js +14 -25
- package/build/lib/commands/misc.js.map +1 -1
- package/build/lib/commands/screenshot.d.ts +2 -2
- package/build/lib/commands/screenshot.d.ts.map +1 -1
- package/build/lib/commands/screenshot.js +2 -6
- package/build/lib/commands/screenshot.js.map +1 -1
- package/build/lib/commands/server/builder.js +24 -33
- package/build/lib/commands/server/builder.js.map +1 -1
- package/build/lib/commands/server/constants.js +5 -8
- package/build/lib/commands/server/constants.js.map +1 -1
- package/build/lib/commands/server/index.d.ts +4 -4
- package/build/lib/commands/server/index.d.ts.map +1 -1
- package/build/lib/commands/server/index.js +4 -16
- package/build/lib/commands/server/index.js.map +1 -1
- package/build/lib/commands/server/runner.d.ts +2 -2
- package/build/lib/commands/server/runner.d.ts.map +1 -1
- package/build/lib/commands/server/runner.js +59 -98
- package/build/lib/commands/server/runner.js.map +1 -1
- package/build/lib/commands/server/startup.d.ts +1 -1
- package/build/lib/commands/server/startup.d.ts.map +1 -1
- package/build/lib/commands/server/startup.js +16 -22
- package/build/lib/commands/server/startup.js.map +1 -1
- package/build/lib/commands/services.d.ts +1 -1
- package/build/lib/commands/services.d.ts.map +1 -1
- package/build/lib/commands/services.js +2 -6
- package/build/lib/commands/services.js.map +1 -1
- package/build/lib/commands/types.js +1 -2
- package/build/lib/constraints.js +3 -6
- package/build/lib/constraints.js.map +1 -1
- package/build/lib/doctor/optional-checks.js +3 -6
- package/build/lib/doctor/optional-checks.js.map +1 -1
- package/build/lib/doctor/required-checks.js +18 -25
- package/build/lib/doctor/required-checks.js.map +1 -1
- package/build/lib/driver.d.ts +12 -12
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +36 -73
- package/build/lib/driver.js.map +1 -1
- package/build/lib/execute-method-map.js +3 -6
- package/build/lib/execute-method-map.js.map +1 -1
- package/build/lib/index.d.ts +1 -1
- package/build/lib/index.d.ts.map +1 -1
- package/build/lib/index.js +3 -6
- package/build/lib/index.js.map +1 -1
- package/build/lib/logger.js +2 -5
- package/build/lib/logger.js.map +1 -1
- package/build/lib/method-map.js +3 -6
- package/build/lib/method-map.js.map +1 -1
- package/build/lib/types.d.ts +1 -1
- package/build/lib/types.d.ts.map +1 -1
- package/build/lib/types.js +1 -2
- package/build/lib/utils/app.js +1 -4
- package/build/lib/utils/app.js.map +1 -1
- package/build/lib/utils/index.d.ts +3 -3
- package/build/lib/utils/index.d.ts.map +1 -1
- package/build/lib/utils/index.js +3 -12
- package/build/lib/utils/index.js.map +1 -1
- package/build/lib/utils/package.d.ts.map +1 -1
- package/build/lib/utils/package.js +19 -24
- package/build/lib/utils/package.js.map +1 -1
- package/build/lib/utils/predicates.js +3 -8
- package/build/lib/utils/predicates.js.map +1 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/espresso-server/buildSrc/.gradle/9.6.0/executionHistory/executionHistory.bin +0 -0
- package/espresso-server/buildSrc/.gradle/9.6.0/executionHistory/executionHistory.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/espresso-server/buildSrc/.gradle/file-system.probe +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
- package/lib/commands/actions.ts +1 -1
- package/lib/commands/app-install.ts +4 -4
- package/lib/commands/app-management.ts +3 -3
- package/lib/commands/clipboard.ts +1 -1
- package/lib/commands/context.ts +1 -1
- package/lib/commands/element.ts +3 -3
- package/lib/commands/idling-resources.ts +1 -1
- package/lib/commands/misc.ts +4 -4
- package/lib/commands/screenshot.ts +2 -2
- package/lib/commands/server/builder.ts +2 -2
- package/lib/commands/server/index.ts +4 -4
- package/lib/commands/server/runner.ts +8 -6
- package/lib/commands/server/startup.ts +4 -4
- package/lib/commands/services.ts +1 -1
- package/lib/doctor/required-checks.ts +1 -1
- package/lib/driver.ts +19 -19
- package/lib/index.ts +1 -1
- package/lib/logger.ts +1 -1
- package/lib/types.ts +1 -1
- package/lib/utils/index.ts +3 -3
- package/lib/utils/package.ts +5 -3
- package/npm-shrinkwrap.json +33 -54
- package/package.json +14 -7
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-espresso-driver",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "9.0.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"appium-adb": "^15.0.0",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"@types/async-lock": "^1.4.2",
|
|
29
29
|
"@types/chai": "^5.2.3",
|
|
30
30
|
"@types/chai-as-promised": "^8.0.2",
|
|
31
|
-
"@types/mocha": "^10.0.1",
|
|
32
31
|
"@types/node": "^26.0.0",
|
|
33
32
|
"@types/portscanner": "^2.1.4",
|
|
34
33
|
"@types/semver": "^7.7.1",
|
|
@@ -39,12 +38,10 @@
|
|
|
39
38
|
"chai": "^6.0.0",
|
|
40
39
|
"chai-as-promised": "^8.0.0",
|
|
41
40
|
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
42
|
-
"mocha": "^11.1.0",
|
|
43
41
|
"prettier": "^3.0.0",
|
|
44
42
|
"semantic-release": "^25.0.2",
|
|
45
43
|
"semver": "^7.3.7",
|
|
46
44
|
"sinon": "^22.0.0",
|
|
47
|
-
"ts-node": "^10.9.1",
|
|
48
45
|
"typescript": "^6.0.3",
|
|
49
46
|
"webdriverio": "^9.26.0",
|
|
50
47
|
"xpath": "^0.x"
|
|
@@ -152,6 +149,18 @@
|
|
|
152
149
|
"sharp": "0.35.1"
|
|
153
150
|
}
|
|
154
151
|
},
|
|
152
|
+
"node_modules/@appium/support/node_modules/semver": {
|
|
153
|
+
"version": "7.8.4",
|
|
154
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
|
|
155
|
+
"integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
|
|
156
|
+
"license": "ISC",
|
|
157
|
+
"bin": {
|
|
158
|
+
"semver": "bin/semver.js"
|
|
159
|
+
},
|
|
160
|
+
"engines": {
|
|
161
|
+
"node": ">=10"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
155
164
|
"node_modules/@appium/support/node_modules/teen_process": {
|
|
156
165
|
"version": "4.1.3",
|
|
157
166
|
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.3.tgz",
|
|
@@ -744,19 +753,6 @@
|
|
|
744
753
|
"url": "https://github.com/chalk/chalk?sponsor=1"
|
|
745
754
|
}
|
|
746
755
|
},
|
|
747
|
-
"node_modules/chalk/node_modules/supports-color": {
|
|
748
|
-
"version": "7.2.0",
|
|
749
|
-
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
|
750
|
-
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
|
751
|
-
"extraneous": true,
|
|
752
|
-
"license": "MIT",
|
|
753
|
-
"dependencies": {
|
|
754
|
-
"has-flag": "^4.0.0"
|
|
755
|
-
},
|
|
756
|
-
"engines": {
|
|
757
|
-
"node": ">=8"
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
756
|
"node_modules/cliui": {
|
|
761
757
|
"version": "9.0.1",
|
|
762
758
|
"resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz",
|
|
@@ -1684,19 +1680,6 @@
|
|
|
1684
1680
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
1685
1681
|
}
|
|
1686
1682
|
},
|
|
1687
|
-
"node_modules/is-unicode-supported": {
|
|
1688
|
-
"version": "0.1.0",
|
|
1689
|
-
"resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz",
|
|
1690
|
-
"integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==",
|
|
1691
|
-
"extraneous": true,
|
|
1692
|
-
"license": "MIT",
|
|
1693
|
-
"engines": {
|
|
1694
|
-
"node": ">=10"
|
|
1695
|
-
},
|
|
1696
|
-
"funding": {
|
|
1697
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
1698
|
-
}
|
|
1699
|
-
},
|
|
1700
1683
|
"node_modules/isarray": {
|
|
1701
1684
|
"version": "1.0.0",
|
|
1702
1685
|
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
|
@@ -1810,23 +1793,6 @@
|
|
|
1810
1793
|
"integrity": "sha512-7FGG40uhC8Mm633uKW1r58aElFlBlxCrg9JfSi3P6aYiWmfiWF0PgMd86ZUsxE5GwWPdHoS2+48bwTh2VPkIQA==",
|
|
1811
1794
|
"license": "MIT"
|
|
1812
1795
|
},
|
|
1813
|
-
"node_modules/log-symbols": {
|
|
1814
|
-
"version": "4.1.0",
|
|
1815
|
-
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
|
|
1816
|
-
"integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==",
|
|
1817
|
-
"extraneous": true,
|
|
1818
|
-
"license": "MIT",
|
|
1819
|
-
"dependencies": {
|
|
1820
|
-
"chalk": "^4.1.0",
|
|
1821
|
-
"is-unicode-supported": "^0.1.0"
|
|
1822
|
-
},
|
|
1823
|
-
"engines": {
|
|
1824
|
-
"node": ">=10"
|
|
1825
|
-
},
|
|
1826
|
-
"funding": {
|
|
1827
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
1828
|
-
}
|
|
1829
|
-
},
|
|
1830
1796
|
"node_modules/lru-cache": {
|
|
1831
1797
|
"version": "11.5.1",
|
|
1832
1798
|
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",
|
|
@@ -2415,9 +2381,9 @@
|
|
|
2415
2381
|
"optional": true
|
|
2416
2382
|
},
|
|
2417
2383
|
"node_modules/semver": {
|
|
2418
|
-
"version": "7.8.
|
|
2419
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.
|
|
2420
|
-
"integrity": "sha512-
|
|
2384
|
+
"version": "7.8.5",
|
|
2385
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
|
|
2386
|
+
"integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
|
|
2421
2387
|
"license": "ISC",
|
|
2422
2388
|
"bin": {
|
|
2423
2389
|
"semver": "bin/semver.js"
|
|
@@ -2827,6 +2793,19 @@
|
|
|
2827
2793
|
"node": ">=8"
|
|
2828
2794
|
}
|
|
2829
2795
|
},
|
|
2796
|
+
"node_modules/supports-color": {
|
|
2797
|
+
"version": "7.2.0",
|
|
2798
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
|
2799
|
+
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
|
2800
|
+
"extraneous": true,
|
|
2801
|
+
"license": "MIT",
|
|
2802
|
+
"dependencies": {
|
|
2803
|
+
"has-flag": "^4.0.0"
|
|
2804
|
+
},
|
|
2805
|
+
"engines": {
|
|
2806
|
+
"node": ">=8"
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2830
2809
|
"node_modules/tagged-tag": {
|
|
2831
2810
|
"version": "1.0.0",
|
|
2832
2811
|
"resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz",
|
|
@@ -2852,9 +2831,9 @@
|
|
|
2852
2831
|
}
|
|
2853
2832
|
},
|
|
2854
2833
|
"node_modules/teen_process": {
|
|
2855
|
-
"version": "4.1.
|
|
2856
|
-
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.
|
|
2857
|
-
"integrity": "sha512-
|
|
2834
|
+
"version": "4.1.5",
|
|
2835
|
+
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.5.tgz",
|
|
2836
|
+
"integrity": "sha512-XQ4MDij09YygEZyXD6QFKfWhAi7efiEQ4fM2ACNDgkj/LO5mZWi2bR5ghNEU232mMx4+MLrNwV95BV4S+4PGsg==",
|
|
2858
2837
|
"license": "Apache-2.0",
|
|
2859
2838
|
"dependencies": {
|
|
2860
2839
|
"shell-quote": "^1.8.1"
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "
|
|
10
|
+
"version": "9.0.0",
|
|
11
11
|
"author": "Appium Contributors",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"printWidth": 100,
|
|
27
27
|
"singleQuote": true
|
|
28
28
|
},
|
|
29
|
+
"type": "module",
|
|
29
30
|
"appium": {
|
|
30
31
|
"driverName": "espresso",
|
|
31
32
|
"automationName": "Espresso",
|
|
@@ -102,12 +103,14 @@
|
|
|
102
103
|
"format:check": "prettier --check ./lib ./test",
|
|
103
104
|
"prepare": "npm run rebuild",
|
|
104
105
|
"sync-version": "node ./scripts/sync-version.mjs --package-version=${npm_package_version}",
|
|
105
|
-
"
|
|
106
|
-
"test
|
|
106
|
+
"pretest": "npm run build:node",
|
|
107
|
+
"test": "node --test --test-timeout=60000 \"build/test/unit/**/*-specs.js\"",
|
|
108
|
+
"test:node": "npm test",
|
|
107
109
|
"test:server": "cd espresso-server && ./gradlew test --stacktrace || cd ..",
|
|
108
110
|
"assemble:server:compose-off": "cd espresso-server && ./gradlew :app:assembleAndroidTest -PappiumComposeSupport=false --no-daemon",
|
|
109
111
|
"version": "npm run sync-version && npm run build:server",
|
|
110
|
-
"
|
|
112
|
+
"pree2e-test": "npm run build:node",
|
|
113
|
+
"e2e-test": "node --test --test-concurrency=1 --test-timeout=300000 \"build/test/functional/**/*-specs.js\""
|
|
111
114
|
},
|
|
112
115
|
"peerDependencies": {
|
|
113
116
|
"appium": "^3.0.0-rc.2"
|
|
@@ -121,7 +124,6 @@
|
|
|
121
124
|
"@types/async-lock": "^1.4.2",
|
|
122
125
|
"@types/chai": "^5.2.3",
|
|
123
126
|
"@types/chai-as-promised": "^8.0.2",
|
|
124
|
-
"@types/mocha": "^10.0.1",
|
|
125
127
|
"@types/node": "^26.0.0",
|
|
126
128
|
"@types/portscanner": "^2.1.4",
|
|
127
129
|
"@types/semver": "^7.7.1",
|
|
@@ -132,14 +134,19 @@
|
|
|
132
134
|
"chai": "^6.0.0",
|
|
133
135
|
"chai-as-promised": "^8.0.0",
|
|
134
136
|
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
135
|
-
"mocha": "^11.1.0",
|
|
136
137
|
"prettier": "^3.0.0",
|
|
137
138
|
"semantic-release": "^25.0.2",
|
|
138
139
|
"semver": "^7.3.7",
|
|
139
140
|
"sinon": "^22.0.0",
|
|
140
|
-
"ts-node": "^10.9.1",
|
|
141
141
|
"typescript": "^6.0.3",
|
|
142
142
|
"webdriverio": "^9.26.0",
|
|
143
143
|
"xpath": "^0.x"
|
|
144
|
+
},
|
|
145
|
+
"exports": {
|
|
146
|
+
".": {
|
|
147
|
+
"types": "./build/lib/index.d.ts",
|
|
148
|
+
"import": "./build/lib/index.js"
|
|
149
|
+
},
|
|
150
|
+
"./package.json": "./package.json"
|
|
144
151
|
}
|
|
145
152
|
}
|