broccoli-persistent-filter
Advanced tools
Comparing version 1.2.11 to 1.2.12
16
index.js
@@ -52,11 +52,16 @@ 'use strict'; | ||
var name = 'broccoli-persistent-filter:' + (this.constructor.name); | ||
var loggerName = 'broccoli-persistent-filter:' + (this.constructor.name); | ||
var annotation = (options && options.annotation) || this.annotation || this.description; | ||
if (this.description) { | ||
name += ' > [' + this.description + ']'; | ||
if (annotation) { | ||
loggerName += ' > [' + annotation + ']'; | ||
} | ||
this._logger = debugGenerator(name); | ||
this._logger = debugGenerator(loggerName); | ||
Plugin.call(this, [inputTree]); | ||
Plugin.call(this, [inputTree], { | ||
name: (options && options.name) || this.name || loggerName, | ||
annotation: (options && options.annotation) || this.annotation || annotation, | ||
persistentOutput: true | ||
}); | ||
@@ -66,3 +71,2 @@ this.processor = new Processor(options); | ||
this.currentTree = new FSTree(); | ||
this._persistentOutput = true; | ||
@@ -69,0 +73,0 @@ /* Destructuring assignment in node 0.12.2 would be really handy for this! */ |
{ | ||
"name": "broccoli-persistent-filter", | ||
"version": "1.2.11", | ||
"version": "1.2.12", | ||
"description": "broccoli filter but with a persistent cache", | ||
@@ -51,6 +51,6 @@ "author": "Stefan Penner <stefan.penner@gmail.com>", | ||
"broccoli-test-helpers": "^0.0.9", | ||
"chai": "^3.0.0", | ||
"chai-as-promised": "^5.1.0", | ||
"chai-files": "^1.2.0", | ||
"coveralls": "^2.11.4", | ||
"chai": "^3.5.0", | ||
"chai-as-promised": "^6.0.0", | ||
"chai-files": "^1.4.0", | ||
"coveralls": "^2.11.10", | ||
"istanbul": "^0.4.2", | ||
@@ -57,0 +57,0 @@ "minimatch": "^3.0.2", |
@@ -152,3 +152,3 @@ # broccoli-persistent-filter | ||
It is recommended that persistent re-builds is opt-in by the consumer as it does not currently work on all systems. | ||
It is recommended that persistent re-builds is opt-in by the consuming plugin author, as if no reasonable cache key can be created it should not be used. | ||
@@ -155,0 +155,0 @@ ```js |
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
24098
362