Skip to content

chore: upgrade jest to v30, document Demucs and Flare in README#306

Merged
sauravpanda merged 1 commit intomainfrom
chore/housekeeping-jest30-readme
Apr 16, 2026
Merged

chore: upgrade jest to v30, document Demucs and Flare in README#306
sauravpanda merged 1 commit intomainfrom
chore/housekeeping-jest30-readme

Conversation

@sauravpanda
Copy link
Copy Markdown
Owner

@sauravpanda sauravpanda commented Apr 16, 2026

Summary

  • Jest 29 → 30: Clears all 4 low-severity npm audit vulnerabilities in the main package (now 0 remaining)
  • README: Documents Demucs (audio source separation) and Flare (GGUF via WASM) engines with usage examples, model lists, and acknowledgments
  • Lint/misc: Fixes duplicate example package names (haste collision warning), auto-fixes 9 lint warnings

Test plan

  • All 62 tests pass on jest 30
  • npm run build succeeds
  • npm audit reports 0 vulnerabilities
  • npm run lint reports 0 errors

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Updated README with support for additional inference engines: Flare (GGUF via WASM) and Demucs (audio source separation).
    • Added code examples demonstrating usage of the new engines.
    • Expanded "Supported Models" section with engine-specific model variants and quantizations.
  • Chores

    • Updated development dependencies and internal package configurations.

- Upgrade jest, jest-environment-jsdom, and @types/jest from v29 to v30,
  clearing all 4 low-severity npm audit vulnerabilities (0 remaining)
- Add Demucs (audio source separation) and Flare (GGUF via WASM) usage
  examples, model lists, and acknowledgments to README
- Fix duplicate example package names causing jest haste collision warning
- Auto-fix 9 lint warnings (template literals, unused eslint-disable comments)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sauravpanda sauravpanda merged commit 716b4cd into main Apr 16, 2026
5 of 10 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 16, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 555be45a-7e7a-4bdf-9679-673b0b2866b0

📥 Commits

Reviewing files that changed from the base of the PR and between 16c45c8 and fb0da9b.

📒 Files selected for processing (7)
  • README.md
  • examples/audio-demo/package.json
  • examples/chat-demo/package.json
  • package.json
  • src/core/database/index.ts
  • src/core/llm/browserai.test.ts
  • src/engines/flare-engine-wrapper.test.ts

📝 Walkthrough

Walkthrough

The PR updates documentation to highlight additional inference engines (Flare and Demucs) with code examples, renames demo package identifiers for clarity, upgrades Jest dependencies to version 30, removes ESLint disable comments from test files, and refactors an error message.

Changes

Cohort / File(s) Summary
Documentation & Examples
README.md, examples/audio-demo/package.json, examples/chat-demo/package.json
Added comprehensive documentation for Flare (GGUF via WASM) and Demucs (audio source separation) engines with usage examples and supported model variants. Renamed example package names from generic browser-ai-demo to descriptive browser-ai-audio-demo and browser-ai-chat-demo.
Dependency Updates
package.json
Upgraded Jest devDependencies: @types/jest (^29.5.14 → ^30.0.0), jest (^29.7.0 → ^30.3.0), and jest-environment-jsdom (^29.7.0 → ^30.3.0).
Code & Linting Cleanup
src/core/database/index.ts, src/core/llm/browserai.test.ts, src/engines/flare-engine-wrapper.test.ts
Removed ESLint @typescript-eslint/no-require-imports disable comments from test files and replaced with whitespace. Updated vector store error message to use single-quoted string literal.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

size/M

Poem

🐰✨ Fresh engines hop into view,
Flare and Demucs shine right through,
Package names now crystal clear,
Jest upgraded, good cheer!
Linting comments fade away,
Cleaner code hops out to play! 🎵

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/housekeeping-jest30-readme

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant