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 changes help keep the project up-to-date with bug fixes, security patches, and new features from third-party libraries.

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.

Development tooling updates:

  • Updated devDependencies including @swc/core, @swc/helpers, @types/lodash, @types/react, and jest-environment-jsdom to their latest versions. [1] [2]
  • Upgraded typescript and vite to the latest minor versions for improved language features and build tooling.

Summary by Sourcery

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

Enhancements:

  • Refresh core runtime dependencies (UI components, routing, forms, time-ago, styling, Sentry, and React Query) to newer minor and patch releases to align with upstream improvements and fixes.
  • Upgrade build and tooling stack including TypeScript, Vite, SWC, type definitions, and Jest jsdom environment to more recent versions.

Build:

  • Align package.json and lockfile with updated dependency versions.

@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 bumps several runtime and dev-time JavaScript dependencies in package.json (and syncs pnpm-lock.yaml) to newer minor/patch versions, mainly affecting UI, routing, Sentry integration, data fetching, build toolchain, and TypeScript tooling, without making code changes.

File-Level Changes

Change Details Files
Update runtime dependencies to newer minor/patch versions for UI, routing, data fetching, time utilities, and styling.
  • Bump @deskpro/deskpro-ui, @fortawesome/react-fontawesome, and other UI-related packages to their latest minor/patch releases.
  • Upgrade @sentry/react and @sentry/vite-plugin for updated 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 newer compatible versions.
  • Regenerate pnpm-lock.yaml to reflect the new runtime dependency versions.
package.json
pnpm-lock.yaml
Update devDependencies for compiler, test, and type tooling to newer versions.
  • Upgrade @swc/core and @swc/helpers for transpilation improvements.
  • Bump @types/lodash, @types/react, and other type packages for up-to-date TypeScript typings.
  • Update jest-environment-jsdom for the Jest 30.x test environment.
  • Upgrade typescript and vite to newer minor versions for improved language features and build tooling.
  • Regenerate pnpm-lock.yaml to reflect the new devDependency versions.
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:74` </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.8",
     "rollup-plugin-copy": "3.4.0",
</code_context>

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

Currently Jest is `^29.7.0` while `jest-environment-jsdom` is `^30.2.0`. To avoid version skew, either keep `jest-environment-jsdom` on a 29.x-compatible version or upgrade Jest to 30.x so they stay aligned.
</issue_to_address>

### Comment 2
<location> `package.json:79` </location>
<code_context>
     "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>
**issue (bug_risk):** Check that the current `ts-jest` version is compatible with TypeScript 5.9.x.

Since TypeScript is now `^5.9.3` while `ts-jest` stays at `^27.1.5`, please verify that this `ts-jest` release officially supports TS 5.9 and Jest 29. If not, update `ts-jest` to a version that explicitly supports this combination to avoid subtle test or compilation issues.
</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 several dependencies and devDependencies to their latest minor or patch versions to keep the project up-to-date with bug fixes, security patches, and improvements from third-party libraries.

Key Changes:

  • Updated core dependencies including Deskpro UI, Sentry, TanStack React Query, FontAwesome, Formik, and others
  • Updated development tooling including SWC, TypeScript, Vite, and various type definitions
  • All updates appear to be minor or patch version bumps (no breaking changes)

Reviewed changes

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

File Description
package.json Updated version constraints for 20 dependencies across both production and development dependencies
pnpm-lock.yaml Updated lock file with resolved versions and their dependency trees to match package.json changes

Review Status: No issues found. All dependency updates are valid minor/patch versions with no breaking changes, deprecated warnings are pre-existing, and the changes are consistent between package.json and the lock file.


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

2 participants