[TIMOB-26788] require fails on directory with package.json whose 'main' field points at another directory
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-03-25T11:27:11.000+0000 |
Affected Version/s | Release 8.0.0 |
Fix Version/s | Release 8.0.1 |
Components | Android, iOS, Windows |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2019-02-01T16:33:51.000+0000 |
Updated | 2019-03-25T11:27:11.000+0000 |
Description
If you attempted to require a directory (or npm package) that held a package.json in it whose 'main' field pointed at another directory - it failed to properly resolve that.
master/8.1.0: https://github.com/appcelerator/titanium_mobile/pull/10669 8.0.1: https://github.com/appcelerator/titanium_mobile/pull/10672
The PRs have been merged to master/8_0_X. There's no specific QE tests beyond the scenario already written into a unit test accompanying the change.
PR's are merged.
Closing ticket, test written into a unit test which accompanies the change as mentioned above.