Skip to content

fix(deps): update dependency ws to ^8.21.0#345

Merged
skulidropek merged 1 commit into
mainfrom
renovate/all
May 23, 2026
Merged

fix(deps): update dependency ws to ^8.21.0#345
skulidropek merged 1 commit into
mainfrom
renovate/all

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 22, 2026

This PR contains the following updates:

Package Change Age Confidence
ws ^8.20.1^8.21.0 age confidence

cc @skulidropek


Release Notes

websockets/ws (ws)

v8.21.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from skulidropek May 22, 2026 19:53
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 22, 2026

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

Обновления

  • Chores
    • Обновлена зависимость WebSocket с версии 8.20.1 до 8.21.0 в API и приложении.

Walkthrough

Обновлена версия WebSocket библиотеки ws с ^8.20.1 до ^8.21.0 в двух пакетах: как production зависимость в packages/api и dev зависимость в packages/app.

Changes

Обновление ws зависимостей

Layer / File(s) Summary
Обновление ws в dependencies и devDependencies
packages/api/package.json, packages/app/package.json
Версия пакета ws увеличена с ^8.20.1 до ^8.21.0 в production зависимостях api пакета и dev зависимостях app пакета.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • skulidropek

Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error, 2 warnings)

Check name Status Explanation Resolution
Requirements Alignment ❌ Error PR attempting to set ws to non-existent version 8.21.0 (latest is 8.20.1); lacks documentation justifying the update, contradicts Docker template using [email protected], and has no corresponding tests. Update to existing version (8.20.1), document security/feature rationale, synchronize Docker template version, and ensure test coverage reflects changes.
Description check ⚠️ Warning Описание отклоняется от шаблона репозитория. Отсутствуют обязательные разделы: 'Source TZ / Issues', 'Summary', 'Requirements Alignment' и 'Verification'. Добавьте описание следуя шаблону: укажите 'Fixes' или связанные issues, краткое резюме, выравнивание требований и способ проверки.
Security Regression ⚠️ Warning PR обновляет ws до версии ^8.21.0, которая не существует на npm (последняя — 8.20.1). Это вызовет ошибки разрешения зависимостей и представляет риск цепочки поставок без обоснования. Обновите версию ws до существующей (8.20.1 или ранее) с документированным обоснованием (CVE, changelog) или откажитесь от обновления до выпуска 8.21.0.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed Заголовок точно отражает основное изменение: обновление зависимости ws до версии ^8.21.0 в обоих package.json файлах.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/all

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/api/package.json`:
- Line 30: Заменить несущетсвующую версию зависимости "ws": "^8.21.0" в
packages/api/package.json на реальную опубликованную версию (рекомендую
"8.20.1") или явно пометить и задокументировать причину использования
prerelease/локального таргета; добавить в PR/коммит ссылку на
релиз-ноуты/чейнджлог и краткое обоснование обновления (включая упоминание
security-фикса, например CVE-2026-45736, если применимо); проверить и
синхронизировать эту версию "ws" во всех Dockerfile/шаблонах/конфигурациях
проекта либо документировать допустимое расхождение и причины (файлы/места
поиска: packages/api/package.json и соответствующие Docker/шаблоны).

In `@packages/app/package.json`:
- Line 124: The devDependency bump of "ws" to "^8.21.0" in packages/app's
package.json lacks justification and conflicts with the pinned "[email protected]" used
in the project's Docker/playwright template and the change in
packages/api/package.json; update the PR or create an associated issue that
documents the reason for the upgrade (security/bug/feature), an assessment of
breaking changes, and a plan to reconcile/sync the version used in the
Docker/playwright template (or intentionally explain why they may differ), and
ensure the package.json change to "ws": "^8.21.0" is either aligned with the
template or accompanied by the documented rationale.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: db564067-e098-4461-ad9b-4ce80b3b51f1

📥 Commits

Reviewing files that changed from the base of the PR and between 525ed8b and 6d07af2.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • packages/api/package.json
  • packages/app/package.json
📜 Review details
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: E2E (Clone auto-open SSH)
  • GitHub Check: E2E (Login context)
  • GitHub Check: E2E (Runtime volumes + SSH)
  • GitHub Check: E2E (Browser command)
  • GitHub Check: E2E (OpenCode)
  • GitHub Check: E2E (Clone cache)
  • GitHub Check: Build
  • GitHub Check: E2E (Local package CLI)
  • GitHub Check: Test
  • GitHub Check: Lint
  • GitHub Check: Final build (windows-latest)
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{js,ts,jsx,tsx,py,java,go,rb,php,sh,bash,yml,yaml,json,env*,toml,cfg,config,dockerfile,dockerignore}

📄 CodeRabbit inference engine (Custom checks)

Fail if changed files expose credentials, tokens, private-keys, or PII in source, generated config, logs, or CI output

Files:

  • packages/app/package.json
  • packages/api/package.json
**/{package*.json,requirements*.txt,setup.py,setup.cfg,Pipfile,Pipfile.lock,pyproject.toml,pom.xml,build.gradle,Gemfile,Gemfile.lock,go.mod,go.sum,composer.json,Cargo.toml,Cargo.lock}

📄 CodeRabbit inference engine (Custom checks)

Fail if dependency or package-manager changes materially increase supply-chain risk without justification

Files:

  • packages/app/package.json
  • packages/api/package.json
**/*

⚙️ CodeRabbit configuration file

**/*: Ты строгий ревьюер SPEC DRIVEN DEVELOPMENT.

Перед выводами изучи README.md, другие *.md файлы, linked issues,
PR description, PR comments/discussion и релевантную кодовую базу.

Сверь изменения с исходным ТЗ/спекой и обсуждением. Флагай любой уход
от спеки, недокументированное изменение поведения, отсутствие тестов
для заявленного поведения и security-риск. Если спека не видна,
попроси автора добавить ее в issue или PR description.

Проверь решение с точки зрения формальной верификации: какие инварианты,
предусловия и постусловия можно доказать математически, а где доказуемость
слабая. Оцени решение с точки зрения теории игр: устойчивы ли стимулы,
нет ли выгодного обхода правил, и какое решение было бы сильнее.

Files:

  • packages/app/package.json
  • packages/api/package.json

Comment thread packages/api/package.json
"effect": "^3.21.2",
"node-pty": "^1.1.0",
"ws": "^8.20.1"
"ws": "^8.21.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | 🏗️ Heavy lift

🧩 Analysis chain

🌐 Web query:

ws npm package version 8.21.0 release notes and changelog

💡 Result:

As of May 22, 2026, there is no version 8.21.0 of the ws npm package. The most recent version available is 8.20.1, which was published on May 12, 2026 [1][2]. The ws package maintains its changelog and release notes directly through GitHub Releases [1][3]. You can view the history of all releases, including the latest version 8.20.1, at the official repository: https://github.com/websockets/ws/releases [4].

Citations:


🌐 Web query:

ws npm package security vulnerabilities and advisories 2026

💡 Result:

As of today (2026-05-22), the key npm package security vulnerability/advisory I found for the ws package is: 1) ws (websockets/ws) uninitialized memory disclosure (CVE-2026-45736) - Advisory (GitHub/ GHSA-58qx-3vcg-4xpx): A vulnerability in ws’s websocket.close allows uninitialized memory disclosure when a TypedArray is passed as the reason argument; it affects ws versions >= 8.0.0 and < 8.20.1, and was patched in ws 8.20.1 [1]. - CVE: The issue is tracked as CVE-2026-45736 and fixed in ws 8.20.1 [1]. - Examples of the vulnerable behavior and fix guidance are reflected in the broader vulnerability writeups: upgrading ws to 8.20.1+ mitigates [2]. 2) “Direct vulnerabilities” status for the latest ws version - The Snyk package page for ws (based on latest version 8.20.1) reports “No known security issues” affecting the latest version, and notes that although there are vulnerabilities in older versions, none affect 8.20.1 [3]. 3) Additional (older) ws advisories you may still want to account for (if you run older ws versions) - DoS due to many HTTP headers (CVE-2024-37890 / GHSA-3h5v-q93c-6h6q): affects ws versions >= 2.1.0 < 5.2.4, >= 6.0.0 < 6.2.3, >= 7.0.0 < 7.5.10, and >= 8.0.0 < 8.17.1; patched in 5.2.4, 6.2.3, 7.5.10, 8.17.1 [4]. - ReDoS in Sec-Websocket-Protocol header (CVE-2021-32640 / GHSA-6fc8-4gx4-v693): affects ws versions >= 5.0.0 < 5.2.3, >= 6.0.0 < 6.2.2, >= 7.0.0 < 7.4.6; patched in 5.2.3, 6.2.2, 7.4.6 [5]. Recommended remediation (practical) - Upgrade ws to at least 8.20.1 (to address CVE-2026-45736) [1]. - If you cannot upgrade immediately, ensure you’re not calling websocket.close with a TypedArray as the “reason” argument, since the disclosure occurs under that usage condition [1]. If you want, tell me which ws version(s) you use (and whether it’s direct or transitive), and I can map the precise affected ranges to your dependency tree and suggest an upgrade target.

Citations:


🏁 Script executed:

#!/bin/bash
# Проверка использования ws в api package для оценки impact
rg -n "from ['\"]ws['\"]|require\(['\"]ws['\"]" packages/api/src/ -A 2 -B 2

Repository: ProverCoderAI/docker-git

Length of output: 2221


Обязательна правка версии ws и обоснование обновления

  • В packages/api/package.json (стр. 30) задано "ws": "^8.21.0", но версии 8.21.0 для ws на npm/GitHub Releases на текущую дату не существует (самая свежая — 8.20.1). Уточните цель/источник (например, это prerelease) или замените на существующую версию, чтобы избежать проблем с установкой.
  • Обновление зависимости не сопровождается ссылкой на issue/спецификацию и описанием изменений/целей: добавьте релиз-ноуты/чейнджлог и обоснование (в т.ч. по security, например CVE-2026-45736 закрывается начиная с 8.20.1).
  • Проверьте и синхронизируйте версии ws в Docker/шаблонах: либо синхронизируйте, либо объясните, почему допускается расхождение.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/api/package.json` at line 30, Заменить несущетсвующую версию
зависимости "ws": "^8.21.0" в packages/api/package.json на реальную
опубликованную версию (рекомендую "8.20.1") или явно пометить и
задокументировать причину использования prerelease/локального таргета; добавить
в PR/коммит ссылку на релиз-ноуты/чейнджлог и краткое обоснование обновления
(включая упоминание security-фикса, например CVE-2026-45736, если применимо);
проверить и синхронизировать эту версию "ws" во всех
Dockerfile/шаблонах/конфигурациях проекта либо документировать допустимое
расхождение и причины (файлы/места поиска: packages/api/package.json и
соответствующие Docker/шаблоны).

Comment thread packages/app/package.json
"vite": "^8.0.14",
"vitest": "^4.1.7",
"ws": "^8.20.1"
"ws": "^8.21.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Требуется обоснование обновления dev-зависимости (дублирует проблему в api package).

Аналогично production-зависимости в packages/api/package.json, обновление ws до ^8.21.0 в devDependencies не имеет:

  1. Документированной спецификации или обоснования
  2. Информации о том, какие изменения требуют этого обновления в dev-окружении
  3. Согласованности с версией, зафиксированной в Docker-шаблоне ([email protected] в packages/app/src/lib/core/templates/playwright.ts:8)

Хотя это dev-зависимость с меньшим runtime-воздействием, она все равно представляет supply-chain риск и должна иметь обоснование согласно coding guidelines.

Рекомендуется добавить в description PR или связанный issue информацию о:

  • Причине обновления (security fix, bug fix, required feature)
  • Оценке breaking changes
  • Плане синхронизации версий в Docker-шаблонах
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/app/package.json` at line 124, The devDependency bump of "ws" to
"^8.21.0" in packages/app's package.json lacks justification and conflicts with
the pinned "[email protected]" used in the project's Docker/playwright template and the
change in packages/api/package.json; update the PR or create an associated issue
that documents the reason for the upgrade (security/bug/feature), an assessment
of breaking changes, and a plan to reconcile/sync the version used in the
Docker/playwright template (or intentionally explain why they may differ), and
ensure the package.json change to "ws": "^8.21.0" is either aligned with the
template or accompanied by the documented rationale.

@skulidropek skulidropek merged commit 51b6105 into main May 23, 2026
19 checks passed
@renovate renovate Bot deleted the renovate/all branch May 23, 2026 06:34
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.

1 participant