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, bringing both production and development packages to newer versions. These updates help ensure compatibility, security, and access to the latest features and bug fixes.

Dependency updates:

  • Bumped core dependencies to newer versions, including @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, @tanstack/react-query, react-hook-form, react-router-dom, and styled-components.
  • Updated development dependencies such as @swc/core, @swc/helpers, @testing-library/jest-dom, @types/lodash, @types/react, jest-environment-jsdom, ts-jest, typescript, and vite. [1] [2]

Summary by Sourcery

Update application and tooling dependencies to their latest compatible versions.

Enhancements:

  • Refresh core runtime dependencies (Deskpro SDK/UI, Sentry, React Query, react-hook-form, react-router-dom, styled-components) to newer minor/patch releases for improved stability and compatibility.

Build:

  • Bump build and type tooling (SWC, Jest environment, ts-jest, TypeScript, Vite and type packages) to more recent versions to align with updated runtime dependencies.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR upgrades a set of production and development dependencies in package.json (and corresponding lockfile) to newer patch/minor versions, without changing application code or scripts.

File-Level Changes

Change Details Files
Upgrade core runtime dependencies to newer patch/minor versions.
  • Bump @deskpro/app-sdk and @deskpro/deskpro-ui to latest compatible versions.
  • Update Sentry client and Vite plugin packages to newer 9.x/3.x releases.
  • Increment @tanstack/react-query, react-hook-form, react-router-dom, and styled-components to newer 4.x/7.x/6.x patch versions.
package.json
pnpm-lock.yaml
Upgrade tooling and test-related devDependencies.
  • Update @swc/core and @swc/helpers to newer 1.x/0.5.x versions.
  • Bump @testing-library/jest-dom, @types/lodash, and @types/react to latest patch releases.
  • Increment jest-environment-jsdom, ts-jest, typescript, and vite to newer patch/minor versions to match current ecosystem 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 found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location> `package.json:63` </location>
<code_context>
     "intersection-observer": "^0.12.2",
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
+    "jest-environment-jsdom": "^30.2.0",
     "prettier": "2.8.7",
     "react-resize-observer": "^1.1.1",
</code_context>

<issue_to_address>
**issue (bug_risk):** Version mismatch between Jest core (29.x) and jest-environment-jsdom (30.x) may cause runtime/test issues.

`jest` is pinned at 29.7.0 while `jest-environment-jsdom` is now 30.2.0 (different major). Jest environments are generally expected to match the core major version, and this mismatch can cause config incompatibilities or runtime errors in tests. Consider either staying on a 29.x environment or upgrading Jest (and related packages) to 30.x in the same change.
</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 pull request updates multiple dependencies in the project to newer versions, focusing on both production and development packages. The changes include updates to core libraries like the Deskpro SDK, Sentry monitoring tools, React form handling, and build/test tooling to ensure the project stays current with security patches and latest features.

Key changes:

  • Updated production dependencies including @deskpro/app-sdk (6.0.6 → 6.0.8), @sentry/react (9.38.0 → 9.47.1), and react-hook-form (7.60.0 → 7.70.0)
  • Updated build and test tooling including TypeScript (5.8.3 → 5.9.3), @swc/core (1.12.14 → 1.15.8), and vite (6.3.6 → 6.4.1)
  • Lockfile changes reflect proper dependency resolution with updated transitive dependencies

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updated version specifications for 16 production and development dependencies
pnpm-lock.yaml Automatically generated lockfile with resolved dependency tree reflecting all version updates

💡 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.

2 participants