Files
pnpm/pnpr
Zoltan Kochan c59e2a4c7b fix(pacquet): read legacy license fields (#13446)
TypeScript pnpm resolves package licenses from both the modern `license` field and the deprecated `licenses` field. Pacquet only accepted a string `license`, causing packages such as `exit`, `prettysize`, and `seq-queue` to be reported as `Unknown`.

Add a shared package-manifest extractor matching TypeScript precedence and legacy-field handling, and use it in `pnpm licenses list`. Cover the parser directly and verify the CLI result with a registry fixture.

Closes pnpm/pnpm#13438.
2026-07-27 23:26:13 +02:00
..