Skip to content

chore: update dependencies and rebuild Spector.js bundles - #417

Merged
sebavan merged 1 commit into
masterfrom
chore/update-dependencies
Nov 10, 2026
Merged

sebavan merged 1 commit into
masterfrom
chore/update-dependencies

Conversation

@sebavan

@sebavan sebavan commented Nov 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Update root and MCP dependencies to latest compatible stable releases, including React 19.3, Playwright 1.65, Sass Loader 17, TypeScript 6, and Zod 4.
  • Keep TypeScript on 6.0.3 because current ts-jest requires TypeScript <7; no peer-dependency checks are bypassed.
  • Preserve existing compiler strictness, use bundler module resolution, declare SCSS side-effect imports, and explicitly load MCP Node/Jest types for TypeScript 6.
  • Refresh compatible transitive dependencies and rebuild tracked main, worker, and extension bundles.
  • Document the build runtime and TypeScript compatibility requirement.

Validation

  • npm run build: passed, including TSLint and declaration generation.
  • npm run test:unit -- --runInBand: 230 tests passed.
  • npm run test:e2e -- --workers=2: 59 tests passed.
  • MCP build and unit tests: passed, 139 tests.
  • Visual suite: 45/47 passed on initial full run. Capture-menu default screenshot passed all three isolated reruns (timing-dependent). Information-tab screenshot differs by 375 pixels; the unchanged pre-upgrade bundle reproduces the identical 375-pixel failure under the same Chromium/browser environment. Baselines and screenshot tolerances were not changed.
  • Production dependency audits: zero vulnerabilities for both root and MCP after compatible transitive fixes. Development-only audit warnings remain in the latest Jest dependency tree; resolving npm's suggested fix would downgrade Jest, so no forced downgrade or overrides were applied.
  • git diff --check: passed.

Validated on Windows using Node.js 24.22.2.

Upgrade root and MCP dependencies, retain TypeScript 6 for ts-jest compatibility, and preserve compiler behavior with explicit settings.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sebavan
sebavan merged commit ad06b71 into master Nov 10, 2026
3 checks passed
@sebavan
sebavan deleted the chore/update-dependencies branch November 10, 2026 01:25
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