Skip to content

fix: better error management and socket.io-parser security bump - #218

Merged
edospadoni merged 2 commits into
mainfrom
chore/batch-197-198
Sep 18, 2026
Merged

edospadoni merged 2 commits into
mainfrom
chore/batch-197-198

Conversation

@edospadoni

Copy link
Copy Markdown
Member

Closes #197
Closes #198

#197 — gestione errori START_CALL_BY_URL

Il controllo accettava solo statusCode === 200 e, in caso di errore, chiamava triggerError ma proseguiva comunque mostrando la PhoneIsland. Ora accetta 2xx e 302, e ritorna dopo l'errore. Commit originale di @tonyco97, autore preservato.

#198 — socket.io-parser 4.2.6 → 4.2.7

Chiude l'advisory high severity Socket.IO: Zero-attachment Memory Exhaustion. Dipendenza transitiva via @nethesis/phone-island > socket.io-client. Verificato con npm audit: l'advisory non compare più.

Resync del lockfile

In #217 avevo ripristinato i range semver in package.json senza rigenerare il lock, lasciando il root entry del lockfile a dichiarare ^1.20.0/^7.88.0/^4.63.3 per axios/react-hook-form/rollup mentre package.json teneva ^1.6.7/^7.50.1/^4.12.1.

Le versioni risolte non erano interessate — npm ci funzionava e la CI era verde — ma il primo npm install avrebbe riscritto il file in silenzio. Qui è risincronizzato sui range dichiarati in package.json, che è l'intento originale delle PR Renovate (erano lockfile-only).

Verifica

npm ci + npm run build verdi. Dopo npm ci il lockfile resta invariato (git status pulito), a conferma che la coerenza è ripristinata.

tonyco97 and others added 2 commits September 18, 2026 10:46
socket.io-parser 4.2.6 -> 4.2.7 closes the high-severity 'Socket.IO:
Zero-attachment Memory Exhaustion' advisory. Transitive via
@nethesis/phone-island > socket.io-client.

Also resyncs the lockfile root entry with package.json: #217 left it
declaring ^1.20.0/^7.88.0/^4.63.3 for axios/react-hook-form/rollup while
package.json kept the original ^1.6.7/^7.50.1/^4.12.1 ranges. Resolved
versions were unaffected, but the next npm install would have rewritten
the file.

Co-authored-by: Antonio <tonyco97.tc@gmail.com>
@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/35326228669.
Commit: 4eb3aba

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

@edospadoni
edospadoni merged commit cc653f0 into main Sep 18, 2026
4 checks passed
@edospadoni
edospadoni deleted the chore/batch-197-198 branch September 25, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants