Skip to content

Comments

Upgrade Deps#77

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

Upgrade Deps#77
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 include both runtime and development tools, which help ensure compatibility, access to new features, and bug fixes.

Dependency updates:

  • Upgraded core dependencies such as @deskpro/deskpro-ui, @fortawesome/react-fontawesome, @sentry/react, @sentry/vite-plugin, @tanstack/react-query, formik, javascript-time-ago, react-router-dom, react-time-ago, simplebar, and styled-components to newer versions.
  • Updated development dependencies including @swc/core, @swc/helpers, @testing-library/jest-dom, @types/lodash, @types/react, jest-environment-jsdom, ts-jest, and typescript to more recent versions. [1] [2]
  • Bumped vite to version 6.4.1 to ensure compatibility with other updated tooling.

Summary by Sourcery

Update project dependencies and devDependencies to newer minor and patch versions to keep the toolchain and runtime libraries current.

Build:

  • Bump application runtime libraries (UI, routing, forms, time-ago, styling, Sentry, React Query) to newer minor/patch versions in package.json.
  • Update build and tooling stack versions including Vite, TypeScript, SWC, Jest environment, and related type and testing packages in package.json.

Chores:

  • Refresh pnpm lockfile to align with the updated dependency versions.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's Guide

This PR upgrades several runtime and development dependencies in package.json (and syncs pnpm-lock.yaml accordingly) to newer minor/patch versions, including UI, routing, Sentry, query, testing, TypeScript, and build tooling libraries.

File-Level Changes

Change Details Files
Update application runtime dependencies to newer minor/patch versions.
  • Bump @deskpro/deskpro-ui and @fortawesome/react-fontawesome to newer releases for UI components and icons.
  • Upgrade Sentry packages (@sentry/react and @sentry/vite-plugin) for error tracking and build-time integration.
  • Update @tanstack/react-query, formik, javascript-time-ago, react-router-dom, react-time-ago, simplebar, and styled-components to their latest compatible versions.
package.json
pnpm-lock.yaml
Update development, testing, and build-time tooling dependencies.
  • Upgrade SWC-related packages (@swc/core, @swc/helpers) and Jest ecosystem libraries including @testing-library/jest-dom and jest-environment-jsdom.
  • Refresh type definitions for lodash and React, plus ts-jest, to stay aligned with the updated runtime libraries.
  • Bump TypeScript and Vite to newer versions to match the updated tooling and ensure compatibility.
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:73` </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 (bug_risk):** Consider aligning `jest-environment-jsdom` major version with the Jest major version to avoid subtle test runtime mismatches.

Jest is pinned to `^29.7.0` while `jest-environment-jsdom` is at `^30.2.0`. Since the environment package typically matches Jest’s major version and may depend on internal APIs, this mismatch risks flaky or incorrect test behavior. Please either keep `jest-environment-jsdom` on a 29.x range 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 upgrades multiple project dependencies to their latest minor or patch versions, including both runtime and development dependencies. The updates cover core UI libraries, testing frameworks, build tools, and TypeScript-related packages to ensure compatibility, access to new features, and bug fixes.

Key changes:

  • Updated core UI and functionality packages (@deskpro/deskpro-ui, @tanstack/react-query, formik, react-router-dom, styled-components)
  • Upgraded monitoring and build tools (@sentry/react, @sentry/vite-plugin, vite)
  • Updated development and testing dependencies (@swc/core, @testing-library/jest-dom, typescript, ts-jest)

💡 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.

1 participant