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

broccoli-funnel

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-funnel - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

7

package.json
{
"name": "broccoli-funnel",
"version": "0.2.6",
"version": "0.2.7",
"description": "Broccoli plugin that allows you to filter files selected from an input node down based on regular expressions.",

@@ -13,3 +13,4 @@ "main": "index.js",

"scripts": {
"test": "mocha tests/"
"test": "mocha tests/",
"test:debug": "mocha debug tests/"
},

@@ -26,3 +27,3 @@ "keywords": [

"symlink-or-copy": "^1.0.0",
"walk-sync-matcher": "^0.2.0"
"walk-sync-matcher": "^0.2.2"
},

@@ -29,0 +30,0 @@ "devDependencies": {

@@ -94,3 +94,2 @@ 'use strict';

it('works with mixed glob and RegExp includes', function() {

@@ -237,2 +236,16 @@ var inputPath = path.join(fixturePath, 'dir1');

it('matches *.css', function() {
var inputPath = path.join(fixturePath, 'dir1/subdir2');
var node = new Funnel(inputPath, {
include: ['*.css']
});
builder = new broccoli.Builder(node);
return builder.build()
.then(function(results) {
var outputPath = results.directory;
expect(walkSync(outputPath)).to.eql(['bar.css']);
});
});
it('does not error with input node at a missing nested source', function() {

@@ -338,3 +351,3 @@ var inputPath = path.join(fixturePath, 'dir1');

testAllIncludeMatchers([ '**/*.png' ], [ /.png$/ ],[ matchPNG ], [
testAllIncludeMatchers([ '**/*.png' ], [ /.png$/ ], [ matchPNG ], [
'subdir1/',

@@ -341,0 +354,0 @@ 'subdir1/subsubdir1/',

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