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.16.7 to 0.16.8

4

CHANGELOG.md
# master
# 0.16.8
* Add builder hooks
# 0.16.7

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

@@ -34,2 +34,4 @@ var path = require('path')

RSVP.EventTarget.mixin(Builder.prototype)
Builder.prototype.build = function (willReadStringTree) {

@@ -43,2 +45,3 @@ var builder = this

.then(function () {
builder.trigger('start')
return readAndReturnNodeFor(builder.tree) // call builder.tree.read()

@@ -48,3 +51,6 @@ })

.finally(appendNewTreesRead)
.catch(wrapStringErrors);
.finally(function() {
builder.trigger('end')
})
.catch(wrapStringErrors)

@@ -79,2 +85,4 @@

builder.trigger('nodeStart', node)
// we don't actually support duplicate trees, as such we should likely tag them..

@@ -142,2 +150,3 @@ // and kill the parallel array structure

.then(function (treeDir) {
builder.trigger('nodeEnd', node)
if (treeDir == null) throw new Error(tree + ': .read must return a directory')

@@ -144,0 +153,0 @@ node.directory = treeDir

2

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

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

@@ -70,5 +70,5 @@ # Broccoli

```js
var funnel = require('broccoli-funnel')
var Funnel = require('broccoli-funnel')
module.exports = funnel('app', {
module.exports = new Funnel('app', {
destDir: 'appkit'

@@ -75,0 +75,0 @@ })

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