Skip to content

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 patch or minor versions. These updates include both runtime dependencies and development dependencies, aiming to keep the project up-to-date with bug fixes and improvements from upstream libraries.

Dependency updates:

  • Updated runtime dependencies to newer versions, including @deskpro/app-sdk, @sentry/react, formik, lodash-es, react-hook-form, react-router-dom, and styled-components among others. [1] [2]
  • Updated development dependencies to newer versions, such as @swc/core, @swc/helpers, @types/react, @types/styled-components, and ts-jest. [1] [2]

Summary by Sourcery

Update project dependencies to newer patch and minor versions to keep runtime and tooling up to date.

Build:

  • Bump multiple runtime dependencies (e.g. @deskpro/app-sdk, @sentry/react, formik, lodash-es, react-hook-form, react-router-dom, styled-components) to their latest patch or minor versions.
  • Update build and tooling-related devDependencies (e.g. @swc/core, @swc/helpers, @types/react, @types/styled-components, ts-jest) to newer patch versions.

Chores:

  • Regenerate pnpm-lock.yaml to reflect updated dependency versions.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:09
@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 dependency versions in package.json (and syncs pnpm-lock.yaml) to the latest minor/patch releases, without changing any application or test code.

File-Level Changes

Change Details Files
Bump runtime dependencies to newer patch/minor versions.
  • Update @deskpro/app-sdk to ^6.0.8
  • Update @sentry/react to ^9.47.1
  • Update formik to ^2.4.9
  • Update lodash-es to ^4.17.22
  • Update react-hook-form to ^7.70.0
  • Update react-router-dom to ^6.30.2
  • Update styled-components to ^6.2.0
  • Align other transitive versions via lockfile update
package.json
pnpm-lock.yaml
Bump development/build-time dependencies to newer patch versions.
  • Update @swc/core to ^1.15.8 and @swc/helpers to ^0.5.18
  • Update @types/react to ^18.3.27 and @types/styled-components to ^5.1.36
  • Update ts-jest to ^29.4.6
  • Refresh lockfile to capture resolved versions of updated dev dependencies
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:31-40` </location>
<code_context>
+    "@sentry/react": "^9.47.1",
     "@sentry/vite-plugin": "^3.6.1",
     "@tanstack/react-query": "^4.42.0",
     "@types/react-flatpickr": "^3.8.11",
     "date-fns": "^3.6.0",
     "flatpickr": "^4.6.13",
</code_context>

<issue_to_address>
**suggestion:** Avoid maintaining two different versions of `@types/react-flatpickr` in both dependencies and devDependencies.

`@types/react-flatpickr` is declared twice with different versions (`dependencies`: 3.8.11, `devDependencies`: 3.8.8). This duplication and mismatch can cause confusing resolution behavior. Please keep a single entry with one version (likely in `devDependencies` only, unless needed at runtime).

Suggested implementation:

```
    "@tanstack/react-query": "^4.42.0",
    "date-fns": "^3.6.0",

```

In `devDependencies`, ensure there is a single `@types/react-flatpickr` entry and align its version to the desired one (e.g. update `"@types/react-flatpickr": "^3.8.8"` to `"@types/react-flatpickr": "^3.8.11"` if that’s the version you want to standardize on).
</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 multiple dependencies to their latest patch or minor versions, including both runtime and development dependencies. The changes follow semantic versioning conventions with no major version updates that would introduce breaking changes.

Reviewed changes

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

File Description
package.json Updates dependency version specifiers for 13 packages (8 runtime, 5 dev dependencies)
pnpm-lock.yaml Reflects the resolved versions and transitive dependency updates from the package.json changes

The dependency updates include:

  • Runtime dependencies: @deskpro/app-sdk (6.0.7→6.0.8), @sentry/react (9.46.0→9.47.1), formik (2.4.8→2.4.9), lodash-es (4.17.21→4.17.22), react-hook-form (7.66.0→7.70.0), react-router-dom (6.30.1→6.30.2), styled-components (6.1.19→6.2.0)
  • Dev dependencies: @swc/core (1.15.1→1.15.8), @swc/helpers (0.5.17→0.5.18), @types/react (18.3.26→18.3.27), @types/styled-components (5.1.35→5.1.36), ts-jest (29.4.5→29.4.6)

All updates are minor or patch version bumps that should not introduce breaking changes. The lockfile changes are consistent with the package.json updates and include expected transitive dependency updates.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 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