-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(core): support alias packages in affected locators detection #13585
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
// check if it's an alternative package e.g. npm:@myorg/[email protected] | ||
// standard package versions do not contain `@` | ||
const npmPackage = change.value.rhs.split('@').slice(0, -1).join('@'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems wrong that the path does not match the name of the project. I expect it should match because the "alias"ed path is just where to get a package from.. the real name of the package is.. the property name.
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Alias packages break the affected locators' package checking (more info in #13228)
Expected Behavior
Locators should support alias packages
Related Issue(s)
Fixes #13228