appium-mac2-driver 3.2.11 → 3.2.13

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,15 @@
1
+ ## [3.2.13](https://github.com/appium/appium-mac2-driver/compare/v3.2.12...v3.2.13) (2025-12-22)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * bump teen_process ([#369](https://github.com/appium/appium-mac2-driver/issues/369)) ([ef313f7](https://github.com/appium/appium-mac2-driver/commit/ef313f7b4973ba5f74c792c90bc7a3e3b0fd0eca))
6
+
7
+ ## [3.2.12](https://github.com/appium/appium-mac2-driver/compare/v3.2.11...v3.2.12) (2025-12-19)
8
+
9
+ ### Miscellaneous Chores
10
+
11
+ * convert remianing js to ts ([#368](https://github.com/appium/appium-mac2-driver/issues/368)) ([ccef9ea](https://github.com/appium/appium-mac2-driver/commit/ccef9ea92a5081fb220167f5a7e7509e6f670a95))
12
+
1
13
  ## [3.2.11](https://github.com/appium/appium-mac2-driver/compare/v3.2.10...v3.2.11) (2025-12-18)
2
14
 
3
15
  ### Miscellaneous Chores
package/build/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
+ import { Mac2Driver } from './lib/driver';
1
2
  export default Mac2Driver;
2
3
  export { Mac2Driver };
3
- import { Mac2Driver } from './lib/driver';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":";;2BAA2B,cAAc"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,eAAe,UAAU,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":";;;AAAA,yCAA0C;AAGjC,2FAHA,mBAAU,OAGA;AADnB,kBAAe,mBAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,yCAAwC;AAGhC,2FAHA,mBAAU,OAGA;AADlB,kBAAe,mBAAU,CAAC"}
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "appium-mac2-driver",
3
- "version": "3.2.11",
3
+ "version": "3.2.13",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-mac2-driver",
9
- "version": "3.2.11",
9
+ "version": "3.2.13",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@appium/strongbox": "^1.0.0-rc.1",
@@ -17,7 +17,7 @@
17
17
  "bluebird": "^3.5.1",
18
18
  "lodash": "^4.17.4",
19
19
  "portscanner": "2.2.0",
20
- "teen_process": "^3.0.0"
20
+ "teen_process": "^4.0.4"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@appium/eslint-config-appium-ts": "^2.0.0-rc.1",
@@ -26,9 +26,11 @@
26
26
  "@semantic-release/changelog": "^6.0.1",
27
27
  "@semantic-release/git": "^10.0.1",
28
28
  "@types/bluebird": "^3.5.38",
29
+ "@types/chai-as-promised": "^8.0.2",
29
30
  "@types/lodash": "^4.14.196",
30
31
  "@types/mocha": "^10.0.1",
31
32
  "@types/node": "^25.0.0",
33
+ "@types/sinon": "^21.0.0",
32
34
  "chai": "^6.2.1",
33
35
  "chai-as-promised": "^8.0.0",
34
36
  "conventional-changelog-conventionalcommits": "^9.1.0",
@@ -676,38 +678,24 @@
676
678
  }
677
679
  },
678
680
  "node_modules/appium-xcode": {
679
- "version": "6.1.4",
680
- "resolved": "https://registry.npmjs.org/appium-xcode/-/appium-xcode-6.1.4.tgz",
681
- "integrity": "sha512-onvssXYm8BEvciJWTiGsKrLPsIITbDBHlwDqnshIxlV+shbiGYcq1RHynfxu0+Y+/53kfpvPpGLcJzUh1uyRtA==",
681
+ "version": "6.1.6",
682
+ "resolved": "https://registry.npmjs.org/appium-xcode/-/appium-xcode-6.1.6.tgz",
683
+ "integrity": "sha512-ILszBmcbFzTFtAu5M5hmyrSBKqHGmh94gODQTiJX+zKicRvDuZEv013CT0WF1hKbnySIegJt1447l0vFHpmpPw==",
682
684
  "license": "Apache-2.0",
683
685
  "dependencies": {
684
686
  "@appium/support": "^7.0.0-rc.1",
685
- "asyncbox": "^3.0.0",
687
+ "asyncbox": "^4.0.1",
686
688
  "bluebird": "^3.7.2",
687
689
  "lodash": "^4.17.4",
688
690
  "plist": "^3.0.1",
689
691
  "semver": "^7.0.0",
690
- "teen_process": "^3.0.0"
692
+ "teen_process": "^4.0.4"
691
693
  },
692
694
  "engines": {
693
695
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
694
696
  "npm": ">=10"
695
697
  }
696
698
  },
697
- "node_modules/appium-xcode/node_modules/asyncbox": {
698
- "version": "3.0.0",
699
- "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-3.0.0.tgz",
700
- "integrity": "sha512-X7U0nedUMKV3nn9c4R0Zgvdvv6cw97tbDlHSZicq1snGPi/oX9DgGmFSURWtxDdnBWd3V0YviKhqAYAVvoWQ/A==",
701
- "license": "Apache-2.0",
702
- "dependencies": {
703
- "bluebird": "^3.5.1",
704
- "lodash": "^4.17.4",
705
- "source-map-support": "^0.x"
706
- },
707
- "engines": {
708
- "node": ">=16"
709
- }
710
- },
711
699
  "node_modules/appium/node_modules/asyncbox": {
712
700
  "version": "3.0.0",
713
701
  "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-3.0.0.tgz",
@@ -4013,9 +4001,9 @@
4013
4001
  }
4014
4002
  },
4015
4003
  "node_modules/teen_process": {
4016
- "version": "3.0.6",
4017
- "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-3.0.6.tgz",
4018
- "integrity": "sha512-nUw1B4MogSZzzy67n37IM1vg4doj+bWOZ7VwIFZGfD7MDmO+FRlhQlA2+22xJnTELVDDlOaTAMpKuuMI2vkDtg==",
4004
+ "version": "4.0.5",
4005
+ "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.0.5.tgz",
4006
+ "integrity": "sha512-ZQQ2Vjs1/maFzpzfsZRAlQVSZrUBsKzAItaxSLImsHRTdI8hVt9Jm0JHyWFbrvvAf78V55BM3ZgNeQpXcXsWpw==",
4019
4007
  "license": "Apache-2.0",
4020
4008
  "dependencies": {
4021
4009
  "bluebird": "^3.7.2",
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "mac",
7
7
  "XCTest"
8
8
  ],
9
- "version": "3.2.11",
9
+ "version": "3.2.13",
10
10
  "author": "Appium Contributors",
11
11
  "license": "Apache-2.0",
12
12
  "repository": {
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "mainClass": "Mac2Driver",
35
35
  "scripts": {
36
- "open-wda": "./scripts/open-wda.js"
36
+ "open-wda": "./scripts/open-wda.mjs"
37
37
  },
38
38
  "doctor": {
39
39
  "checks": [
@@ -54,7 +54,7 @@
54
54
  "bluebird": "^3.5.1",
55
55
  "lodash": "^4.17.4",
56
56
  "portscanner": "2.2.0",
57
- "teen_process": "^3.0.0"
57
+ "teen_process": "^4.0.4"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "tsc -b",
@@ -64,8 +64,8 @@
64
64
  "lint": "eslint .",
65
65
  "lint:fix": "npm run lint -- --fix",
66
66
  "prepare": "npm run rebuild",
67
- "test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.js\"",
68
- "e2e-test": "mocha --exit --timeout 10m \"./test/functional/**/*-specs.js\""
67
+ "test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.ts\"",
68
+ "e2e-test": "mocha --exit --timeout 10m \"./test/functional/**/*-specs.ts\""
69
69
  },
70
70
  "peerDependencies": {
71
71
  "appium": "^3.0.0-rc.2"
@@ -77,9 +77,11 @@
77
77
  "@semantic-release/changelog": "^6.0.1",
78
78
  "@semantic-release/git": "^10.0.1",
79
79
  "@types/bluebird": "^3.5.38",
80
+ "@types/chai-as-promised": "^8.0.2",
80
81
  "@types/lodash": "^4.14.196",
81
82
  "@types/mocha": "^10.0.1",
82
83
  "@types/node": "^25.0.0",
84
+ "@types/sinon": "^21.0.0",
83
85
  "chai": "^6.2.1",
84
86
  "chai-as-promised": "^8.0.0",
85
87
  "conventional-changelog-conventionalcommits": "^9.1.0",
@@ -91,10 +93,10 @@
91
93
  "webdriverio": "^9.0.0"
92
94
  },
93
95
  "files": [
94
- "index.js",
95
96
  "lib",
96
97
  "build/index.*",
97
98
  "build/lib",
99
+ "!build/test",
98
100
  "scripts",
99
101
  "WebDriverAgentMac/Scripts",
100
102
  "WebDriverAgentMac/Cartfile",
@@ -1,11 +1,14 @@
1
- const path = require('node:path');
2
- const {exec} = require('teen_process');
3
- const {logger} = require('appium/support');
1
+ import path from 'node:path';
2
+ import {fileURLToPath} from 'node:url';
3
+ import {exec} from 'teen_process';
4
+ import {logger} from 'appium/support.js';
4
5
  const XCODEPROJ_NAME = 'WebDriverAgentMac.xcodeproj';
5
6
 
6
7
  const log = logger.getLogger('WDA');
7
8
 
8
9
  async function openWda() {
10
+ const __filename = fileURLToPath(import.meta.url);
11
+ const __dirname = path.dirname(__filename);
9
12
  const dstPath = path.resolve(__dirname, '..', 'WebDriverAgentMac', XCODEPROJ_NAME);
10
13
  log.info(`Opening '${dstPath}'`);
11
14
  await exec('open', [dstPath]);
package/index.js DELETED
@@ -1,4 +0,0 @@
1
- import { Mac2Driver } from './lib/driver';
2
-
3
- export default Mac2Driver;
4
- export { Mac2Driver };