Skip to content

Comments

Upgrade Deps#79

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

Upgrade Deps#79
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 development dependencies in the package.json file to their latest minor or patch versions. These updates help ensure compatibility, improved features, and bug fixes across the project.

Dependency updates:

  • Upgraded core dependencies such as @deskpro/app-sdk, @deskpro/deskpro-ui, @sentry/react, @sentry/vite-plugin, @swc/core, @tanstack/react-query, react-hook-form, react-router-dom, react-time-ago, and styled-components to newer versions.
  • Updated utility libraries like javascript-time-ago to the latest patch version.

Development dependency updates:

  • Bumped type definitions including @types/lodash and @types/react to newer patch versions.
  • Updated testing and build tools such as jest-environment-jsdom, ts-jest, typescript, and vite to the latest minor or patch versions.

Summary by Sourcery

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

Build:

  • Bump application dependencies (Deskpro SDK/UI, Sentry, SWC, TanStack React Query, React Hook Form, React Router, React Time Ago, styled-components, and javascript-time-ago) to newer minor or patch releases.
  • Upgrade development tooling and type definitions (Jest JSDOM environment, ts-jest, TypeScript, Vite, and @types packages) to more recent versions.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR upgrades a set of runtime and dev dependencies in package.json (and the corresponding pnpm-lock.yaml) to newer minor and patch versions, primarily for SDK, UI, Sentry, React tooling, and build/test stack, without any application code changes.

File-Level Changes

Change Details Files
Update application runtime dependencies to newer minor/patch versions.
  • Bump @deskpro/app-sdk and @deskpro/deskpro-ui to newer minor versions to align with the latest Deskpro platform features and fixes.
  • Upgrade Sentry client and Vite plugin packages to more recent 9.x and 3.x releases for improved error reporting and bundler integration.
  • Update @swc/core and @tanstack/react-query to newer 1.x and 4.x patch/minor versions for transpilation and data-fetching improvements.
  • Refresh javascript-time-ago, react-hook-form, react-router-dom, react-time-ago, and styled-components to the latest compatible minor/patch versions to keep UI and form/time-handling libraries current.
package.json
pnpm-lock.yaml
Update development and tooling dependencies to latest compatible versions.
  • Bump @types/lodash and @types/react to newer patch versions to match the updated runtime libraries and improve type accuracy.
  • Upgrade jest-environment-jsdom and ts-jest to newer 30.x/29.x patch versions to keep the Jest testing environment aligned with current Node and JSDOM behavior.
  • Update TypeScript to 5.9.3 for compiler improvements and language service fixes.
  • Increase Vite from 6.3.6 to 6.4.1 for build tooling updates and bug fixes.
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>
     "eslint-plugin-react-hooks": "4.3.0",
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
+    "jest-environment-jsdom": "^30.2.0",
     "postcss": "8.4.31",
     "prettier": "^2.8.8",
</code_context>

<issue_to_address>
**issue (bug_risk):** Version mismatch between Jest core and jest-environment-jsdom may cause runtime issues.

jest is still on ^29.7.0 while jest-environment-jsdom is now ^30.2.0. Since the env package usually matches Jest’s major version, this mismatch can cause subtle runtime/config issues. Consider either keeping jest-environment-jsdom on a 29.x version or upgrading Jest to 30.x in the same change and verifying compatibility.
</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 updates multiple dependencies and development dependencies to their latest minor or patch versions. The updates include core framework packages, build tools, testing utilities, and type definitions. All changes are conservative, staying within semver-compatible ranges without any major version bumps.

Key Changes:

  • Core dependencies: @deskpro/app-sdk (6.0.6→6.0.8), @deskpro/deskpro-ui (8.3.1→8.4.0)
  • Build and monitoring tools: @sentry/react (9.38.0→9.47.1), @swc/core (1.12.14→1.15.8), vite (6.3.6→6.4.1), typescript (5.8.3→5.9.3)
  • Testing utilities: jest-environment-jsdom (30.0.5→30.2.0), ts-jest (29.4.0→29.4.6)
  • React ecosystem: react-hook-form (7.60.0→7.70.0), react-router-dom (6.30.1→6.30.2), react-time-ago (7.3.3→7.3.5)

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 16 dependencies and devDependencies to newer minor/patch versions
pnpm-lock.yaml Comprehensive lock file update with transitive dependency resolutions matching 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