|
1 | 1 | patch-package
|
| 2 | +--- a/node_modules/react-native/jest/hasteImpl.js |
| 3 | ++++ b/node_modules/react-native/jest/hasteImpl.js |
| 4 | +@@ -18,9 +18,9 @@ const ROOTS = [ |
| 5 | + ]; |
| 6 | + |
| 7 | + const BLACKLISTED_PATTERNS /*: Array<RegExp> */ = [ |
| 8 | +- /.*\/__(mocks|tests)__\/.*/, |
| 9 | +- /^Libraries\/Animated\/src\/polyfills\/.*/, |
| 10 | +- /^Libraries\/Renderer\/fb\/.*/, |
| 11 | ++ /.*[\\\/]__(mocks|tests)__[\\\/].*/, |
| 12 | ++ /^Libraries[\\\/]Animated[\\\/]src[\\\/]polyfills[\\\/].*/, |
| 13 | ++ /^Libraries[\\\/]Renderer[\\\/]fb[\\\/].*/, |
| 14 | + ]; |
| 15 | + |
| 16 | + const WHITELISTED_PREFIXES /*: Array<string> */ = [ |
| 17 | +@@ -32,7 +32,7 @@ const WHITELISTED_PREFIXES /*: Array<string> */ = [ |
| 18 | + |
| 19 | + const NAME_REDUCERS /*: Array<[RegExp, string]> */ = [ |
| 20 | + // extract basename |
| 21 | +- [/^(?:.*\/)?([a-zA-Z0-9$_.-]+)$/, '$1'], |
| 22 | ++ [/^(?:.*[\\\/])?([a-zA-Z0-9$_.-]+)$/, '$1'], |
| 23 | + // strip .js/.js.flow suffix |
| 24 | + [/^(.*)\.js(\.flow)?$/, '$1'], |
| 25 | + // strip .android/.ios/.native/.web suffix |
2 | 26 | --- a/node_modules/react-native/local-cli/bundle/assetPathUtils.js
|
3 | 27 | +++ b/node_modules/react-native/local-cli/bundle/assetPathUtils.js
|
4 | 28 | @@ -19,17 +19,17 @@ import type {PackagerAsset} from '../../Libraries/Image/AssetRegistry';
|
|
0 commit comments