Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
749a65e1a7 | ||
|
|
068f82c0ff | ||
|
|
1f45cc152a |
@@ -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
|
## [1.1.10] - 2026-08-14
|
||||||
### Changed
|
### Changed
|
||||||
- update dependencies and fix security vulnerabilities (#44)
|
- update dependencies and fix security vulnerabilities (#44)
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: kestrelos
|
name: kestrelos
|
||||||
description: KestrelOS TOC for OSINT feeds - map, camera feeds, offline tiles
|
description: KestrelOS TOC for OSINT feeds - map, camera feeds, offline tiles
|
||||||
type: application
|
type: application
|
||||||
version: 1.1.10
|
version: 1.1.11
|
||||||
appVersion: "1.1.10"
|
appVersion: "1.1.11"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: git.keligrubb.com/keligrubb/kestrelos
|
repository: git.keligrubb.com/keligrubb/kestrelos
|
||||||
tag: 1.1.10
|
tag: 1.1.11
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
service:
|
service:
|
||||||
|
|||||||
Generated
+12
-12
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "kestrelos",
|
"name": "kestrelos",
|
||||||
"version": "1.1.9",
|
"version": "1.1.11",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "kestrelos",
|
"name": "kestrelos",
|
||||||
"version": "1.1.9",
|
"version": "1.1.11",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/icon": "^2.5.0",
|
"@nuxt/icon": "^2.5.0",
|
||||||
@@ -7832,9 +7832,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/fast-xml-parser": {
|
"node_modules/fast-xml-parser": {
|
||||||
"version": "5.10.1",
|
"version": "5.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.10.1.tgz",
|
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.11.0.tgz",
|
||||||
"integrity": "sha512-IEMIf7298kXuZSRFoGfMYrl7is8LpavODgbNz1cwIudv7KwVFnuU+UsMporfq6PD6aXSlawZlARiA3UywCTfMw==",
|
"integrity": "sha512-9IGxMqvqLOnqP+Egi1nqDHKv5k8aZ7r9n558enxcucmyVGEBNPAU+MOg/8jPIS7rO7sSq4gFm1/nHtiaubMruw==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
@@ -7847,7 +7847,7 @@
|
|||||||
"fast-xml-builder": "^1.2.0",
|
"fast-xml-builder": "^1.2.0",
|
||||||
"is-unsafe": "^2.0.0",
|
"is-unsafe": "^2.0.0",
|
||||||
"path-expression-matcher": "^1.6.2",
|
"path-expression-matcher": "^1.6.2",
|
||||||
"strnum": "^2.4.1",
|
"strnum": "^2.4.2",
|
||||||
"xml-naming": "^0.3.0"
|
"xml-naming": "^0.3.0"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -10102,9 +10102,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/mediasoup": {
|
"node_modules/mediasoup": {
|
||||||
"version": "3.24.2",
|
"version": "3.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/mediasoup/-/mediasoup-3.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/mediasoup/-/mediasoup-3.25.0.tgz",
|
||||||
"integrity": "sha512-Tf3hTHRvYiVLlHFt5vozcS4e6bR2lu8AUuV3NhQ3HmTNt9AU8HLQHWqwA350YUMpdvjfgHLcIZckUmoFlzxq5w==",
|
"integrity": "sha512-C3bYVWSDMDp5xCG+i1LK+Kpn4kmlMSSUXAZvOpqYQkz5Kc1lpur7/ua+1qOeOOb48dyHZSvrjoBQKEC08E1+Kw==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -13482,9 +13482,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/strnum": {
|
"node_modules/strnum": {
|
||||||
"version": "2.4.1",
|
"version": "2.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/strnum/-/strnum-2.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/strnum/-/strnum-2.4.2.tgz",
|
||||||
"integrity": "sha512-M9eUSMT2dCB2cTNPG7UYj6KuK7RJR2SN2+yCV/fTW3xzTCS6EaGZ5pSMgDIjB7r8zSfTGk+dvvn9rTjpVS9Mwg==",
|
"integrity": "sha512-rDG3Ah4TV0k1hWvLSzkZtMmLN9+eS+h3knq4MP6A42Y3Yh5qGNnOUs1jJkoSr8FG5dsL28c7KgkIBzSEykqtuw==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kestrelos",
|
"name": "kestrelos",
|
||||||
"version": "1.1.10",
|
"version": "1.1.11",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -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) => {
|
export default defineNitroPlugin((nitroApp) => {
|
||||||
nitroApp.hooks.hook('ready', async () => {
|
nitroApp.hooks.hook('ready', async () => {
|
||||||
const server = nitroApp.h3App.server || nitroApp.h3App.nodeServer
|
const server = nitroApp.h3App.server || nitroApp.h3App.nodeServer
|
||||||
|
|||||||
Reference in New Issue
Block a user