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

Dependency updates:

Production dependencies:

  • Updated @deskpro/app-sdk from ^6.0.6 to ^6.0.8 and @deskpro/deskpro-ui from ^8.3.1 to ^8.4.0 for the latest features and fixes.
  • Updated @sentry/react from ^9.38.0 to ^9.47.1 and @sentry/vite-plugin from ^3.5.0 to ^3.6.1 for improved error tracking.
  • Updated @tanstack/react-query, react-hook-form, react-router-dom, and styled-components to their latest minor/patch versions for stability and new features.

Development dependencies:

  • Updated @swc/core, @swc/helpers, and @types/react to newer versions for better build and type support.
  • Updated jest-environment-jsdom from ^30.0.5 to ^30.2.0, typescript from ^5.8.3 to ^5.9.3, and vite from ^6.3.6 to ^6.4.1 for improved testing, type checking, and build tooling.

Summary by Sourcery

Update application and tooling dependencies to newer minor and patch versions for improved stability and compatibility.

New Features:

  • Adopt newer versions of UI, routing, form handling, querying, and error tracking libraries in production dependencies.

Enhancements:

  • Refresh build, test, and TypeScript-related devDependencies to more recent versions for better tooling support and maintenance.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Upgrade runtime and development dependencies in package.json to newer minor and patch versions, updating the lockfile accordingly.

File-Level Changes

Change Details Files
Bump key runtime React ecosystem and monitoring libraries to newer minor/patch versions.
  • Update @deskpro/app-sdk and @deskpro/deskpro-ui to newer minor releases for Deskpro integration and UI components.
  • Upgrade Sentry React SDK and Vite plugin to newer 9.x and 3.x releases for error tracking and build-time integration.
  • Bump @tanstack/react-query, react-hook-form, react-router-dom, and styled-components to current 4.x, 7.x, 6.x, and 6.x patch/minor versions for bug fixes and compatibility.
package.json
pnpm-lock.yaml
Update build, test, and type-check tooling dependencies.
  • Upgrade @swc/core and @swc/helpers to newer releases for transpilation improvements.
  • Bump @types/react and jest-environment-jsdom to more recent versions for better type coverage and test environment behavior.
  • Update TypeScript and Vite minor versions to align with latest tooling fixes and improvements.
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

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

## Individual Comments

### Comment 1
<location> `package.json:64` </location>
<code_context>
     "react-resize-observer": "^1.1.1",
     "rollup-plugin-copy": "3.4.0",
     "slugify": "^1.6.6",
     "ts-jest": "^27.1.5",
-    "typescript": "^5.8.3",
-    "vite": "^6.3.6"
</code_context>

<issue_to_address>
**issue (bug_risk):** ts-jest v27 may not be compatible with Jest 29 and TypeScript 5.9, which can cause test compilation/runtime issues.

With Jest at ^29.7.0 and TypeScript at ^5.9.3, ^27.1.5 of ts-jest may be out of its supported range and lead to transformer/diagnostics issues and flaky tests. Please check the ts-jest compatibility matrix and align its version with your Jest and TypeScript versions to avoid miscompiled or intermittently failing tests.
</issue_to_address>

### Comment 2
<location> `package.json:58-59` </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>
**suggestion (bug_risk):** Using jest-environment-jsdom v30 with Jest v29 can introduce version-mismatch issues.

The environment package is now a major version ahead of Jest (^29.7.0 vs ^30.2.0). This mismatch can cause subtle, hard-to-debug issues if Jest’s internal APIs change. Consider either upgrading Jest to v30 or pinning jest-environment-jsdom to a version known to support Jest 29.

```suggestion
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
```
</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.

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 upgrades multiple dependencies in package.json to their latest minor and patch versions. The updates include production dependencies like @deskpro/app-sdk, @sentry/react, @tanstack/react-query, react-hook-form, react-router-dom, and styled-components, as well as development dependencies including @swc/core, @types/react, jest-environment-jsdom, typescript, and vite.

Key changes:

  • Production dependencies updated to newer minor/patch versions for improved features and bug fixes
  • Development dependencies including TypeScript (5.8.3 → 5.9.3) and Vite (6.3.6 → 6.4.1) updated
  • Testing infrastructure updated with jest-environment-jsdom and related packages

Reviewed changes

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

File Description
package.json Updated dependency versions for both production and development packages
pnpm-lock.yaml Updated lockfile with resolved dependencies and their transitive dependencies

Based on my review of the changes, all dependency updates appear to be valid minor or patch version upgrades. The versions specified exist and are appropriate. The lockfile changes are consistent with the package.json updates, showing proper resolution of all transitive dependencies. No issues were found with this dependency upgrade.


💡 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