-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metro-resolver): package exports restricted paths (#1239)
Summary: This PR deals with restricting internal paths through the most specific subpath pattern edge case from #1236 - [x] - added test for implicit default condition to match Node.js resolution algorithm - [x] - aligned implementation of `reduceConditionalExport` to account for implicit default condition Changelog: [Experimental] Fix implicit default condition to be null for subpath patterns (edge case) Pull Request resolved: #1239 Test Plan: - [x] - all tests pass Reviewed By: EdmondChuiHW Differential Revision: D55244268 Pulled By: huntie fbshipit-source-id: e9cddbad2709a90a0282385a1b59ebc03735f975
- Loading branch information
1 parent
f76924f
commit ccf6256
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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