New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bower-files

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bower-files - npm Package Compare versions

Comparing version 3.12.0 to 3.13.1

9

lib/component.js

@@ -73,8 +73,11 @@ 'use strict';

var components = [];
if (options.dev) {
components = components.concat(this.devDependencies || []);
}
if (options.main) {
components = components.concat(this.dependencies || []);
}
if (options.dev) {
var devDependencies = this.devDependencies || [];
components = options.dev === 'after'
? components.concat(devDependencies)
: devDependencies.concat(components);
}

@@ -81,0 +84,0 @@ var dependencies = components

@@ -62,2 +62,7 @@ 'use strict';

dev: function dev(val) {
var self = this._filter();
if (val === 'after') {
self.options.dev = 'after';
return self;
}
return this._filter()._boolOption('dev', val, true);

@@ -64,0 +69,0 @@ },

{
"name": "bower-files",
"version": "3.12.0",
"version": "3.13.1",
"main": "./index",

@@ -38,4 +38,4 @@ "description": "Pulls in dynamic list of filepaths to bower components",

"istanbul": "^0.4.3",
"jshint": "^2.9.1",
"jshint-stylish": "^2.1.0",
"jshint": "^2.9.2",
"jshint-stylish": "^2.2.0",
"mocha": "^2.4.5",

@@ -46,4 +46,4 @@ "mocha-lcov-reporter": "^1.2.0"

"arrify": "^1.0.1",
"bower-config": "^1.3.1",
"camelcase": "^2.1.1",
"bower-config": "^1.4.0",
"camelcase": "^3.0.0",
"debug": "^2.2.0",

@@ -55,7 +55,7 @@ "deprecate": "^0.1.0",

"minimatch": "^3.0.0",
"object-assign": "^4.0.1",
"object-assign": "^4.1.0",
"read-json-sync": "^1.1.1",
"untildify": "^2.1.0",
"yargs": "^4.6.0"
"yargs": "^4.7.0"
}
}
# bower-files
[![io.js compatibility](https://img.shields.io/badge/io.js-compatible-brightgreen.svg?style=flat)](https://iojs.org/)
[![node.js compatibility](https://img.shields.io/badge/node.js-compatible-brightgreen.svg?style=flat)](https://nodejs.org/)
[![NPM version](http://img.shields.io/npm/v/bower-files.svg?style=flat)](https://www.npmjs.org/package/bower-files)

@@ -293,4 +290,4 @@ [![Dependency Status](http://img.shields.io/david/ksmithut/bower-files.svg?style=flat)](https://david-dm.org/ksmithut/bower-files)

This throws in your `devDependencies`. Right now they come before the normal
dependencies, but I may be convinced to change that if someone runs into issues.
This throws in your `devDependencies`. By default, they come before the normal
dependencies, but you can put them after by calling `lib.dev('after')`

@@ -297,0 +294,0 @@ ```javascript

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