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.4.3 to 1.4.4

12

lib/detect-dependencies.js

@@ -50,8 +50,14 @@ /*

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

@@ -58,0 +64,0 @@

{
"name": "wiredep",
"main": "./wiredep.js",
"version": "1.4.3",
"version": "1.4.4",
"description": "Wire Bower dependencies to your source code.",

@@ -6,0 +6,0 @@ "repository": "taptapship/wiredep",

@@ -77,2 +77,9 @@ # wiredep

ignorePath: /string or regexp to ignore from the injected filepath/,
overrides: {
// see `Bower Overrides` section below.
//
// This inline object offers another way to define your overrides if
// modifying your project's `bower.json` isn't an option.
},

@@ -79,0 +86,0 @@ fileTypes: {

@@ -138,2 +138,3 @@ /*

('ignore-path', opts.ignorePath)
('overrides', _.extend({}, config.get('bower.json').overrides, opts.overrides))
('src', [])

@@ -140,0 +141,0 @@ ('stream', opts.stream ? opts.stream : {})

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