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, focusing on keeping the project up-to-date with the latest versions of key libraries and tools. These updates include both runtime and development dependencies, which can help improve security, stability, and access to new features.

Dependency updates:

  • Upgraded @deskpro/deskpro-ui from ^8.3.1 to ^8.4.0 to include the latest UI improvements and bug 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 and build integration.
  • Upgraded @swc/core from ^1.12.14 to ^1.15.8 for better build performance and compatibility.
  • Updated styled-components from ^6.1.19 to ^6.2.0 for enhanced styling capabilities and bug fixes.

Development tooling updates:

  • Upgraded @types/react from ^18.3.23 to ^18.3.27, 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 to ensure compatibility with the latest TypeScript and testing features. [1] [2]

Summary by Sourcery

Update application and build tooling dependencies to newer minor and patch versions.

Enhancements:

  • Refresh UI, error tracking, build, styling, and React type dependencies to their latest compatible versions.

Build:

  • Upgrade TypeScript, Vite, Jest jsdom environment, and related tooling for improved compatibility and maintenance.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR strictly upgrades a set of application and dev dependencies in package.json (and syncs pnpm-lock.yaml) to newer minor/patch versions, focusing on UI, error tracking, build tooling, styling, TypeScript, and test environment libraries, without any code or configuration changes.

File-Level Changes

Change Details Files
Bump runtime UI, error tracking, build, and styling dependencies to newer minor/patch versions.
  • Update @deskpro/deskpro-ui to ^8.4.0 for latest UI fixes/features.
  • Upgrade @sentry/react and @sentry/vite-plugin to newer 9.x and 3.x releases for error tracking and Vite integration.
  • Bump @swc/core to ^1.15.8 for improved build performance/compatibility.
  • Upgrade styled-components to ^6.2.0 for bug fixes and minor enhancements.
package.json
pnpm-lock.yaml
Upgrade TypeScript, React types, Jest jsdom environment, and Vite dev tooling to stay current with the TypeScript/test/build ecosystem.
  • Update @types/react to ^18.3.27 to match current React APIs.
  • Bump jest-environment-jsdom to ^30.2.0 for test environment fixes.
  • Upgrade typescript to ^5.9.3 for latest language and tooling improvements.
  • Update vite to ^6.4.1 for the latest build/dev server fixes and features.
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:48` </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",
     "rollup-plugin-copy": "3.4.0",
</code_context>

<issue_to_address>
**issue (bug_risk):** Jest 29 with jest-environment-jsdom 30 may be version-incompatible.

Jest core is still ^29.7.0 while jest-environment-jsdom is ^30.2.0. Jest env packages usually match Jest’s major version, so 29.x core + 30.x env may cause runtime or type issues. Consider either keeping jest-environment-jsdom on 29.x or upgrading Jest to 30.x as well.
</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 to their latest versions, including UI libraries, error tracking tools, build tooling, and TypeScript type definitions. The updates follow semantic versioning patterns and include both runtime dependencies and development dependencies.

Key changes:

  • Updated UI and styling libraries (@deskpro/deskpro-ui, styled-components)
  • Upgraded error tracking and monitoring tools (@sentry/react, @sentry/vite-plugin)
  • Updated build tooling and TypeScript infrastructure (@swc/core, typescript, vite)

Reviewed changes

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

File Description
package.json Updates dependency version constraints for 10 packages across runtime and dev dependencies
pnpm-lock.yaml Reflects resolved dependency tree with updated transitive dependencies and version resolutions

💡 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