@canboat/canboatjs 3.16.0-beta.2 → 3.16.0-beta.4
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/build/Makefile +55 -48
- package/build/canSocket.target.mk +56 -87
- package/dist/actisense-serial.d.ts +17 -0
- package/dist/bin/actisense-file.d.ts +3 -0
- package/dist/bin/actisense-n2k-tcp.d.ts +3 -0
- package/dist/bin/actisense-serialjs.d.ts +3 -0
- package/dist/bin/analyzerjs.d.ts +3 -0
- package/dist/bin/candumpjs.d.ts +3 -0
- package/dist/bin/cansendjs.d.ts +3 -0
- package/dist/bin/ikonvert-serial.d.ts +3 -0
- package/dist/bin/to-pgn.d.ts +3 -0
- package/dist/bin/utils.d.ts +4 -0
- package/dist/bin/ydvr-file.d.ts +3 -0
- package/dist/browser.d.ts +25 -0
- package/dist/canId.d.ts +21 -0
- package/dist/canId.test.d.ts +2 -0
- package/dist/canSocket.d.ts.map +1 -1
- package/dist/canSocket.js +8 -2
- package/dist/canSocket.js.map +1 -1
- package/dist/canbus.d.ts +17 -0
- package/dist/candevice.d.ts +23 -0
- package/dist/codes.d.ts +2 -0
- package/dist/discovery.d.ts +17 -0
- package/dist/fromPgnStream.d.ts +17 -0
- package/dist/ikonvert.d.ts +17 -0
- package/dist/index.d.ts +40 -0
- package/dist/maretron.d.ts +74 -0
- package/dist/maretron.test.d.ts +2 -0
- package/dist/n2k-actisense.test.d.ts +2 -0
- package/dist/n2kDevice.d.ts +44 -0
- package/dist/n2kDevice.js +5 -0
- package/dist/n2kDevice.js.map +1 -1
- package/dist/persist.d.ts +18 -0
- package/dist/pgns.d.ts +5 -0
- package/dist/pgns.test.d.ts +2 -0
- package/dist/simpleCan.d.ts +17 -0
- package/dist/stringMsg.test.d.ts +2 -0
- package/dist/utilities.test.d.ts +2 -0
- package/dist/venus-mqtt.d.ts +11 -0
- package/dist/w2k01.d.ts +17 -0
- package/dist/yddevice.d.ts +25 -0
- package/dist/ydgw02.d.ts +17 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/build/gyp-mac-tool +0 -772
- package/vscode-profile-2025-07-21-12-04-28.cpuprofile +0 -1
package/build/Makefile
CHANGED
|
@@ -128,34 +128,6 @@ cmd_cc = $(CC.$(TOOLSET)) -o $@ $< $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)
|
|
|
128
128
|
quiet_cmd_cxx = CXX($(TOOLSET)) $@
|
|
129
129
|
cmd_cxx = $(CXX.$(TOOLSET)) -o $@ $< $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c
|
|
130
130
|
|
|
131
|
-
quiet_cmd_objc = CXX($(TOOLSET)) $@
|
|
132
|
-
cmd_objc = $(CC.$(TOOLSET)) $(GYP_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
133
|
-
|
|
134
|
-
quiet_cmd_objcxx = CXX($(TOOLSET)) $@
|
|
135
|
-
cmd_objcxx = $(CXX.$(TOOLSET)) $(GYP_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
136
|
-
|
|
137
|
-
# Commands for precompiled header files.
|
|
138
|
-
quiet_cmd_pch_c = CXX($(TOOLSET)) $@
|
|
139
|
-
cmd_pch_c = $(CC.$(TOOLSET)) $(GYP_PCH_CFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
|
140
|
-
quiet_cmd_pch_cc = CXX($(TOOLSET)) $@
|
|
141
|
-
cmd_pch_cc = $(CC.$(TOOLSET)) $(GYP_PCH_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
|
142
|
-
quiet_cmd_pch_m = CXX($(TOOLSET)) $@
|
|
143
|
-
cmd_pch_m = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
144
|
-
quiet_cmd_pch_mm = CXX($(TOOLSET)) $@
|
|
145
|
-
cmd_pch_mm = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
146
|
-
|
|
147
|
-
# gyp-mac-tool is written next to the root Makefile by gyp.
|
|
148
|
-
# Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd
|
|
149
|
-
# already.
|
|
150
|
-
quiet_cmd_mac_tool = MACTOOL $(4) $<
|
|
151
|
-
cmd_mac_tool = ./gyp-mac-tool $(4) $< "$@"
|
|
152
|
-
|
|
153
|
-
quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@
|
|
154
|
-
cmd_mac_package_framework = ./gyp-mac-tool package-framework "$@" $(4)
|
|
155
|
-
|
|
156
|
-
quiet_cmd_infoplist = INFOPLIST $@
|
|
157
|
-
cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@"
|
|
158
|
-
|
|
159
131
|
quiet_cmd_touch = TOUCH $@
|
|
160
132
|
cmd_touch = touch $@
|
|
161
133
|
|
|
@@ -166,17 +138,64 @@ cmd_copy = ln -f "$<" "$@" 2>/dev/null || (rm -rf "$@" && cp -af "$<" "$@")
|
|
|
166
138
|
quiet_cmd_symlink = SYMLINK $@
|
|
167
139
|
cmd_symlink = ln -sf "$<" "$@"
|
|
168
140
|
|
|
169
|
-
quiet_cmd_alink =
|
|
170
|
-
cmd_alink = rm -f $@ &&
|
|
141
|
+
quiet_cmd_alink = AR($(TOOLSET)) $@
|
|
142
|
+
cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
|
|
143
|
+
|
|
144
|
+
quiet_cmd_alink_thin = AR($(TOOLSET)) $@
|
|
145
|
+
cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
|
|
171
146
|
|
|
147
|
+
# Due to circular dependencies between libraries :(, we wrap the
|
|
148
|
+
# special "figure out circular dependencies" flags around the entire
|
|
149
|
+
# input list during linking.
|
|
172
150
|
quiet_cmd_link = LINK($(TOOLSET)) $@
|
|
173
|
-
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -
|
|
151
|
+
cmd_link = $(LINK.$(TOOLSET)) -o $@ $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,--start-group $(LD_INPUTS) $(LIBS) -Wl,--end-group
|
|
152
|
+
|
|
153
|
+
# Note: this does not handle spaces in paths
|
|
154
|
+
define xargs
|
|
155
|
+
$(1) $(word 1,$(2))
|
|
156
|
+
$(if $(word 2,$(2)),$(call xargs,$(1),$(wordlist 2,$(words $(2)),$(2))))
|
|
157
|
+
endef
|
|
158
|
+
|
|
159
|
+
define write-to-file
|
|
160
|
+
@: >$(1)
|
|
161
|
+
$(call xargs,@printf "%s\n" >>$(1),$(2))
|
|
162
|
+
endef
|
|
163
|
+
|
|
164
|
+
OBJ_FILE_LIST := ar-file-list
|
|
165
|
+
|
|
166
|
+
define create_archive
|
|
167
|
+
rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
|
168
|
+
$(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
|
169
|
+
$(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
|
|
170
|
+
endef
|
|
171
|
+
|
|
172
|
+
define create_thin_archive
|
|
173
|
+
rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
|
174
|
+
$(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
|
175
|
+
$(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
|
|
176
|
+
endef
|
|
174
177
|
|
|
178
|
+
# We support two kinds of shared objects (.so):
|
|
179
|
+
# 1) shared_library, which is just bundling together many dependent libraries
|
|
180
|
+
# into a link line.
|
|
181
|
+
# 2) loadable_module, which is generating a module intended for dlopen().
|
|
182
|
+
#
|
|
183
|
+
# They differ only slightly:
|
|
184
|
+
# In the former case, we want to package all dependent code into the .so.
|
|
185
|
+
# In the latter case, we want to package just the API exposed by the
|
|
186
|
+
# outermost module.
|
|
187
|
+
# This means shared_library uses --whole-archive, while loadable_module doesn't.
|
|
188
|
+
# (Note that --whole-archive is incompatible with the --start-group used in
|
|
189
|
+
# normal linking.)
|
|
190
|
+
|
|
191
|
+
# Other shared-object link notes:
|
|
192
|
+
# - Set SONAME to the library filename so our binaries don't reference
|
|
193
|
+
# the local, absolute paths used on the link command-line.
|
|
175
194
|
quiet_cmd_solink = SOLINK($(TOOLSET)) $@
|
|
176
|
-
cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -
|
|
195
|
+
cmd_solink = $(LINK.$(TOOLSET)) -o $@ -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -Wl,--whole-archive $(LD_INPUTS) -Wl,--no-whole-archive $(LIBS)
|
|
177
196
|
|
|
178
197
|
quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@
|
|
179
|
-
cmd_solink_module = $(LINK.$(TOOLSET)) -
|
|
198
|
+
cmd_solink_module = $(LINK.$(TOOLSET)) -o $@ -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -Wl,--start-group $(filter-out FORCE_DO_CMD, $^) -Wl,--end-group $(LIBS)
|
|
180
199
|
|
|
181
200
|
|
|
182
201
|
# Define an escape_quotes function to escape single quotes.
|
|
@@ -241,7 +260,7 @@ define do_cmd
|
|
|
241
260
|
$(if $(or $(command_changed),$(prereq_changed)),
|
|
242
261
|
@$(call exact_echo, $($(quiet)cmd_$(1)))
|
|
243
262
|
@mkdir -p "$(call dirx,$@)" "$(dir $(depfile))"
|
|
244
|
-
$(if $(findstring flock,$(word
|
|
263
|
+
$(if $(findstring flock,$(word 1,$(cmd_$1))),
|
|
245
264
|
@$(cmd_$(1))
|
|
246
265
|
@echo " $(quiet_cmd_$(1)): Finished",
|
|
247
266
|
@$(cmd_$(1))
|
|
@@ -279,10 +298,6 @@ $(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
|
|
|
279
298
|
@$(call do_cmd,cxx,1)
|
|
280
299
|
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
|
|
281
300
|
@$(call do_cmd,cxx,1)
|
|
282
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.m FORCE_DO_CMD
|
|
283
|
-
@$(call do_cmd,objc,1)
|
|
284
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.mm FORCE_DO_CMD
|
|
285
|
-
@$(call do_cmd,objcxx,1)
|
|
286
301
|
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
|
|
287
302
|
@$(call do_cmd,cc,1)
|
|
288
303
|
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
|
|
@@ -297,10 +312,6 @@ $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
|
|
|
297
312
|
@$(call do_cmd,cxx,1)
|
|
298
313
|
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
|
|
299
314
|
@$(call do_cmd,cxx,1)
|
|
300
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.m FORCE_DO_CMD
|
|
301
|
-
@$(call do_cmd,objc,1)
|
|
302
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.mm FORCE_DO_CMD
|
|
303
|
-
@$(call do_cmd,objcxx,1)
|
|
304
315
|
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
|
|
305
316
|
@$(call do_cmd,cc,1)
|
|
306
317
|
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
|
|
@@ -314,10 +325,6 @@ $(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
|
|
|
314
325
|
@$(call do_cmd,cxx,1)
|
|
315
326
|
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
|
|
316
327
|
@$(call do_cmd,cxx,1)
|
|
317
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.m FORCE_DO_CMD
|
|
318
|
-
@$(call do_cmd,objc,1)
|
|
319
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.mm FORCE_DO_CMD
|
|
320
|
-
@$(call do_cmd,objcxx,1)
|
|
321
328
|
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
|
|
322
329
|
@$(call do_cmd,cc,1)
|
|
323
330
|
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
|
|
@@ -331,8 +338,8 @@ ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
|
|
331
338
|
endif
|
|
332
339
|
|
|
333
340
|
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
|
334
|
-
cmd_regen_makefile = cd $(srcdir); /
|
|
335
|
-
Makefile: $(srcdir)
|
|
341
|
+
cmd_regen_makefile = cd $(srcdir); /opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/runner/.cache/node-gyp/24.14.0" "-Dnode_gyp_dir=/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/home/runner/.cache/node-gyp/24.14.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/home/runner/work/canboatjs/canboatjs" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/home/runner/work/canboatjs/canboatjs/build/config.gypi -I/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/runner/.cache/node-gyp/24.14.0/include/node/common.gypi "--toplevel-dir=." binding.gyp
|
|
342
|
+
Makefile: $(srcdir)/../../../../../opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/../../../.cache/node-gyp/24.14.0/include/node/common.gypi $(srcdir)/binding.gyp $(srcdir)/build/config.gypi
|
|
336
343
|
$(call do_cmd,regen_makefile)
|
|
337
344
|
|
|
338
345
|
# "all" is a concatenation of the "all" targets from all the included
|
|
@@ -8,9 +8,9 @@ DEFS_Debug := \
|
|
|
8
8
|
'-DUSING_V8_SHARED=1' \
|
|
9
9
|
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
10
10
|
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
11
|
-
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
12
|
-
'-D_LARGEFILE_SOURCE' \
|
|
13
11
|
'-D_FILE_OFFSET_BITS=64' \
|
|
12
|
+
'-D_LARGEFILE_SOURCE' \
|
|
13
|
+
'-D__STDC_FORMAT_MACROS' \
|
|
14
14
|
'-DOPENSSL_NO_PINSHARED' \
|
|
15
15
|
'-DOPENSSL_THREADS' \
|
|
16
16
|
'-DNAPI_DISABLE_CPP_EXCEPTIONS' \
|
|
@@ -20,42 +20,33 @@ DEFS_Debug := \
|
|
|
20
20
|
|
|
21
21
|
# Flags passed to all source files.
|
|
22
22
|
CFLAGS_Debug := \
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-fno-strict-aliasing \
|
|
26
|
-
-mmacosx-version-min=11.0 \
|
|
27
|
-
-arch \
|
|
28
|
-
arm64 \
|
|
23
|
+
-fPIC \
|
|
24
|
+
-pthread \
|
|
29
25
|
-Wall \
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
26
|
+
-Wextra \
|
|
27
|
+
-Wno-unused-parameter \
|
|
28
|
+
-m64 \
|
|
29
|
+
-g \
|
|
30
|
+
-O0
|
|
33
31
|
|
|
34
32
|
# Flags passed to only C files.
|
|
35
33
|
CFLAGS_C_Debug :=
|
|
36
34
|
|
|
37
35
|
# Flags passed to only C++ files.
|
|
38
36
|
CFLAGS_CC_Debug := \
|
|
39
|
-
-std=gnu++17 \
|
|
40
|
-
-stdlib=libc++ \
|
|
41
37
|
-fno-rtti \
|
|
42
|
-
-fno-
|
|
43
|
-
|
|
44
|
-
# Flags passed to only ObjC files.
|
|
45
|
-
CFLAGS_OBJC_Debug :=
|
|
46
|
-
|
|
47
|
-
# Flags passed to only ObjC++ files.
|
|
48
|
-
CFLAGS_OBJCC_Debug :=
|
|
38
|
+
-fno-strict-aliasing \
|
|
39
|
+
-std=gnu++20
|
|
49
40
|
|
|
50
41
|
INCS_Debug := \
|
|
51
|
-
-I/
|
|
52
|
-
-I/
|
|
53
|
-
-I/
|
|
54
|
-
-I/
|
|
55
|
-
-I/
|
|
56
|
-
-I/
|
|
57
|
-
-I/
|
|
58
|
-
-I/
|
|
42
|
+
-I/home/runner/.cache/node-gyp/24.14.0/include/node \
|
|
43
|
+
-I/home/runner/.cache/node-gyp/24.14.0/src \
|
|
44
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/openssl/config \
|
|
45
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/openssl/openssl/include \
|
|
46
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/uv/include \
|
|
47
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/zlib \
|
|
48
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/v8/include \
|
|
49
|
+
-I/home/runner/work/canboatjs/canboatjs/node_modules/node-addon-api
|
|
59
50
|
|
|
60
51
|
DEFS_Release := \
|
|
61
52
|
'-DNODE_GYP_MODULE_NAME=canSocket' \
|
|
@@ -63,9 +54,9 @@ DEFS_Release := \
|
|
|
63
54
|
'-DUSING_V8_SHARED=1' \
|
|
64
55
|
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
65
56
|
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
66
|
-
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
67
|
-
'-D_LARGEFILE_SOURCE' \
|
|
68
57
|
'-D_FILE_OFFSET_BITS=64' \
|
|
58
|
+
'-D_LARGEFILE_SOURCE' \
|
|
59
|
+
'-D__STDC_FORMAT_MACROS' \
|
|
69
60
|
'-DOPENSSL_NO_PINSHARED' \
|
|
70
61
|
'-DOPENSSL_THREADS' \
|
|
71
62
|
'-DNAPI_DISABLE_CPP_EXCEPTIONS' \
|
|
@@ -73,42 +64,33 @@ DEFS_Release := \
|
|
|
73
64
|
|
|
74
65
|
# Flags passed to all source files.
|
|
75
66
|
CFLAGS_Release := \
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-fno-strict-aliasing \
|
|
79
|
-
-mmacosx-version-min=11.0 \
|
|
80
|
-
-arch \
|
|
81
|
-
arm64 \
|
|
67
|
+
-fPIC \
|
|
68
|
+
-pthread \
|
|
82
69
|
-Wall \
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
70
|
+
-Wextra \
|
|
71
|
+
-Wno-unused-parameter \
|
|
72
|
+
-m64 \
|
|
73
|
+
-O3 \
|
|
74
|
+
-fno-omit-frame-pointer
|
|
86
75
|
|
|
87
76
|
# Flags passed to only C files.
|
|
88
77
|
CFLAGS_C_Release :=
|
|
89
78
|
|
|
90
79
|
# Flags passed to only C++ files.
|
|
91
80
|
CFLAGS_CC_Release := \
|
|
92
|
-
-std=gnu++17 \
|
|
93
|
-
-stdlib=libc++ \
|
|
94
81
|
-fno-rtti \
|
|
95
|
-
-fno-
|
|
96
|
-
|
|
97
|
-
# Flags passed to only ObjC files.
|
|
98
|
-
CFLAGS_OBJC_Release :=
|
|
99
|
-
|
|
100
|
-
# Flags passed to only ObjC++ files.
|
|
101
|
-
CFLAGS_OBJCC_Release :=
|
|
82
|
+
-fno-strict-aliasing \
|
|
83
|
+
-std=gnu++20
|
|
102
84
|
|
|
103
85
|
INCS_Release := \
|
|
104
|
-
-I/
|
|
105
|
-
-I/
|
|
106
|
-
-I/
|
|
107
|
-
-I/
|
|
108
|
-
-I/
|
|
109
|
-
-I/
|
|
110
|
-
-I/
|
|
111
|
-
-I/
|
|
86
|
+
-I/home/runner/.cache/node-gyp/24.14.0/include/node \
|
|
87
|
+
-I/home/runner/.cache/node-gyp/24.14.0/src \
|
|
88
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/openssl/config \
|
|
89
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/openssl/openssl/include \
|
|
90
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/uv/include \
|
|
91
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/zlib \
|
|
92
|
+
-I/home/runner/.cache/node-gyp/24.14.0/deps/v8/include \
|
|
93
|
+
-I/home/runner/work/canboatjs/canboatjs/node_modules/node-addon-api
|
|
112
94
|
|
|
113
95
|
OBJS := \
|
|
114
96
|
$(obj).target/$(TARGET)/native/canSocket.o
|
|
@@ -121,8 +103,6 @@ all_deps += $(OBJS)
|
|
|
121
103
|
$(OBJS): TOOLSET := $(TOOLSET)
|
|
122
104
|
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
|
|
123
105
|
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
|
|
124
|
-
$(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
|
|
125
|
-
$(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
|
|
126
106
|
|
|
127
107
|
# Suffix rules, putting all outputs into $(obj).
|
|
128
108
|
|
|
@@ -140,48 +120,37 @@ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
|
|
|
140
120
|
# End of this set of suffix rules
|
|
141
121
|
### Rules for final target.
|
|
142
122
|
LDFLAGS_Debug := \
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-arch \
|
|
147
|
-
arm64 \
|
|
148
|
-
-L$(builddir) \
|
|
149
|
-
-stdlib=libc++
|
|
150
|
-
|
|
151
|
-
LIBTOOLFLAGS_Debug := \
|
|
152
|
-
-undefined dynamic_lookup \
|
|
153
|
-
-Wl,-search_paths_first
|
|
123
|
+
-pthread \
|
|
124
|
+
-rdynamic \
|
|
125
|
+
-m64
|
|
154
126
|
|
|
155
127
|
LDFLAGS_Release := \
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-arch \
|
|
160
|
-
arm64 \
|
|
161
|
-
-L$(builddir) \
|
|
162
|
-
-stdlib=libc++
|
|
163
|
-
|
|
164
|
-
LIBTOOLFLAGS_Release := \
|
|
165
|
-
-undefined dynamic_lookup \
|
|
166
|
-
-Wl,-search_paths_first
|
|
128
|
+
-pthread \
|
|
129
|
+
-rdynamic \
|
|
130
|
+
-m64
|
|
167
131
|
|
|
168
132
|
LIBS :=
|
|
169
133
|
|
|
170
|
-
$(
|
|
171
|
-
$(
|
|
172
|
-
$(
|
|
173
|
-
$(
|
|
174
|
-
$(builddir)/canSocket.node: $(OBJS) FORCE_DO_CMD
|
|
134
|
+
$(obj).target/canSocket.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
|
135
|
+
$(obj).target/canSocket.node: LIBS := $(LIBS)
|
|
136
|
+
$(obj).target/canSocket.node: TOOLSET := $(TOOLSET)
|
|
137
|
+
$(obj).target/canSocket.node: $(OBJS) FORCE_DO_CMD
|
|
175
138
|
$(call do_cmd,solink_module)
|
|
176
139
|
|
|
177
|
-
all_deps += $(
|
|
140
|
+
all_deps += $(obj).target/canSocket.node
|
|
178
141
|
# Add target alias
|
|
179
142
|
.PHONY: canSocket
|
|
180
143
|
canSocket: $(builddir)/canSocket.node
|
|
181
144
|
|
|
145
|
+
# Copy this to the executable output path.
|
|
146
|
+
$(builddir)/canSocket.node: TOOLSET := $(TOOLSET)
|
|
147
|
+
$(builddir)/canSocket.node: $(obj).target/canSocket.node FORCE_DO_CMD
|
|
148
|
+
$(call do_cmd,copy)
|
|
149
|
+
|
|
150
|
+
all_deps += $(builddir)/canSocket.node
|
|
182
151
|
# Short alias for building this executable.
|
|
183
152
|
.PHONY: canSocket.node
|
|
184
|
-
canSocket.node: $(builddir)/canSocket.node
|
|
153
|
+
canSocket.node: $(obj).target/canSocket.node $(builddir)/canSocket.node
|
|
185
154
|
|
|
186
155
|
# Add executable to "all" target.
|
|
187
156
|
.PHONY: all
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare function ActisenseStream(this: any, options: any): any;
|
|
17
|
+
//# sourceMappingURL=actisense-serial.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2019 Scott Bender <scott@scottbender.net>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export { Parser as FromPgn } from './fromPgn';
|
|
17
|
+
export type { ByteMapping, ByteMap, RepeatingByteMapping } from './fromPgn';
|
|
18
|
+
export { addCustomPgns } from './pgns';
|
|
19
|
+
export { parseN2kString, isN2KString, toActisenseSerialFormat, encodeCandump2 } from './stringMsg';
|
|
20
|
+
export { toPgn, pgnToActisenseSerialFormat, pgnToActisenseN2KAsciiFormat, pgnToiKonvertSerialFormat, pgnToYdgwRawFormat, pgnToYdgwFullRawFormat, pgnToPCDIN, pgnToMXPGN, pgnToCandump1, pgnToCandump2, pgnToCandump3 } from './toPgn';
|
|
21
|
+
export { setupFilters, filterPGN } from './utilities';
|
|
22
|
+
export type { FilterConfig, FilterOptions } from './utilities';
|
|
23
|
+
export declare const lookupEnumerationValue: (enumName: string, value: string) => number | undefined;
|
|
24
|
+
export declare const lookupEnumerationName: (enumName: string, value: number) => string | undefined;
|
|
25
|
+
//# sourceMappingURL=browser.d.ts.map
|
package/dist/canId.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type ParsedCanID = {
|
|
2
|
+
canId: number;
|
|
3
|
+
prio: number;
|
|
4
|
+
src: number;
|
|
5
|
+
pgn: number;
|
|
6
|
+
dst: number;
|
|
7
|
+
};
|
|
8
|
+
export type CanID = {
|
|
9
|
+
prio: number;
|
|
10
|
+
src: number;
|
|
11
|
+
pgn: number;
|
|
12
|
+
dst: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const parseCanId: (id: number) => ParsedCanID;
|
|
15
|
+
export declare const parseCanIdStr: (canId: string) => ParsedCanID;
|
|
16
|
+
export declare const buildCanId: (prio: string | number, pgn: string | number, dst: string | number, src: string | number) => CanID;
|
|
17
|
+
export declare const encodeCanId: (id: CanID) => number;
|
|
18
|
+
export declare const canIdString: (canId: number) => string;
|
|
19
|
+
export declare const encodeCanIdString: (id: CanID) => string;
|
|
20
|
+
export declare const parseEncode: (x: number) => number;
|
|
21
|
+
//# sourceMappingURL=canId.d.ts.map
|
package/dist/canSocket.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canSocket.d.ts","sourceRoot":"","sources":["../lib/canSocket.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"canSocket.d.ts","sourceRoot":"","sources":["../lib/canSocket.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAoBrC,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;GAIG;AACH,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,CAAC,UAAU,CAA0B;IAC5C,OAAO,CAAC,EAAE,CAAQ;IAClB,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,OAAO,CAAiB;gBAEpB,MAAM,EAAE,MAAM;IAQ1B,KAAK,IAAI,IAAI;IAuCb,IAAI,IAAI,IAAI;IASZ,IAAI,CAAC,GAAG,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;CAgB7D"}
|
package/dist/canSocket.js
CHANGED
|
@@ -27,8 +27,11 @@ try {
|
|
|
27
27
|
native = require('../build/Release/canSocket.node');
|
|
28
28
|
}
|
|
29
29
|
catch (_e) {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
try {
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
32
|
+
native = require('../build/Debug/canSocket.node');
|
|
33
|
+
}
|
|
34
|
+
catch (_e) { }
|
|
32
35
|
}
|
|
33
36
|
/**
|
|
34
37
|
* Drop-in replacement for socketcan's channel object.
|
|
@@ -42,6 +45,9 @@ class CanChannel extends events_1.EventEmitter {
|
|
|
42
45
|
stopped = false;
|
|
43
46
|
constructor(ifname) {
|
|
44
47
|
super();
|
|
48
|
+
if (native === undefined) {
|
|
49
|
+
throw new Error('Failed to load native canSocket module');
|
|
50
|
+
}
|
|
45
51
|
this.fd = native.openCanSocket(ifname);
|
|
46
52
|
}
|
|
47
53
|
start() {
|
package/dist/canSocket.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canSocket.js","sourceRoot":"","sources":["../lib/canSocket.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAEH,mCAAqC;AACrC,2BAAyE;AAGzE,MAAM,YAAY,GAAG,UAAU,CAAA;AAC/B,MAAM,YAAY,GAAG,UAAU,CAAA;AAC/B,MAAM,cAAc,GAAG,EAAE,CAAA,CAAC,2BAA2B;AACrD,MAAM,eAAe,GAAG,CAAC,CAAA;AAEzB,IAAI,MAAqD,CAAA;AACzD,IAAI,CAAC;IACH,iEAAiE;IACjE,MAAM,GAAG,OAAO,CAAC,iCAAiC,CAAC,CAAA;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 -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare function CanbusStream(this: any, options: any): any;
|
|
17
|
+
//# sourceMappingURL=canbus.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2018 Scott Bender (scott@scottbender.net) and Jouni Hartikainen (jouni.hartikainen@iki.fi)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { PGN } from '@canboat/ts-pgns';
|
|
17
|
+
import { N2kDevice } from './n2kDevice';
|
|
18
|
+
export declare class CanDevice extends N2kDevice {
|
|
19
|
+
canbus: any;
|
|
20
|
+
constructor(canbus: any, options: any);
|
|
21
|
+
sendPGN(pgn: PGN, src?: number | undefined): void;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=candevice.d.ts.map
|
package/dist/codes.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2019 Scott Bender <scott@scottbender.net>
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare function discover(app: any): void;
|
|
17
|
+
//# sourceMappingURL=discovery.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare function fromPgnStream(this: any, options?: any): void;
|
|
17
|
+
//# sourceMappingURL=fromPgnStream.d.ts.map
|