Skip to content

Comments

Upgrade Deps#91

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

Upgrade Deps#91
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 in the package.json file to their latest minor or patch versions. These updates include both production and development dependencies, aiming to keep the project up-to-date with bug fixes, performance improvements, and new features.

Dependency updates:

  • Updated production dependencies such as @deskpro/app-sdk, @deskpro/deskpro-ui, @fortawesome/react-fontawesome, @sentry/react, @sentry/vite-plugin, formik, javascript-time-ago, react-router-dom, react-time-ago, simplebar, and styled-components to newer versions.
  • Updated development dependencies including @types/lodash, @types/react, jest-environment-jsdom, ts-jest, typescript, and vite to their latest versions. [1] [2]

Summary by Sourcery

Update project dependencies to newer minor and patch versions across runtime and development tooling.

Build:

  • Bump multiple runtime dependencies (Deskpro SDK/UI, Sentry, routing, styling, and related libraries) to newer compatible versions in package.json.
  • Upgrade development and tooling dependencies (TypeScript, Vite, Jest environment, ts-jest, and type packages) to their latest minor or patch releases and refresh the lockfile.

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

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR bumps a set of runtime and dev dependencies to newer minor/patch versions in package.json and syncs pnpm-lock.yaml accordingly, with no code changes beyond the lockfile update.

File-Level Changes

Change Details Files
Update runtime dependencies to latest minor/patch versions to pick up fixes and features.
  • Bump @deskpro/app-sdk and @deskpro/deskpro-ui to newer 6.x/8.x releases.
  • Update @fortawesome/react-fontawesome, @sentry/react, and @sentry/vite-plugin to their latest compatible versions.
  • Increment formik, javascript-time-ago, react-router-dom, react-time-ago, simplebar, and styled-components within their current major versions.
package.json
pnpm-lock.yaml
Update tooling and type-related devDependencies to current versions.
  • Bump @types/lodash and @types/react to latest patch versions.
  • Update jest-environment-jsdom and ts-jest within the Jest 29/30 ecosystem.
  • Upgrade TypeScript and Vite to the latest 5.x and 6.x patch/minor releases respectively and refresh lockfile.
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, and left some high level feedback:

  • The upgrade to jest-environment-jsdom@30.x while keeping jest@29.x may introduce version mismatch issues, since v30 is designed for Jest 30; consider keeping these on the same major version or confirming compatibility explicitly.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The upgrade to `jest-environment-jsdom@30.x` while keeping `jest@29.x` may introduce version mismatch issues, since v30 is designed for Jest 30; consider keeping these on the same major version or confirming compatibility explicitly.

## Individual Comments

### Comment 1
<location> `package.json:64` </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 Jest to avoid subtle test runtime issues.

Jest is still on ^29.7.0 while jest-environment-jsdom is on ^30.2.0. Since jest-environment-jsdom majors usually track Jest majors, this mismatch can cause subtle or breaking test behavior. Please either keep jest-environment-jsdom on a 29.x release or upgrade Jest to 30.x so their major versions stay aligned.
</issue_to_address>

### Comment 2
<location> `package.json:69` </location>
<code_context>
-    "typescript": "^5.8.3",
-    "vite": "^6.3.6"
+    "ts-jest": "^29.4.6",
+    "typescript": "^5.9.3",
+    "vite": "^6.4.1"
   }
</code_context>

<issue_to_address>
**suggestion (testing):** Double‑check ts-jest compatibility with TypeScript 5.9.x.

Since TypeScript is upgraded to ^5.9.3 while ts-jest stays at ^29.4.6, please verify that this ts-jest version officially supports TS 5.9, or bump ts-jest to a release that does. Version skew here can cause hard-to-diagnose test compile/type errors.

Suggested implementation:

```
    "slugify": "^1.6.6",
    "ts-jest": "^29.5.0",
    "typescript": "^5.9.3",
    "vite": "^6.4.1"

```

1. After bumping `ts-jest`, run `npm install` or `yarn install` to update the lockfile.
2. Run the Jest test suite to confirm there are no new compilation or type errors introduced by the new `ts-jest`/TypeScript combination.
3. If your actual supported version (per `ts-jest`'s official compatibility table) is different from `^29.5.0`, adjust the version in `package.json` accordingly.
</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.

"eslint-plugin-react-hooks": "4.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.0.5",
"jest-environment-jsdom": "^30.2.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (testing): Align jest-environment-jsdom major version with Jest to avoid subtle test runtime issues.

Jest is still on ^29.7.0 while jest-environment-jsdom is on ^30.2.0. Since jest-environment-jsdom majors usually track Jest majors, this mismatch can cause subtle or breaking test behavior. Please either keep jest-environment-jsdom on a 29.x release or upgrade Jest to 30.x so their major versions stay aligned.

"typescript": "^5.8.3",
"vite": "^6.3.6"
"ts-jest": "^29.4.6",
"typescript": "^5.9.3",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (testing): Double‑check ts-jest compatibility with TypeScript 5.9.x.

Since TypeScript is upgraded to ^5.9.3 while ts-jest stays at ^29.4.6, please verify that this ts-jest version officially supports TS 5.9, or bump ts-jest to a release that does. Version skew here can cause hard-to-diagnose test compile/type errors.

Suggested implementation:

    "slugify": "^1.6.6",
    "ts-jest": "^29.5.0",
    "typescript": "^5.9.3",
    "vite": "^6.4.1"

  1. After bumping ts-jest, run npm install or yarn install to update the lockfile.
  2. Run the Jest test suite to confirm there are no new compilation or type errors introduced by the new ts-jest/TypeScript combination.
  3. If your actual supported version (per ts-jest's official compatibility table) is different from ^29.5.0, adjust the version in package.json accordingly.

@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 upgrades multiple dependencies to their latest minor and patch versions, including both production and development dependencies. The updates aim to incorporate bug fixes, performance improvements, and new features from newer package versions.

Key Changes:

  • Updated 11 production dependencies including core libraries like @deskpro/app-sdk, @fortawesome/react-fontawesome, @sentry/react, formik, and react-router-dom
  • Updated 6 development dependencies including @types/lodash, @types/react, jest-environment-jsdom, ts-jest, typescript, and vite
  • All pnpm-lock.yaml changes are automatically generated and consistent with package.json updates

Reviewed changes

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

File Description
package.json Updates version specifiers for 17 dependencies with mostly minor/patch version bumps
pnpm-lock.yaml Automatically generated lockfile reflecting the dependency tree changes from package.json updates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"@deskpro/deskpro-ui": "^8.4.0",
"@fortawesome/free-solid-svg-icons": "^6.7.2",
"@fortawesome/react-fontawesome": "^0.2.2",
"@fortawesome/react-fontawesome": "^0.2.6",
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package "@fortawesome/react-fontawesome" at version "^0.2.6" is deprecated. The deprecation notice indicates that v0.2.x is no longer supported unless using FontAwesome 5, and recommends updating to v3.1.1 or greater. Consider upgrading to the latest v3.x version for continued support and compatibility.

Suggested change
"@fortawesome/react-fontawesome": "^0.2.6",
"@fortawesome/react-fontawesome": "^3.1.1",

Copilot uses AI. Check for mistakes.
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