Skip to content

chore(deps): bump y-websocket from 2.1.0 to 3.0.0#31

Merged
Musiker15 merged 1 commit into
mainfrom
dependabot/npm_and_yarn/y-websocket-3.0.0
May 25, 2026
Merged

chore(deps): bump y-websocket from 2.1.0 to 3.0.0#31
Musiker15 merged 1 commit into
mainfrom
dependabot/npm_and_yarn/y-websocket-3.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Bumps y-websocket from 2.1.0 to 3.0.0.

Release notes

Sourced from y-websocket's releases.

v3.0.0

Important update

No breaking changes, except that this release does not ship a y-websocket server anymore. The y-websocket server is now maintained in y-webocket-server. This approach reduces dependencies for client-side packages.

changes

  • update deps and remove all optional dependencies bdcc05d
  • rip out y-websocket-server c802cc9
  • transform server to a proper esm module 6a29fd8
  • Merge pull request #190 from mythmon/patch-1 62a9aa1
  • Fix comment about trailing slashes b7db6f7
  • Merge pull request #187 from kemo-1/patch-1 6460a65
  • This is the correct path i think bce6b28

yjs/y-websocket@v2.1.0...v3.0.0

Commits

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 25, 2026

Labels

The following labels could not be found: dependencies, npm. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

1 similar comment
@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/y-websocket-3.0.0 branch from 1ec9732 to 67e24ec Compare May 25, 2026 12:30
@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/y-websocket-3.0.0 branch from 67e24ec to ec8ebc1 Compare May 25, 2026 12:46
@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

2 similar comments
@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/y-websocket-3.0.0 branch from ec8ebc1 to 33d0df9 Compare May 25, 2026 12:50
@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/y-websocket-3.0.0 branch from 33d0df9 to 081c614 Compare May 25, 2026 12:52
@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

2 similar comments
@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

@Musiker15
Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [y-websocket](https://github.com/yjs/y-websocket) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/yjs/y-websocket/releases)
- [Commits](yjs/y-websocket@v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: y-websocket
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/y-websocket-3.0.0 branch from 081c614 to 24b9e20 Compare May 25, 2026 12:56
@Musiker15 Musiker15 merged commit f9a44c5 into main May 25, 2026
4 checks passed
@Musiker15 Musiker15 deleted the dependabot/npm_and_yarn/y-websocket-3.0.0 branch May 25, 2026 12:56
Musiker15 added a commit that referenced this pull request May 29, 2026
…rd (Phase B/1)

Phase B (security substance), part 1 — #27, #30, #31.

#27 Per-user exponential login backoff
- backoffMs() (1,2,4,8,16,30,60s -> 5-min cap) existed but was dead code.
- Add Redis-clocked per-user cool-off helpers to lib/ratelimit
  (getBackoffRemainingMs / recordBackoff / clearBackoff).
- Login arms the cool-off on every failed attempt (wrong password OR wrong
  second factor), checks it before the password compare, and clears it on
  success. It is keyed by user id, so it follows a targeted account across
  rotating IPs (the per-IP window alone is evadable).
- RateLimited() can now carry a retryAfterSeconds; apiError() emits a
  Retry-After header for 429s.

#31 Append-only AuditLog + dead audit types
- New migration 20260529000000_auditlog_append_only: a single-statement
  BEFORE DELETE trigger rejects any audit-row deletion (history can't be
  erased even outside the app). Single statement so Prisma's `;`-splitting
  migration runner applies it cleanly. UPDATEs stay convention-enforced
  (the only legitimate one is the GDPR userId->NULL de-association from the
  onDelete: SetNull FK; a conditional UPDATE trigger would need a BEGIN/END
  body Prisma can't apply).
- Emit TWOFA_VERIFY_TOTP / TWOFA_VERIFY_WEBAUTHN on a verified second factor
  and RECOVERY_USE when a valid recovery proof unseals the challenge — three
  previously-dead AuditAction types now reflect reality. Fix the module
  comment (it claimed a DB check that didn't exist).

#30 ReDoS guard
- ESLint no-restricted-syntax now bans new RegExp() / RegExp(); regexes must
  be static literals. The codebase has no dynamic regex today; this keeps it
  that way (a runtime pattern would need a conscious eslint-disable +
  safe-regex review).

Docs: threat-model.md + CLAUDE.md flipped from "planned" to done for these
three; CHANGELOG Security section added. Typecheck, ESLint and the 193-test
suite all pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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