appium-webdriveragent 15.1.6 → 16.0.1

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 (65) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/Scripts/build-webdriveragent.mjs +8 -9
  3. package/Scripts/fetch-prebuilt-wda.mjs +16 -14
  4. package/Scripts/update-wda-version.mjs +12 -10
  5. package/WebDriverAgentLib/Info.plist +2 -2
  6. package/build/lib/check-dependencies.d.ts +1 -1
  7. package/build/lib/check-dependencies.d.ts.map +1 -1
  8. package/build/lib/check-dependencies.js +12 -18
  9. package/build/lib/check-dependencies.js.map +1 -1
  10. package/build/lib/constants.js +13 -19
  11. package/build/lib/constants.js.map +1 -1
  12. package/build/lib/index.d.ts +6 -6
  13. package/build/lib/index.d.ts.map +1 -1
  14. package/build/lib/index.js +6 -32
  15. package/build/lib/index.js.map +1 -1
  16. package/build/lib/logger.js +2 -5
  17. package/build/lib/logger.js.map +1 -1
  18. package/build/lib/no-session-proxy.js +2 -6
  19. package/build/lib/no-session-proxy.js.map +1 -1
  20. package/build/lib/types.d.ts.map +1 -1
  21. package/build/lib/types.js +1 -2
  22. package/build/lib/utils/index.d.ts +6 -6
  23. package/build/lib/utils/index.d.ts.map +1 -1
  24. package/build/lib/utils/index.js +8 -22
  25. package/build/lib/utils/index.js.map +1 -1
  26. package/build/lib/utils/module.d.ts.map +1 -1
  27. package/build/lib/utils/module.js +9 -20
  28. package/build/lib/utils/module.js.map +1 -1
  29. package/build/lib/utils/platform.js +3 -6
  30. package/build/lib/utils/platform.js.map +1 -1
  31. package/build/lib/utils/processes.d.ts.map +1 -1
  32. package/build/lib/utils/processes.js +16 -21
  33. package/build/lib/utils/processes.js.map +1 -1
  34. package/build/lib/utils/security.d.ts.map +1 -1
  35. package/build/lib/utils/security.js +7 -10
  36. package/build/lib/utils/security.js.map +1 -1
  37. package/build/lib/utils/xctestrun.d.ts +1 -1
  38. package/build/lib/utils/xctestrun.d.ts.map +1 -1
  39. package/build/lib/utils/xctestrun.js +26 -37
  40. package/build/lib/utils/xctestrun.js.map +1 -1
  41. package/build/lib/wda-strategies.d.ts +3 -3
  42. package/build/lib/wda-strategies.d.ts.map +1 -1
  43. package/build/lib/wda-strategies.js +15 -24
  44. package/build/lib/wda-strategies.js.map +1 -1
  45. package/build/lib/webdriveragent.d.ts +3 -8
  46. package/build/lib/webdriveragent.d.ts.map +1 -1
  47. package/build/lib/webdriveragent.js +45 -63
  48. package/build/lib/webdriveragent.js.map +1 -1
  49. package/build/lib/xcodebuild.d.ts +2 -2
  50. package/build/lib/xcodebuild.d.ts.map +1 -1
  51. package/build/lib/xcodebuild.js +29 -43
  52. package/build/lib/xcodebuild.js.map +1 -1
  53. package/lib/check-dependencies.ts +7 -11
  54. package/lib/index.ts +6 -6
  55. package/lib/types.ts +5 -3
  56. package/lib/utils/index.ts +7 -12
  57. package/lib/utils/module.ts +2 -7
  58. package/lib/utils/platform.ts +1 -1
  59. package/lib/utils/processes.ts +3 -4
  60. package/lib/utils/security.ts +3 -5
  61. package/lib/utils/xctestrun.ts +11 -24
  62. package/lib/wda-strategies.ts +10 -17
  63. package/lib/webdriveragent.ts +22 -48
  64. package/lib/xcodebuild.ts +20 -41
  65. package/package.json +66 -67
package/package.json CHANGED
@@ -1,94 +1,93 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "15.1.6",
3
+ "version": "16.0.1",
4
4
  "description": "Package bundling WebDriverAgent",
5
+ "keywords": [
6
+ "Appium",
7
+ "Selenium",
8
+ "WebDriver",
9
+ "WebDriverAgent",
10
+ "iOS"
11
+ ],
12
+ "homepage": "https://github.com/appium/WebDriverAgent#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/appium/WebDriverAgent/issues"
15
+ },
16
+ "license": "Apache-2.0",
17
+ "author": "Appium Contributors",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/appium/WebDriverAgent.git"
21
+ },
22
+ "files": [
23
+ "lib",
24
+ "build/lib",
25
+ "Scripts/build.sh",
26
+ "Scripts/embed-runner-icon.sh",
27
+ "Scripts/*.mjs",
28
+ "Configurations",
29
+ "PrivateHeaders",
30
+ "WebDriverAgent.xcodeproj",
31
+ "WebDriverAgentLib",
32
+ "WebDriverAgentRunner",
33
+ "WebDriverAgentTests",
34
+ "XCTWebDriverAgentLib",
35
+ "CHANGELOG.md"
36
+ ],
37
+ "type": "module",
5
38
  "main": "./build/lib/index.js",
6
39
  "types": "./build/lib/index.d.ts",
40
+ "exports": {
41
+ ".": {
42
+ "types": "./build/lib/index.d.ts",
43
+ "import": "./build/lib/index.js"
44
+ },
45
+ "./package.json": "./package.json"
46
+ },
7
47
  "scripts": {
8
48
  "build": "tsc -b",
9
49
  "dev": "npm run build -- --watch",
10
50
  "clean": "npm run build -- --clean",
11
- "lint": "eslint .",
12
- "lint:fix": "npm run lint -- --fix",
13
- "format": "prettier -w ./lib ./test",
14
- "format:check": "prettier --check ./lib ./test",
51
+ "lint": "oxlint -c oxlint.config.mjs .",
52
+ "lint:fix": "oxlint -c oxlint.config.mjs --fix .",
53
+ "format": "oxfmt -c oxfmt.config.mjs .",
54
+ "format:check": "oxfmt -c oxfmt.config.mjs --check .",
15
55
  "prepare": "npm run build",
16
56
  "version": "npm run sync-wda-version",
17
- "test": "node --test --test-timeout=60000 \"./build/test/unit/**/*.spec.js\"",
18
- "e2e-test": "node --test --test-force-exit --test-concurrency=1 --test-timeout=600000 \"./build/test/functional/**/*.spec.js\"",
57
+ "test": "node --enable-source-maps --test --test-timeout=60000 \"./build/test/unit/**/*.spec.js\"",
58
+ "e2e-test": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 --test-timeout=600000 \"./build/test/functional/**/*.spec.js\"",
19
59
  "bundle": "npm run bundle:ios && npm run bundle:tv",
20
60
  "bundle:ios": "TARGET=runner SDK=sim node ./Scripts/build-webdriveragent.mjs",
21
61
  "bundle:tv": "TARGET=tv_runner SDK=tv_sim node ./Scripts/build-webdriveragent.mjs",
22
62
  "fetch-prebuilt-wda": "node ./Scripts/fetch-prebuilt-wda.mjs",
23
63
  "sync-wda-version": "node ./Scripts/update-wda-version.mjs --package-version=${npm_package_version} && git add WebDriverAgentLib/Info.plist"
24
64
  },
25
- "engines": {
26
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
27
- "npm": ">=10"
28
- },
29
- "prettier": {
30
- "bracketSpacing": false,
31
- "printWidth": 100,
32
- "singleQuote": true
33
- },
34
- "repository": {
35
- "type": "git",
36
- "url": "git+https://github.com/appium/WebDriverAgent.git"
37
- },
38
- "keywords": [
39
- "Appium",
40
- "iOS",
41
- "WebDriver",
42
- "Selenium",
43
- "WebDriverAgent"
44
- ],
45
- "author": "Appium Contributors",
46
- "license": "Apache-2.0",
47
- "bugs": {
48
- "url": "https://github.com/appium/WebDriverAgent/issues"
49
- },
50
- "homepage": "https://github.com/appium/WebDriverAgent#readme",
51
- "devDependencies": {
52
- "@appium/eslint-config-appium-ts": "^3.0.0",
53
- "@appium/tsconfig": "^1.0.0-rc.1",
54
- "@appium/types": "^1.0.0-rc.1",
55
- "@semantic-release/changelog": "^6.0.1",
56
- "@semantic-release/git": "^10.0.1",
57
- "@types/async-lock": "^1.4.2",
58
- "@types/node": "^26.0.0",
59
- "@types/sinon": "^22.0.0",
60
- "appium-xcode": "^6.0.0",
61
- "conventional-changelog-conventionalcommits": "^9.3.1",
62
- "node-simctl": "^8.0.0",
63
- "prettier": "^3.9.3",
64
- "semantic-release": "^25.0.2",
65
- "semver": "^7.3.7",
66
- "sinon": "^22.0.0",
67
- "typescript": "^6.0.2"
68
- },
69
65
  "dependencies": {
70
66
  "@appium/base-driver": "^10.3.0",
71
67
  "@appium/strongbox": "^1.0.0-rc.1",
72
68
  "@appium/support": "^7.2.1",
73
- "appium-ios-simulator": "^8.0.0",
69
+ "appium-ios-simulator": "^9.0.0",
74
70
  "async-lock": "^1.0.0",
75
71
  "asyncbox": "^6.1.0",
76
72
  "axios": "^1.16.0",
77
73
  "teen_process": "^4.0.7"
78
74
  },
79
- "files": [
80
- "lib",
81
- "build/lib",
82
- "Scripts/build.sh",
83
- "Scripts/embed-runner-icon.sh",
84
- "Scripts/*.mjs",
85
- "Configurations",
86
- "PrivateHeaders",
87
- "WebDriverAgent.xcodeproj",
88
- "WebDriverAgentLib",
89
- "WebDriverAgentRunner",
90
- "WebDriverAgentTests",
91
- "XCTWebDriverAgentLib",
92
- "CHANGELOG.md"
93
- ]
75
+ "devDependencies": {
76
+ "@appium/oxc-config": "^1.1.0",
77
+ "@appium/semantic-release-config": "^1.1.0",
78
+ "@appium/tsconfig": "^1.0.0-rc.1",
79
+ "@appium/types": "^1.0.0-rc.1",
80
+ "@types/async-lock": "^1.4.2",
81
+ "@types/node": "^26.0.0",
82
+ "@types/sinon": "^22.0.0",
83
+ "appium-xcode": "^7.0.0",
84
+ "esmock": "^2.7.6",
85
+ "node-simctl": "^9.0.0",
86
+ "semver": "^7.3.7",
87
+ "sinon": "^22.0.0"
88
+ },
89
+ "engines": {
90
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
91
+ "npm": ">=10"
92
+ }
94
93
  }