@floegence/flowersec-core 5.2.1 → 5.2.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/README.md CHANGED
@@ -93,3 +93,13 @@ See the [TypeScript cookbook](../examples/ts/README.md),
93
93
  [Transport v3 architecture](../docs/TRANSPORT_V3_ARCHITECTURE.md),
94
94
  [wire contract](../docs/TRANSPORT_V3_WIRE.md), and
95
95
  [error model](../docs/ERROR_MODEL.md).
96
+
97
+ ### Connection retry status
98
+
99
+ While a connection controller is `waiting`, its snapshot and diagnostic include
100
+ `nextRetryAtUnixMilliseconds`, the scheduler-owned wall-clock estimate of the next
101
+ attempt. It accounts for both exponential backoff and any server `retry_after`
102
+ minimum. Hosts may display a countdown without duplicating the retry policy. The
103
+ field is absent outside `waiting`. `retryNow()` can skip backoff but cannot bypass
104
+ a server minimum; `close()` cancels the wait. Wall-clock corrections can change
105
+ the displayed estimate; the scheduler still enforces its monotonic backoff.
@@ -3,11 +3,11 @@
3
3
  This file is generated from the canonical Flowersec source dependency inventory for flowersec-ts.
4
4
  Do not edit it manually. License decisions are reviewed by the repository source license policy.
5
5
 
6
- - @floegence/flowersec-node-native 5.2.1 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
7
- - @floegence/flowersec-node-native-darwin-arm64 5.2.1 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
8
- - @floegence/flowersec-node-native-darwin-x64 5.2.1 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
9
- - @floegence/flowersec-node-native-linux-arm64-gnu 5.2.1 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
10
- - @floegence/flowersec-node-native-linux-x64-gnu 5.2.1 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
6
+ - @floegence/flowersec-node-native 5.2.3 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
7
+ - @floegence/flowersec-node-native-darwin-arm64 5.2.3 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
8
+ - @floegence/flowersec-node-native-darwin-x64 5.2.3 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
9
+ - @floegence/flowersec-node-native-linux-arm64-gnu 5.2.3 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
10
+ - @floegence/flowersec-node-native-linux-x64-gnu 5.2.3 (Declared: MIT; selected: MIT; source: https://github.com/floegence/flowersec.git)
11
11
  - @noble/ciphers 2.4.0 (Declared: MIT; selected: MIT; source: https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.4.0.tgz)
12
12
  - @noble/curves 2.4.0 (Declared: MIT; selected: MIT; source: https://registry.npmjs.org/@noble/curves/-/curves-2.4.0.tgz)
13
13
  - @noble/hashes 2.4.0 (Declared: MIT; selected: MIT; source: https://registry.npmjs.org/@noble/hashes/-/hashes-2.4.0.tgz)
@@ -14,4 +14,4 @@ export type { WebSocketPatchOptions } from "./wsPatch.js";
14
14
  export { disableUpstreamServiceWorkerRegister } from "./disableUpstreamServiceWorkerRegister.js";
15
15
  export { connectProxyBrowser, connectProxyControllerBrowser, } from "./integration.js";
16
16
  export type { ProxyBrowserConnectOptions, ProxyBrowserHandle, ProxyControllerBrowserConnectOptions, ProxyControllerBrowserHandle, } from "./integration.js";
17
- export type { ProxyFetchRequest, ProxyHeader, ProxyRuntime, ProxyRuntimeControllerBridgeScope, ProxyRuntimeLimits, ProxyRuntimeOptions, ProxyRuntimePathPolicy, ProxyRuntimeScopeLimits, ProxyRuntimeScope, ProxyRuntimeServiceWorkerScope, } from "./types.js";
17
+ export type { ProxyFetchRequest, ProxyHeader, ProxyRuntime, ProxyRuntimeControllerBridgeScope, ProxyRuntimeHTTPScope, ProxyRuntimeLimits, ProxyRuntimeOptions, ProxyRuntimePathPolicy, ProxyRuntimeScopeLimits, ProxyRuntimeScope, ProxyRuntimeServiceWorkerScope, } from "./types.js";
@@ -0,0 +1,6 @@
1
+ export declare class InvalidProxyPathError extends TypeError {
2
+ }
3
+ export declare function normalizePath(input: string): string;
4
+ export declare function normalizePrefixes(name: string, values: readonly string[] | undefined): readonly string[];
5
+ export declare const FORBIDDEN_HEADERS: Set<string>;
6
+ export declare function normalizeHeaderNames(values: readonly string[] | undefined): ReadonlySet<string>;
@@ -0,0 +1,52 @@
1
+ export class InvalidProxyPathError extends TypeError {
2
+ }
3
+ export function normalizePath(input) {
4
+ if (input !== input.trim() || !input.startsWith("/") || input.startsWith("//") || /[\u0000-\u0020]/u.test(input) || input.includes("://") || input.includes("#")) {
5
+ throw new InvalidProxyPathError("proxy path must be an origin-relative path");
6
+ }
7
+ let parsed;
8
+ try {
9
+ parsed = new URL(input, "https://flowersec.invalid/");
10
+ }
11
+ catch {
12
+ throw new InvalidProxyPathError("proxy path must be an origin-relative path");
13
+ }
14
+ const pathname = normalizePercentEscapes(parsed.pathname, true).replace(/\/{2,}/gu, "/");
15
+ const search = normalizePercentEscapes(parsed.search, false);
16
+ return pathname + search;
17
+ }
18
+ function normalizePercentEscapes(input, rejectEncodedSeparators) {
19
+ if (/%(?![0-9a-f]{2})/iu.test(input))
20
+ throw new InvalidProxyPathError("proxy path contains invalid percent encoding");
21
+ return input.replace(/%([0-9a-f]{2})/giu, (_match, hex) => {
22
+ const value = Number.parseInt(hex, 16);
23
+ if (rejectEncodedSeparators && (value === 0x2f || value === 0x5c)) {
24
+ throw new InvalidProxyPathError("proxy path contains an encoded separator");
25
+ }
26
+ const character = String.fromCharCode(value);
27
+ return /[A-Za-z0-9\-._~]/u.test(character) ? character : `%${hex.toUpperCase()}`;
28
+ });
29
+ }
30
+ export function normalizePrefixes(name, values) {
31
+ const result = [];
32
+ for (const raw of values ?? []) {
33
+ const value = normalizePath(raw);
34
+ if (value.includes("?"))
35
+ throw new TypeError(`${name} must not include a query`);
36
+ if (!result.includes(value))
37
+ result.push(value);
38
+ }
39
+ return Object.freeze(result);
40
+ }
41
+ export const FORBIDDEN_HEADERS = new Set(["authorization", "connection", "cookie", "host", "keep-alive", "proxy-authorization", "set-cookie", "transfer-encoding", "upgrade"]);
42
+ export function normalizeHeaderNames(values) {
43
+ const result = new Set();
44
+ for (const raw of values ?? []) {
45
+ const value = raw.toLowerCase().trim();
46
+ if (!/^[!#$%&'*+\-.^_`|~0-9a-z]+$/u.test(value) || FORBIDDEN_HEADERS.has(value)) {
47
+ throw new TypeError("proxy header allowlist contains a forbidden name");
48
+ }
49
+ result.add(value);
50
+ }
51
+ return result;
52
+ }
@@ -4,6 +4,7 @@ import { base64urlEncode } from "../utils/base64url.js";
4
4
  import { readU32be, u32be } from "../utils/bin.js";
5
5
  import { SessionError } from "../public/contract.js";
6
6
  import { createStreamMetadata } from "../public/streamMetadata.js";
7
+ import { InvalidProxyPathError, normalizePath, normalizePrefixes, normalizeHeaderNames, FORBIDDEN_HEADERS } from "./policy.js";
7
8
  import { ProxyByteReader, writeAll } from "./stream.js";
8
9
  import { registerProxyRuntimeServiceWorkerBridge, usesServiceWorkerResponseFlowControl, } from "./serviceWorkerRuntime.js";
9
10
  const PROXY_HTTP_STREAM_KIND = "flowersec-proxy/http1";
@@ -46,50 +47,10 @@ function normalizeTimeout(input) {
46
47
  }
47
48
  return input;
48
49
  }
49
- class InvalidProxyPathError extends TypeError {
50
- }
51
- function normalizePath(input) {
52
- if (input !== input.trim() || !input.startsWith("/") || input.startsWith("//") || /[\u0000-\u0020]/u.test(input) || input.includes("://") || input.includes("#")) {
53
- throw new InvalidProxyPathError("proxy path must be an origin-relative path");
54
- }
55
- let parsed;
56
- try {
57
- parsed = new URL(input, "https://flowersec.invalid/");
58
- }
59
- catch {
60
- throw new InvalidProxyPathError("proxy path must be an origin-relative path");
61
- }
62
- const pathname = normalizePercentEscapes(parsed.pathname, true).replace(/\/{2,}/gu, "/");
63
- const search = normalizePercentEscapes(parsed.search, false);
64
- return pathname + search;
65
- }
66
- function normalizePercentEscapes(input, rejectEncodedSeparators) {
67
- if (/%(?![0-9a-f]{2})/iu.test(input))
68
- throw new InvalidProxyPathError("proxy path contains invalid percent encoding");
69
- return input.replace(/%([0-9a-f]{2})/giu, (_match, hex) => {
70
- const value = Number.parseInt(hex, 16);
71
- if (rejectEncodedSeparators && (value === 0x2f || value === 0x5c)) {
72
- throw new InvalidProxyPathError("proxy path contains an encoded separator");
73
- }
74
- const character = String.fromCharCode(value);
75
- return /[A-Za-z0-9\-._~]/u.test(character) ? character : `%${hex.toUpperCase()}`;
76
- });
77
- }
78
50
  function pathName(path) {
79
51
  const query = path.indexOf("?");
80
52
  return query < 0 ? path : path.slice(0, query);
81
53
  }
82
- function normalizePrefixes(name, values) {
83
- const result = [];
84
- for (const raw of values ?? []) {
85
- const value = normalizePath(raw);
86
- if (value.includes("?"))
87
- throw new TypeError(`${name} must not include a query`);
88
- if (!result.includes(value))
89
- result.push(value);
90
- }
91
- return Object.freeze(result);
92
- }
93
54
  function normalizePathPolicy(policy) {
94
55
  return {
95
56
  allowedPathPrefixes: normalizePrefixes("allowedPathPrefixes", policy?.allowedPathPrefixes),
@@ -137,18 +98,6 @@ function normalizeToken(input) {
137
98
  }
138
99
  const BASE_REQUEST_HEADERS = new Set(["accept", "accept-language", "content-type", "if-match", "if-none-match", "range"]);
139
100
  const BASE_RESPONSE_HEADERS = new Set(["accept-ranges", "cache-control", "content-disposition", "content-language", "content-range", "content-type", "etag", "expires", "last-modified", "location"]);
140
- const FORBIDDEN_HEADERS = new Set(["authorization", "connection", "cookie", "host", "keep-alive", "proxy-authorization", "set-cookie", "transfer-encoding", "upgrade"]);
141
- function normalizeHeaderNames(values) {
142
- const result = new Set();
143
- for (const raw of values ?? []) {
144
- const value = raw.toLowerCase().trim();
145
- if (!/^[!#$%&'*+\-.^_`|~0-9a-z]+$/u.test(value) || FORBIDDEN_HEADERS.has(value)) {
146
- throw new TypeError("proxy header allowlist contains a forbidden name");
147
- }
148
- result.add(value);
149
- }
150
- return result;
151
- }
152
101
  function filterHeaders(input, base, extra) {
153
102
  const result = [];
154
103
  for (const entry of input) {
@@ -1,3 +1,4 @@
1
+ import { normalizeHeaderNames, normalizePrefixes } from "./policy.js";
1
2
  export const PROXY_RUNTIME_SCOPE = Object.freeze({ name: "proxy.runtime", version: 2 });
2
3
  const MAX_PAYLOAD_BYTES = 8 * 1024;
3
4
  const MAX_FIELDS = 48;
@@ -59,6 +60,28 @@ function optionalAppBasePath(value) {
59
60
  reject("appBasePath");
60
61
  return path;
61
62
  }
63
+ function httpStrings(name, value) {
64
+ if (value === undefined)
65
+ return undefined;
66
+ if (!Array.isArray(value) || value.length > 32)
67
+ reject(name);
68
+ return value.map((entry) => nonEmpty(name, entry));
69
+ }
70
+ function optionalHTTP(value, appBasePath) {
71
+ if (value === undefined)
72
+ return undefined;
73
+ if (!isRecord(value))
74
+ reject("http");
75
+ exactFields(value, ["additionalPathPrefixes", "extraRequestHeaders"], "http");
76
+ const prefixes = httpStrings("http.additionalPathPrefixes", value.additionalPathPrefixes);
77
+ const headers = httpStrings("http.extraRequestHeaders", value.extraRequestHeaders);
78
+ if (prefixes !== undefined && prefixes.length > 0 && appBasePath === undefined)
79
+ reject("http requires appBasePath");
80
+ return Object.freeze({
81
+ ...(prefixes === undefined ? {} : { additionalPathPrefixes: normalizePrefixes("http.additionalPathPrefixes", prefixes) }),
82
+ ...(headers === undefined ? {} : { extraRequestHeaders: Object.freeze([...normalizeHeaderNames(headers)]) }),
83
+ });
84
+ }
62
85
  function allowedOrigins(value) {
63
86
  if (!Array.isArray(value) || value.length === 0 || value.length > 16)
64
87
  reject("controllerBridge.allowedOrigins");
@@ -95,10 +118,11 @@ export function assertProxyRuntimeScope(payload) {
95
118
  if (new TextEncoder().encode(encoded).length > MAX_PAYLOAD_BYTES || containerDepth(payload) > MAX_DEPTH || fieldCount(payload) > MAX_FIELDS) {
96
119
  reject("payload bounds");
97
120
  }
98
- exactFields(payload, ["version", "mode", "appBasePath", "serviceWorker", "controllerBridge", "limits"], "scope");
121
+ exactFields(payload, ["version", "mode", "appBasePath", "http", "serviceWorker", "controllerBridge", "limits"], "scope");
99
122
  if (payload.version !== undefined && payload.version !== 2)
100
123
  reject("version");
101
124
  const appBasePath = optionalAppBasePath(payload.appBasePath);
125
+ const http = optionalHTTP(payload.http, appBasePath);
102
126
  const limits = optionalLimits(payload.limits);
103
127
  if (payload.mode === "service_worker") {
104
128
  if (!isRecord(payload.serviceWorker) || payload.controllerBridge !== undefined)
@@ -107,6 +131,7 @@ export function assertProxyRuntimeScope(payload) {
107
131
  const result = {
108
132
  mode: "service_worker",
109
133
  ...(appBasePath === undefined ? {} : { appBasePath }),
134
+ ...(http === undefined ? {} : { http }),
110
135
  serviceWorker: Object.freeze({
111
136
  scriptUrl: nonEmpty("serviceWorker.scriptUrl", payload.serviceWorker.scriptUrl),
112
137
  scope: nonEmpty("serviceWorker.scope", payload.serviceWorker.scope),
@@ -122,6 +147,7 @@ export function assertProxyRuntimeScope(payload) {
122
147
  const result = {
123
148
  mode: "controller_bridge",
124
149
  ...(appBasePath === undefined ? {} : { appBasePath }),
150
+ ...(http === undefined ? {} : { http }),
125
151
  controllerBridge: Object.freeze({ allowedOrigins: allowedOrigins(payload.controllerBridge.allowedOrigins) }),
126
152
  ...(limits === undefined ? {} : { limits }),
127
153
  };
@@ -64,8 +64,13 @@ export type ProxyRuntimeScopeLimits = Readonly<{
64
64
  maxBodyBytes?: number;
65
65
  maxWsFrameBytes?: number;
66
66
  }>;
67
+ export type ProxyRuntimeHTTPScope = Readonly<{
68
+ additionalPathPrefixes?: readonly string[];
69
+ extraRequestHeaders?: readonly string[];
70
+ }>;
67
71
  type ProxyRuntimeScopeBase = Readonly<{
68
72
  appBasePath?: string;
73
+ http?: ProxyRuntimeHTTPScope;
69
74
  limits?: ProxyRuntimeScopeLimits;
70
75
  }>;
71
76
  export type ProxyRuntimeServiceWorkerScope = ProxyRuntimeScopeBase & Readonly<{
@@ -56,12 +56,16 @@ export type ConnectionControllerSnapshotV3<Session extends ManagedSessionV3 = Ma
56
56
  currentSession?: Session;
57
57
  failure?: ConnectionControllerFailureV3;
58
58
  retryDisposition?: RetryDispositionV3;
59
+ /** Effective retry deadline, present only while waiting; a wall-clock estimate of the owned wait. */
60
+ nextRetryAtUnixMilliseconds?: number;
59
61
  }>;
60
62
  export type ConnectionDiagnosticV3 = Readonly<{
61
63
  state: ConnectionControllerStateV3;
62
64
  attempt: number;
63
65
  failure?: ConnectionControllerFailureV3;
64
66
  retryDisposition?: RetryDispositionV3;
67
+ /** Effective retry deadline, present only while waiting; a wall-clock estimate of the owned wait. */
68
+ nextRetryAtUnixMilliseconds?: number;
65
69
  }>;
66
70
  /** Produces a stable diagnostic value without retaining a Session or transport detail. */
67
71
  export declare function connectionDiagnosticV3(snapshot: ConnectionControllerSnapshotV3): ConnectionDiagnosticV3;
@@ -21,6 +21,7 @@ export function connectionDiagnosticV3(snapshot) {
21
21
  attempt: snapshot.attempt,
22
22
  ...(failure === undefined ? {} : { failure }),
23
23
  ...(retryDisposition === undefined ? {} : { retryDisposition }),
24
+ ...(snapshot.nextRetryAtUnixMilliseconds === undefined ? {} : { nextRetryAtUnixMilliseconds: snapshot.nextRetryAtUnixMilliseconds }),
24
25
  });
25
26
  }
26
27
  export class ConnectionControllerV3Error extends Error {
@@ -562,6 +563,8 @@ export class ConnectionControllerV3 {
562
563
  return Object.freeze({
563
564
  state: this.#state,
564
565
  attempt: this.#state === "connected" ? this.#connectedAttempt : this.#cycle.snapshot().attempts,
566
+ ...(this.#state === "waiting" && this.#retry.nextRetryAtUnixMilliseconds !== undefined
567
+ ? { nextRetryAtUnixMilliseconds: this.#retry.nextRetryAtUnixMilliseconds } : {}),
565
568
  ...(this.currentSession === undefined ? {} : { currentSession: this.currentSession }),
566
569
  ...(this.#failure === undefined ? {} : { failure: this.#failure }),
567
570
  ...(this.#disposition === undefined ? {} : { retryDisposition: this.#disposition }),
@@ -38,6 +38,8 @@ export type ControllerClockV3 = Readonly<{
38
38
  export declare class ControllerRetryWaitV3 {
39
39
  #private;
40
40
  constructor(clock?: ControllerClockV3);
41
+ /** Wall-clock estimate of this wait's effective backoff and server deadline. */
42
+ get nextRetryAtUnixMilliseconds(): number | undefined;
41
43
  retryNow(): boolean;
42
44
  wait(disposition: RetryDispositionV3, consecutiveFailure: number, signal: AbortSignal): Promise<boolean>;
43
45
  }
@@ -182,10 +182,15 @@ export class ControllerRetryWaitV3 {
182
182
  #waiting = false;
183
183
  #manual = false;
184
184
  #absoluteDeadline;
185
+ #nextRetryAtUnixMilliseconds;
185
186
  #wake;
186
187
  constructor(clock = defaultControllerClockV3()) {
187
188
  this.#clock = clock;
188
189
  }
190
+ /** Wall-clock estimate of this wait's effective backoff and server deadline. */
191
+ get nextRetryAtUnixMilliseconds() {
192
+ return this.#nextRetryAtUnixMilliseconds;
193
+ }
189
194
  retryNow() {
190
195
  if (!this.#waiting)
191
196
  return false;
@@ -203,6 +208,7 @@ export class ControllerRetryWaitV3 {
203
208
  if (this.#waiting)
204
209
  throw new Error("Flowersec v3 retry wait is already active");
205
210
  const backoffDeadline = saturatingAddMilliseconds(this.#clock.monotonicNowMilliseconds(), controllerBackoffForWait(consecutiveFailure));
211
+ this.#nextRetryAtUnixMilliseconds = Math.max(saturatingAddMilliseconds(this.#clock.wallNowMilliseconds(), controllerBackoffForWait(consecutiveFailure)), validated.kind === "retry_after" ? validated.notBeforeUnixMilliseconds : 0);
206
212
  this.#waiting = true;
207
213
  this.#manual = false;
208
214
  this.#absoluteDeadline = validated.kind === "retry_after"
@@ -232,6 +238,7 @@ export class ControllerRetryWaitV3 {
232
238
  this.#waiting = false;
233
239
  this.#manual = false;
234
240
  this.#absoluteDeadline = undefined;
241
+ this.#nextRetryAtUnixMilliseconds = undefined;
235
242
  this.#wake = undefined;
236
243
  }
237
244
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/flowersec-core",
3
- "version": "5.2.1",
3
+ "version": "5.2.3",
4
4
  "description": "Flowersec core TypeScript library for carrier-neutral encrypted sessions and multiplexed streams.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -95,7 +95,7 @@
95
95
  "vitest": "4.1.11"
96
96
  },
97
97
  "optionalDependencies": {
98
- "@floegence/flowersec-node-native": "5.2.1"
98
+ "@floegence/flowersec-node-native": "5.2.3"
99
99
  },
100
- "flowersecSourceCommit": "83eb4dd78fc65037e592ede1bdbd50f12b47ed68"
100
+ "flowersecSourceCommit": "a51980b57092cc992d62b295f528c9d4862d08f7"
101
101
  }
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.5",
4
- "serialNumber": "urn:uuid:ef55f79b-3f01-5dfd-8342-40b56c8a32b6",
4
+ "serialNumber": "urn:uuid:4ef2fc46-e089-57b4-8795-fab20ec6f5d2",
5
5
  "version": 1,
6
6
  "metadata": {
7
7
  "component": {
8
8
  "type": "library",
9
9
  "name": "@floegence/flowersec-core",
10
- "version": "5.2.1",
11
- "purl": "pkg:npm/%40floegence/flowersec-core@5.2.1",
12
- "bom-ref": "pkg:npm/%40floegence/flowersec-core@5.2.1"
10
+ "version": "5.2.3",
11
+ "purl": "pkg:npm/%40floegence/flowersec-core@5.2.3",
12
+ "bom-ref": "pkg:npm/%40floegence/flowersec-core@5.2.3"
13
13
  },
14
14
  "properties": [
15
15
  {
16
16
  "name": "flowersec:source-inventory-sha256",
17
- "value": "a3e0eb01d0c1f18a61ff1e5201c242c34bcbca6fc2b387e60b90ea6eacc9a4ea"
17
+ "value": "fb2ea9517aaca42acb285f13d293942957d486a12f9a51f1aef85090501afe87"
18
18
  }
19
19
  ]
20
20
  },
@@ -22,9 +22,9 @@
22
22
  {
23
23
  "type": "library",
24
24
  "name": "@floegence/flowersec-node-native",
25
- "version": "5.2.1",
26
- "purl": "pkg:npm/%40floegence/flowersec-node-native@5.2.1",
27
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native@5.2.1",
25
+ "version": "5.2.3",
26
+ "purl": "pkg:npm/%40floegence/flowersec-node-native@5.2.3",
27
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native@5.2.3",
28
28
  "licenses": [
29
29
  {
30
30
  "expression": "MIT"
@@ -50,9 +50,9 @@
50
50
  {
51
51
  "type": "library",
52
52
  "name": "@floegence/flowersec-node-native-darwin-arm64",
53
- "version": "5.2.1",
54
- "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.1",
55
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.1",
53
+ "version": "5.2.3",
54
+ "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.3",
55
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.3",
56
56
  "licenses": [
57
57
  {
58
58
  "expression": "MIT"
@@ -78,9 +78,9 @@
78
78
  {
79
79
  "type": "library",
80
80
  "name": "@floegence/flowersec-node-native-darwin-x64",
81
- "version": "5.2.1",
82
- "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.1",
83
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.1",
81
+ "version": "5.2.3",
82
+ "purl": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.3",
83
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.3",
84
84
  "licenses": [
85
85
  {
86
86
  "expression": "MIT"
@@ -106,9 +106,9 @@
106
106
  {
107
107
  "type": "library",
108
108
  "name": "@floegence/flowersec-node-native-linux-arm64-gnu",
109
- "version": "5.2.1",
110
- "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.1",
111
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.1",
109
+ "version": "5.2.3",
110
+ "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.3",
111
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.3",
112
112
  "licenses": [
113
113
  {
114
114
  "expression": "MIT"
@@ -134,9 +134,9 @@
134
134
  {
135
135
  "type": "library",
136
136
  "name": "@floegence/flowersec-node-native-linux-x64-gnu",
137
- "version": "5.2.1",
138
- "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.1",
139
- "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.1",
137
+ "version": "5.2.3",
138
+ "purl": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.3",
139
+ "bom-ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.3",
140
140
  "licenses": [
141
141
  {
142
142
  "expression": "MIT"
@@ -330,9 +330,9 @@
330
330
  ],
331
331
  "dependencies": [
332
332
  {
333
- "ref": "pkg:npm/%40floegence/flowersec-core@5.2.1",
333
+ "ref": "pkg:npm/%40floegence/flowersec-core@5.2.3",
334
334
  "dependsOn": [
335
- "pkg:npm/%40floegence/flowersec-node-native@5.2.1",
335
+ "pkg:npm/%40floegence/flowersec-node-native@5.2.3",
336
336
  "pkg:npm/%40noble/ciphers@2.4.0",
337
337
  "pkg:npm/%40noble/curves@2.4.0",
338
338
  "pkg:npm/%40noble/hashes@2.4.0",
@@ -341,28 +341,28 @@
341
341
  ]
342
342
  },
343
343
  {
344
- "ref": "pkg:npm/%40floegence/flowersec-node-native@5.2.1",
344
+ "ref": "pkg:npm/%40floegence/flowersec-node-native@5.2.3",
345
345
  "dependsOn": [
346
- "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.1",
347
- "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.1",
348
- "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.1",
349
- "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.1"
346
+ "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.3",
347
+ "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.3",
348
+ "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.3",
349
+ "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.3"
350
350
  ]
351
351
  },
352
352
  {
353
- "ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.1",
353
+ "ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.3",
354
354
  "dependsOn": []
355
355
  },
356
356
  {
357
- "ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.1",
357
+ "ref": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.3",
358
358
  "dependsOn": []
359
359
  },
360
360
  {
361
- "ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.1",
361
+ "ref": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.3",
362
362
  "dependsOn": []
363
363
  },
364
364
  {
365
- "ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.1",
365
+ "ref": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.3",
366
366
  "dependsOn": []
367
367
  },
368
368
  {
package/sbom/spdx.json CHANGED
@@ -3,9 +3,9 @@
3
3
  "dataLicense": "CC0-1.0",
4
4
  "SPDXID": "SPDXRef-DOCUMENT",
5
5
  "name": "flowersec-ts",
6
- "documentNamespace": "https://github.com/floegence/flowersec/sbom/flowersec-ts/a3e0eb01d0c1f18a61ff1e5201c242c34bcbca6fc2b387e60b90ea6eacc9a4ea",
6
+ "documentNamespace": "https://github.com/floegence/flowersec/sbom/flowersec-ts/fb2ea9517aaca42acb285f13d293942957d486a12f9a51f1aef85090501afe87",
7
7
  "creationInfo": {
8
- "created": "2026-09-17T12:14:36Z",
8
+ "created": "2026-09-17T15:04:20Z",
9
9
  "creators": [
10
10
  "Tool: flowersec-source-inventory-1"
11
11
  ]
@@ -13,26 +13,26 @@
13
13
  "packages": [
14
14
  {
15
15
  "name": "@floegence/flowersec-core",
16
- "SPDXID": "SPDXRef-Package-4edd52f23dc7709f8dd8",
17
- "versionInfo": "5.2.1",
16
+ "SPDXID": "SPDXRef-Package-1a2781c730d1514df6bc",
17
+ "versionInfo": "5.2.3",
18
18
  "downloadLocation": "NOASSERTION",
19
19
  "filesAnalyzed": false,
20
20
  "licenseConcluded": "NOASSERTION",
21
21
  "licenseDeclared": "NOASSERTION",
22
22
  "copyrightText": "NOASSERTION",
23
- "comment": "Flowersec source inventory SHA-256: a3e0eb01d0c1f18a61ff1e5201c242c34bcbca6fc2b387e60b90ea6eacc9a4ea",
23
+ "comment": "Flowersec source inventory SHA-256: fb2ea9517aaca42acb285f13d293942957d486a12f9a51f1aef85090501afe87",
24
24
  "externalRefs": [
25
25
  {
26
26
  "referenceCategory": "PACKAGE-MANAGER",
27
27
  "referenceType": "purl",
28
- "referenceLocator": "pkg:npm/%40floegence/flowersec-core@5.2.1"
28
+ "referenceLocator": "pkg:npm/%40floegence/flowersec-core@5.2.3"
29
29
  }
30
30
  ]
31
31
  },
32
32
  {
33
33
  "name": "@floegence/flowersec-node-native",
34
- "SPDXID": "SPDXRef-Package-d3e2ffd2fbfbc2760f94",
35
- "versionInfo": "5.2.1",
34
+ "SPDXID": "SPDXRef-Package-2249da85d7166d1af444",
35
+ "versionInfo": "5.2.3",
36
36
  "downloadLocation": "https://github.com/floegence/flowersec.git",
37
37
  "filesAnalyzed": false,
38
38
  "licenseConcluded": "MIT",
@@ -42,14 +42,14 @@
42
42
  {
43
43
  "referenceCategory": "PACKAGE-MANAGER",
44
44
  "referenceType": "purl",
45
- "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native@5.2.1"
45
+ "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native@5.2.3"
46
46
  }
47
47
  ]
48
48
  },
49
49
  {
50
50
  "name": "@floegence/flowersec-node-native-darwin-arm64",
51
- "SPDXID": "SPDXRef-Package-8fb45d12db7940fa43cf",
52
- "versionInfo": "5.2.1",
51
+ "SPDXID": "SPDXRef-Package-70f9638e0587f0f614c6",
52
+ "versionInfo": "5.2.3",
53
53
  "downloadLocation": "https://github.com/floegence/flowersec.git",
54
54
  "filesAnalyzed": false,
55
55
  "licenseConcluded": "MIT",
@@ -59,14 +59,14 @@
59
59
  {
60
60
  "referenceCategory": "PACKAGE-MANAGER",
61
61
  "referenceType": "purl",
62
- "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.1"
62
+ "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native-darwin-arm64@5.2.3"
63
63
  }
64
64
  ]
65
65
  },
66
66
  {
67
67
  "name": "@floegence/flowersec-node-native-darwin-x64",
68
- "SPDXID": "SPDXRef-Package-a476ba3e399b36c053b3",
69
- "versionInfo": "5.2.1",
68
+ "SPDXID": "SPDXRef-Package-11dd66d4878f7661e55f",
69
+ "versionInfo": "5.2.3",
70
70
  "downloadLocation": "https://github.com/floegence/flowersec.git",
71
71
  "filesAnalyzed": false,
72
72
  "licenseConcluded": "MIT",
@@ -76,14 +76,14 @@
76
76
  {
77
77
  "referenceCategory": "PACKAGE-MANAGER",
78
78
  "referenceType": "purl",
79
- "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.1"
79
+ "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native-darwin-x64@5.2.3"
80
80
  }
81
81
  ]
82
82
  },
83
83
  {
84
84
  "name": "@floegence/flowersec-node-native-linux-arm64-gnu",
85
- "SPDXID": "SPDXRef-Package-f5f83d16ce444077bfa0",
86
- "versionInfo": "5.2.1",
85
+ "SPDXID": "SPDXRef-Package-82d0457fdc649103f2d3",
86
+ "versionInfo": "5.2.3",
87
87
  "downloadLocation": "https://github.com/floegence/flowersec.git",
88
88
  "filesAnalyzed": false,
89
89
  "licenseConcluded": "MIT",
@@ -93,14 +93,14 @@
93
93
  {
94
94
  "referenceCategory": "PACKAGE-MANAGER",
95
95
  "referenceType": "purl",
96
- "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.1"
96
+ "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native-linux-arm64-gnu@5.2.3"
97
97
  }
98
98
  ]
99
99
  },
100
100
  {
101
101
  "name": "@floegence/flowersec-node-native-linux-x64-gnu",
102
- "SPDXID": "SPDXRef-Package-57520b879f3aec60863d",
103
- "versionInfo": "5.2.1",
102
+ "SPDXID": "SPDXRef-Package-6b40e1c47c738d231714",
103
+ "versionInfo": "5.2.3",
104
104
  "downloadLocation": "https://github.com/floegence/flowersec.git",
105
105
  "filesAnalyzed": false,
106
106
  "licenseConcluded": "MIT",
@@ -110,7 +110,7 @@
110
110
  {
111
111
  "referenceCategory": "PACKAGE-MANAGER",
112
112
  "referenceType": "purl",
113
- "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.1"
113
+ "referenceLocator": "pkg:npm/%40floegence/flowersec-node-native-linux-x64-gnu@5.2.3"
114
114
  }
115
115
  ]
116
116
  },
@@ -221,57 +221,57 @@
221
221
  {
222
222
  "spdxElementId": "SPDXRef-DOCUMENT",
223
223
  "relationshipType": "DESCRIBES",
224
- "relatedSpdxElement": "SPDXRef-Package-4edd52f23dc7709f8dd8"
224
+ "relatedSpdxElement": "SPDXRef-Package-1a2781c730d1514df6bc"
225
225
  },
226
226
  {
227
- "spdxElementId": "SPDXRef-Package-4edd52f23dc7709f8dd8",
227
+ "spdxElementId": "SPDXRef-Package-1a2781c730d1514df6bc",
228
228
  "relationshipType": "DEPENDS_ON",
229
- "relatedSpdxElement": "SPDXRef-Package-d3e2ffd2fbfbc2760f94"
229
+ "relatedSpdxElement": "SPDXRef-Package-2249da85d7166d1af444"
230
230
  },
231
231
  {
232
- "spdxElementId": "SPDXRef-Package-4edd52f23dc7709f8dd8",
232
+ "spdxElementId": "SPDXRef-Package-1a2781c730d1514df6bc",
233
233
  "relationshipType": "DEPENDS_ON",
234
234
  "relatedSpdxElement": "SPDXRef-Package-6cdb8b3664bfb0d67b6a"
235
235
  },
236
236
  {
237
- "spdxElementId": "SPDXRef-Package-4edd52f23dc7709f8dd8",
237
+ "spdxElementId": "SPDXRef-Package-1a2781c730d1514df6bc",
238
238
  "relationshipType": "DEPENDS_ON",
239
239
  "relatedSpdxElement": "SPDXRef-Package-e0e2cb449dffb239a794"
240
240
  },
241
241
  {
242
- "spdxElementId": "SPDXRef-Package-4edd52f23dc7709f8dd8",
242
+ "spdxElementId": "SPDXRef-Package-1a2781c730d1514df6bc",
243
243
  "relationshipType": "DEPENDS_ON",
244
244
  "relatedSpdxElement": "SPDXRef-Package-2e6e3840217975457b7a"
245
245
  },
246
246
  {
247
- "spdxElementId": "SPDXRef-Package-4edd52f23dc7709f8dd8",
247
+ "spdxElementId": "SPDXRef-Package-1a2781c730d1514df6bc",
248
248
  "relationshipType": "DEPENDS_ON",
249
249
  "relatedSpdxElement": "SPDXRef-Package-5b9d78698ec0a5c8f86f"
250
250
  },
251
251
  {
252
- "spdxElementId": "SPDXRef-Package-4edd52f23dc7709f8dd8",
252
+ "spdxElementId": "SPDXRef-Package-1a2781c730d1514df6bc",
253
253
  "relationshipType": "DEPENDS_ON",
254
254
  "relatedSpdxElement": "SPDXRef-Package-b779412f685822663496"
255
255
  },
256
256
  {
257
- "spdxElementId": "SPDXRef-Package-d3e2ffd2fbfbc2760f94",
257
+ "spdxElementId": "SPDXRef-Package-2249da85d7166d1af444",
258
258
  "relationshipType": "DEPENDS_ON",
259
- "relatedSpdxElement": "SPDXRef-Package-8fb45d12db7940fa43cf"
259
+ "relatedSpdxElement": "SPDXRef-Package-70f9638e0587f0f614c6"
260
260
  },
261
261
  {
262
- "spdxElementId": "SPDXRef-Package-d3e2ffd2fbfbc2760f94",
262
+ "spdxElementId": "SPDXRef-Package-2249da85d7166d1af444",
263
263
  "relationshipType": "DEPENDS_ON",
264
- "relatedSpdxElement": "SPDXRef-Package-a476ba3e399b36c053b3"
264
+ "relatedSpdxElement": "SPDXRef-Package-11dd66d4878f7661e55f"
265
265
  },
266
266
  {
267
- "spdxElementId": "SPDXRef-Package-d3e2ffd2fbfbc2760f94",
267
+ "spdxElementId": "SPDXRef-Package-2249da85d7166d1af444",
268
268
  "relationshipType": "DEPENDS_ON",
269
- "relatedSpdxElement": "SPDXRef-Package-f5f83d16ce444077bfa0"
269
+ "relatedSpdxElement": "SPDXRef-Package-82d0457fdc649103f2d3"
270
270
  },
271
271
  {
272
- "spdxElementId": "SPDXRef-Package-d3e2ffd2fbfbc2760f94",
272
+ "spdxElementId": "SPDXRef-Package-2249da85d7166d1af444",
273
273
  "relationshipType": "DEPENDS_ON",
274
- "relatedSpdxElement": "SPDXRef-Package-57520b879f3aec60863d"
274
+ "relatedSpdxElement": "SPDXRef-Package-6b40e1c47c738d231714"
275
275
  },
276
276
  {
277
277
  "spdxElementId": "SPDXRef-Package-e0e2cb449dffb239a794",