broccoli-funnel
Advanced tools
Comparing version 1.0.2 to 1.0.3
# master | ||
# 1.0.3 | ||
* update fs-tree-diff, fixes "rename only file in directory bug", possible performance improvements. | ||
# 1.0.2 | ||
@@ -4,0 +8,0 @@ |
15
index.js
@@ -208,3 +208,3 @@ 'use strict'; | ||
Funnel.prototype._processPaths = function(paths, outputToInputMappings) { | ||
Funnel.prototype._processPaths = function(paths) { | ||
return paths. | ||
@@ -227,3 +227,3 @@ slice(0). | ||
// clone to be compatible with walkSync | ||
nextTree = FSTree.fromPaths(this._processPaths(this.files)); | ||
nextTree = FSTree.fromPaths(this._processPaths(this.files), { sortAndExpand: true }); | ||
} else { | ||
@@ -238,5 +238,3 @@ var entries; | ||
nextTree = new FSTree({ | ||
entries: this._processEntries(entries) | ||
}); | ||
nextTree = FSTree.fromEntries(this._processEntries(entries), { sortAndExpand: true }); | ||
} | ||
@@ -282,6 +280,2 @@ | ||
if (operation === 'change') { | ||
operation = 'create'; | ||
} | ||
switch (operation) { | ||
@@ -297,3 +291,4 @@ case 'unlink' : | ||
break; | ||
case 'create'/* also change */ : | ||
case 'change': | ||
case 'create': | ||
var relativePath = outputToInput[outputRelative]; | ||
@@ -300,0 +295,0 @@ if (relativePath === undefined) { |
{ | ||
"name": "broccoli-funnel", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Broccoli plugin that allows you to filter files selected from an input node down based on regular expressions.", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"fast-ordered-set": "^1.0.0", | ||
"fs-tree-diff": "^0.3.0", | ||
"fs-tree-diff": "^0.5.0", | ||
"minimatch": "^3.0.0", | ||
@@ -29,0 +29,0 @@ "mkdirp": "^0.5.0", |
@@ -741,7 +741,7 @@ 'use strict'; | ||
expect(walkSync(outputPath)).to.eql([ | ||
'utility.js', | ||
'utility/', | ||
'utility/utils.js', | ||
'utility/utils/', | ||
'utility/utils/foo.js', | ||
'utility/utils.js', | ||
'utility.js' | ||
]); | ||
@@ -748,0 +748,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48334
991
+ Addedfs-tree-diff@0.5.9(transitive)
+ Addedheimdalljs@0.2.6(transitive)
+ Addedheimdalljs-logger@0.1.10(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedrsvp@3.2.1(transitive)
- Removedfs-tree-diff@0.3.1(transitive)
- Removedrsvp@3.6.2(transitive)
Updatedfs-tree-diff@^0.5.0