Skip to content

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 versions. The updates include both runtime and development dependencies, ensuring compatibility, improved features, and bug fixes.

Dependency updates:

Core dependencies:

  • Upgraded @deskpro/app-sdk to ^6.0.8, @deskpro/deskpro-ui to ^8.4.0, and several other libraries such as @sentry/react, @tanstack/react-query, react-hook-form, react-router-dom, styled-components, and more to their latest versions.

Development and type dependencies:

  • Updated development dependencies like @swc/core, @swc/helpers, @testing-library/jest-dom, @types/lodash, and @types/react to newer versions.
  • Upgraded tools such as jest-environment-jsdom, ts-jest, typescript, and vite to their latest releases for improved testing and build processes.

Summary by Sourcery

Update application and tooling dependencies to newer versions.

Enhancements:

  • Refresh core runtime libraries (Deskpro SDK/UI, Sentry, React Query, forms, routing, styling, and time utilities) to their latest minor or patch versions for improved stability and compatibility.

Build:

  • Upgrade build and test tooling (SWC, Jest environment, ts-jest, TypeScript, and Vite) to more recent versions to keep the toolchain current.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR upgrades several runtime and development dependencies in package.json (and the corresponding pnpm-lock.yaml) to newer minor/patch versions, primarily for bug fixes, compatibility, and tooling improvements, without altering application code.

File-Level Changes

Change Details Files
Upgrade core app and UI runtime dependencies to newer minor/patch versions.
  • Bumped @deskpro/app-sdk from ^6.0.6 to ^6.0.8.
  • Bumped @deskpro/deskpro-ui from ^8.3.1 to ^8.4.0.
  • Updated @sentry/react and @sentry/vite-plugin to newer 9.x and 3.x patch versions.
  • Updated @tanstack/react-query, react-hook-form, react-router-dom, react-time-ago, javascript-time-ago, and styled-components to newer minor/patch versions.
package.json
pnpm-lock.yaml
Update development, typing, and tooling dependencies for tests and build pipeline.
  • Updated @swc/core and @swc/helpers to newer 1.x/0.5.x patch versions used for transpilation and Jest integration.
  • Bumped @testing-library/jest-dom, @types/lodash, and @types/react to their latest minor/patch releases.
  • Updated jest-environment-jsdom and ts-jest to newer 30.x/29.x patch versions.
  • Upgraded TypeScript from ^5.8.3 to ^5.9.3 and Vite from ^6.3.6 to ^6.4.1 to align with newer tooling expectations.
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 left some high level feedback:

  • You’ve upgraded jest-environment-jsdom to ^30.2.0 while keeping jest at ^29.7.0; consider aligning their major versions or confirming that the v30 environment is officially compatible with Jest 29 to avoid subtle test-runner issues.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- You’ve upgraded `jest-environment-jsdom` to `^30.2.0` while keeping `jest` at `^29.7.0`; consider aligning their major versions or confirming that the v30 environment is officially compatible with Jest 29 to avoid subtle test-runner issues.

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.

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 pull request attempts to upgrade multiple dependencies in the package.json file to improve compatibility, features, and incorporate bug fixes. However, several of the specified versions appear to be invalid or non-existent.

Key Changes:

  • Upgrades to core dependencies including @deskpro packages, Sentry SDK, React Query, React Hook Form, and styled-components
  • Updates to development and testing dependencies including SWC, Testing Library, TypeScript, and Vite
  • Updates to type definition packages

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

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

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