Skip to content

node: Fix pnpm incompatible handling of long tarball package dir names - #519

Merged
bbhtt merged 1 commit into
flatpak:masterfrom
WhyKickAmooCow:master
Mar 25, 2026
Merged

node: Fix pnpm incompatible handling of long tarball package dir names#519
bbhtt merged 1 commit into
flatpak:masterfrom
WhyKickAmooCow:master

Conversation

@WhyKickAmooCow

@WhyKickAmooCow WhyKickAmooCow commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Packages with long names, or that aren't lowercased result in directories incompatible with how pnpm expects them to be stored.
Upstream behaviour for long names in the store is specified in:

An example package that causes issues with the current implementation is https://codeload.github.com/jeffvli/Node-MPV/tar.gz/32b4d64395289ad710c41d481d2707a7acfc228f

@WhyKickAmooCow
WhyKickAmooCow requested a review from a team as a code owner March 25, 2026 09:06
@WhyKickAmooCow
WhyKickAmooCow marked this pull request as draft March 25, 2026 09:08
@WhyKickAmooCow
WhyKickAmooCow marked this pull request as ready for review March 25, 2026 09:13
@WhyKickAmooCow

Copy link
Copy Markdown
Contributor Author

Relevant to flathub/flathub#7033

@bbhtt

bbhtt commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

can you add a test for this?

@github-actions github-actions Bot added the node label Mar 25, 2026
@bbhtt
bbhtt merged commit caca92b into flatpak:master Mar 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants