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

main-bower-files

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

main-bower-files - npm Package Compare versions

Comparing version 2.8.2 to 2.9.0

2

lib/index.js

@@ -98,3 +98,3 @@ var readFile = require('fs').readFileSync,

if (typeof opts.filter === 'string' || Array.isArray(opts.filter)) {
files = multimatch(files, opts.filter);
files = multimatch(files, opts.filter, {dot: true});
} else if (opts.filter instanceof RegExp) {

@@ -101,0 +101,0 @@ files = files.filter(function(file) {

@@ -0,0 +0,0 @@ var chalk = require('chalk'),

@@ -0,0 +0,0 @@ var path = require('path'),

{
"name": "main-bower-files",
"version": "2.8.2",
"version": "2.9.0",
"description": "Get main files from your installed bower packages.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -50,3 +50,3 @@ main-bower-files

`mainBowerFiles` returns an array of files where each file is a relative path without any globs (** or *). gulp requires globs in these paths to apply the base path. Because of this, you always have to tell gulp your bower base path (the path to the bower_components directory) explicitly.
`mainBowerFiles` returns an array of files where each file is a absolute path without any globs (** or *). gulp requires globs in these paths to apply the base path. Because of this, you always have to tell gulp your bower base path (the path to the bower_components directory) explicitly.
Here is an example:

@@ -266,1 +266,2 @@

WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@@ -0,0 +0,0 @@ var mainBowerFiles = require('../'),

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