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 1.6.1 to 1.6.2

23

lib/detect-dependencies.js

@@ -50,16 +50,5 @@ /*

var findMainFiles = function (config, component, componentConfigFile) {
var overrides = config.get('overrides');
var filePaths = [];
var file;
if (overrides && overrides[component]) {
if (overrides[component].dependencies) {
componentConfigFile.dependencies = overrides[component].dependencies;
}
if (overrides[component].main) {
componentConfigFile.main = overrides[component].main;
}
}
if (_.isString(componentConfigFile.main)) {

@@ -111,2 +100,14 @@ // start by looking for what every component should have: config.main

var overrides = config.get('overrides');
if (overrides && overrides[component]) {
if (overrides[component].dependencies) {
componentConfigFile.dependencies = overrides[component].dependencies;
}
if (overrides[component].main) {
componentConfigFile.main = overrides[component].main;
}
}
var mains = findMainFiles(config, component, componentConfigFile);

@@ -113,0 +114,0 @@ var fileTypes = _.chain(mains).map(path.extname).unique().value();

{
"name": "wiredep",
"version": "1.6.1",
"version": "1.6.2",
"main": "./wiredep.js",

@@ -5,0 +5,0 @@ "bin": {

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