Skip to content

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies and devDependencies in the package.json file to their latest minor or patch versions. These updates help keep the project up-to-date with bug fixes, security patches, and new features from upstream libraries.

Dependency updates:

  • Upgraded core dependencies such as @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, @tanstack/react-query, react-hook-form, and react-router-dom to newer versions for improved stability and new features.
  • Updated development dependencies including @swc/core, @swc/helpers, @types/react, jest-environment-jsdom, styled-components, typescript, and vite to their latest compatible versions for better development experience and compatibility. [1] [2]

Summary by Sourcery

Update application and tooling dependencies to their latest compatible minor and patch versions.

Build:

  • Bump core runtime libraries (UI, error tracking, data fetching, forms, and routing) to newer versions in package.json.
  • Upgrade development and build tooling dependencies including SWC, React type definitions, Jest jsdom environment, styled-components, TypeScript, and Vite.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR refreshes selected runtime and development dependencies in package.json (and the corresponding pnpm-lock.yaml) to newer minor/patch versions, keeping the build, testing, and app runtime stack current without changing application code.

File-Level Changes

Change Details Files
Bump core runtime dependencies to newer minor/patch versions.
  • Update @deskpro/deskpro-ui to the latest 8.4.x release.
  • Upgrade Sentry client and Vite plugin packages that power error monitoring.
  • Increment @tanstack/react-query, react-hook-form, and react-router-dom to newer compatible versions for data fetching, forms, and routing.
package.json
pnpm-lock.yaml
Update build, tooling, and type-checking devDependencies.
  • Upgrade SWC compiler and helpers used by Jest and the build pipeline.
  • Refresh React type definitions and jest-environment-jsdom for alignment with the current React and Jest versions.
  • Bump styled-components, TypeScript, and Vite to their latest compatible releases to keep bundling and type-checking up to date.
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:56` </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.7",
     "rollup-plugin-copy": "3.4.0",
</code_context>

<issue_to_address>
**issue (testing):** Align jest-environment-jsdom major version with the Jest runtime to avoid subtle test/runtime mismatches.

jest is still on ^29.7.0 while jest-environment-jsdom is ^30.2.0, which is a major-version mismatch. The env packages usually track Jest’s major and may depend on internal APIs that change between majors, so this can cause flaky or failing tests. Consider either keeping jest-environment-jsdom on a 29.x version or upgrading Jest to 30.x at the same time.
</issue_to_address>

### Comment 2
<location> `package.json:61` </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>
**suggestion (testing):** Check ts-jest compatibility with the newer TypeScript 5.9.x version.

ts-jest is still on ^27.1.5 while TypeScript is ^5.9.3. That TS version is likely outside the peer range ts-jest 27 was validated against, which can cause test compilation/type-checking issues. Please verify ts-jest’s supported TypeScript versions and either upgrade ts-jest or adjust the TypeScript version to a compatible range.

```suggestion
    "ts-jest": "^29.2.5",
```
</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 PR updates multiple dependencies and devDependencies to their latest minor or patch versions, focusing on bug fixes, security patches, and new features. The updates include core React libraries, Sentry monitoring, SWC compiler tooling, testing libraries, and build tools.

Key Changes:

  • Core dependency updates: @deskpro/deskpro-ui, @sentry/*, @tanstack/react-query, react-hook-form, react-router-dom
  • DevDependency updates: @swc/core, @swc/helpers, @types/react, jest-environment-jsdom, styled-components, typescript, vite
  • Lock file synchronized with package.json changes

Reviewed changes

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

File Description
package.json Updates dependency versions for core libraries and development tools
pnpm-lock.yaml Automatically generated lock file reflecting the updated dependency tree

💡 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