Files
react-native/packager/react-packager/src/DependencyResolver/DependencyGraph
Amjad Masad 8356b609a5 Use different cache keys for Package objects (fixes #2949)
Summary: @​public

Dead-lock trying to read package.json because it's both a "module" and a "package". in `Module.getName` it uses the cache key "name" and tries to call `Package.getName` which uses the same cache key and we end up returning the same promise that we're trying to resolve resulting in a dead-lock.

This changes the cache keys for the packages that adds a prefix "package-".

Reviewed By: @vjeux

Differential Revision: D2506979
2015-10-04 12:37:25 -07:00
..
2015-09-30 21:02:50 -07:00
2015-09-30 21:02:50 -07:00
2015-09-30 21:02:50 -07:00
2015-09-30 21:02:50 -07:00