Skip to content

chore: upgrade deps #1188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2025
Merged

chore: upgrade deps #1188

merged 1 commit into from
Jul 14, 2025

Conversation

alexfreska
Copy link
Member

@alexfreska alexfreska commented Jul 14, 2025

  • A few more upgrades
  • use-local-storage-state has become esm-only, therefore this PR adjusts jest config
    • Also adds the type to every jest config
  • Axios 2.x requires adjusting headers type handling

@Copilot Copilot AI review requested due to automatic review settings July 14, 2025 15:14
Copy link

vercel bot commented Jul 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 6:07pm
explorer-zen ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 6:07pm
hostd ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 6:07pm
renterd ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 14, 2025 6:07pm

Copy link

changeset-bot bot commented Jul 14, 2025

⚠️ No Changeset found

Latest commit: eebfae0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-project-automation github-project-automation bot moved this to In Progress in Sia Jul 14, 2025
Copy link

@Copilot 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 upgrades various dependencies across the monorepo, aligns TypeScript and Jest configurations with updated libraries, and adjusts header typing to match Axios v1.

  • Bumped core dependencies (axios, use-local-storage-state, sharp, swc, ESLint, Jest environment)
  • Standardized Jest config files to import Config from Jest and export a typed config object
  • Updated header types and TS settings (JSX transform) to align with Axios v1 and React testing

Reviewed Changes

Copilot reviewed 39 out of 40 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
package.json Bumped axios, use-local-storage-state, sharp, swc, ESLint, and Jest-related deps
libs/react-core/src/request.ts Switched request and response header types to raw Axios header types
apps/renterd/lib/multipartUpload.spec.ts Updated test imports and typing for Axios header objects
apps/walletd/tsconfig.spec.json Changed JSX setting to react-jsx for modern transform in tests
Multiple jest.config.ts files Unified Jest configs to import Config from Jest and use export default config
Comments suppressed due to low confidence (1)

libs/react-core/src/request.ts:188

  • [nitpick] Changing Response.headers from AxiosResponseHeaders to RawAxiosResponseHeaders may break consumers expecting normalized header values; verify backward compatibility.
  headers?: RawAxiosResponseHeaders

@alexfreska alexfreska force-pushed the chore_upgrade_deps branch from 9ef98ba to 7682990 Compare July 14, 2025 15:23
@alexfreska alexfreska force-pushed the chore_upgrade_deps branch from 7682990 to 2a6e186 Compare July 14, 2025 15:43
@alexfreska alexfreska force-pushed the chore_upgrade_deps branch from 2a6e186 to c3d0d40 Compare July 14, 2025 16:21
@alexfreska alexfreska force-pushed the chore_upgrade_deps branch from c3d0d40 to 22d69c1 Compare July 14, 2025 16:31
@alexfreska alexfreska merged commit a1a0062 into main Jul 14, 2025
72 checks passed
@alexfreska alexfreska deleted the chore_upgrade_deps branch July 14, 2025 18:13
@github-project-automation github-project-automation bot moved this from In Progress to Done in Sia Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants