Skip to content

Upgrade Deps#61

Open
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01
Open

Upgrade Deps#61
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01

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 their latest minor or patch versions. These updates help ensure compatibility, improve stability, and may include important bug fixes and performance improvements.

Dependency updates:

  • Upgraded core dependencies such as @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, @tanstack/react-query, and react-router-dom to more recent versions.
  • Updated utility and type packages including @types/lodash and @types/react to the latest versions.

Development tool updates:

  • Upgraded build and testing tools such as @swc/core, @swc/helpers, jest-environment-jsdom, styled-components, typescript, and vite to their latest minor or patch releases.

Summary by Sourcery

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

Build:

  • Bump runtime dependencies including Deskpro SDK/UI, Sentry, TanStack React Query, and react-router-dom to newer minor/patch releases.
  • Upgrade development and tooling dependencies such as SWC, Jest jsdom environment, styled-components, TypeScript, and Vite to their latest minor/patch versions.

@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 bumps a set of runtime and dev dependencies in package.json (and corresponding resolutions in pnpm-lock.yaml) to newer minor/patch versions, with no code changes, to keep the project aligned with the current Deskpro, Sentry, React Query, router, SWC, Jest, TypeScript, Vite, and type definitions ecosystem.

File-Level Changes

Change Details Files
Update runtime dependencies to newer minor/patch versions to stay current with the Deskpro, Sentry, React Query, and React Router ecosystem.
  • Bump @deskpro/app-sdk and @deskpro/deskpro-ui to the latest 6.x and 8.x minor releases.
  • Update @sentry/react and @sentry/vite-plugin to newer 9.x and 3.x releases respectively.
  • Increment @tanstack/react-query and react-router-dom to the latest 4.x and 6.x patch versions.
  • Regenerate pnpm-lock.yaml to reflect the new runtime dependency graph.
package.json
pnpm-lock.yaml
Update development and type-related dependencies for build, test, and tooling to newer minor/patch versions.
  • Upgrade @swc/core and @swc/helpers used by Jest/TS toolchain.
  • Refresh @types/lodash and @types/react to the latest 4.17.x and 18.3.x type definitions.
  • Bump jest-environment-jsdom and styled-components to their latest compatible versions.
  • Update TypeScript and Vite to the latest 5.x and 6.x minor/patch releases and regenerate pnpm-lock.yaml accordingly.
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 jest-environment-jsdom major version (30.x) is ahead of jest (29.x); consider aligning their major versions to avoid subtle runtime or config incompatibilities.
  • With typescript bumped to 5.9.x, ts-jest is still on 27.x; it may be worth upgrading ts-jest (and verifying its compatibility matrix) to ensure smooth TypeScript/Jest integration.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `jest-environment-jsdom` major version (30.x) is ahead of `jest` (29.x); consider aligning their major versions to avoid subtle runtime or config incompatibilities.
- With `typescript` bumped to 5.9.x, `ts-jest` is still on 27.x; it may be worth upgrading `ts-jest` (and verifying its compatibility matrix) to ensure smooth TypeScript/Jest integration.

## Individual Comments

### Comment 1
<location> `package.json:58` </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>
**issue (testing):** Check Jest 29 vs jest-environment-jsdom 30 compatibility to avoid subtle test failures.

`jest` is still ^29.7.0 while `jest-environment-jsdom` is now ^30.2.0. These packages usually align on major versions, and mixing 29.x with 30.x can cause environment mismatches or test breakages. Consider either keeping `jest-environment-jsdom` on 29.x or upgrading Jest to 30.x in sync with whatever you’ve validated.
</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 various dependencies and development dependencies to their latest minor or patch versions. The changes focus on incremental updates that should maintain backward compatibility while incorporating bug fixes, security patches, and performance improvements.

Key Changes:

  • Updated core dependencies including @deskpro/app-sdk (6.0.6 → 6.0.8), @deskpro/deskpro-ui (8.3.1 → 8.4.0), @sentry/react (9.38.0 → 9.47.1), and @tanstack/react-query (4.40.1 → 4.42.0)
  • Updated build tools including @swc/core (1.12.14 → 1.15.8), typescript (5.8.3 → 5.9.3), and vite (6.3.6 → 6.4.1)
  • Updated type definitions for @types/lodash, @types/react, and others

Reviewed changes

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

File Description
package.json Updated version specifiers for 14 dependencies and devDependencies to latest minor/patch versions
pnpm-lock.yaml Comprehensive lock file update reflecting all transitive dependency changes from the package.json 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