appium-ios-tuntap 0.1.1 → 0.1.3
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 +13 -0
- package/build/Makefile +5 -5
- package/build/Release/.deps/Release/nothing.a.d +1 -1
- package/build/Release/.deps/Release/obj.target/nothing/node_modules/node-addon-api/nothing.o.d +1 -1
- package/build/Release/.deps/Release/obj.target/tuntap/src/tuntap.o.d +21 -21
- package/build/Release/nothing.a +0 -0
- package/build/Release/obj.target/nothing/node_modules/node-addon-api/nothing.o +0 -0
- package/build/Release/obj.target/tuntap/src/tuntap.o +0 -0
- package/build/Release/tuntap.node +0 -0
- package/build/config.gypi +25 -13
- package/build/node_modules/node-addon-api/nothing.target.mk +20 -20
- package/build/tuntap.target.mk +14 -14
- package/lib/TunTap.js +3 -3
- package/lib/tunnel.d.ts +3 -3
- package/lib/tunnel.js +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [0.1.3](https://github.com/appium/appium-ios-tuntap/compare/v0.1.2...v0.1.3) (2026-01-28)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous Chores
|
|
4
|
+
|
|
5
|
+
* **deps-dev:** bump @appium/eslint-config-appium-ts from 2.0.5 to 3.0.0 ([#21](https://github.com/appium/appium-ios-tuntap/issues/21)) ([d6ad919](https://github.com/appium/appium-ios-tuntap/commit/d6ad91935c2e0a3ac46c6db55a8ac229276df0f4))
|
|
6
|
+
* **deps-dev:** bump @types/node from 24.10.3 to 25.0.1 ([#20](https://github.com/appium/appium-ios-tuntap/issues/20)) ([ed4d95c](https://github.com/appium/appium-ios-tuntap/commit/ed4d95c64d9ed0b94b170b081efea4c7e635b1d9))
|
|
7
|
+
|
|
8
|
+
## [0.1.2](https://github.com/appium/appium-ios-tuntap/compare/v0.1.1...v0.1.2) (2025-11-15)
|
|
9
|
+
|
|
10
|
+
### Miscellaneous Chores
|
|
11
|
+
|
|
12
|
+
* publish via trusted publisher ([e01e51c](https://github.com/appium/appium-ios-tuntap/commit/e01e51c7a54849b7ae450ce5278c970756dd6aee))
|
|
13
|
+
|
|
1
14
|
## [0.1.1](https://github.com/appium/appium-ios-tuntap/compare/v0.1.0...v0.1.1) (2025-10-17)
|
|
2
15
|
|
|
3
16
|
### Miscellaneous Chores
|
package/build/Makefile
CHANGED
|
@@ -148,10 +148,10 @@ cmd_pch_mm = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
|
148
148
|
# Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd
|
|
149
149
|
# already.
|
|
150
150
|
quiet_cmd_mac_tool = MACTOOL $(4) $<
|
|
151
|
-
cmd_mac_tool = /opt/homebrew/opt/python@3.
|
|
151
|
+
cmd_mac_tool = /opt/homebrew/opt/python@3.14/bin/python3.14 gyp-mac-tool $(4) $< "$@"
|
|
152
152
|
|
|
153
153
|
quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@
|
|
154
|
-
cmd_mac_package_framework = /opt/homebrew/opt/python@3.
|
|
154
|
+
cmd_mac_package_framework = /opt/homebrew/opt/python@3.14/bin/python3.14 gyp-mac-tool package-framework "$@" $(4)
|
|
155
155
|
|
|
156
156
|
quiet_cmd_infoplist = INFOPLIST $@
|
|
157
157
|
cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@"
|
|
@@ -167,7 +167,7 @@ quiet_cmd_symlink = SYMLINK $@
|
|
|
167
167
|
cmd_symlink = ln -sf "$<" "$@"
|
|
168
168
|
|
|
169
169
|
quiet_cmd_alink = LIBTOOL-STATIC $@
|
|
170
|
-
cmd_alink = rm -f $@ && /opt/homebrew/opt/python@3.
|
|
170
|
+
cmd_alink = rm -f $@ && /opt/homebrew/opt/python@3.14/bin/python3.14 gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^)
|
|
171
171
|
|
|
172
172
|
quiet_cmd_link = LINK($(TOOLSET)) $@
|
|
173
173
|
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
|
|
@@ -336,8 +336,8 @@ ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
|
|
336
336
|
endif
|
|
337
337
|
|
|
338
338
|
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
|
339
|
-
cmd_regen_makefile = cd $(srcdir); /Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/runner/Library/Caches/node-gyp/
|
|
340
|
-
Makefile: $(srcdir)/../../../Library/Caches/node-gyp/
|
|
339
|
+
cmd_regen_makefile = cd $(srcdir); /Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/runner/Library/Caches/node-gyp/24.13.0" "-Dnode_gyp_dir=/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/runner/Library/Caches/node-gyp/24.13.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/build/config.gypi -I/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/common.gypi "--toplevel-dir=." binding.gyp
|
|
340
|
+
Makefile: $(srcdir)/../../../Library/Caches/node-gyp/24.13.0/include/node/common.gypi $(srcdir)/binding.gyp $(srcdir)/build/config.gypi $(srcdir)/node_modules/node-addon-api/node_api.gyp $(srcdir)/node_modules/npm/node_modules/node-gyp/addon.gypi
|
|
341
341
|
$(call do_cmd,regen_makefile)
|
|
342
342
|
|
|
343
343
|
# "all" is a concatenation of the "all" targets from all the included
|
|
@@ -1 +1 @@
|
|
|
1
|
-
cmd_Release/nothing.a := rm -f Release/nothing.a && /opt/homebrew/opt/python@3.
|
|
1
|
+
cmd_Release/nothing.a := rm -f Release/nothing.a && /opt/homebrew/opt/python@3.14/bin/python3.14 gyp-mac-tool filter-libtool libtool -static -o Release/nothing.a Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
|
package/build/Release/.deps/Release/obj.target/nothing/node_modules/node-addon-api/nothing.o.d
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
cmd_Release/obj.target/nothing/node_modules/node-addon-api/nothing.o := cc -o Release/obj.target/nothing/node_modules/node-addon-api/nothing.o ../node_modules/node-addon-api/nothing.c '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_FILE_OFFSET_BITS=64' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' -I/Users/runner/Library/Caches/node-gyp/
|
|
1
|
+
cmd_Release/obj.target/nothing/node_modules/node-addon-api/nothing.o := cc -o Release/obj.target/nothing/node_modules/node-addon-api/nothing.o ../node_modules/node-addon-api/nothing.c '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_FILE_OFFSET_BITS=64' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' -I/Users/runner/Library/Caches/node-gyp/24.13.0/include/node -I/Users/runner/Library/Caches/node-gyp/24.13.0/src -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/config -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/openssl/include -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/uv/include -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/zlib -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/v8/include -O3 -gdwarf-2 -fno-strict-aliasing -mmacosx-version-min=13.5 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -MMD -MF ./Release/.deps/Release/obj.target/nothing/node_modules/node-addon-api/nothing.o.d.raw -c
|
|
2
2
|
Release/obj.target/nothing/node_modules/node-addon-api/nothing.o: \
|
|
3
3
|
../node_modules/node-addon-api/nothing.c
|
|
4
4
|
../node_modules/node-addon-api/nothing.c:
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
cmd_Release/obj.target/tuntap/src/tuntap.o := c++ -o Release/obj.target/tuntap/src/tuntap.o ../src/tuntap.cc '-DNODE_GYP_MODULE_NAME=tuntap' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_FILE_OFFSET_BITS=64' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_CPP_EXCEPTIONS' '-DNAPI_VERSION=8' '-DBUILDING_NODE_EXTENSION' -I/Users/runner/Library/Caches/node-gyp/
|
|
1
|
+
cmd_Release/obj.target/tuntap/src/tuntap.o := c++ -o Release/obj.target/tuntap/src/tuntap.o ../src/tuntap.cc '-DNODE_GYP_MODULE_NAME=tuntap' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_FILE_OFFSET_BITS=64' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNAPI_CPP_EXCEPTIONS' '-DNAPI_VERSION=8' '-DBUILDING_NODE_EXTENSION' -I/Users/runner/Library/Caches/node-gyp/24.13.0/include/node -I/Users/runner/Library/Caches/node-gyp/24.13.0/src -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/config -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/openssl/include -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/uv/include -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/zlib -I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/v8/include -I/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api -O3 -gdwarf-2 -fno-strict-aliasing -mmacosx-version-min=10.15 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wall -Wextra -Wno-unused-parameter -Wno-vla-extension -Wno-error -std=c++17 -stdlib=libc++ -fno-rtti -O3 -fPIC -MMD -MF ./Release/.deps/Release/obj.target/tuntap/src/tuntap.o.d.raw -c
|
|
2
2
|
Release/obj.target/tuntap/src/tuntap.o: ../src/tuntap.cc \
|
|
3
3
|
/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api/napi.h \
|
|
4
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
5
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
6
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
7
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
4
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/node_api.h \
|
|
5
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/js_native_api.h \
|
|
6
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/js_native_api_types.h \
|
|
7
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/node_api_types.h \
|
|
8
8
|
/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api/napi-inl.h \
|
|
9
9
|
/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api/napi-inl.deprecated.h \
|
|
10
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
11
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
12
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
13
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
14
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
15
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
10
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv.h \
|
|
11
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/errno.h \
|
|
12
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/version.h \
|
|
13
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/unix.h \
|
|
14
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/threadpool.h \
|
|
15
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/darwin.h
|
|
16
16
|
../src/tuntap.cc:
|
|
17
17
|
/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api/napi.h:
|
|
18
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
19
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
20
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
21
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
18
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/node_api.h:
|
|
19
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/js_native_api.h:
|
|
20
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/js_native_api_types.h:
|
|
21
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/node_api_types.h:
|
|
22
22
|
/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api/napi-inl.h:
|
|
23
23
|
/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api/napi-inl.deprecated.h:
|
|
24
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
25
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
26
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
27
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
28
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
29
|
-
/Users/runner/Library/Caches/node-gyp/
|
|
24
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv.h:
|
|
25
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/errno.h:
|
|
26
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/version.h:
|
|
27
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/unix.h:
|
|
28
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/threadpool.h:
|
|
29
|
+
/Users/runner/Library/Caches/node-gyp/24.13.0/include/node/uv/darwin.h:
|
package/build/Release/nothing.a
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/config.gypi
CHANGED
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"node_byteorder": "little",
|
|
53
53
|
"node_cctest_sources": [
|
|
54
54
|
"src/node_snapshot_stub.cc",
|
|
55
|
+
"test/cctest/inspector/test_network_requests_buffer.cc",
|
|
55
56
|
"test/cctest/inspector/test_node_protocol.cc",
|
|
56
57
|
"test/cctest/node_test_fixture.cc",
|
|
57
58
|
"test/cctest/test_aliased_buffer.cc",
|
|
@@ -65,6 +66,7 @@
|
|
|
65
66
|
"test/cctest/test_inspector_socket_server.cc",
|
|
66
67
|
"test/cctest/test_json_utils.cc",
|
|
67
68
|
"test/cctest/test_linked_binding.cc",
|
|
69
|
+
"test/cctest/test_lru_cache.cc",
|
|
68
70
|
"test/cctest/test_node_api.cc",
|
|
69
71
|
"test/cctest/test_node_crypto.cc",
|
|
70
72
|
"test/cctest/test_node_crypto_env.cc",
|
|
@@ -78,6 +80,7 @@
|
|
|
78
80
|
"test/cctest/test_quic_tokens.cc",
|
|
79
81
|
"test/cctest/test_report.cc",
|
|
80
82
|
"test/cctest/test_sockaddr.cc",
|
|
83
|
+
"test/cctest/test_string_bytes.cc",
|
|
81
84
|
"test/cctest/test_traced_value.cc",
|
|
82
85
|
"test/cctest/test_util.cc",
|
|
83
86
|
"test/cctest/node_test_fixture.h"
|
|
@@ -161,17 +164,22 @@
|
|
|
161
164
|
"lib/internal/console/global.js",
|
|
162
165
|
"lib/internal/constants.js",
|
|
163
166
|
"lib/internal/crypto/aes.js",
|
|
167
|
+
"lib/internal/crypto/argon2.js",
|
|
164
168
|
"lib/internal/crypto/certificate.js",
|
|
165
169
|
"lib/internal/crypto/cfrg.js",
|
|
170
|
+
"lib/internal/crypto/chacha20_poly1305.js",
|
|
166
171
|
"lib/internal/crypto/cipher.js",
|
|
167
172
|
"lib/internal/crypto/diffiehellman.js",
|
|
168
173
|
"lib/internal/crypto/ec.js",
|
|
169
174
|
"lib/internal/crypto/hash.js",
|
|
170
175
|
"lib/internal/crypto/hashnames.js",
|
|
171
176
|
"lib/internal/crypto/hkdf.js",
|
|
177
|
+
"lib/internal/crypto/kem.js",
|
|
172
178
|
"lib/internal/crypto/keygen.js",
|
|
173
179
|
"lib/internal/crypto/keys.js",
|
|
174
180
|
"lib/internal/crypto/mac.js",
|
|
181
|
+
"lib/internal/crypto/ml_dsa.js",
|
|
182
|
+
"lib/internal/crypto/ml_kem.js",
|
|
175
183
|
"lib/internal/crypto/pbkdf2.js",
|
|
176
184
|
"lib/internal/crypto/random.js",
|
|
177
185
|
"lib/internal/crypto/rsa.js",
|
|
@@ -192,6 +200,7 @@
|
|
|
192
200
|
"lib/internal/encoding.js",
|
|
193
201
|
"lib/internal/error_serdes.js",
|
|
194
202
|
"lib/internal/errors.js",
|
|
203
|
+
"lib/internal/errors/error_source.js",
|
|
195
204
|
"lib/internal/event_target.js",
|
|
196
205
|
"lib/internal/events/abort_listener.js",
|
|
197
206
|
"lib/internal/events/symbols.js",
|
|
@@ -227,6 +236,7 @@
|
|
|
227
236
|
"lib/internal/js_stream_socket.js",
|
|
228
237
|
"lib/internal/legacy/processbinding.js",
|
|
229
238
|
"lib/internal/linkedlist.js",
|
|
239
|
+
"lib/internal/locks.js",
|
|
230
240
|
"lib/internal/main/check_syntax.js",
|
|
231
241
|
"lib/internal/main/embedding.js",
|
|
232
242
|
"lib/internal/main/eval_stdin.js",
|
|
@@ -319,6 +329,7 @@
|
|
|
319
329
|
"lib/internal/streams/duplexify.js",
|
|
320
330
|
"lib/internal/streams/duplexpair.js",
|
|
321
331
|
"lib/internal/streams/end-of-stream.js",
|
|
332
|
+
"lib/internal/streams/fast-utf8-stream.js",
|
|
322
333
|
"lib/internal/streams/from.js",
|
|
323
334
|
"lib/internal/streams/lazy_transform.js",
|
|
324
335
|
"lib/internal/streams/legacy.js",
|
|
@@ -341,6 +352,7 @@
|
|
|
341
352
|
"lib/internal/test_runner/reporter/dot.js",
|
|
342
353
|
"lib/internal/test_runner/reporter/junit.js",
|
|
343
354
|
"lib/internal/test_runner/reporter/lcov.js",
|
|
355
|
+
"lib/internal/test_runner/reporter/rerun.js",
|
|
344
356
|
"lib/internal/test_runner/reporter/spec.js",
|
|
345
357
|
"lib/internal/test_runner/reporter/tap.js",
|
|
346
358
|
"lib/internal/test_runner/reporter/utils.js",
|
|
@@ -352,7 +364,6 @@
|
|
|
352
364
|
"lib/internal/test_runner/utils.js",
|
|
353
365
|
"lib/internal/timers.js",
|
|
354
366
|
"lib/internal/tls/secure-context.js",
|
|
355
|
-
"lib/internal/tls/secure-pair.js",
|
|
356
367
|
"lib/internal/trace_events_async_hooks.js",
|
|
357
368
|
"lib/internal/tty.js",
|
|
358
369
|
"lib/internal/url.js",
|
|
@@ -402,6 +413,7 @@
|
|
|
402
413
|
"lib/process.js",
|
|
403
414
|
"lib/punycode.js",
|
|
404
415
|
"lib/querystring.js",
|
|
416
|
+
"lib/quic.js",
|
|
405
417
|
"lib/readline.js",
|
|
406
418
|
"lib/readline/promises.js",
|
|
407
419
|
"lib/repl.js",
|
|
@@ -429,9 +441,10 @@
|
|
|
429
441
|
"lib/worker_threads.js",
|
|
430
442
|
"lib/zlib.js"
|
|
431
443
|
],
|
|
432
|
-
"node_module_version":
|
|
444
|
+
"node_module_version": 137,
|
|
433
445
|
"node_no_browser_globals": "false",
|
|
434
446
|
"node_prefix": "/",
|
|
447
|
+
"node_quic": "false",
|
|
435
448
|
"node_release_urlbase": "https://nodejs.org/download/release/",
|
|
436
449
|
"node_shared": "false",
|
|
437
450
|
"node_shared_ada": "false",
|
|
@@ -464,7 +477,7 @@
|
|
|
464
477
|
"openssl_is_fips": "false",
|
|
465
478
|
"openssl_quic": "false",
|
|
466
479
|
"ossfuzz": "false",
|
|
467
|
-
"shlib_suffix": "
|
|
480
|
+
"shlib_suffix": "137.dylib",
|
|
468
481
|
"single_executable_application": "true",
|
|
469
482
|
"suppress_all_error_on_warn": "false",
|
|
470
483
|
"target_arch": "arm64",
|
|
@@ -480,12 +493,11 @@
|
|
|
480
493
|
"v8_enable_inspector": 1,
|
|
481
494
|
"v8_enable_javascript_promise_hooks": 1,
|
|
482
495
|
"v8_enable_lite_mode": 0,
|
|
483
|
-
"v8_enable_maglev":
|
|
496
|
+
"v8_enable_maglev": 1,
|
|
484
497
|
"v8_enable_object_print": 1,
|
|
485
498
|
"v8_enable_pointer_compression": 0,
|
|
486
499
|
"v8_enable_pointer_compression_shared_cage": 0,
|
|
487
500
|
"v8_enable_sandbox": 0,
|
|
488
|
-
"v8_enable_shared_ro_heap": 1,
|
|
489
501
|
"v8_enable_webassembly": 1,
|
|
490
502
|
"v8_optimized_debug": 1,
|
|
491
503
|
"v8_promise_internal_field_count": 1,
|
|
@@ -494,18 +506,18 @@
|
|
|
494
506
|
"v8_use_siphash": 1,
|
|
495
507
|
"want_separate_host_toolset": 0,
|
|
496
508
|
"xcode_version": "16.0",
|
|
497
|
-
"nodedir": "/Users/runner/Library/Caches/node-gyp/
|
|
498
|
-
"python": "/opt/homebrew/opt/python@3.
|
|
509
|
+
"nodedir": "/Users/runner/Library/Caches/node-gyp/24.13.0",
|
|
510
|
+
"python": "/opt/homebrew/opt/python@3.14/bin/python3.14",
|
|
499
511
|
"standalone_static_library": 1,
|
|
500
|
-
"prefix": "/Users/runner/hostedtoolcache/node/
|
|
501
|
-
"user_agent": "npm/
|
|
512
|
+
"prefix": "/Users/runner/hostedtoolcache/node/24.13.0/arm64",
|
|
513
|
+
"user_agent": "npm/11.6.2 node/v24.13.0 darwin arm64 workspaces/false ci/github-actions",
|
|
502
514
|
"cache": "/Users/runner/.npm",
|
|
503
515
|
"node_gyp": "/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",
|
|
504
|
-
"npm_version": "
|
|
505
|
-
"userconfig": "/private/var/folders/
|
|
516
|
+
"npm_version": "11.6.2",
|
|
517
|
+
"userconfig": "/private/var/folders/kg/7q73ww8s3llgyl61c9z_j5g40000gn/T/20fc2ec49668cc95ea8864d1e9df4ffe/.npmrc",
|
|
506
518
|
"init_module": "/Users/runner/.npm-init.js",
|
|
507
|
-
"globalconfig": "/Users/runner/hostedtoolcache/node/
|
|
519
|
+
"globalconfig": "/Users/runner/hostedtoolcache/node/24.13.0/arm64/etc/npmrc",
|
|
508
520
|
"local_prefix": "/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap",
|
|
509
|
-
"global_prefix": "/Users/runner/hostedtoolcache/node/
|
|
521
|
+
"global_prefix": "/Users/runner/hostedtoolcache/node/24.13.0/arm64"
|
|
510
522
|
}
|
|
511
523
|
}
|
|
@@ -21,7 +21,7 @@ CFLAGS_Debug := \
|
|
|
21
21
|
-O0 \
|
|
22
22
|
-gdwarf-2 \
|
|
23
23
|
-fno-strict-aliasing \
|
|
24
|
-
-mmacosx-version-min=
|
|
24
|
+
-mmacosx-version-min=13.5 \
|
|
25
25
|
-arch \
|
|
26
26
|
arm64 \
|
|
27
27
|
-Wall \
|
|
@@ -34,7 +34,7 @@ CFLAGS_C_Debug :=
|
|
|
34
34
|
|
|
35
35
|
# Flags passed to only C++ files.
|
|
36
36
|
CFLAGS_CC_Debug := \
|
|
37
|
-
-std=gnu++
|
|
37
|
+
-std=gnu++20 \
|
|
38
38
|
-stdlib=libc++ \
|
|
39
39
|
-fno-rtti \
|
|
40
40
|
-fno-exceptions
|
|
@@ -46,13 +46,13 @@ CFLAGS_OBJC_Debug :=
|
|
|
46
46
|
CFLAGS_OBJCC_Debug :=
|
|
47
47
|
|
|
48
48
|
INCS_Debug := \
|
|
49
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
50
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
51
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
52
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
53
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
54
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
55
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
49
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/include/node \
|
|
50
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/src \
|
|
51
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/config \
|
|
52
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/openssl/include \
|
|
53
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/uv/include \
|
|
54
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/zlib \
|
|
55
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/v8/include
|
|
56
56
|
|
|
57
57
|
DEFS_Release := \
|
|
58
58
|
'-DNODE_GYP_MODULE_NAME=nothing' \
|
|
@@ -71,7 +71,7 @@ CFLAGS_Release := \
|
|
|
71
71
|
-O3 \
|
|
72
72
|
-gdwarf-2 \
|
|
73
73
|
-fno-strict-aliasing \
|
|
74
|
-
-mmacosx-version-min=
|
|
74
|
+
-mmacosx-version-min=13.5 \
|
|
75
75
|
-arch \
|
|
76
76
|
arm64 \
|
|
77
77
|
-Wall \
|
|
@@ -84,7 +84,7 @@ CFLAGS_C_Release :=
|
|
|
84
84
|
|
|
85
85
|
# Flags passed to only C++ files.
|
|
86
86
|
CFLAGS_CC_Release := \
|
|
87
|
-
-std=gnu++
|
|
87
|
+
-std=gnu++20 \
|
|
88
88
|
-stdlib=libc++ \
|
|
89
89
|
-fno-rtti \
|
|
90
90
|
-fno-exceptions
|
|
@@ -96,13 +96,13 @@ CFLAGS_OBJC_Release :=
|
|
|
96
96
|
CFLAGS_OBJCC_Release :=
|
|
97
97
|
|
|
98
98
|
INCS_Release := \
|
|
99
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
100
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
101
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
102
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
103
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
104
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
105
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
99
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/include/node \
|
|
100
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/src \
|
|
101
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/config \
|
|
102
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/openssl/include \
|
|
103
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/uv/include \
|
|
104
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/zlib \
|
|
105
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/v8/include
|
|
106
106
|
|
|
107
107
|
OBJS := \
|
|
108
108
|
$(obj).target/$(TARGET)/node_modules/node-addon-api/nothing.o
|
|
@@ -134,7 +134,7 @@ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
|
|
|
134
134
|
# End of this set of suffix rules
|
|
135
135
|
### Rules for final target.
|
|
136
136
|
LDFLAGS_Debug := \
|
|
137
|
-
-mmacosx-version-min=
|
|
137
|
+
-mmacosx-version-min=13.5 \
|
|
138
138
|
-arch \
|
|
139
139
|
arm64 \
|
|
140
140
|
-L$(builddir) \
|
|
@@ -143,7 +143,7 @@ LDFLAGS_Debug := \
|
|
|
143
143
|
LIBTOOLFLAGS_Debug :=
|
|
144
144
|
|
|
145
145
|
LDFLAGS_Release := \
|
|
146
|
-
-mmacosx-version-min=
|
|
146
|
+
-mmacosx-version-min=13.5 \
|
|
147
147
|
-arch \
|
|
148
148
|
arm64 \
|
|
149
149
|
-L$(builddir) \
|
package/build/tuntap.target.mk
CHANGED
|
@@ -55,13 +55,13 @@ CFLAGS_OBJC_Debug :=
|
|
|
55
55
|
CFLAGS_OBJCC_Debug :=
|
|
56
56
|
|
|
57
57
|
INCS_Debug := \
|
|
58
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
59
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
60
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
61
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
62
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
63
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
64
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
58
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/include/node \
|
|
59
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/src \
|
|
60
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/config \
|
|
61
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/openssl/include \
|
|
62
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/uv/include \
|
|
63
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/zlib \
|
|
64
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/v8/include \
|
|
65
65
|
-I/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api
|
|
66
66
|
|
|
67
67
|
DEFS_Release := \
|
|
@@ -115,13 +115,13 @@ CFLAGS_OBJC_Release :=
|
|
|
115
115
|
CFLAGS_OBJCC_Release :=
|
|
116
116
|
|
|
117
117
|
INCS_Release := \
|
|
118
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
119
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
120
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
121
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
122
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
123
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
124
|
-
-I/Users/runner/Library/Caches/node-gyp/
|
|
118
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/include/node \
|
|
119
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/src \
|
|
120
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/config \
|
|
121
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/openssl/openssl/include \
|
|
122
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/uv/include \
|
|
123
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/zlib \
|
|
124
|
+
-I/Users/runner/Library/Caches/node-gyp/24.13.0/deps/v8/include \
|
|
125
125
|
-I/Users/runner/work/appium-ios-tuntap/appium-ios-tuntap/node_modules/node-addon-api
|
|
126
126
|
|
|
127
127
|
OBJS := \
|
package/lib/TunTap.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createRequire } from 'module';
|
|
2
|
-
import { exec } from 'child_process';
|
|
3
|
-
import { promisify } from 'util';
|
|
1
|
+
import { createRequire } from 'node:module';
|
|
2
|
+
import { exec } from 'node:child_process';
|
|
3
|
+
import { promisify } from 'node:util';
|
|
4
4
|
import { log } from './logger.js';
|
|
5
5
|
const require = createRequire(import.meta.url);
|
|
6
6
|
const nativeTuntap = require('../build/Release/tuntap.node');
|
package/lib/tunnel.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TunTap } from './TunTap.js';
|
|
2
|
-
import { EventEmitter } from 'events';
|
|
3
|
-
import { Socket } from 'net';
|
|
4
|
-
import { Buffer } from 'buffer';
|
|
2
|
+
import { EventEmitter } from 'node:events';
|
|
3
|
+
import { Socket } from 'node:net';
|
|
4
|
+
import { Buffer } from 'node:buffer';
|
|
5
5
|
interface TunnelClientParameters {
|
|
6
6
|
address: string;
|
|
7
7
|
mtu: number;
|
package/lib/tunnel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { log } from './logger.js';
|
|
2
2
|
import { TunTap } from './TunTap.js';
|
|
3
|
-
import { EventEmitter } from 'events';
|
|
4
|
-
import { Buffer } from 'buffer';
|
|
3
|
+
import { EventEmitter } from 'node:events';
|
|
4
|
+
import { Buffer } from 'node:buffer';
|
|
5
5
|
// Global registry for active tunnel managers
|
|
6
6
|
const activeTunnelManagers = new Set();
|
|
7
7
|
// Setup process signal handlers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-ios-tuntap",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Native TUN/TAP interface module for Node.js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"typescript": "^5.8.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@appium/eslint-config-appium-ts": "^
|
|
49
|
+
"@appium/eslint-config-appium-ts": "^3.0.0",
|
|
50
50
|
"@semantic-release/changelog": "^6.0.3",
|
|
51
51
|
"@semantic-release/git": "^10.0.1",
|
|
52
|
-
"@types/node": "^
|
|
52
|
+
"@types/node": "^25.0.1",
|
|
53
53
|
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
54
|
-
"semantic-release": "^25.0.
|
|
54
|
+
"semantic-release": "^25.0.2"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|