Compare commits

..
3 Commits
Author SHA1 Message Date
Renovate Bot c448e28c53 chore(deps): update dependency fast-xml-parser to v5.11.0
renovate/stability-days Updates have met minimum release age requirement
PR / lint (pull_request) Successful in 35s
PR / test (pull_request) Successful in 35s
PR / docker-build (pull_request) Successful in 48s
PR / e2e (pull_request) Successful in 1m8s
2026-08-19 05:01:58 +00:00
CI 068f82c0ff release v1.1.11 [skip ci] 2026-08-19 02:11:32 +00:00
Keli GrubbandMadison Grubb 1f45cc152a refactor(websocket): remove unused broadcastToSession export (#45)
Push / release (push) Successful in 11s
Push / publish (push) Successful in 32s
## Removed

- `broadcastToSession` from `server/plugins/websocket.js` — an exported but never-imported, never-called dead-code function. Its dependencies (`getSessionConnections`, `addSessionConnection`, `removeSessionConnection`) are retained since they remain actively used for per-session connection tracking within the plugin.

## Notes

- Full repository search confirms zero remaining references to `broadcastToSession`.
- ESLint passes; full test suite passes (50 files, 406 tests).

Closes #40

---------

Co-authored-by: Madison Grubb <madison@elastiflow.com>
Reviewed-on: #45
2026-08-19 02:11:19 +00:00
6 changed files with 28 additions and 23 deletions
+15
View File
@@ -1,3 +1,18 @@
## [1.1.11] - 2026-08-19
### Changed
- remove unused broadcastToSession export (#45)
## Removed
- `broadcastToSession` from `server/plugins/websocket.js` — an exported but never-imported, never-called dead-code function. Its dependencies (`getSessionConnections`, `addSessionConnection`, `removeSessionConnection`) are retained since they remain actively used for per-session connection tracking within the plugin.
## Notes
- Full repository search confirms zero remaining references to `broadcastToSession`.
- ESLint passes; full test suite passes (50 files, 406 tests).
Closes #40
## [1.1.10] - 2026-08-14
### Changed
- update dependencies and fix security vulnerabilities (#44)
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: kestrelos
description: KestrelOS TOC for OSINT feeds - map, camera feeds, offline tiles
type: application
version: 1.1.10
appVersion: "1.1.10"
version: 1.1.11
appVersion: "1.1.11"
+1 -1
View File
@@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: git.keligrubb.com/keligrubb/kestrelos
tag: 1.1.10
tag: 1.1.11
pullPolicy: IfNotPresent
service:
+9 -9
View File
@@ -1,12 +1,12 @@
{
"name": "kestrelos",
"version": "1.1.9",
"version": "1.1.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "kestrelos",
"version": "1.1.9",
"version": "1.1.11",
"hasInstallScript": true,
"dependencies": {
"@nuxt/icon": "^2.5.0",
@@ -7832,9 +7832,9 @@
}
},
"node_modules/fast-xml-parser": {
"version": "5.10.1",
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.10.1.tgz",
"integrity": "sha512-IEMIf7298kXuZSRFoGfMYrl7is8LpavODgbNz1cwIudv7KwVFnuU+UsMporfq6PD6aXSlawZlARiA3UywCTfMw==",
"version": "5.11.0",
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.11.0.tgz",
"integrity": "sha512-9IGxMqvqLOnqP+Egi1nqDHKv5k8aZ7r9n558enxcucmyVGEBNPAU+MOg/8jPIS7rO7sSq4gFm1/nHtiaubMruw==",
"funding": [
{
"type": "github",
@@ -7847,7 +7847,7 @@
"fast-xml-builder": "^1.2.0",
"is-unsafe": "^2.0.0",
"path-expression-matcher": "^1.6.2",
"strnum": "^2.4.1",
"strnum": "^2.4.2",
"xml-naming": "^0.3.0"
},
"bin": {
@@ -13482,9 +13482,9 @@
}
},
"node_modules/strnum": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/strnum/-/strnum-2.4.1.tgz",
"integrity": "sha512-M9eUSMT2dCB2cTNPG7UYj6KuK7RJR2SN2+yCV/fTW3xzTCS6EaGZ5pSMgDIjB7r8zSfTGk+dvvn9rTjpVS9Mwg==",
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/strnum/-/strnum-2.4.2.tgz",
"integrity": "sha512-rDG3Ah4TV0k1hWvLSzkZtMmLN9+eS+h3knq4MP6A42Y3Yh5qGNnOUs1jJkoSr8FG5dsL28c7KgkIBzSEykqtuw==",
"funding": [
{
"type": "github",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "kestrelos",
"version": "1.1.10",
"version": "1.1.11",
"private": true,
"type": "module",
"scripts": {
-10
View File
@@ -43,16 +43,6 @@ export function removeSessionConnection(sessionId, ws) {
}
}
export function broadcastToSession(sessionId, message) {
const conns = getSessionConnections(sessionId)
const data = JSON.stringify(message)
for (const ws of conns) {
if (ws.readyState === 1) { // OPEN
ws.send(data)
}
}
}
export default defineNitroPlugin((nitroApp) => {
nitroApp.hooks.hook('ready', async () => {
const server = nitroApp.h3App.server || nitroApp.h3App.nodeServer