Comparing version 0.1.7 to 0.1.8
@@ -103,5 +103,5 @@ /* | ||
var mains = findMainFiles(config, component, componentConfigFile); | ||
var fileTypes = mains.map(function (main) { | ||
var fileTypes = _.chain(mains).map(function (main) { | ||
return path.extname(main); | ||
}); | ||
}).unique().value(); | ||
@@ -195,8 +195,9 @@ dep.main = mains; | ||
return _.chain(dependencies). | ||
flatten(). | ||
filter(function (main) { | ||
return path.extname(main) === fileType; | ||
}). | ||
value(); | ||
return _ | ||
(dependencies). | ||
flatten(). | ||
value(). | ||
filter(function (main) { | ||
return path.extname(main) === fileType; | ||
}); | ||
}; | ||
@@ -203,0 +204,0 @@ |
{ | ||
"name": "wiredep", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Wire dependencies to your source code.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/stephenplusplus/wiredep", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13547
345