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.2 to 0.16.3

4

CHANGELOG.md
# master
# 0.16.3
* Do not silently swallow errors in change/error event handlers
# 0.16.2

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

12

lib/watcher.js

@@ -53,4 +53,4 @@ var EventEmitter = require('events').EventEmitter

this.emit('change', hash)
}.bind(this), function(error) {
this.emit('error', error)
}.bind(this), function(err) {
this.emit('error', err)
if (Object.keys(self.watchedDirs).length === 0) {

@@ -62,3 +62,9 @@ console.error('An error occured before the first directory could be watched.')

}.bind(this))
.then(this.check.bind(this))
.then(this.check.bind(this), function(err) {
// Errors here are usually due to errors in change/error event handlers
console.error('An unexpected error occurred. Watcher quitting.')
console.error(err.stack)
// Rethrow in case a debugging tool wants to catch it
throw err
})
} else {

@@ -65,0 +71,0 @@ setTimeout(this.check.bind(this), interval)

{
"name": "broccoli",
"description": "Fast client-side asset builder",
"version": "0.16.2",
"version": "0.16.3",
"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