mq-bridge 1.6.1 → 1.7.0
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/THIRD_PARTY_LICENSES.txt +111 -4
- package/native.js +52 -52
- package/package.json +6 -6
package/THIRD_PARTY_LICENSES.txt
CHANGED
|
@@ -105,6 +105,10 @@ Source: https://github.com/thomcc/arcstr
|
|
|
105
105
|
Copyright/attribution: Copyright 2016 The Miri Developers
|
|
106
106
|
Copyright/attribution: Copyright (c) 2020 Thom Chiovoloni
|
|
107
107
|
|
|
108
|
+
array-const-fn-init@0.1.1
|
|
109
|
+
License: MIT/Apache-2.0
|
|
110
|
+
Source: https://github.com/haraldh/array-const-fn-init
|
|
111
|
+
|
|
108
112
|
arrayvec@0.7.8
|
|
109
113
|
License: MIT OR Apache-2.0
|
|
110
114
|
Source: https://github.com/bluss/arrayvec
|
|
@@ -1267,6 +1271,21 @@ itoa@1.0.18
|
|
|
1267
1271
|
License: MIT OR Apache-2.0
|
|
1268
1272
|
Source: https://github.com/dtolnay/itoa
|
|
1269
1273
|
|
|
1274
|
+
jiff-core@1.0.2
|
|
1275
|
+
License: Unlicense OR MIT
|
|
1276
|
+
Source: https://github.com/BurntSushi/jiff
|
|
1277
|
+
Copyright/attribution: Copyright (c) 2015 Andrew Gallant
|
|
1278
|
+
|
|
1279
|
+
jiff-static@1.0.3
|
|
1280
|
+
License: Unlicense OR MIT
|
|
1281
|
+
Source: https://github.com/BurntSushi/jiff
|
|
1282
|
+
Copyright/attribution: Copyright (c) 2015 Andrew Gallant
|
|
1283
|
+
|
|
1284
|
+
jiff@1.0.3
|
|
1285
|
+
License: Unlicense OR MIT
|
|
1286
|
+
Source: https://github.com/BurntSushi/jiff
|
|
1287
|
+
Copyright/attribution: Copyright (c) 2015 Andrew Gallant
|
|
1288
|
+
|
|
1270
1289
|
jni-macros@0.22.4
|
|
1271
1290
|
License: MIT OR Apache-2.0
|
|
1272
1291
|
Source: https://github.com/jni-rs/jni-rs
|
|
@@ -1366,6 +1385,11 @@ libmqm-sys@0.10.2
|
|
|
1366
1385
|
License: Apache-2.0
|
|
1367
1386
|
Source: https://github.com/advantic-au/libmqm-sys
|
|
1368
1387
|
|
|
1388
|
+
libredox@0.1.25
|
|
1389
|
+
License: MIT
|
|
1390
|
+
Source: https://gitlab.redox-os.org/redox-os/libredox.git
|
|
1391
|
+
Copyright/attribution: Copyright (c) 2023 4lDO2
|
|
1392
|
+
|
|
1369
1393
|
libsqlite3-sys@0.37.0
|
|
1370
1394
|
License: MIT
|
|
1371
1395
|
Source: https://github.com/rusqlite/rusqlite
|
|
@@ -1377,6 +1401,10 @@ Source: https://github.com/rust-lang/libz-sys
|
|
|
1377
1401
|
Copyright/attribution: Copyright (c) 2014 Alex Crichton
|
|
1378
1402
|
Copyright/attribution: Copyright (c) 2020 Josh Triplett
|
|
1379
1403
|
|
|
1404
|
+
link-section@0.19.4
|
|
1405
|
+
License: Apache-2.0 OR MIT
|
|
1406
|
+
Source: https://github.com/mmastrac/linktime
|
|
1407
|
+
|
|
1380
1408
|
linux-raw-sys@0.12.1
|
|
1381
1409
|
License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
|
|
1382
1410
|
Source: https://github.com/sunfishcode/linux-raw-sys
|
|
@@ -1626,6 +1654,16 @@ License: MIT OR Apache-2.0
|
|
|
1626
1654
|
Source: https://github.com/rust-num/num-traits
|
|
1627
1655
|
Copyright/attribution: Copyright (c) 2014 The Rust Project Developers
|
|
1628
1656
|
|
|
1657
|
+
objc2-core-foundation@0.3.2
|
|
1658
|
+
License: Zlib OR Apache-2.0 OR MIT
|
|
1659
|
+
Source: https://github.com/madsmtm/objc2
|
|
1660
|
+
Copyright/attribution: Copyright holders/authors: objc2-core-foundation contributors
|
|
1661
|
+
|
|
1662
|
+
objc2-system-configuration@0.3.2
|
|
1663
|
+
License: Zlib OR Apache-2.0 OR MIT
|
|
1664
|
+
Source: https://github.com/madsmtm/objc2
|
|
1665
|
+
Copyright/attribution: Copyright holders/authors: objc2-system-configuration contributors
|
|
1666
|
+
|
|
1629
1667
|
object_store@0.14.2
|
|
1630
1668
|
License: MIT/Apache-2.0
|
|
1631
1669
|
Source: https://github.com/apache/arrow-rs-object-store
|
|
@@ -1640,17 +1678,17 @@ License: MIT OR Apache-2.0
|
|
|
1640
1678
|
Source: https://github.com/rusticata/oid-registry.git
|
|
1641
1679
|
Copyright/attribution: Copyright (c) 2017 Pierre Chifflier
|
|
1642
1680
|
|
|
1643
|
-
omq-proto@0.
|
|
1681
|
+
omq-proto@0.42.2
|
|
1644
1682
|
License: ISC
|
|
1645
1683
|
Source: https://github.com/paddor/omq.rs
|
|
1646
1684
|
Copyright/attribution: Copyright (c) 2026 Patrik Wenger
|
|
1647
1685
|
|
|
1648
|
-
omq-shm@0.2
|
|
1686
|
+
omq-shm@0.10.2
|
|
1649
1687
|
License: ISC
|
|
1650
1688
|
Source: https://github.com/paddor/omq.rs
|
|
1651
1689
|
Copyright/attribution: Copyright (c) 2026 Patrik Wenger
|
|
1652
1690
|
|
|
1653
|
-
omq-tokio@0.
|
|
1691
|
+
omq-tokio@0.39.2
|
|
1654
1692
|
License: ISC
|
|
1655
1693
|
Source: https://github.com/paddor/omq.rs
|
|
1656
1694
|
Copyright/attribution: Copyright (c) 2026 Patrik Wenger
|
|
@@ -1856,6 +1894,10 @@ License: Apache-2.0 OR MIT
|
|
|
1856
1894
|
Source: https://github.com/RustCrypto/universal-hashes
|
|
1857
1895
|
Copyright/attribution: Copyright (c) 2019-2026 The RustCrypto Project Developers
|
|
1858
1896
|
|
|
1897
|
+
portable-atomic-util@0.2.8
|
|
1898
|
+
License: Apache-2.0 OR MIT
|
|
1899
|
+
Source: https://github.com/taiki-e/portable-atomic-util
|
|
1900
|
+
|
|
1859
1901
|
portable-atomic@1.15.0
|
|
1860
1902
|
License: Apache-2.0 OR MIT
|
|
1861
1903
|
Source: https://github.com/taiki-e/portable-atomic
|
|
@@ -1900,6 +1942,10 @@ proc-macro2@1.0.107
|
|
|
1900
1942
|
License: MIT OR Apache-2.0
|
|
1901
1943
|
Source: https://github.com/dtolnay/proc-macro2
|
|
1902
1944
|
|
|
1945
|
+
process-wrap@10.0.2
|
|
1946
|
+
License: Apache-2.0 OR MIT
|
|
1947
|
+
Source: https://github.com/watchexec/process-wrap
|
|
1948
|
+
|
|
1903
1949
|
prost-derive@0.14.4
|
|
1904
1950
|
License: Apache-2.0
|
|
1905
1951
|
Source: https://github.com/tokio-rs/prost
|
|
@@ -2039,7 +2085,7 @@ Source: https://github.com/RustCrypto/block-ciphers
|
|
|
2039
2085
|
Copyright/attribution: Copyright (c) 2017 Damian Czaja
|
|
2040
2086
|
Copyright/attribution: Copyright 2017 Damian Czaja
|
|
2041
2087
|
|
|
2042
|
-
rdkafka-sys@4.
|
|
2088
|
+
rdkafka-sys@4.11.0+2.16.0
|
|
2043
2089
|
License: MIT
|
|
2044
2090
|
Source: https://github.com/fede1024/rust-rdkafka
|
|
2045
2091
|
Copyright/attribution: Copyright (c) 2016 Federico Giraud
|
|
@@ -2133,6 +2179,11 @@ License: MIT
|
|
|
2133
2179
|
Source: https://github.com/rkyv/rkyv
|
|
2134
2180
|
Copyright/attribution: Copyright 2021 David Koloski
|
|
2135
2181
|
|
|
2182
|
+
rmcp@3.12.0
|
|
2183
|
+
License: Apache-2.0
|
|
2184
|
+
Source: https://github.com/modelcontextprotocol/rust-sdk/
|
|
2185
|
+
Copyright/attribution: Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.
|
|
2186
|
+
|
|
2136
2187
|
rmp-serde@1.3.1
|
|
2137
2188
|
License: MIT
|
|
2138
2189
|
Source: https://github.com/3Hren/msgpack-rust
|
|
@@ -2541,6 +2592,11 @@ sqlx@0.9.0
|
|
|
2541
2592
|
License: MIT OR Apache-2.0
|
|
2542
2593
|
Source: https://github.com/launchbadge/sqlx
|
|
2543
2594
|
|
|
2595
|
+
sse-stream@0.2.6
|
|
2596
|
+
License: MIT OR Apache-2.0
|
|
2597
|
+
Source: https://github.com/4t145/sse-stream/
|
|
2598
|
+
Copyright/attribution: Copyright (c) 2024 4t145
|
|
2599
|
+
|
|
2544
2600
|
stable_deref_trait@1.2.1
|
|
2545
2601
|
License: MIT OR Apache-2.0
|
|
2546
2602
|
Source: https://github.com/storyyeller/stable_deref_trait
|
|
@@ -2861,6 +2917,10 @@ License: MIT OR Apache-2.0
|
|
|
2861
2917
|
Source: https://github.com/servo/unicode-bidi
|
|
2862
2918
|
Copyright/attribution: Copyright (c) 2015 The Rust Project Developers
|
|
2863
2919
|
|
|
2920
|
+
unicode-general-category@1.1.0
|
|
2921
|
+
License: Apache-2.0
|
|
2922
|
+
Source: https://github.com/yeslogic/unicode-general-category
|
|
2923
|
+
|
|
2864
2924
|
unicode-ident@1.0.26
|
|
2865
2925
|
License: (MIT OR Apache-2.0) AND Unicode-3.0
|
|
2866
2926
|
Source: https://github.com/dtolnay/unicode-ident
|
|
@@ -3336,6 +3396,15 @@ The Apache Software Foundation (http://www.apache.org/).
|
|
|
3336
3396
|
COMPONENT-SPECIFIC LICENSE AND ATTRIBUTION TEXTS
|
|
3337
3397
|
================================================================================
|
|
3338
3398
|
|
|
3399
|
+
----- Additional text e0e4244bc484 -----
|
|
3400
|
+
Applies to: rmcp@3.12.0
|
|
3401
|
+
|
|
3402
|
+
The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
|
|
3403
|
+
|
|
3404
|
+
Contributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.
|
|
3405
|
+
|
|
3406
|
+
No rights beyond those granted by the applicable original license are conveyed for such contributions.
|
|
3407
|
+
|
|
3339
3408
|
----- Additional text 08728d1c12d6 -----
|
|
3340
3409
|
Applies to: zstd-sys@2.1.0+zstd.1.5.7
|
|
3341
3410
|
|
|
@@ -3441,6 +3510,44 @@ freely, subject to the following restrictions:
|
|
|
3441
3510
|
|
|
3442
3511
|
3. This notice may not be removed or altered from any source distribution.
|
|
3443
3512
|
|
|
3513
|
+
----- Additional text 1aa0a3422448 -----
|
|
3514
|
+
Applies to: objc2-core-foundation@0.3.2, objc2-system-configuration@0.3.2
|
|
3515
|
+
|
|
3516
|
+
# License
|
|
3517
|
+
|
|
3518
|
+
The licensing of these crates is a bit complicated:
|
|
3519
|
+
- The crates `objc2`, `block2`, `objc2-foundation` and `objc2-encode` are
|
|
3520
|
+
[currently][#23] licensed under [the MIT license][MIT].
|
|
3521
|
+
- All other crates are trio-licensed under the [Zlib], [Apache-2.0] or [MIT]
|
|
3522
|
+
license, at your option.
|
|
3523
|
+
|
|
3524
|
+
Furthermore, the crates are (usually automatically) derived from Apple SDKs,
|
|
3525
|
+
and that may have implications for licensing, see below for details.
|
|
3526
|
+
|
|
3527
|
+
[#23]: https://github.com/madsmtm/objc2/issues/23
|
|
3528
|
+
[MIT]: https://opensource.org/license/MIT
|
|
3529
|
+
[Zlib]: https://zlib.net/zlib_license.html
|
|
3530
|
+
[Apache-2.0]: https://www.apache.org/licenses/LICENSE-2.0
|
|
3531
|
+
|
|
3532
|
+
|
|
3533
|
+
## Apple SDKs
|
|
3534
|
+
|
|
3535
|
+
These crates are derived from Apple SDKs shipped with Xcode. You can obtain a
|
|
3536
|
+
copy of the Xcode license at:
|
|
3537
|
+
|
|
3538
|
+
https://www.apple.com/legal/sla/docs/xcode.pdf
|
|
3539
|
+
|
|
3540
|
+
Or by typing `xcodebuild -license` in your terminal.
|
|
3541
|
+
|
|
3542
|
+
From reading the license, it is unclear whether distributing derived works
|
|
3543
|
+
such as these crates are allowed?
|
|
3544
|
+
|
|
3545
|
+
But in any case, to practically use these crates, you will have to link, and
|
|
3546
|
+
that only works when you have the correct Xcode SDK available to provide the
|
|
3547
|
+
required `.tbd` files, which is why we choose to still use the normal SPDX
|
|
3548
|
+
identifiers in the crates (Xcode is required to use the crates, and when using
|
|
3549
|
+
Xcode you have already agreed to the Xcode license).
|
|
3550
|
+
|
|
3444
3551
|
----- Additional text 24fa06d8eae3 -----
|
|
3445
3552
|
Applies to: subtle@2.6.1
|
|
3446
3553
|
|
package/native.js
CHANGED
|
@@ -77,8 +77,8 @@ function requireNative() {
|
|
|
77
77
|
try {
|
|
78
78
|
const binding = require('mq-bridge-android-arm64')
|
|
79
79
|
const bindingPackageVersion = require('mq-bridge-android-arm64/package.json').version
|
|
80
|
-
if (bindingPackageVersion !== '1.
|
|
81
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
80
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
81
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
82
82
|
}
|
|
83
83
|
return binding
|
|
84
84
|
} catch (e) {
|
|
@@ -93,8 +93,8 @@ function requireNative() {
|
|
|
93
93
|
try {
|
|
94
94
|
const binding = require('mq-bridge-android-arm-eabi')
|
|
95
95
|
const bindingPackageVersion = require('mq-bridge-android-arm-eabi/package.json').version
|
|
96
|
-
if (bindingPackageVersion !== '1.
|
|
97
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
96
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
97
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
98
98
|
}
|
|
99
99
|
return binding
|
|
100
100
|
} catch (e) {
|
|
@@ -114,8 +114,8 @@ function requireNative() {
|
|
|
114
114
|
try {
|
|
115
115
|
const binding = require('mq-bridge-win32-x64-gnu')
|
|
116
116
|
const bindingPackageVersion = require('mq-bridge-win32-x64-gnu/package.json').version
|
|
117
|
-
if (bindingPackageVersion !== '1.
|
|
118
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
117
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
118
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
119
119
|
}
|
|
120
120
|
return binding
|
|
121
121
|
} catch (e) {
|
|
@@ -130,8 +130,8 @@ function requireNative() {
|
|
|
130
130
|
try {
|
|
131
131
|
const binding = require('mq-bridge-win32-x64-msvc')
|
|
132
132
|
const bindingPackageVersion = require('mq-bridge-win32-x64-msvc/package.json').version
|
|
133
|
-
if (bindingPackageVersion !== '1.
|
|
134
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
133
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
134
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
135
135
|
}
|
|
136
136
|
return binding
|
|
137
137
|
} catch (e) {
|
|
@@ -147,8 +147,8 @@ function requireNative() {
|
|
|
147
147
|
try {
|
|
148
148
|
const binding = require('mq-bridge-win32-ia32-msvc')
|
|
149
149
|
const bindingPackageVersion = require('mq-bridge-win32-ia32-msvc/package.json').version
|
|
150
|
-
if (bindingPackageVersion !== '1.
|
|
151
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
150
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
151
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
152
152
|
}
|
|
153
153
|
return binding
|
|
154
154
|
} catch (e) {
|
|
@@ -163,8 +163,8 @@ function requireNative() {
|
|
|
163
163
|
try {
|
|
164
164
|
const binding = require('mq-bridge-win32-arm64-msvc')
|
|
165
165
|
const bindingPackageVersion = require('mq-bridge-win32-arm64-msvc/package.json').version
|
|
166
|
-
if (bindingPackageVersion !== '1.
|
|
167
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
166
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
167
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
168
168
|
}
|
|
169
169
|
return binding
|
|
170
170
|
} catch (e) {
|
|
@@ -182,8 +182,8 @@ function requireNative() {
|
|
|
182
182
|
try {
|
|
183
183
|
const binding = require('mq-bridge-darwin-universal')
|
|
184
184
|
const bindingPackageVersion = require('mq-bridge-darwin-universal/package.json').version
|
|
185
|
-
if (bindingPackageVersion !== '1.
|
|
186
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
185
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
186
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
187
187
|
}
|
|
188
188
|
return binding
|
|
189
189
|
} catch (e) {
|
|
@@ -198,8 +198,8 @@ function requireNative() {
|
|
|
198
198
|
try {
|
|
199
199
|
const binding = require('mq-bridge-darwin-x64')
|
|
200
200
|
const bindingPackageVersion = require('mq-bridge-darwin-x64/package.json').version
|
|
201
|
-
if (bindingPackageVersion !== '1.
|
|
202
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
201
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
202
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
203
203
|
}
|
|
204
204
|
return binding
|
|
205
205
|
} catch (e) {
|
|
@@ -214,8 +214,8 @@ function requireNative() {
|
|
|
214
214
|
try {
|
|
215
215
|
const binding = require('mq-bridge-darwin-arm64')
|
|
216
216
|
const bindingPackageVersion = require('mq-bridge-darwin-arm64/package.json').version
|
|
217
|
-
if (bindingPackageVersion !== '1.
|
|
218
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
217
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
218
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
219
219
|
}
|
|
220
220
|
return binding
|
|
221
221
|
} catch (e) {
|
|
@@ -234,8 +234,8 @@ function requireNative() {
|
|
|
234
234
|
try {
|
|
235
235
|
const binding = require('mq-bridge-freebsd-x64')
|
|
236
236
|
const bindingPackageVersion = require('mq-bridge-freebsd-x64/package.json').version
|
|
237
|
-
if (bindingPackageVersion !== '1.
|
|
238
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
237
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
238
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
239
239
|
}
|
|
240
240
|
return binding
|
|
241
241
|
} catch (e) {
|
|
@@ -250,8 +250,8 @@ function requireNative() {
|
|
|
250
250
|
try {
|
|
251
251
|
const binding = require('mq-bridge-freebsd-arm64')
|
|
252
252
|
const bindingPackageVersion = require('mq-bridge-freebsd-arm64/package.json').version
|
|
253
|
-
if (bindingPackageVersion !== '1.
|
|
254
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
253
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
254
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
255
255
|
}
|
|
256
256
|
return binding
|
|
257
257
|
} catch (e) {
|
|
@@ -271,8 +271,8 @@ function requireNative() {
|
|
|
271
271
|
try {
|
|
272
272
|
const binding = require('mq-bridge-linux-x64-musl')
|
|
273
273
|
const bindingPackageVersion = require('mq-bridge-linux-x64-musl/package.json').version
|
|
274
|
-
if (bindingPackageVersion !== '1.
|
|
275
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
274
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
275
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
276
276
|
}
|
|
277
277
|
return binding
|
|
278
278
|
} catch (e) {
|
|
@@ -287,8 +287,8 @@ function requireNative() {
|
|
|
287
287
|
try {
|
|
288
288
|
const binding = require('mq-bridge-linux-x64-gnu')
|
|
289
289
|
const bindingPackageVersion = require('mq-bridge-linux-x64-gnu/package.json').version
|
|
290
|
-
if (bindingPackageVersion !== '1.
|
|
291
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
290
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
291
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
292
292
|
}
|
|
293
293
|
return binding
|
|
294
294
|
} catch (e) {
|
|
@@ -305,8 +305,8 @@ function requireNative() {
|
|
|
305
305
|
try {
|
|
306
306
|
const binding = require('mq-bridge-linux-arm64-musl')
|
|
307
307
|
const bindingPackageVersion = require('mq-bridge-linux-arm64-musl/package.json').version
|
|
308
|
-
if (bindingPackageVersion !== '1.
|
|
309
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
308
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
309
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
310
310
|
}
|
|
311
311
|
return binding
|
|
312
312
|
} catch (e) {
|
|
@@ -321,8 +321,8 @@ function requireNative() {
|
|
|
321
321
|
try {
|
|
322
322
|
const binding = require('mq-bridge-linux-arm64-gnu')
|
|
323
323
|
const bindingPackageVersion = require('mq-bridge-linux-arm64-gnu/package.json').version
|
|
324
|
-
if (bindingPackageVersion !== '1.
|
|
325
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
324
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
325
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
326
326
|
}
|
|
327
327
|
return binding
|
|
328
328
|
} catch (e) {
|
|
@@ -339,8 +339,8 @@ function requireNative() {
|
|
|
339
339
|
try {
|
|
340
340
|
const binding = require('mq-bridge-linux-arm-musleabihf')
|
|
341
341
|
const bindingPackageVersion = require('mq-bridge-linux-arm-musleabihf/package.json').version
|
|
342
|
-
if (bindingPackageVersion !== '1.
|
|
343
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
342
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
343
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
344
344
|
}
|
|
345
345
|
return binding
|
|
346
346
|
} catch (e) {
|
|
@@ -355,8 +355,8 @@ function requireNative() {
|
|
|
355
355
|
try {
|
|
356
356
|
const binding = require('mq-bridge-linux-arm-gnueabihf')
|
|
357
357
|
const bindingPackageVersion = require('mq-bridge-linux-arm-gnueabihf/package.json').version
|
|
358
|
-
if (bindingPackageVersion !== '1.
|
|
359
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
358
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
359
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
360
360
|
}
|
|
361
361
|
return binding
|
|
362
362
|
} catch (e) {
|
|
@@ -373,8 +373,8 @@ function requireNative() {
|
|
|
373
373
|
try {
|
|
374
374
|
const binding = require('mq-bridge-linux-loong64-musl')
|
|
375
375
|
const bindingPackageVersion = require('mq-bridge-linux-loong64-musl/package.json').version
|
|
376
|
-
if (bindingPackageVersion !== '1.
|
|
377
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
376
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
377
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
378
378
|
}
|
|
379
379
|
return binding
|
|
380
380
|
} catch (e) {
|
|
@@ -389,8 +389,8 @@ function requireNative() {
|
|
|
389
389
|
try {
|
|
390
390
|
const binding = require('mq-bridge-linux-loong64-gnu')
|
|
391
391
|
const bindingPackageVersion = require('mq-bridge-linux-loong64-gnu/package.json').version
|
|
392
|
-
if (bindingPackageVersion !== '1.
|
|
393
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
392
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
393
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
394
394
|
}
|
|
395
395
|
return binding
|
|
396
396
|
} catch (e) {
|
|
@@ -407,8 +407,8 @@ function requireNative() {
|
|
|
407
407
|
try {
|
|
408
408
|
const binding = require('mq-bridge-linux-riscv64-musl')
|
|
409
409
|
const bindingPackageVersion = require('mq-bridge-linux-riscv64-musl/package.json').version
|
|
410
|
-
if (bindingPackageVersion !== '1.
|
|
411
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
410
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
411
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
412
412
|
}
|
|
413
413
|
return binding
|
|
414
414
|
} catch (e) {
|
|
@@ -423,8 +423,8 @@ function requireNative() {
|
|
|
423
423
|
try {
|
|
424
424
|
const binding = require('mq-bridge-linux-riscv64-gnu')
|
|
425
425
|
const bindingPackageVersion = require('mq-bridge-linux-riscv64-gnu/package.json').version
|
|
426
|
-
if (bindingPackageVersion !== '1.
|
|
427
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
426
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
427
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
428
428
|
}
|
|
429
429
|
return binding
|
|
430
430
|
} catch (e) {
|
|
@@ -440,8 +440,8 @@ function requireNative() {
|
|
|
440
440
|
try {
|
|
441
441
|
const binding = require('mq-bridge-linux-ppc64-gnu')
|
|
442
442
|
const bindingPackageVersion = require('mq-bridge-linux-ppc64-gnu/package.json').version
|
|
443
|
-
if (bindingPackageVersion !== '1.
|
|
444
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
443
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
444
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
445
445
|
}
|
|
446
446
|
return binding
|
|
447
447
|
} catch (e) {
|
|
@@ -456,8 +456,8 @@ function requireNative() {
|
|
|
456
456
|
try {
|
|
457
457
|
const binding = require('mq-bridge-linux-s390x-gnu')
|
|
458
458
|
const bindingPackageVersion = require('mq-bridge-linux-s390x-gnu/package.json').version
|
|
459
|
-
if (bindingPackageVersion !== '1.
|
|
460
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
459
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
460
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
461
461
|
}
|
|
462
462
|
return binding
|
|
463
463
|
} catch (e) {
|
|
@@ -476,8 +476,8 @@ function requireNative() {
|
|
|
476
476
|
try {
|
|
477
477
|
const binding = require('mq-bridge-openharmony-arm64')
|
|
478
478
|
const bindingPackageVersion = require('mq-bridge-openharmony-arm64/package.json').version
|
|
479
|
-
if (bindingPackageVersion !== '1.
|
|
480
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
479
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
480
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
481
481
|
}
|
|
482
482
|
return binding
|
|
483
483
|
} catch (e) {
|
|
@@ -492,8 +492,8 @@ function requireNative() {
|
|
|
492
492
|
try {
|
|
493
493
|
const binding = require('mq-bridge-openharmony-x64')
|
|
494
494
|
const bindingPackageVersion = require('mq-bridge-openharmony-x64/package.json').version
|
|
495
|
-
if (bindingPackageVersion !== '1.
|
|
496
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
495
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
496
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
497
497
|
}
|
|
498
498
|
return binding
|
|
499
499
|
} catch (e) {
|
|
@@ -508,8 +508,8 @@ function requireNative() {
|
|
|
508
508
|
try {
|
|
509
509
|
const binding = require('mq-bridge-openharmony-arm')
|
|
510
510
|
const bindingPackageVersion = require('mq-bridge-openharmony-arm/package.json').version
|
|
511
|
-
if (bindingPackageVersion !== '1.
|
|
512
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
511
|
+
if (bindingPackageVersion !== '1.7.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
512
|
+
throw new Error(`Native binding package version mismatch, expected 1.7.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
513
513
|
}
|
|
514
514
|
return binding
|
|
515
515
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mq-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Async ETL and messaging engine (Rust core): brokers (Kafka, NATS, AMQP, MQTT), databases incl. Postgres/MongoDB CDC, Parquet on S3/GCS/Azure object storage, HTTP/gRPC.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"messaging",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"artifacts": "napi artifacts"
|
|
65
65
|
},
|
|
66
66
|
"optionalDependencies": {
|
|
67
|
-
"mq-bridge-darwin-x64": "1.
|
|
68
|
-
"mq-bridge-darwin-arm64": "1.
|
|
69
|
-
"mq-bridge-linux-x64-gnu": "1.
|
|
70
|
-
"mq-bridge-linux-arm64-gnu": "1.
|
|
71
|
-
"mq-bridge-win32-x64-msvc": "1.
|
|
67
|
+
"mq-bridge-darwin-x64": "1.7.0",
|
|
68
|
+
"mq-bridge-darwin-arm64": "1.7.0",
|
|
69
|
+
"mq-bridge-linux-x64-gnu": "1.7.0",
|
|
70
|
+
"mq-bridge-linux-arm64-gnu": "1.7.0",
|
|
71
|
+
"mq-bridge-win32-x64-msvc": "1.7.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@napi-rs/cli": "^3.0.0"
|