Skip to content

JS: resolve main module when there is a folder with the same name as the main file#9115

Merged
erik-krogh merged 1 commit intogithub:mainfrom
erik-krogh:fileAndFolder
May 12, 2022
Merged

JS: resolve main module when there is a folder with the same name as the main file#9115
erik-krogh merged 1 commit intogithub:mainfrom
erik-krogh:fileAndFolder

Conversation

@erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented May 11, 2022

Recognizes the source for CVE-2022-21803

See the test case to see what I mean.
There is both a folder and a file that basename sub.
And in that case we should resolve the main module to the file.

Evaluation was uneventful.

@github-actions github-actions bot added the JS label May 11, 2022
@erik-krogh erik-krogh marked this pull request as ready for review May 12, 2022 12:37
@erik-krogh erik-krogh requested a review from a team as a code owner May 12, 2022 12:37
@erik-krogh erik-krogh added the no-change-note-required This PR does not need a change note label May 12, 2022
@erik-krogh erik-krogh merged commit 762f7bf into github:main May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JS no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants