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

broccoli

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli - npm Package Compare versions

Comparing version 0.13.5 to 0.13.6

5

CHANGELOG.md
# 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 @@

2

docs/new-rebuild-api.md

@@ -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",

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