mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-26 11:02:01 -04:00
* fix(auth-header): decode _password from base64 for default registry auth * fix(auth): prepend 'Bearer ' to auth token generated by tokenHelper * test: skip flaky parallel dlx test on Node 25 * fix(auth): improve tokenHelper Bearer prefix with validation and generic scheme detection - Throw an error when the token helper returns an empty token instead of producing an invalid "Bearer " header - Use a generic auth scheme regex instead of hardcoding only Bearer/Basic, so other schemes (Token, Negotiate, etc.) are preserved as-is - Add tests for raw token prefixing, existing scheme preservation, and empty token error --------- Co-authored-by: Zoltan Kochan <z@kochan.io>