Skip to content

Comments

Upgrade Deps#76

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

Upgrade Deps#76
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 newer versions. These updates help keep the project up-to-date with the latest features, bug fixes, and security patches.

Dependency updates:

  • Updated core dependencies such as @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @tanstack/react-query, react-hook-form, react-router-dom, styled-components, and others to their latest minor or patch versions.

DevDependency updates:

  • Upgraded devDependencies including @swc/core, @swc/helpers, @types/react, @types/turndown, jest-environment-jsdom, typescript, and vite to newer versions. [1] [2]

Summary by Sourcery

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

Build:

  • Update runtime dependencies (Deskpro SDK/UI, Sentry, React Router, React Hook Form, styled-components, and related libraries) to newer minor/patch releases.
  • Bump build and tooling devDependencies including SWC, React type definitions, Turndown types, Jest JSDOM environment, TypeScript, and Vite to their latest minor/patch versions.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's Guide

This PR bumps several runtime and dev-time dependencies in package.json (and the corresponding pnpm-lock.yaml) to newer minor/patch versions, keeping the app, build tooling, and test stack up to date without any functional code changes.

File-Level Changes

Change Details Files
Update core application dependencies to newer minor/patch versions.
  • Bump @deskpro/app-sdk and @deskpro/deskpro-ui to newer 6.x/8.x releases.
  • Update UI/UX-related libs including @fortawesome/react-fontawesome, react-hook-form, react-router-dom, react-time-ago, styled-components, javascript-time-ago, turndown, and use-debounce.
  • Refresh observability and data fetching stack by upgrading @sentry/react, @sentry/vite-plugin, and @tanstack/react-query.
  • Keep other runtime utilities aligned with latest compatible versions such as turndown and javascript-time-ago.
package.json
pnpm-lock.yaml
Update build, test, and TypeScript-related devDependencies to current versions.
  • Upgrade SWC toolchain (@swc/core, @swc/helpers) and jest-environment-jsdom used for tests.
  • Bump TypeScript and React type packages (@types/react, @types/turndown) to latest 5.x/18.x patch versions.
  • Update Vite to a newer 6.x release to keep the bundler/dev-server in sync with ecosystem changes.
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:71` </location>
<code_context>
     "intersection-observer": "^0.12.2",
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
+    "jest-environment-jsdom": "^30.2.0",
     "postcss": "8.4.31",
     "prettier": "2.8.7",
</code_context>

<issue_to_address>
**issue (bug_risk):** Consider aligning `jest-environment-jsdom` major version with `jest` to avoid peer/dependency mismatches.

Jest is still on `^29.7.0` while `jest-environment-jsdom` is now `^30.2.0`, which is intended for Jest 30. To avoid incompatible peer deps or subtle test runtime issues, either upgrade Jest to 30 as well or keep `jest-environment-jsdom` on a Jest 29–compatible major version.
</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
Contributor

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 newer versions, including core libraries like @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @tanstack/react-query, react-hook-form, and build tools like @swc/core, typescript, and vite. The updates are primarily minor and patch version increments, keeping the project current with bug fixes and improvements while maintaining API compatibility.

Reviewed changes

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

File Description
package.json Updates 23 dependencies and 7 devDependencies to newer minor/patch versions
pnpm-lock.yaml Reflects transitive dependency updates and lock file consistency with package.json changes

💡 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