Skip to content

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies and development dependencies in the package.json file to newer versions. These upgrades help keep the project up-to-date with the latest features, bug fixes, and security patches.

Dependency updates:

  • Upgraded core dependencies: @deskpro/app-sdk to 6.0.8, @deskpro/deskpro-ui to 8.4.0, @sentry/react to 9.47.1, and @sentry/vite-plugin to 3.6.1.
  • Upgraded development dependencies: @types/react to 17.0.90, jest-environment-jsdom to 30.2.0, styled-components to 6.2.0, typescript to 5.9.3, and vite to 6.4.1. [1] [2]

Summary by Sourcery

Update project dependencies to the latest compatible versions.

Build:

  • Bump core app dependencies including Deskpro SDK/UI and Sentry packages to newer versions in package.json.
  • Upgrade development tooling dependencies (React type definitions, Jest JSDOM environment, styled-components, TypeScript, and Vite) to more recent releases and refresh the lockfile.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:14
@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-time dependencies in package.json (Deskpro SDK/UI, Sentry, React types, Jest JSDOM environment, styled-components, TypeScript, Vite) and refreshes pnpm-lock.yaml to match, without changing application logic.

File-Level Changes

Change Details Files
Upgrade runtime and development dependencies and sync lockfile.
  • Bump @deskpro/app-sdk and @deskpro/deskpro-ui minor versions to latest 6.x/8.x releases.
  • Update @sentry/react and @sentry/vite-plugin to newer 9.x and 3.x versions respectively.
  • Increment @types/react and jest-environment-jsdom versions for improved type support and Jest 30 compatibility.
  • Upgrade styled-components within 6.x for styling/runtime fixes.
  • Bump TypeScript from 5.8.x to 5.9.x and Vite from 6.3.x to 6.4.x for tooling and build improvements.
  • Regenerate pnpm-lock.yaml to reflect all updated dependency versions.
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, and left some high level feedback:

  • Upgrading jest-environment-jsdom to ^30.2.0 while keeping jest at ^29.7.0 introduces a major-version mismatch; consider aligning their major versions or confirming that this combo is explicitly supported.
  • Bumping typescript to ^5.9.3 with ts-jest still at ^27.1.5 may exceed the TypeScript version range that ts-jest officially supports; it’s worth verifying compatibility or updating ts-jest accordingly to avoid subtle build/test issues.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Upgrading `jest-environment-jsdom` to `^30.2.0` while keeping `jest` at `^29.7.0` introduces a major-version mismatch; consider aligning their major versions or confirming that this combo is explicitly supported.
- Bumping `typescript` to `^5.9.3` with `ts-jest` still at `^27.1.5` may exceed the TypeScript version range that `ts-jest` officially supports; it’s worth verifying compatibility or updating `ts-jest` accordingly to avoid subtle build/test issues.

## Individual Comments

### Comment 1
<location> `package.json:54-55` </location>
<code_context>
     "slugify": "^1.6.6",
-    "styled-components": "^6.1.19",
+    "styled-components": "^6.2.0",
     "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 (testing):** Validate `ts-jest@27` compatibility with Jest 29 and TypeScript 5.9.

`ts-jest@27.1.5` targets the Jest 27 timeframe and may not officially support Jest 29 or TypeScript 5.9.3, which can cause transformer/config or type-checking issues. Please verify the supported Jest/TypeScript ranges for this version and consider upgrading `ts-jest` (and aligning Jest) to a version that explicitly supports TS 5.9 and your Jest version.
</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 and development dependencies to their latest versions, including core packages like @deskpro/app-sdk, @deskpro/deskpro-ui, Sentry packages, testing libraries, and build tools. The updates include both minor and patch version increments aimed at incorporating bug fixes, security patches, and new features.

Key Changes:

  • Core dependency upgrades: @deskpro/app-sdk (6.0.6 → 6.0.8), @deskpro/deskpro-ui (8.3.1 → 8.4.0), Sentry packages (~9.38.0 → ~9.47.1)
  • Development dependency upgrades: TypeScript (5.8.3 → 5.9.3), Vite (6.3.6 → 6.4.1), Jest environment, styled-components, and type definitions
  • Lock file synchronization 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 Updates dependency and devDependency version specifiers for 10 packages
pnpm-lock.yaml Synchronizes lock file with new dependency versions and resolves transitive dependency updates

💡 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