Skip to content

Comments

Upgrade deps 2026 07 01#55

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

Upgrade deps 2026 07 01#55
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 devDependencies in the package.json file to their latest minor or patch versions. These updates help ensure compatibility, access to new features, and important bug fixes.

Dependency updates:

  • Updated core dependencies such as @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, dompurify, react-router-dom, and styled-components to newer versions.

DevDependency updates:

  • Bumped development tools and type definitions, including @swc/core, @swc/helpers, @types/react, jest-environment-jsdom, typescript, and vite to more recent versions. [1] [2]

Summary by Sourcery

Update application and tooling dependencies to current minor and patch versions.

Build:

  • Bump runtime dependencies including Deskpro SDK/UI, Sentry packages, dompurify, react-router-dom, and styled-components to newer compatible versions.
  • Upgrade development and build tooling versions including SWC, React type definitions, Jest jsdom environment, TypeScript, and Vite.

@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

Updates application and build tooling dependencies to newer minor/patch versions in package.json and synchronizes the pnpm lockfile accordingly, with no code changes outside dependency metadata.

File-Level Changes

Change Details Files
Bump runtime dependencies to newer minor/patch versions.
  • Update @deskpro/app-sdk to ^6.0.8
  • Update @deskpro/deskpro-ui to ^8.4.0
  • Update @sentry/react to ^9.47.1
  • Update @sentry/vite-plugin to ^3.6.1
  • Update dompurify to ^3.3.1
  • Update react-router-dom to ^7.11.0
  • Update styled-components to ^6.2.0
package.json
pnpm-lock.yaml
Bump development and tooling dependencies to newer minor/patch versions.
  • Update @swc/core to ^1.15.8
  • Update @swc/helpers to ^0.5.18
  • Update @types/react to ^18.3.27
  • Update jest-environment-jsdom to ^30.2.0
  • Update typescript to ^5.9.3
  • Update vite to ^6.4.1
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:

  • Given the jump to TypeScript 5.9.3 while still using ts-jest 27.1.5, it’s worth verifying that ts-jest’s supported TypeScript range aligns with this version to avoid subtle type-checking or test compilation issues; if not, consider bumping ts-jest in the same PR.
  • The upgrades to @sentry/* and dompurify include multiple minor versions; please confirm whether any required config or initialization changes from their changelogs need to be reflected in your Sentry setup or sanitization usage so runtime behavior remains consistent.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Given the jump to TypeScript 5.9.3 while still using ts-jest 27.1.5, it’s worth verifying that ts-jest’s supported TypeScript range aligns with this version to avoid subtle type-checking or test compilation issues; if not, consider bumping ts-jest in the same PR.
- The upgrades to @sentry/* and dompurify include multiple minor versions; please confirm whether any required config or initialization changes from their changelogs need to be reflected in your Sentry setup or sanitization usage so runtime behavior remains consistent.

## Individual Comments

### Comment 1
<location> `package.json:53` </location>
<code_context>
     "eslint-plugin-react-hooks": "^5.2.0",
     "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 (bug_risk):** Consider aligning `jest-environment-jsdom`’s major version with `jest` to avoid subtle incompatibilities.

You’re on Jest 29.x but `jest-environment-jsdom` 30.x, which may rely on Jest 30 defaults and APIs and cause subtle breakages (e.g., config shape, environment behavior). Either pin `jest-environment-jsdom` to 29.x for now or upgrade Jest to 30 in tandem.
</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.

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

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. The updates include core application dependencies (@deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, react-router-dom) and development dependencies (@swc/core, jest-environment-jsdom, typescript, vite). The changes maintain backward compatibility as all updates are within semver-compatible ranges (minor/patch versions).

Key Changes

  • Updated Deskpro SDK and UI library to latest minor versions
  • Upgraded Sentry packages for improved error tracking
  • Updated build tooling (TypeScript, Vite, SWC)

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 13 dependencies and devDependencies
pnpm-lock.yaml Reflects resolved versions and transitive dependency updates from package.json changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant