mirror of
https://github.com/pnpm/pnpm.git
synced 2026-01-19 04:18:42 -05:00
* feat: pass pkgSnapshot to shouldForceResolve The shouldForceResolve hook now receives: - depPath: The dependency path (e.g., 'lodash@4.17.21') - pkgSnapshot: The lockfile entry with resolution, dependencies, etc. This replaces the previous wantedDependency argument, which was inconsistent with how wantedDependency is constructed for the resolve() method (where it contains the user's alias and full specifier from package.json).