@floegence/flowersec-node-native 2.5.4 → 3.0.1

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.
@@ -3,17 +3,29 @@
3
3
  This file is generated from the canonical Flowersec source dependency inventory for @floegence/flowersec-node-native.
4
4
  Do not edit it manually. License decisions are reviewed by the repository source license policy.
5
5
 
6
+ - asn1-rs 0.7.2 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rusticata/asn1-rs.git)
7
+ - asn1-rs-derive 0.6.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rusticata/asn1-rs.git)
8
+ - asn1-rs-impl 0.2.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rusticata/asn1-rs.git)
9
+ - autocfg 1.5.1 (Declared: Apache-2.0 OR MIT; selected: MIT; source: https://github.com/cuviper/autocfg)
6
10
  - bitflags 2.13.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/bitflags/bitflags)
11
+ - block-buffer 0.12.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/RustCrypto/utils)
7
12
  - bumpalo 3.20.3 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/fitzgen/bumpalo)
8
13
  - bytes 1.12.1 (Declared: MIT; selected: MIT; source: https://github.com/tokio-rs/bytes)
9
- - cc 1.4.2 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/cc-rs)
14
+ - cc 1.4.3 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/cc-rs)
10
15
  - cfg_aliases 0.2.2 (Declared: MIT; selected: MIT; source: https://github.com/katharostech/cfg_aliases)
11
16
  - cfg-if 1.0.4 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/cfg-if)
12
17
  - chacha20 0.10.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/RustCrypto/stream-ciphers)
18
+ - const-oid 0.10.2 (Declared: Apache-2.0 OR MIT; selected: MIT; source: https://github.com/RustCrypto/formats)
13
19
  - convert_case 0.11.0 (Declared: MIT; selected: MIT; source: https://github.com/rutrum/convert-case)
14
20
  - cpufeatures 0.3.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/RustCrypto/utils)
21
+ - crypto-common 0.2.2 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/RustCrypto/traits)
15
22
  - ctor 1.0.13 (Declared: Apache-2.0 OR MIT; selected: MIT; source: https://github.com/mmastrac/linktime)
16
- - find-msvc-tools 0.1.10 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/cc-rs)
23
+ - data-encoding 2.11.1 (Declared: MIT; selected: MIT; source: https://github.com/ia0/data-encoding)
24
+ - der-parser 10.0.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rusticata/der-parser.git)
25
+ - deranged 0.5.8 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/jhpratt/deranged)
26
+ - digest 0.11.3 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/RustCrypto/traits)
27
+ - displaydoc 0.2.7 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/yaahc/displaydoc)
28
+ - find-msvc-tools 0.1.11 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/cc-rs)
17
29
  - futures 0.3.34 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/futures-rs)
18
30
  - futures-channel 0.3.34 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/futures-rs)
19
31
  - futures-core 0.3.34 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/futures-rs)
@@ -25,11 +37,14 @@ Do not edit it manually. License decisions are reviewed by the repository source
25
37
  - futures-util 0.3.34 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/futures-rs)
26
38
  - getrandom 0.2.17 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-random/getrandom)
27
39
  - getrandom 0.4.3 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-random/getrandom)
40
+ - hybrid-array 0.4.14 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/RustCrypto/hybrid-array)
28
41
  - js-sys 0.3.104 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/js-sys)
42
+ - lazy_static 1.5.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang-nursery/lazy-static.rs)
29
43
  - libc 0.2.189 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/libc)
30
44
  - libloading 0.9.0 (Declared: ISC; selected: ISC; source: https://github.com/nagisa/rust_libloading/)
31
45
  - lru-slab 0.1.2 (Declared: MIT OR Apache-2.0 OR Zlib; selected: MIT; source: https://github.com/Ralith/lru-slab)
32
46
  - memchr 2.8.3 (Declared: Unlicense OR MIT; selected: MIT; source: https://github.com/BurntSushi/memchr)
47
+ - minimal-lexical 0.2.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/Alexhuszagh/minimal-lexical)
33
48
  - mio 1.2.2 (Declared: MIT; selected: MIT; source: https://github.com/tokio-rs/mio)
34
49
  - napi 3.12.1 (Declared: MIT; selected: MIT; source: https://github.com/napi-rs/napi-rs)
35
50
  - napi-build 2.4.1 (Declared: MIT; selected: MIT; source: https://github.com/napi-rs/napi-rs)
@@ -37,11 +52,18 @@ Do not edit it manually. License decisions are reviewed by the repository source
37
52
  - napi-derive-backend 6.1.2 (Declared: MIT; selected: MIT; source: https://github.com/napi-rs/napi-rs)
38
53
  - napi-sys 3.3.0 (Declared: MIT; selected: MIT; source: https://github.com/napi-rs/napi-rs)
39
54
  - nohash-hasher 0.2.0 (Declared: Apache-2.0 OR MIT; selected: MIT; source: https://github.com/paritytech/nohash-hasher)
55
+ - nom 7.1.3 (Declared: MIT; selected: MIT; source: https://github.com/Geal/nom)
56
+ - num-bigint 0.4.8 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-num/num-bigint)
57
+ - num-conv 0.2.2 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/jhpratt/num-conv)
58
+ - num-integer 0.1.47 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-num/num-integer)
59
+ - num-traits 0.2.19 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-num/num-traits)
60
+ - oid-registry 0.8.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rusticata/oid-registry.git)
40
61
  - once_cell 1.21.4 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/matklad/once_cell)
41
62
  - pin-project-lite 0.2.17 (Declared: Apache-2.0 OR MIT; selected: MIT; source: https://github.com/taiki-e/pin-project-lite)
63
+ - powerfmt 0.2.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/jhpratt/powerfmt)
42
64
  - proc-macro2 1.0.107 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/dtolnay/proc-macro2)
43
65
  - quinn 0.11.11 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/quinn-rs/quinn)
44
- - quinn-proto 0.11.16 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/quinn-rs/quinn)
66
+ - quinn-proto 0.11.17 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/quinn-rs/quinn)
45
67
  - quinn-udp 0.5.15 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/quinn-rs/quinn)
46
68
  - quote 1.0.47 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/dtolnay/quote)
47
69
  - r-efi 6.0.0 (Declared: MIT OR Apache-2.0 OR LGPL-2.1-or-later; selected: MIT; source: https://github.com/r-efi/r-efi)
@@ -50,19 +72,27 @@ Do not edit it manually. License decisions are reviewed by the repository source
50
72
  - rand_pcg 0.10.2 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-random/rngs)
51
73
  - ring 0.17.14 (Declared: Apache-2.0 AND ISC; selected: Apache-2.0 AND ISC; source: https://github.com/briansmith/ring)
52
74
  - rustc-hash 2.1.3 (Declared: Apache-2.0 OR MIT; selected: MIT; source: https://github.com/rust-lang/rustc-hash)
75
+ - rusticata-macros 4.1.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rusticata/rusticata-macros.git)
53
76
  - rustls 0.23.43 (Declared: Apache-2.0 OR ISC OR MIT; selected: MIT; source: https://github.com/rustls/rustls)
54
77
  - rustls-pki-types 1.15.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rustls/pki-types)
55
- - rustls-webpki 0.103.13 (Declared: ISC; selected: ISC; source: https://github.com/rustls/webpki)
78
+ - rustls-webpki 0.103.14 (Declared: ISC; selected: ISC; source: https://github.com/rustls/webpki)
56
79
  - rustversion 1.0.23 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/dtolnay/rustversion)
57
80
  - semver 1.0.28 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/dtolnay/semver)
81
+ - serde_core 1.0.229 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/serde-rs/serde)
82
+ - serde_derive 1.0.229 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/serde-rs/serde)
83
+ - sha2 0.11.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/RustCrypto/hashes)
58
84
  - shlex 2.0.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/comex/rust-shlex)
59
85
  - slab 0.4.12 (Declared: MIT; selected: MIT; source: https://github.com/tokio-rs/slab)
60
86
  - socket2 0.6.5 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rust-lang/socket2)
61
87
  - subtle 2.6.1 (Declared: BSD-3-Clause; selected: BSD-3-Clause; source: https://github.com/dalek-cryptography/subtle)
62
88
  - syn 2.0.119 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/dtolnay/syn)
63
89
  - syn 3.0.3 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/dtolnay/syn)
90
+ - synstructure 0.13.2 (Declared: MIT; selected: MIT; source: https://github.com/mystor/synstructure)
64
91
  - thiserror 2.0.20 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/dtolnay/thiserror)
65
92
  - thiserror-impl 2.0.20 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/dtolnay/thiserror)
93
+ - time 0.3.55 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/time-rs/time)
94
+ - time-core 0.1.9 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/time-rs/time)
95
+ - time-macros 0.2.32 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/time-rs/time)
66
96
  - tinyvec 1.12.0 (Declared: Zlib OR Apache-2.0 OR MIT; selected: MIT; source: https://github.com/Lokathor/tinyvec)
67
97
  - tinyvec_macros 0.1.1 (Declared: MIT OR Apache-2.0 OR Zlib; selected: MIT; source: https://github.com/Soveu/tinyvec_macros)
68
98
  - tokio 1.53.1 (Declared: MIT; selected: MIT; source: https://github.com/tokio-rs/tokio)
@@ -70,6 +100,7 @@ Do not edit it manually. License decisions are reviewed by the repository source
70
100
  - tokio-util 0.7.19 (Declared: MIT; selected: MIT; source: https://github.com/tokio-rs/tokio)
71
101
  - tracing 0.1.44 (Declared: MIT; selected: MIT; source: https://github.com/tokio-rs/tracing)
72
102
  - tracing-core 0.1.36 (Declared: MIT; selected: MIT; source: https://github.com/tokio-rs/tracing)
103
+ - typenum 1.20.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/paholg/typenum)
73
104
  - unicode-ident 1.0.24 (Declared: (MIT OR Apache-2.0) AND Unicode-3.0; selected: MIT AND Unicode-3.0; source: https://github.com/dtolnay/unicode-ident)
74
105
  - unicode-segmentation 1.13.3 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/unicode-rs/unicode-segmentation)
75
106
  - untrusted 0.9.0 (Declared: ISC; selected: ISC; source: https://github.com/briansmith/untrusted)
@@ -91,4 +122,5 @@ Do not edit it manually. License decisions are reviewed by the repository source
91
122
  - windows-sys 0.52.0 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/microsoft/windows-rs)
92
123
  - windows-sys 0.61.2 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/microsoft/windows-rs)
93
124
  - windows-targets 0.52.6 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/microsoft/windows-rs)
125
+ - x509-parser 0.18.1 (Declared: MIT OR Apache-2.0; selected: MIT; source: https://github.com/rusticata/x509-parser.git)
94
126
  - zeroize 1.9.0 (Declared: Apache-2.0 OR MIT; selected: MIT; source: https://github.com/RustCrypto/utils)
package/index.d.ts CHANGED
@@ -10,6 +10,18 @@ export type RawQuicConnectOptions = Readonly<{
10
10
  handshakeTimeoutMs: number;
11
11
  }>;
12
12
 
13
+ export type RawQuicConnectOptionsV3 = Readonly<{
14
+ host: string;
15
+ port: number;
16
+ serverName: string;
17
+ path: PathKind;
18
+ tlsMode: "ca" | "pin";
19
+ trustRootsDer?: readonly Uint8Array[];
20
+ activeLeafDerSha256?: readonly Uint8Array[];
21
+ inboundBidirectionalStreamCapacity: number;
22
+ handshakeTimeoutMs: number;
23
+ }>;
24
+
13
25
  export type RawQuicBindOptions = Readonly<{
14
26
  host: string;
15
27
  port: number;
@@ -38,6 +50,7 @@ export interface RawQuicStream {
38
50
  export interface RawQuicSession {
39
51
  readonly kind: "raw_quic";
40
52
  readonly path: PathKind;
53
+ readonly wireVersion: 2 | 3;
41
54
  readonly inboundBidirectionalStreamCapacity: number;
42
55
  readonly maxDatagramSize?: number;
43
56
  localAddress(): Readonly<{ host: string; port: number }>;
@@ -61,3 +74,5 @@ export interface RawQuicListener {
61
74
  export function contractVersion(): number;
62
75
  export function connectRawQuic(options: RawQuicConnectOptions): NativeOperation<RawQuicSession>;
63
76
  export function bindRawQuic(options: RawQuicBindOptions): Promise<RawQuicListener>;
77
+ export function connectRawQuicV3(options: RawQuicConnectOptionsV3): NativeOperation<RawQuicSession>;
78
+ export function bindRawQuicV3(options: RawQuicBindOptions): Promise<RawQuicListener>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/flowersec-node-native",
3
- "version": "2.5.4",
3
+ "version": "3.0.1",
4
4
  "description": "Prebuilt Flowersec native transport driver for Node.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,10 +23,10 @@
23
23
  "node": ">=20.19.0"
24
24
  },
25
25
  "optionalDependencies": {
26
- "@floegence/flowersec-node-native-darwin-arm64": "2.5.4",
27
- "@floegence/flowersec-node-native-darwin-x64": "2.5.4",
28
- "@floegence/flowersec-node-native-linux-arm64-gnu": "2.5.4",
29
- "@floegence/flowersec-node-native-linux-x64-gnu": "2.5.4"
26
+ "@floegence/flowersec-node-native-darwin-arm64": "3.0.1",
27
+ "@floegence/flowersec-node-native-darwin-x64": "3.0.1",
28
+ "@floegence/flowersec-node-native-linux-arm64-gnu": "3.0.1",
29
+ "@floegence/flowersec-node-native-linux-x64-gnu": "3.0.1"
30
30
  },
31
31
  "napi": {
32
32
  "binaryName": "flowersec-node-native",
@@ -37,5 +37,5 @@
37
37
  "x86_64-unknown-linux-gnu"
38
38
  ]
39
39
  },
40
- "flowersecSourceCommit": "026cb52d116d2a04de50d0f0621fff57c7657120"
40
+ "flowersecSourceCommit": "88d8064370733ca512b7994479d52fae33d91665"
41
41
  }