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.1 to 0.13.2

appveyor.yml

5

CHANGELOG.md
# master
# 0.13.2
* Extract slow trees printout into broccoli-slow-trees package
* Allow the tree `cleanup` method to be asynchronous (by returning a promise).
# 0.13.1

@@ -4,0 +9,0 @@

8

lib/builder.js
var path = require('path')
var findup = require('findup-sync')
var RSVP = require('rsvp')
var mapSeries = require('promise-map-series')

@@ -125,8 +126,9 @@

Builder.prototype.cleanup = function () {
for (var i = 0; i < this.allTreesRead.length; i++) {
var tree = this.allTreesRead[i]
function cleanupTree(tree) {
if (typeof tree !== 'string') {
tree.cleanup()
return tree.cleanup()
}
}
return mapSeries(this.allTreesRead, cleanupTree)
}

@@ -133,0 +135,0 @@

@@ -40,3 +40,3 @@ var fs = require('fs')

.finally(function () {
builder.cleanup()
return builder.cleanup()
})

@@ -43,0 +43,0 @@ .then(function () {

var EventEmitter = require('events').EventEmitter
var helpers = require('broccoli-kitchen-sink-helpers')
var printSlowTrees = require('./logging').printSlowTrees
var printSlowTrees = require('broccoli-slow-trees');

@@ -6,0 +6,0 @@

{
"name": "broccoli",
"description": "Fast client-side asset builder",
"version": "0.13.1",
"version": "0.13.2",
"author": "Jo Liss <joliss42@gmail.com>",
"main": "lib/index.js",
"license": "MIT",
"keywords": ["builder", "build", "frontend", "browser", "asset", "pipeline"],
"keywords": [
"builder",
"build",
"frontend",
"browser",
"asset",
"pipeline"
],
"repository": {

@@ -13,10 +20,13 @@ "type": "git",

},
"homepage": "https://github.com/broccolijs/broccoli",
"dependencies": {
"broccoli-kitchen-sink-helpers": "^0.2.0",
"broccoli-slow-trees": "^1.0.0",
"commander": "^2.0.0",
"connect": "^3.2.0",
"copy-dereference": "^1.0.0",
"findup-sync": "^0.1.2",
"handlebars": "^2.0.0",
"mime": "^1.2.11",
"copy-dereference": "^1.0.0",
"promise-map-series": "^0.2.0",
"rsvp": "^3.0.6",

@@ -29,5 +39,9 @@ "tiny-lr": "^0.1.4"

},
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"test": "jshint lib/*.js test/*.js && tap --stderr --timeout 2 ./test/*_test.js"
"pretest": "jshint lib test",
"test": "tap --stderr --timeout 2 ./test/*_test.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