Skip to content

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

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

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

Conversation

@WhyKickAmooCow
Copy link
Copy Markdown
Contributor

@WhyKickAmooCow WhyKickAmooCow commented Mar 25, 2026

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
Copy link
Copy Markdown
Collaborator

bbhtt commented Mar 25, 2026

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