Comparing version 0.13.5 to 0.13.6
# master | ||
# 0.13.6 | ||
* Throw helpful error when we encounter as-yet unsupported [`.rebuild`-based | ||
plugins](https://github.com/broccolijs/broccoli/blob/master/docs/new-rebuild-api.md) | ||
# 0.13.5 | ||
@@ -4,0 +9,0 @@ |
@@ -14,3 +14,3 @@ # New `.rebuild` API for Broccoli Plugins | ||
Broccoli up to 0.13.x supports only plugins that provide the old `.read` API. | ||
Broccoli 0.13.4 additionally throws a helpful error message if a plugin only | ||
Broccoli 0.13.6 additionally throws a helpful error message if a plugin only | ||
provides the new `.rebuild` API. | ||
@@ -17,0 +17,0 @@ |
@@ -69,2 +69,5 @@ var path = require('path') | ||
} else if (!tree || typeof tree.read !== 'function') { | ||
if (tree && typeof tree.rebuild === 'function') { | ||
throw new Error('The ' + getDescription(tree) + ' plugin uses the new `.rebuild` API. Upgrade to Broccoli 0.14.0 or newer to use this plugin. More info: https://github.com/broccolijs/broccoli/blob/master/docs/new-rebuild-api.md') | ||
} | ||
throw new Error('Invalid tree found. You must supply a path or an object with a `read` function: ' + getDescription(tree)) | ||
@@ -71,0 +74,0 @@ } else { |
{ | ||
"name": "broccoli", | ||
"description": "Fast client-side asset builder", | ||
"version": "0.13.5", | ||
"version": "0.13.6", | ||
"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
57960
433