-
Notifications
You must be signed in to change notification settings - Fork 681
fix(metro-file-map): Fix Windows cross-device path resolution #1711
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
Closed
kitten
wants to merge
10
commits into
react:main
from
kitten:@kitten/fix/metro-file-map-windows-cross-device-paths
+238
−39
Closed
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
52c0e07
Add failing tests
kitten 0ba41e3
Fix RootPathUtils.normalToAbsolute not cutting off cross-device absol…
kitten 315f832
Prevent double-slash on Windows 'C:\' root path being appended with r…
kitten 1ed61d1
Remove re-normalization on recursive remove to stop relative caps
kitten 7e5aee3
Adjust relative root maximum for Windows
kitten 274c1af
Normalize absolute symlink targets to normals
kitten 27e7cb4
Add tests for cross-device symlink targets
kitten d95b7a6
Re-add relative at root test and guard cross-drive escaping to Windows
kitten 9884f2a
Drop `path.relative` and replace with `endsWith(path.sep` slice
kitten 72380c7
Apply lints
kitten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.