Comparing version 0.14.0 to 0.15.0
# master | ||
# 0.15.0 | ||
* Print deprecation warnings for plugins only providing old `.read` API | ||
# 0.14.0 | ||
@@ -4,0 +8,0 @@ |
@@ -144,2 +144,12 @@ var path = require('path') | ||
} else { | ||
if (typeof tree.read === 'function' && | ||
!tree.suppressDeprecationWarning) { | ||
if (!this.printedWarningIntro) { | ||
console.warn('[API] Note: Upcoming API change: https://github.com/broccolijs/broccoli/blob/master/docs/new-rebuild-api.md') | ||
console.warn('[API] Note: Plugins only providing old `.read` API will stop working in Broccoli 0.16') | ||
this.printedWarningIntro = true | ||
} | ||
console.warn('[API] Warning: Plugin only provides old `.read` API: ' + getDescription(tree)) | ||
tree.suppressDeprecationWarning = true | ||
} | ||
return tree | ||
@@ -146,0 +156,0 @@ } |
{ | ||
"name": "broccoli", | ||
"description": "Fast client-side asset builder", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"author": "Jo Liss <joliss42@gmail.com>", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.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
61744
501