Skip to content

Conversation

matt-fidd
Copy link
Member

Formally bumps the patch versions of all deps. These are specified by package.json "^" so no real change other than specifying in the lockfile.

I'm trying to keep things up to date the best I can to avoid having to do large version bumps, so after this I'll work on minor bumps, then any majors I can manage.

Tested with yarn start:server-dev which should use all the new versions.

@actual-github-bot actual-github-bot bot changed the title ⬆️ bump dependency patch versions [WIP] ⬆️ bump dependency patch versions May 18, 2025
Copy link

netlify bot commented May 18, 2025

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit 972eaa6
🔍 Latest deploy log https://app.netlify.com/projects/actualbudget/deploys/682a25c9f097a600080f6bea
😎 Deploy Preview https://deploy-preview-5015.demo.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

github-actions bot commented May 18, 2025

Bundle Stats — desktop-client

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
18 9.68 MB → 9.69 MB (+7.71 kB) +0.08%
Changeset
File Δ Size
node_modules/recharts/es6/util/DataUtils.js 📈 +1.11 kB (+31.38%) 3.52 kB → 4.63 kB
node_modules/html-to-image/es/embed-images.js 📈 +409 B (+18.45%) 2.17 kB → 2.56 kB
node_modules/html-to-image/es/embed-webfonts.js 📈 +741 B (+10.97%) 6.59 kB → 7.32 kB
node_modules/html-to-image/es/util.js 📈 +423 B (+8.07%) 5.12 kB → 5.53 kB
node_modules/ua-parser-js/src/main/ua-parser.mjs 📈 +4.47 kB (+6.99%) 64.04 kB → 68.52 kB
node_modules/html-to-image/es/clone-pseudos.js 📈 +85 B (+5.68%) 1.46 kB → 1.54 kB
node_modules/html-to-image/es/clone-node.js 📈 +250 B (+3.74%) 6.53 kB → 6.77 kB
node_modules/react-virtualized-auto-sizer/dist/react-virtualized-auto-sizer.esm.js 📈 +257 B (+1.69%) 14.85 kB → 15.1 kB
node_modules/recharts/es6/util/CartesianUtils.js 📈 +13 B (+0.11%) 11.84 kB → 11.85 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 6.55 MB → 6.56 MB (+4.72 kB) +0.07%
static/js/ReportRouter.js 1.71 MB → 1.71 MB (+2.98 kB) +0.17%

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
static/js/de.js 120.53 kB 0%
static/js/en-GB.js 5.93 kB 0%
static/js/en.js 116.35 kB 0%
static/js/es.js 68.91 kB 0%
static/js/fr.js 124.09 kB 0%
static/js/nl.js 100.82 kB 0%
static/js/pt-BR.js 117.2 kB 0%
static/js/uk.js 121.43 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 12.94 kB 0%
static/js/workbox-window.prod.es5.js 5.64 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 122.29 kB 0%
static/js/narrow.js 391.1 kB 0%
static/js/wide.js 113.64 kB 0%
static/js/AppliedFilters.js 10.92 kB 0%
static/js/useAccountPreviewTransactions.js 3.14 kB 0%

Copy link
Contributor

github-actions bot commented May 18, 2025

Bundle Stats — loot-core

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
1 2.29 MB → 2.29 MB (+639 B) +0.03%
Changeset
File Δ Size
node_modules/ua-parser-js/src/main/ua-parser.mjs 📈 +4.47 kB (+6.99%) 64.01 kB → 68.48 kB
packages/crdt/src/crdt/timestamp.ts 📉 -411 B (-2.36%) 17 kB → 16.6 kB
packages/api/methods.ts 📉 -828 B (-5.57%) 14.52 kB → 13.71 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
kcab.worker.js 2.29 MB → 2.29 MB (+639 B) +0.03%

Smaller

No assets were smaller

Unchanged

No assets were unchanged

@matt-fidd
Copy link
Member Author

Yarn is killing the build with a "429 too many requests" when fetching yarn 4.7.0 with netlify. I'll kick it back off again in the morning.

It's not an issue with this PR though

@@ -106,19 +106,14 @@ export function openDatabase(pathOrBuffer: string | Buffer) {
const db = new SQL(pathOrBuffer);
// Define Unicode-aware LOWER, UPPER, and LIKE implementation.
// This is necessary because better-sqlite3 uses SQLite build without ICU support.
// @ts-expect-error @types/better-sqlite3 does not support setting strict 3rd argument
Copy link
Member Author

@matt-fidd matt-fidd May 18, 2025

Choose a reason for hiding this comment

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

Nice! It does now

@matt-fidd matt-fidd changed the title [WIP] ⬆️ bump dependency patch versions ⬆️ bump dependency patch versions May 18, 2025
Copy link
Contributor

coderabbitai bot commented May 18, 2025

"""

Walkthrough

This change updates development and some runtime dependencies across multiple package.json files in various packages. The updates consist of incrementing patch or minor versions for dependencies such as TypeScript, Vitest, Electron, React type definitions, and several utility libraries. In addition, a small code change removes TypeScript error suppression comments (// @ts-expect-error) in the SQLite integration code without modifying the underlying function calls. No changes are made to scripts, exports, or the declarations of public or exported entities.

Possibly related PRs

Suggested labels

dependencies

Suggested reviewers

  • matt-fidd
    """

Note

⚡️ AI Code Reviews for VS Code, Cursor, Windsurf

CodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback.
Learn more here.


Note

⚡️ Faster reviews with caching

CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.
Enjoy the performance boost—your workflow just got faster.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f21e5f2 and 972eaa6.

⛔ Files ignored due to path filters (2)
  • upcoming-release-notes/5015.md is excluded by !**/*.md
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (10)
  • package.json (1 hunks)
  • packages/api/package.json (1 hunks)
  • packages/component-library/package.json (1 hunks)
  • packages/crdt/package.json (1 hunks)
  • packages/desktop-client/package.json (3 hunks)
  • packages/desktop-electron/package.json (1 hunks)
  • packages/eslint-plugin-actual/package.json (1 hunks)
  • packages/loot-core/package.json (3 hunks)
  • packages/loot-core/src/platform/server/sqlite/index.electron.ts (0 hunks)
  • packages/sync-server/package.json (2 hunks)
💤 Files with no reviewable changes (1)
  • packages/loot-core/src/platform/server/sqlite/index.electron.ts
✅ Files skipped from review due to trivial changes (1)
  • package.json
🚧 Files skipped from review as they are similar to previous changes (8)
  • packages/eslint-plugin-actual/package.json
  • packages/crdt/package.json
  • packages/component-library/package.json
  • packages/desktop-electron/package.json
  • packages/api/package.json
  • packages/desktop-client/package.json
  • packages/sync-server/package.json
  • packages/loot-core/package.json
⏰ Context from checks skipped due to timeout of 90000ms (16)
  • GitHub Check: server
  • GitHub Check: crdt
  • GitHub Check: Analyze
  • GitHub Check: web
  • GitHub Check: build (ubuntu-latest)
  • GitHub Check: api
  • GitHub Check: build (macos-latest)
  • GitHub Check: build (windows-latest)
  • GitHub Check: Build Docker image (ubuntu)
  • GitHub Check: test
  • GitHub Check: typecheck
  • GitHub Check: Build Docker image (alpine)
  • GitHub Check: lint
  • GitHub Check: Wait for Netlify build to finish
  • GitHub Check: Functional Desktop App
  • GitHub Check: compare
✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@matt-fidd
Copy link
Member Author

@coderabbitai are you able to collect the changes from the release notes of all of the packages I've bumped and post them here?

@matt-fidd matt-fidd added the dependencies Pull requests that update a dependency file label May 18, 2025
Copy link
Contributor

coderabbitai bot commented May 18, 2025

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

@matt-fidd I'll collect the release notes for all the packages you've bumped. Let me fetch that information for you.


🏁 Script executed:

#!/bin/bash
# First, let's extract all the package bumps from the diff files

echo "=== Extracting package.json changes ==="
git diff --name-only HEAD~1 HEAD | grep package.json | xargs cat | grep -E '^\s*"[^"]+": "\^?[0-9]+\.[0-9]+\.[0-9]+"' | sort | uniq

echo "=== TypeScript ==="
# Fetch TypeScript release notes (5.8.2 to 5.8.3)
curl -s https://raw.githubusercontent.com/microsoft/TypeScript/main/docs/release-notes/TypeScript%205.8.md | grep -A 20 "## TypeScript 5.8.3"

echo "=== Vitest ==="
# Fetch Vitest release notes (3.0.2 to 3.0.9)
curl -s https://api.github.com/repos/vitest-dev/vitest/releases | jq -r '.[] | select(.tag_name == "v3.0.9" or .tag_name == "v3.0.8" or .tag_name == "v3.0.7" or .tag_name == "v3.0.6" or .tag_name == "v3.0.5" or .tag_name == "v3.0.4" or .tag_name == "v3.0.3") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== ua-parser-js ==="
# Fetch ua-parser-js release notes (2.0.0 to 2.0.3)
curl -s https://api.github.com/repos/faisalman/ua-parser-js/releases | jq -r '.[] | select(.tag_name == "v2.0.3" or .tag_name == "v2.0.2" or .tag_name == "v2.0.1") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== @types packages ==="
# For @types packages, just show the versions as they typically don't have release notes
npm view @types/react@19.1.4 version description
npm view @types/node@22.14.1 version description
npm view @types/better-sqlite3@7.6.13 version description
npm view @types/cors@2.8.18 version description
npm view @types/express@5.0.2 version description

echo "=== Electron ==="
# Fetch Electron release notes (30.0.6 to 30.0.9)
curl -s https://api.github.com/repos/electron/electron/releases | jq -r '.[] | select(.tag_name == "v30.0.9" or .tag_name == "v30.0.8" or .tag_name == "v30.0.7") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== @electron/rebuild ==="
# Fetch @electron/rebuild release notes (3.6.0 to 3.6.2)
npm view @electron/rebuild@3.6.2 version
curl -s https://api.github.com/repos/electron/rebuild/releases | jq -r '.[] | select(.tag_name == "v3.6.2" or .tag_name == "v3.6.1") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== SWC packages ==="
# Fetch @swc/core (1.5.3 to 1.5.29) and @swc/helpers (0.5.11 to 0.5.17) release notes
npm view @swc/core@1.5.29 version
curl -s https://api.github.com/repos/swc-project/swc/releases | jq -r '.[] | select(.tag_name | startswith("v1.5.") and (.tag_name > "v1.5.3" and .tag_name <= "v1.5.29")) | "## " + .tag_name + "\n" + .body + "\n"' | head -n 500

echo "=== @swc/helpers ==="
npm view @swc/helpers@0.5.17 version

echo "=== react-virtualized-auto-sizer ==="
# Fetch react-virtualized-auto-sizer release notes (1.0.25 to 1.0.26)
npm view react-virtualized-auto-sizer@1.0.26 version
curl -s https://api.github.com/repos/bvaughn/react-virtualized-auto-sizer/releases | jq -r '.[] | select(.tag_name == "v1.0.26") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== recharts ==="
# Fetch recharts release notes (2.15.2 to 2.15.3)
npm view recharts@2.15.3 version
curl -s https://api.github.com/repos/recharts/recharts/releases | jq -r '.[] | select(.tag_name == "v2.15.3") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== debug ==="
# Fetch debug release notes (4.4.0 to 4.4.1)
npm view debug@4.4.1 version
curl -s https://api.github.com/repos/debug-js/debug/releases | jq -r '.[] | select(.tag_name == "4.4.1") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== nordigen-node ==="
# Fetch nordigen-node release notes (1.4.0 to 1.4.1)
npm view nordigen-node@1.4.1 version
curl -s https://api.github.com/repos/Nordigen/nordigen-node/releases | jq -r '.[] | select(.tag_name == "v1.4.1") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== nodemon ==="
# Fetch nodemon release notes (3.1.9 to 3.1.10)
npm view nodemon@3.1.10 version
curl -s https://api.github.com/repos/remy/nodemon/releases | jq -r '.[] | select(.tag_name == "v3.1.10") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== lint-staged ==="
# Fetch lint-staged release notes
npm view lint-staged version
curl -s https://api.github.com/repos/lint-staged/lint-staged/releases | jq -r '.[] | select(.tag_name | startswith("v15.2.")) | "## " + .tag_name + "\n" + .body + "\n"' | head -n 300

echo "=== html-to-image ==="
# Fetch html-to-image release notes
npm view html-to-image version
curl -s https://api.github.com/repos/bubkoo/html-to-image/releases | jq -r '.[] | select(.tag_name | startswith("v1.11.")) | "## " + .tag_name + "\n" + .body + "\n"' | head -n 300

echo "=== eslint packages ==="
# Fetch eslint-config-prettier, eslint-import-resolver-typescript, eslint-plugin-react
npm view eslint-config-prettier version
npm view eslint-import-resolver-typescript version
npm view eslint-plugin-react version

echo "=== tsc-alias ==="
# Fetch tsc-alias release notes (1.8.11 to 1.8.16)
npm view tsc-alias@1.8.16 version
curl -s https://api.github.com/repos/justkey007/tsc-alias/releases | jq -r '.[] | select(.tag_name | startswith("v1.8.1") and .tag_name >= "v1.8.12" and .tag_name <= "v1.8.16") | "## " + .tag_name + "\n" + .body + "\n"'

echo "=== @vitest/coverage-v8 ==="
# Fetch @vitest/coverage-v8 release notes (3.1.1 to 3.1.3)
npm view @vitest/coverage-v8@3.1.3 version

Length of output: 41526


@matt-fidd Here's a summary of the release notes from the packages you've bumped:

Vitest (3.0.2 → 3.0.9)

  • v3.0.9: Fixed typings, race condition issues in RPC filesystem cache, improved error handling, and added browser-specific improvements
  • v3.0.8: Fixed fetch cache, browser isolation, source map handling, and snapshot support
  • v3.0.7: Added WebdriverIO 9 support, improved expect types, and fixed module mocking
  • v3.0.6: Improved timer compatibility, switched to tinyglobby from fast-glob, and fixed various browser testing issues
  • v3.0.5: Security patch for CVE-2025-24964 (Remote Code Execution vulnerability)
  • v3.0.4: Security patch for CVE-2025-24963 (Browser mode serving arbitrary files)
  • v3.0.3: Browser compatibility fixes and reporter performance improvements

recharts (2.15.2 → 2.15.3)

  • Fixed padding calculation for padding="gap" and padding="no-gap" when XAxis is type number

debug (4.4.0 → 4.4.1)

  • Fixed whitespace handling in namespaces string
  • Added fallback to localStorage.DEBUG when debug is not defined

html-to-image (latest version 1.11.13)

  • Added support for -webkit-mask and -webkit-mask-image
  • Fixed font embedding issues
  • Improved SVG handling and iframe support
  • Added video capture improvements

@electron/rebuild (3.6.0 → 3.6.2)

  • v3.6.2: Allowed using forks for prebuilt modules
  • v3.6.1: Fixed cross-platform prebuild downloads

nodemon (3.1.9 → 3.1.10)

  • Updated types and JSdocs

lint-staged (various v15.2.x patches)

  • Fixed path escaping with spaces
  • Fixed handling of submodule roots
  • Improved Git directory resolution
  • Added new flag --no-hide-partially-staged for better control

Type Definitions (@types/*)

  • Updated type definitions for React (19.1.4), Node.js (22.14.1), better-sqlite3 (7.6.13), cors (2.8.18), and express (5.0.2)

Other packages (ua-parser-js, SWC tools, nordigen-node, tsc-alias, ESLint plugins) were updated but specific release notes weren't available in the search results.

@matt-fidd matt-fidd force-pushed the minor-deps branch 2 times, most recently from 1b16fb9 to f21e5f2 Compare May 18, 2025 06:32
Copy link
Member

@MikesGlitch MikesGlitch left a comment

Choose a reason for hiding this comment

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

Nice

@matt-fidd matt-fidd merged commit f7a45d2 into actualbudget:master May 18, 2025
24 checks passed
@matt-fidd matt-fidd deleted the minor-deps branch May 18, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ✨ merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants