Return undefined for skipped optional dependencies and unresolved peers instead of an empty path. Keep those aliases out of the children map so frozen installs cannot link them to the current working directory. Closes pnpm/pnpm#16454.
Return undefined for skipped optional dependencies and unresolved peers instead of an empty path. Keep those aliases out of the children map so frozen installs cannot link them to the current working directory. Closes pnpm/pnpm#16454.