chore(deps-dev): bump typescript from 5.9.3 to 6.0.3#33
Merged
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
Member
|
@dependabot rebase |
1 similar comment
Member
|
@dependabot rebase |
a698272 to
132219c
Compare
4 tasks
Musiker15
added a commit
that referenced
this pull request
May 25, 2026
…ive epochs (#37) Two issues with the original clock-drift cases from #35: 1. `past = Math.floor(Date.now() / 1000) - 31` (and -90) is wall-clock dependent. When `Date.now()/1000 mod 30` happened to be 0 or 1, the `floor()` jumped two 30-s steps back instead of one, putting the token outside our ±30 s epochTolerance and flipping the assertion. ~3 % flake rate, hit both PR #32 and #33 on the same rebase. 2. The first attempt at a fix used a fake clock at second 15 with `epoch: -15`. otplib v13 has a new `TimeNegativeError` guardrail that rejects sub-zero epochs (visible in @otplib/core's `Ar` helper). The fix broke both tests deterministically. This version: - Locks `Date.now()` to Unix second 1000 (= step 33, second 10 within the step) — far from any boundary AND well above zero. - Uses positive epoch offsets (`1000 - 30`, `1000 - 90`) so otplib's guardrail accepts them. - Adds `afterEach(() => vi.useRealTimers())` so leakage into later tests is impossible. 10/10 local runs pass cleanly. Signed-off-by: Musiker15 <info@musiker15.de> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Member
|
@dependabot rebase |
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v6.0.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
132219c to
877b919
Compare
Member
|
@dependabot rebase |
Musiker15
added a commit
that referenced
this pull request
May 29, 2026
…API, correct overstated docs Phase A of the gaps backlog (#43, #44, #45, #51): additive cleanup + doc truth, no runtime behaviour change. - Remove unused deps never imported in src/: @tanstack/react-query, bullmq, iron-session, socket.io(+client). Delete the never-wired tests/msw skeleton and drop msw from devDependencies. - CLAUDE.md sections 2/6: correct tech-stack to reality (self-written auth not Auth.js, native ws not socket.io, in-process schedulers not BullMQ, libsodium crypto_pwhash not argon2-browser, fetch+Zustand not TanStack Query). - OpenAPI -> v0.6.0: document the previously-missing Milestones, Automation and account/auth-settings routes; fix the wrong route count (~70 handlers). - Clarify /api/auth/2fa/verify is not a standalone endpoint (verification runs inside /api/auth/login). - threat-model.md + CLAUDE.md truth pass: exponential backoff is prepared but unwired (#27); safe-regex (#30) / HIBP (#29) / login-notification emails (#32) are planned-not-built; Markdown is escaped plaintext (no render -> no DOMPurify sink yet, #33); offline is read-only + description drafts (no Workbox/write sync-queue, #38); live cursors sit behind a default-off flag (ADR 0011); style-src still uses unsafe-inline; Apache must set no Content-Security-Policy. Typecheck, ESLint and the 193-test suite all pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Musiker15
added a commit
that referenced
this pull request
May 29, 2026
…_* env (Phase B/2) Phase B, part 2 — #28. - New `enforceUserApiLimit(userId)` in lib/ratelimit: a per-user sliding window (RATE_LIMIT_API_PER_MIN, default raised 120 -> 600/min ≈ 10 req/s). Called by `requireSession()`, the choke point every authenticated route already passes through, so a single account can't hammer the whole API. It FAILS OPEN on a Redis error (logs + allows) — the limiter sits in the hot path of every authenticated request and must never lock users out on a cache blip. Returns 429 + Retry-After when tripped. - The previously-declared-but-unused RATE_LIMIT_* env vars are now read: RATE_LIMIT_AUTH_PER_MIN drives the login per-IP budget (replacing the hardcoded AUTH_POLICY.authAttemptsPerWindow, now removed), and RATE_LIMIT_API_PER_MIN drives the per-user limiter. .env.example bumped to 600 to match the safe default. Docs: threat-model.md DoS row + CLAUDE.md §3.4 updated; while there I made two adjacent §3.4 claims honest too — Markdown is not rendered yet (no DOMPurify sink; #33) and upload validation ships with attachments (#37). CHANGELOG Security entry added. Typecheck, ESLint, 193 tests all pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Musiker15
added a commit
that referenced
this pull request
May 29, 2026
… C/2, #33) Card descriptions and comments now render Markdown instead of showing raw source — closing the long-standing gap where content was typed as Markdown but displayed as escaped plaintext (and the matching "DOMPurify on every render" threat-model claim that had no sink). - New src/components/shared/markdown.tsx: react-markdown (no rehype-raw, so raw HTML is inert text) + rehype-sanitize (GitHub allowlist; strips dangerous nodes/attributes and javascript: URLs). Rendering is client-side on already-decrypted content — HTML never reaches the server. Links open in a new tab with rel="noopener noreferrer". - Comments render through it; the description gets a Write/Preview toggle (textarea ⇆ rendered preview) in the non-live-cursors path. - Scoped .mskanban-prose styles in globals.css restore list/heading formatting that Tailwind preflight strips. - New deps: react-markdown, remark-gfm, rehype-sanitize. - vitest include now matches tests/unit/**/*.tsx so component tests run. - XSS coverage: tests/unit/markdown.test.tsx (script / onerror / javascript: payloads are all neutralised; links get target+rel). Docs: threat-model XSS row + CLAUDE.md §2/§3.4 updated. Typecheck, ESLint and the suite (207 tests, +3) all pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps typescript from 5.9.3 to 6.0.3.
Release notes
Sourced from typescript's releases.
Commits
050880cBump version to 6.0.3 and LKGeeae9dd🤖 Pick PR #63401 (Also check package name validity in...) into release-6.0 (#...ad1c695🤖 Pick PR #63368 (Harden ATA package name filtering) into release-6.0 (#63372)0725fb4🤖 Pick PR #63310 (Mark class property initializers as...) into release-6.0 (#...607a22aBump version to 6.0.2 and LKG9e72ab7🤖 Pick PR #63239 (Fix missing lib files in reused pro...) into release-6.0 (#...35ff23d🤖 Pick PR #63163 (Port anyFunctionType subtype fix an...) into release-6.0 (#...e175b69Bump version to 6.0.1-rc and LKGaf4caacUpdate LKG8efd7e8Merge remote-tracking branch 'origin/main' into release-6.0