A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pnpm/pnpm/issues/8833 below:

avoid caching original tarball urls with redirections · Issue #8833 · pnpm/pnpm · GitHub

Verify latest release pnpm version

No response

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI, Lockfile, Store

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps
pnpm add https://pkg.pr.new/vite@main
Describe the Bug

As we discussed in discord, https://pkg.pr.new/vite@main redirects to another url (a git commit hash url, which is safe to cache) but pnpm will cache the main url instead.

this creates unexpected behavior as mentioned in stackblitz-labs/pkg.pr.new#281

Expected Behavior

As suggested by @zkochan, what pnpm can do is only caching the final url rather than the original url.

Which Node.js version are you using?

v22.11.0

Which operating systems have you used? If your OS is a Linux based, which one it is? (Include the version if relevant)

No response


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4