Skip to content

Fix: Update Axios - #3511

Closed
callicles with Copilot wants to merge 3 commits into
mainfrom
copilot/update-axios-dependency
Closed

Fix: Update Axios#3511
callicles with Copilot wants to merge 3 commits into
mainfrom
copilot/update-axios-dependency

Conversation

Copilot AI commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Problem

The axios update inadvertently stripped 49 libc constraint fields from pnpm-lock.yaml. Running pnpm install --no-frozen-lockfile regenerated the lockfile but lost platform metadata essential for musl vs glibc binary resolution on Linux systems. Without these constraints, pnpm may install glibc binaries on Alpine containers (or vice versa), causing runtime crashes.

Changes

Restored original lockfile with libc constraints, manually updated axios 1.7.9 → 1.13.5

  • Catalog specifier: axios: '1.13.5'
  • Importers version references
  • Packages resolution entry
  • Snapshots dependency entry

Result: 52 libc constraints preserved across native binary packages:

  • @biomejs/cli-* (4 packages)
  • @next/swc-linux-* (4 packages)
  • @rollup/rollup-linux-* (12 packages)
  • @swc/core-linux-* (6 packages)
  • @img/sharp-* (8 packages)
  • lightningcss-linux-* (6 packages)
  • Additional @napi-rs packages

Technical Notes

pnpm lockfile v9 requires libc constraints for correct platform-specific binary installation:

'@next/swc-linux-x64-musl@16.1.6':
  resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==}
  engines: {node: '>= 10'}
  cpu: [x64]
  os: [linux]
  libc: [musl]  # Critical for Alpine/musl-based containers

Avoid pnpm install --no-frozen-lockfile in this repo - it strips these constraints. Use targeted pnpm update <package> or manual lockfile edits.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Note

Low Risk
Dependency-only bump with minimal surface area; primary risk is runtime behavior changes in axios compared to 1.7.9.

Overview
Updates axios across the repo to 1.13.5, switching template package.json dependencies from caret ranges to a pinned version.

Refreshes the pnpm catalog and lockfile to resolve axios@1.13.5 (replacing 1.7.9) while keeping the rest of dependency graph unchanged.

Written by Cursor Bugbot for commit b2ef670. This will update automatically on new commits. Configure here.

@vercel

vercel Bot commented Feb 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-v2 Ready Ready Preview, Comment Feb 12, 2026 11:26pm

Request Review

Co-authored-by: callicles <4429209+callicles@users.noreply.github.com>
@callicles
callicles marked this pull request as ready for review February 12, 2026 22:23
Copilot AI changed the title [WIP] Update axios dependency to specific latest version Update axios to 1.13.5 with pinned versions and pnpm catalog Feb 12, 2026
Copilot AI requested a review from callicles February 12, 2026 22:24

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread pnpm-lock.yaml
…g axios 1.13.5

Co-authored-by: callicles <4429209+callicles@users.noreply.github.com>
Copilot AI changed the title Update axios to 1.13.5 with pinned versions and pnpm catalog Fix: Restore libc platform constraints stripped during axios update Feb 12, 2026
@callicles
callicles requested a review from a team February 13, 2026 03:09
@callicles
callicles enabled auto-merge February 13, 2026 16:13
@callicles callicles changed the title Fix: Restore libc platform constraints stripped during axios update Fix: Update Axios Feb 13, 2026
@callicles
callicles requested a review from a team February 14, 2026 23:01
@callicles callicles closed this Feb 19, 2026
auto-merge was automatically disabled February 19, 2026 17:20

Pull request was closed

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