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.8.0 to 0.9.0

4

CHANGELOG.md
# master
# 0.9.0
* `Brocfile.js` now exports a tree, not a function
# 0.8.0

@@ -4,0 +8,0 @@

@@ -101,5 +101,18 @@ var path = require('path')

var broccoli = require('./index')
var tree = require(brocfile)(broccoli)
var tree = require(brocfile)
if (typeof tree === 'function') {
throw new Error('Exporting a function in Brocfile.js is no longer supported. ' +
'Export a tree instead. To update, turn this\n' +
'\n' +
' module.exports = function (broccoli) {\n' +
' ...\n' +
' return someTree;\n' +
' };\n' +
'\n' +
'into this\n' +
'\n' +
' ...\n' +
' module.exports = someTree;\n')
}
if (Array.isArray(tree)) {

@@ -106,0 +119,0 @@ throw new Error('Returning an array from Brocfile.js is no longer supported\n' +

@@ -12,2 +12,5 @@ var builder = require('./builder')

}
exports.bowerTrees = function bowerTrees (dir) {
throw new Error('broccoli.bowerTrees has been extracted into the broccoli-bower plugin.\nUse `var findBowerTrees = require(\'broccoli-bower\'); findBowerTrees() // => array of trees` instead.')
}
exports.MergedTree = function MergedTree () {

@@ -14,0 +17,0 @@ throw new Error('broccoli.MergedTree has been extracted into the broccoli-merge-trees plugin.\n' +

2

package.json
{
"name": "broccoli",
"description": "Fast client-side asset builder",
"version": "0.8.0",
"version": "0.9.0",
"author": "Jo Liss <joliss42@gmail.com>",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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