appium-ios-tuntap 0.1.9 → 0.1.10

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,9 @@
1
+ ## [0.1.10](https://github.com/appium/appium-ios-tuntap/compare/v0.1.9...v0.1.10) (2026-04-13)
2
+
3
+ ### Bug Fixes
4
+
5
+ * Use native `which` helper ([#32](https://github.com/appium/appium-ios-tuntap/issues/32)) ([37cb5c3](https://github.com/appium/appium-ios-tuntap/commit/37cb5c3ed68d7c46fdacec00b94d2c3319bc440c))
6
+
1
7
  ## [0.1.9](https://github.com/appium/appium-ios-tuntap/compare/v0.1.8...v0.1.9) (2026-04-13)
2
8
 
3
9
  ### Miscellaneous Chores
Binary file
package/build/config.gypi CHANGED
@@ -502,7 +502,7 @@
502
502
  "cache": "/Users/runner/.npm",
503
503
  "node_gyp": "/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",
504
504
  "npm_version": "11.11.0",
505
- "userconfig": "/private/var/folders/tb/y368xp_x10s3ty1b_mtl5mxr0000gn/T/1576e26949072cafe67c4b6ba3ea3e0f/.npmrc",
505
+ "userconfig": "/private/var/folders/tb/y368xp_x10s3ty1b_mtl5mxr0000gn/T/03d2eb2fce8568cbe5922560e6a16a15/.npmrc",
506
506
  "init_module": "/Users/runner/.npm-init.js",
507
507
  "globalconfig": "/Users/runner/hostedtoolcache/node/24.14.1/arm64/etc/npmrc",
508
508
  "local_prefix": "/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap",
@@ -1,3 +1,4 @@
1
+ import { fs } from '@appium/support';
1
2
  import { log } from '../logger.js';
2
3
  import { TunTapError } from '../errors.js';
3
4
  import { execFileAsync } from './exec.js';
@@ -8,7 +9,7 @@ export class LinuxTunTapPlatform {
8
9
  async configure(interfaceName, address, mtu) {
9
10
  assertEffectiveRoot();
10
11
  try {
11
- await execFileAsync('which', ['ip']);
12
+ await fs.which('ip');
12
13
  }
13
14
  catch {
14
15
  throw new TunTapError('The "ip" command is not available. Please install iproute2 (e.g., sudo apt install iproute2)');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-ios-tuntap",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Native TUN/TAP interface module for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",