Comparing version 0.2.0 to 0.2.1
0.2.1 / 2014-11-11 | ||
================== | ||
* add missing argument for factory function (@luckydrq) | ||
0.2.0 / 2014-06-16 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -76,4 +76,4 @@ /**! | ||
Watcher.watch = function (dirs, done) { | ||
return new Watcher(dirs, done); | ||
Watcher.watch = function (dirs, options, done) { | ||
return new Watcher(dirs, options, done); | ||
}; | ||
@@ -109,3 +109,3 @@ | ||
}).on('error', function (err) { | ||
that.emit('watch-error-' + dir); | ||
that.emit('watch-error-' + dir, err); | ||
}).on('end', function () { | ||
@@ -112,0 +112,0 @@ debug('watch %s done', dir); |
{ | ||
"name": "wt", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "wt: Simple dir watcher, including all subdirectories, support multi dirs", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "make test-all" | ||
"test": "mocha --check-leaks -R spec -t 5000 -r should test/*.test.js", | ||
"test-cov": "node node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 -r should test/*.test.js", | ||
"test-travis": "node node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 -r should test/*.test.js", | ||
"jshint": "jshint .", | ||
"autod": "autod -w --prefix '~'", | ||
"cnpm": "npm install --registry=https://registry.npm.taobao.org", | ||
"contributors": "contributors -f plain -o AUTHORS" | ||
}, | ||
"config": { | ||
"cov": { | ||
"threshold": 85 | ||
} | ||
}, | ||
"dependencies": { | ||
"debug": "~0.8.1", | ||
"debug": "~2.1.0", | ||
"ndir": "~0.1.5" | ||
@@ -22,7 +23,7 @@ }, | ||
"cov": "*", | ||
"istanbul-harmony": "*", | ||
"istanbul": "*", | ||
"jshint": "*", | ||
"mocha": "*", | ||
"pedding": "~0.0.3", | ||
"should": "~3.3.1" | ||
"pedding": "~1.0.0", | ||
"should": "~4.3.0" | ||
}, | ||
@@ -29,0 +30,0 @@ "homepage": "https://github.com/node-modules/wt", |
wt | ||
======= | ||
[![Build Status](https://secure.travis-ci.org/node-modules/wt.png)](http://travis-ci.org/node-modules/wt) | ||
[![Dependency Status](https://gemnasium.com/node-modules/wt.png)](https://gemnasium.com/node-modules/wt) | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
[![Test coverage][coveralls-image]][coveralls-url] | ||
[![Gittip][gittip-image]][gittip-url] | ||
[![David deps][david-image]][david-url] | ||
[![node version][node-image]][node-url] | ||
[![npm download][download-image]][download-url] | ||
[![NPM](https://nodei.co/npm/wt.png?downloads=true&stars=true)](https://nodei.co/npm/wt/) | ||
[npm-image]: https://img.shields.io/npm/v/wt.svg?style=flat-square | ||
[npm-url]: https://npmjs.org/package/wt | ||
[travis-image]: https://img.shields.io/travis/node-modules/wt.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/node-modules/wt | ||
[coveralls-image]: https://img.shields.io/coveralls/node-modules/wt.svg?style=flat-square | ||
[coveralls-url]: https://coveralls.io/r/node-modules/wt?branch=master | ||
[gittip-image]: https://img.shields.io/gittip/fengmk2.svg?style=flat-square | ||
[gittip-url]: https://www.gittip.com/fengmk2/ | ||
[david-image]: https://img.shields.io/david/node-modules/wt.svg?style=flat-square | ||
[david-url]: https://david-dm.org/node-modules/wt | ||
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square | ||
[node-url]: http://nodejs.org/download/ | ||
[download-image]: https://img.shields.io/npm/dm/wt.svg?style=flat-square | ||
[download-url]: https://npmjs.org/package/wt | ||
@@ -46,3 +64,3 @@ ![logo](https://raw.github.com/node-modules/wt/master/logo.png) | ||
Copyright (c) 2014 fengmk2 <fengmk2@gmail.com> and other contributors | ||
Copyright (c) 2014 fengmk2 <fengmk2@gmail.com> and other contributors | ||
@@ -49,0 +67,0 @@ Permission is hereby granted, free of charge, to any person obtaining |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10064
84
6
+ Addeddebug@2.1.3(transitive)
+ Addedms@0.7.0(transitive)
- Removeddebug@0.8.1(transitive)
Updateddebug@~2.1.0