Casework App: Dependency Updates & Dashboard

by ADMIN 45 views

This post is all about the dependency dashboard for the casework-app project, focusing on updates and dependencies managed via Renovate. If you're new to dependency dashboards, check out the official documentation to get up to speed. Plus, you can view the repository directly on the Mend.io Web Portal for more insights.

Rate-Limited Updates: What's the Hold Up?

Alright, folks, let's dive into the rate-limited updates. Sometimes, Renovate hits a limit on how many pull requests (PRs) it can create in a certain timeframe. This is to prevent overwhelming the repository with too many changes at once. Here's a breakdown of the updates currently affected and how to force their creation if needed:

  • jsdom to v27: This update brings the jsdom library to version 27. jsdom is a pure-JavaScript implementation of the DOM and HTML standards, often used for testing web applications in a Node.js environment. Updating to v27 likely includes bug fixes, performance improvements, and potentially new features. Ensuring jsdom is up-to-date helps maintain a consistent and reliable testing environment.
  • react-pdf to v10: react-pdf is a library that allows you to display PDF files in your React applications. Version 10 probably includes enhancements to rendering performance, support for new PDF features, and fixes for any known issues. Keeping react-pdf current ensures your application can handle a wide range of PDF documents correctly.
  • react-router-dom to v7: react-router-dom is a crucial library for handling navigation in React applications. A major version update like this usually introduces significant changes, potentially including new routing features, performance improvements, and breaking changes that need to be addressed. Updating react-router-dom is essential to leverage the latest routing capabilities and maintain a smooth user experience.
  • uuid to v13: uuid (Universally Unique Identifier) is a library for generating unique identifiers. These IDs are often used to identify records in a database or other systems. Version 13 likely includes improvements to the UUID generation algorithm or performance enhancements. Keeping uuid up-to-date ensures the uniqueness and reliability of your identifiers.
  • react monorepo (major): This update targets the react monorepo, which includes several related packages like eslint-plugin-react-hooks, react, and react-dom. A major update to the react monorepo can introduce significant changes to the React library and its associated tooling. This might include new features, performance improvements, and potentially breaking changes that require code modifications. This is probably the biggest and scariest one of the bunch, but also the one that unlocks the biggest improvements when done.

If you need to push these updates through immediately, just click the corresponding checkbox:

  • [ ] Update dependency jsdom to v27
  • [ ] Update dependency react-pdf to v10
  • [ ] Update dependency react-router-dom to v7
  • [ ] Update dependency uuid to v13
  • [ ] Update react monorepo (major) (eslint-plugin-react-hooks, react, react-dom)
  • [ ] 🔐 Create all rate-limited PRs at once 🔐

Open Updates: Ready to Roll!

These updates are already prepped and ready to go! They've been created and are just waiting for review and approval. If you want to give them a little nudge, you can rebase them. Rebasing essentially updates the PR with the latest changes from the main branch, resolving any potential conflicts.

  • Node.js to v24.10.0: This update bumps the Node.js version to 24.10.0. Keeping Node.js up-to-date is crucial for security, performance, and access to the latest JavaScript features. Version 24.10.0 likely includes bug fixes, performance improvements, and potentially new features.
  • @ministryofjustice/frontend to v6: This updates the @ministryofjustice/frontend dependency to version 6. This library likely provides reusable UI components and styles specifically designed for government applications. Updating to v6 ensures your application uses the latest design standards, accessibility improvements, and bug fixes. It promotes a consistent and user-friendly experience for citizens interacting with government services.

To rebase these open PRs, simply click the checkboxes:

Detected Dependencies: A Deep Dive

Okay, let's peek under the hood and see what dependencies Renovate has detected in this project. This is super important for understanding the project's architecture and potential update needs. Knowing your dependencies helps you plan your work better, reduces the risks associated with outdated libraries, and makes sure your application is stable, secure, and fast.

GitHub Actions

GitHub Actions automate tasks directly in your repository. For the casework-app, actions are defined within the .github/workflows directory. Let's explore further:

github-actions
.github/workflows/security.yml

npm Dependencies

npm (Node Package Manager) manages the JavaScript packages used in this project. The core dependencies are listed inside the package.json file. By examining this file, we can understand which versions are in use and what packages are required for the application to function.

npm
package.json
  • @azure/msal-browser ^4.2.0
  • @azure/msal-react ^3.0.4
  • @ministryofjustice/frontend ^5.1.5
  • axios ^1.7.9
  • dayjs ^1.11.13
  • govuk-frontend ^5.11.2
  • home-office-kit ^1.2.0
  • react ^18.0.0
  • react-dom ^18.0.0
  • react-router-dom ^6.25.1
  • react-pdf ^9.1.0
  • react-use ^17.6.0
  • react-use-pagination ^2.0.1
  • swr ^2.3.2
  • uuid ^11.1.0
  • zod ^4.1.8
  • zustand ^5.0.8
  • @babel/preset-env ^7.28.3
  • @babel/preset-react ^7.27.1
  • @eslint/js ^9.35.0
  • @testing-library/jest-dom ^6.9.1
  • @types/node ^24.3.1
  • @types/react ^19.1.12
  • @types/react-dom ^19.1.9
  • @vitejs/plugin-basic-ssl ^2.1.0
  • @vitejs/plugin-react ^5.0.2
  • dotenv ^17.2.2
  • eslint ^9.35.0
  • eslint-plugin-react-hooks ^5.2.0
  • eslint-plugin-react-refresh ^0.4.20
  • globals ^16.4.0
  • husky ^9.1.7
  • jsdom ^26.1.0
  • lint-staged ^16.1.6
  • msw ^2.11.3
  • prettier ^3.6.2
  • prettier-plugin-organize-imports ^4.2.0
  • rollup-plugin-visualizer ^6.0.3
  • sass-embedded ^1.92.1
  • ts-node ^10.9.2
  • typescript ^5.9.2
  • typescript-eslint ^8.43.0
  • vite ^7.1.5
  • vite-bundle-visualizer ^1.2.1
  • vite-plugin-compression ^0.5.1
  • vitest ^3.2.4

nvm Configuration

nvm (Node Version Manager) allows you to manage multiple active Node.js versions. The .nvmrc file specifies the Node.js version that should be used for this project. Staying current with a supported Node version is vital for application compatibility and optimal performance.

nvm
.nvmrc
  • node 24.8.0

Final Thoughts & Triggering a Renovate Run

That's a wrap on the dependency dashboard overview for the casework-app! Keeping these dependencies up-to-date is a crucial part of maintaining a healthy and secure application.

If you want to manually trigger Renovate to run again, just check the box below:


  • [ ] Check this box to trigger a request for Renovate to run again on this repository