Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wiredep

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiredep - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

17

lib/detect-dependencies.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc