Conversation
Reviewer's GuideThis PR upgrades several runtime and development dependencies in package.json (and syncs pnpm-lock.yaml accordingly) to newer minor/patch versions, including UI, routing, Sentry, query, testing, TypeScript, and build tooling libraries. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
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:73` </location>
<code_context>
"intersection-observer": "^0.12.2",
"jest": "^29.7.0",
- "jest-environment-jsdom": "^30.0.5",
+ "jest-environment-jsdom": "^30.2.0",
"prettier": "2.8.7",
"react-resize-observer": "^1.1.1",
</code_context>
<issue_to_address>
**issue (bug_risk):** Consider aligning `jest-environment-jsdom` major version with the Jest major version to avoid subtle test runtime mismatches.
Jest is pinned to `^29.7.0` while `jest-environment-jsdom` is at `^30.2.0`. Since the environment package typically matches Jest’s major version and may depend on internal APIs, this mismatch risks flaky or incorrect test behavior. Please either keep `jest-environment-jsdom` on a 29.x range or upgrade Jest to 30.x as well.
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
There was a problem hiding this comment.
Pull request overview
This pull request upgrades multiple project dependencies to their latest minor or patch versions, including both runtime and development dependencies. The updates cover core UI libraries, testing frameworks, build tools, and TypeScript-related packages to ensure compatibility, access to new features, and bug fixes.
Key changes:
- Updated core UI and functionality packages (@deskpro/deskpro-ui, @tanstack/react-query, formik, react-router-dom, styled-components)
- Upgraded monitoring and build tools (@sentry/react, @sentry/vite-plugin, vite)
- Updated development and testing dependencies (@swc/core, @testing-library/jest-dom, typescript, ts-jest)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Build for commit 38c3ec2 deployed to: https://jira-data-center-pr-77.ci.next.deskprodemo.com URLs: |
This pull request updates several dependencies and devDependencies in the
package.jsonfile to their latest minor or patch versions. These updates include both runtime and development tools, which help ensure compatibility, access to new features, and bug fixes.Dependency updates:
@deskpro/deskpro-ui,@fortawesome/react-fontawesome,@sentry/react,@sentry/vite-plugin,@tanstack/react-query,formik,javascript-time-ago,react-router-dom,react-time-ago,simplebar, andstyled-componentsto newer versions.@swc/core,@swc/helpers,@testing-library/jest-dom,@types/lodash,@types/react,jest-environment-jsdom,ts-jest, andtypescriptto more recent versions. [1] [2]viteto version6.4.1to ensure compatibility with other updated tooling.Summary by Sourcery
Update project dependencies and devDependencies to newer minor and patch versions to keep the toolchain and runtime libraries current.
Build:
Chores: