Skip to content

Comments

Upgrade Deps#102

Open
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01
Open

Upgrade Deps#102
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies in the package.json file to their latest minor or patch versions. These updates are primarily focused on keeping the project up-to-date with the latest features, bug fixes, and security patches from third-party libraries.

Dependency updates:

  • Upgraded core dependencies including @deskpro/deskpro-ui, @fortawesome/react-fontawesome, @sentry/react, @sentry/vite-plugin, javascript-time-ago, react-hook-form, react-router-dom, react-time-ago, and simplebar to their latest versions.
  • Updated the development dependency @types/react to a newer version for improved type support.
  • Upgraded additional dev dependencies: jest-environment-jsdom, styled-components, typescript, and vite to ensure compatibility and access to the latest features and fixes.

Summary by Sourcery

Update frontend dependencies and development tooling to newer minor and patch versions for maintenance and compatibility.

Enhancements:

  • Refresh UI, routing, forms, time-ago, and Sentry-related libraries to their latest compatible versions to keep the app current.

Build:

  • Bump TypeScript, Vite, Jest jsdom environment, styled-components, and React type definitions to align with updated tooling and library ecosystem.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:12
@sourcery-ai
Copy link

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR bumps several runtime and dev dependencies in package.json (and the corresponding pnpm-lock.yaml) to newer minor/patch versions, primarily for bug fixes, security updates, and tooling improvements, without any code changes.

File-Level Changes

Change Details Files
Upgrade core UI, routing, form, time, and Sentry dependencies to newer minor/patch versions.
  • Bump @deskpro/deskpro-ui from 8.3.x to 8.4.x.
  • Update @fortawesome/react-fontawesome from 0.2.2 to 0.2.6.
  • Upgrade @sentry/react and @sentry/vite-plugin to newer 9.x and 3.x releases respectively.
  • Refresh javascript-time-ago, react-hook-form, react-router-dom, react-time-ago, and simplebar to latest patch/minor versions.
package.json
pnpm-lock.yaml
Update TypeScript, React types, Jest environment, styled-components, and Vite dev tooling versions.
  • Increase @types/react to a newer 18.3.x patch.
  • Bump jest-environment-jsdom from 30.0.x to 30.2.x.
  • Update styled-components to 6.2.x.
  • Upgrade typescript from 5.8.x to 5.9.x.
  • Upgrade vite from 6.3.x to 6.4.x.
package.json
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've found 2 issues, and left some high level feedback:

  • The jest-environment-jsdom major version (30.x) is ahead of jest (29.x), which can cause runtime/test issues; consider aligning these to the same major or upgrading the Jest stack consistently.
  • Upgrading typescript to 5.9.x while keeping older tooling like ts-jest@27 and @typescript-eslint/eslint-plugin@5.6.0 may introduce type-checking or build issues; it’s worth verifying their compatibility matrix and bumping those tools accordingly in this PR.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `jest-environment-jsdom` major version (30.x) is ahead of `jest` (29.x), which can cause runtime/test issues; consider aligning these to the same major or upgrading the Jest stack consistently.
- Upgrading `typescript` to 5.9.x while keeping older tooling like `ts-jest@27` and `@typescript-eslint/eslint-plugin@5.6.0` may introduce type-checking or build issues; it’s worth verifying their compatibility matrix and bumping those tools accordingly in this PR.

## Individual Comments

### Comment 1
<location> `package.json:57` </location>
<code_context>
     "eslint-plugin-react-hooks": "4.3.0",
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
+    "jest-environment-jsdom": "^30.2.0",
     "prettier": "^2.8.8",
     "react-resize-observer": "^1.1.1",
</code_context>

<issue_to_address>
**issue (bug_risk):** Align `jest-environment-jsdom` major version with the Jest version to avoid runtime incompatibilities.

This project still uses Jest `^29.7.0`, but `jest-environment-jsdom` is now `^30.2.0`. Jest 30 introduced breaking changes and environment packages are generally major-version coupled, so this mismatch can cause subtle test failures. Please either upgrade Jest to 30 as well or keep `jest-environment-jsdom` at a 29.x version to keep majors aligned.
</issue_to_address>

### Comment 2
<location> `package.json:65-66` </location>
<code_context>
     "ts-jest": "^27.1.5",
-    "typescript": "^5.8.3",
-    "vite": "^6.3.6"
+    "typescript": "^5.9.3",
+    "vite": "^6.4.1"
   }
 }
</code_context>

<issue_to_address>
**issue (bug_risk):** Check `ts-jest` compatibility with the newer TypeScript version.

`ts-jest` is still at `^27.1.5` while `typescript` is now `^5.9.3`. That `ts-jest` version targets older Jest/TS versions and may not support TS 5.9, causing transform or type-checking failures in tests. Please confirm the supported TypeScript range for this `ts-jest` version and either bump `ts-jest` or align the TypeScript version accordingly.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates multiple dependencies to their latest minor and patch versions to incorporate recent features, bug fixes, and security patches. The updates span both runtime dependencies and development tools, ensuring the project remains current with third-party library improvements.

Key changes:

  • Core dependencies upgraded including UI libraries, form handling, routing, and error monitoring tools
  • Development dependencies updated for improved type support and testing capabilities
  • All updates are non-breaking minor or patch version bumps

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant