Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
directories: providesModuleNodeModules.map((_: any) => {
if (typeof _ === 'string') {
if (_ === 'react-native') {
return path.join(
resolveModule(root, 'react-native'),
'Libraries'
);
}
return resolveModule(root, _);
}
return path.join(resolveModule(root, _.name), _.directory);
}),
hasteOptions: hasteOptions || {},
directories: providesModuleNodeModules.map((_: any) => {
if (typeof _ === 'string') {
if (_ === 'react-native') {
return path.join(
resolveModule(root, 'react-native'),
'Libraries'
);
}
return resolveModule(root, _);
}
return path.join(resolveModule(root, _.name), _.directory);
}),
hasteOptions: hasteOptions || {},
directories: providesModuleNodeModules.map((_: any) => {
if (typeof _ === 'string') {
if (_ === 'react-native') {
return path.join(
resolveModule(root, 'react-native'),
'Libraries'
);
}
return resolveModule(root, _);
}
return path.join(resolveModule(root, _.name), _.directory);
}),
hasteOptions: hasteOptions || {},
directories: providesModuleNodeModules.map((_: any) => {
if (typeof _ === 'string') {
if (_ === 'react-native') {
return path.join(
resolveModule(root, 'react-native'),
'Libraries'
);
}
return resolveModule(root, _);
}
return path.join(resolveModule(root, _.name), _.directory);
}),
hasteOptions: hasteOptions || {},
directories: providesModuleNodeModules.map((_: any) => {
if (typeof _ === 'string') {
if (_ === 'react-native') {
return path.join(
resolveModule(root, 'react-native'),
'Libraries'
);
}
return resolveModule(root, _);
}
return path.join(resolveModule(root, _.name), _.directory);
}),
hasteOptions: hasteOptions || {},
directories: providesModuleNodeModules.map((_: any) => {
if (typeof _ === 'string') {
if (_ === 'react-native') {
return path.join(
resolveModule(root, 'react-native'),
'Libraries'
);
}
return resolveModule(root, _);
}
return path.join(resolveModule(root, _.name), _.directory);
}),
hasteOptions: hasteOptions || {},