refactor(@angular/cli): re-add resolveModule for find examples tool - #33129
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a resolveModule method to the Host interface and provides an implementation in LocalWorkspaceHost using Node's createRequire. Review feedback identifies a security risk where createRootRestrictedHost could bypass root restrictions if not updated, and suggests a correction to resolveModule to ensure it handles directory paths correctly. Additionally, MockHost requires an implementation to maintain test compatibility.
dbcb1b0 to
923326c
Compare
|
This PR was merged into the repository. The changes were merged into the following branches:
|
|
This pull request has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.