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 versions. The updates include both core libraries and development tools, which should help keep the project secure and compatible with the latest features and bug fixes.

Dependency updates:

  • Upgraded key dependencies such as @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, @tanstack/react-query, react-hook-form, react-router-dom, simplebar, and styled-components to their latest versions.

Development tooling updates:

  • Updated various devDependencies including @swc/core, @swc/helpers, @testing-library/dom, @testing-library/jest-dom, @types/lodash, @types/react, @vitejs/plugin-react, jest-environment-jsdom, prettier, ts-jest, typescript, and vite to newer versions.

Summary by Sourcery

Update runtime and tooling dependencies to newer minor and patch versions.

Build:

  • Bump build and tooling-related devDependencies (TypeScript, Vite, Jest, SWC, Testing Library, Prettier, and related plugins) to newer versions.

Chores:

  • Refresh application dependencies (UI components, Sentry, React Query, routing, forms, and utility libraries) to current minor and patch releases.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's Guide

This PR updates application and tooling dependencies in package.json (and the corresponding pnpm-lock.yaml) to newer patch/minor versions, primarily for UI, routing, form handling, Sentry integration, SWC/Jest/testing libraries, TypeScript, Vite, and related type definitions, without any code changes to the app itself.

File-Level Changes

Change Details Files
Bump runtime dependencies to newer minor/patch versions for UI, routing, forms, scrolling, and error tracking.
  • Update @deskpro/deskpro-ui to 8.4.0 for UI component library improvements and fixes
  • Update @sentry/react and @sentry/vite-plugin to newer 9.x/3.x versions for error reporting and build integration
  • Update @tanstack/react-query, react-hook-form, react-router-dom, simplebar, styled-components, and use-debounce to the latest compatible releases
  • Regenerate pnpm-lock.yaml to align with the new dependency versions
package.json
pnpm-lock.yaml
Upgrade build, test, and tooling dependencies to current versions for SWC, Testing Library, Jest, TypeScript, Vite, and related types.
  • Bump @swc/core and @swc/helpers for transpilation improvements
  • Update @testing-library/* packages and jest-environment-jsdom for testing compatibility and fixes
  • Update @types/* packages (lodash, react) for improved type safety
  • Upgrade @vitejs/plugin-react, ts-jest, TypeScript, Vite, and Prettier to newer releases to keep the toolchain current
  • Regenerate pnpm-lock.yaml to lock updated 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 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location> `package.json:70` </location>
<code_context>
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
-    "prettier": "^3.6.2",
+    "jest-environment-jsdom": "^30.2.0",
+    "prettier": "^3.7.4",
     "resize-observer-polyfill": "^1.5.1",
</code_context>

<issue_to_address>
**issue (testing):** Check Jest / jest-environment-jsdom major-version alignment to avoid subtle test runtime issues.

`jest` is still on 29.x (`"jest": "^29.7.0"`), while `jest-environment-jsdom` is now 30.x. These packages typically share a major version, and mixing them can cause subtle test failures or API mismatches. Please confirm 30.x explicitly supports Jest 29; if not, keep `jest-environment-jsdom` on a 29.x-compatible version or upgrade Jest (and related tooling like `ts-jest`) in lockstep.
</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 pull request updates multiple dependencies and devDependencies to their latest versions, including core libraries like React testing utilities, build tools, and development tooling. The updates appear to be primarily minor and patch version upgrades, maintaining backward compatibility.

Key Changes

  • Updated testing libraries (@testing-library/dom, @testing-library/jest-dom, jest-environment-jsdom)
  • Upgraded build and development tools (@swc/core, @vitejs/plugin-react, vite, typescript)
  • Updated core dependencies (@deskpro/deskpro-ui, @sentry packages, @tanstack/react-query, react-hook-form, styled-components)

Reviewed changes

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

File Description
package.json Updates dependency versions for both production and development packages
pnpm-lock.yaml Reflects resolved dependency versions and transitive dependencies from package.json updates

💡 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