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 versions. These updates affect both runtime and development dependencies, ensuring the project uses the most recent features, bug fixes, and security patches.

Dependency updates:

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

Summary by Sourcery

Update project dependencies to newer versions across runtime and development tooling.

Enhancements:

  • Refresh core app, UI, routing, forms, time utilities, and styling libraries to their latest compatible versions.
  • Upgrade build, TypeScript, testing, and SWC-related tooling to align with newer library versions and improve tooling support.

Build:

  • Bump Vite and related build-time dependencies to newer versions for improved build pipeline compatibility.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR upgrades multiple runtime and development dependencies in package.json (and the lockfile) to newer minor/patch versions, primarily for bug fixes, security patches, and tooling improvements, without changing application code.

File-Level Changes

Change Details Files
Upgrade core/runtime dependencies to newer minor/patch versions.
  • Bump @deskpro/app-sdk and @deskpro/deskpro-ui to the latest 6.x/8.x minor releases.
  • Update Sentry packages (@sentry/react and @sentry/vite-plugin) to the latest 9.x/3.x minor versions.
  • Upgrade @tanstack/react-query, react-hook-form, react-router-dom, javascript-time-ago, react-time-ago, and styled-components to newer compatible versions.
  • Keep other existing runtime dependencies pinned at their current versions.
package.json
pnpm-lock.yaml
Upgrade build, test, and type-checking toolchain dependencies.
  • Update @swc/core and @swc/helpers to newer 1.x/0.5.x versions used by the Jest SWC transformer.
  • Bump various @types packages including lodash, react, and styled-components.
  • Upgrade jest-environment-jsdom, ts-jest, typescript, and vite to newer minor/patch releases.
  • Regenerate pnpm-lock.yaml to reflect all devDependency version bumps.
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:

  • The upgrade to styled-components@6.2.0 while keeping @types/styled-components@5.x may cause type conflicts, since v6 ships its own types and the DefinitelyTyped package is meant for v5; consider removing the @types package or aligning the versions explicitly.
  • jest-environment-jsdom has been bumped to 30.x while jest remains on 29.x, which is a major-version mismatch and may lead to runtime issues; it would be safer to keep them on compatible major versions.
  • Given the TypeScript and Vite minor/patch upgrades (typescript@5.9.x, vite@6.4.x), it’s worth checking that your existing TS and Vite config options are still valid and not using any deprecated or renamed settings to avoid subtle build or type-check regressions.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The upgrade to `styled-components@6.2.0` while keeping `@types/styled-components@5.x` may cause type conflicts, since v6 ships its own types and the DefinitelyTyped package is meant for v5; consider removing the `@types` package or aligning the versions explicitly.
- `jest-environment-jsdom` has been bumped to `30.x` while `jest` remains on `29.x`, which is a major-version mismatch and may lead to runtime issues; it would be safer to keep them on compatible major versions.
- Given the TypeScript and Vite minor/patch upgrades (`typescript@5.9.x`, `vite@6.4.x`), it’s worth checking that your existing TS and Vite config options are still valid and not using any deprecated or renamed settings to avoid subtle build or type-check regressions.

## Individual Comments

### Comment 1
<location> `package.json:71` </location>
<code_context>
     "intersection-observer": "^0.12.2",
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
+    "jest-environment-jsdom": "^30.2.0",
     "node-fetch": "^3.3.2",
     "prettier": "^2.8.8",
</code_context>

<issue_to_address>
**issue (bug_risk):** Align `jest-environment-jsdom` major version with the core Jest version.

We’re still on Jest 29.x while `jest-environment-jsdom` is now 30.x. These packages are meant to stay on the same major version, and mismatching them can cause subtle runtime/config issues. Please either keep `jest-environment-jsdom` on a 29.x-compatible version or upgrade 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 updates multiple dependencies to their latest versions, including both runtime and development dependencies. The changes are focused on minor and patch version updates across the dependency tree, with no apparent major version updates that would introduce breaking changes.

Key Changes:

  • Core dependencies upgraded: @deskpro packages, Sentry SDK, React Query, form libraries
  • Development tooling updated: TypeScript, SWC, Vite, Jest, and type definitions
  • All changes appear to be minor/patch version updates within compatible ranges

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 specifiers for 20+ packages (both runtime and dev dependencies)
pnpm-lock.yaml Reflects the resolved dependency tree with updated versions and transitive dependencies

Assessment: The dependency updates follow semantic versioning conventions with minor and patch version bumps. No breaking changes are expected based on the version ranges. The changes should be safe to merge after standard testing procedures.


💡 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