Socket
Socket
Sign inDemoInstall

watchr

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watchr - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

8

History.md
## History
- v2.3.1 December 19, 2012
- Fixed a bug with closing directories that have children
- Thanks to [Casey Foster](https://github.com/caseywebdev) for [issue #23](https://github.com/bevry/watchr/issues/23)
- v2.3.0 December 17, 2012

@@ -15,3 +19,3 @@ - This is a backwards compatiblity break, however updating is easy, read the notes below.

- `unlink` is now `delete`
- We've updated the return arguments for `require('watchr).watch` for better consitency:
- We've updated the return arguments for `require('watchr').watch` for better consitency:
- if you send the `paths` option, you will receive the arguments `err, results` where `results` is an array of watcher instances

@@ -85,2 +89,2 @@ - if you send the `path` option, you receive the arguments `err, watcherInstance`

- v0.1.0 Nov 13, 2012
- Initial working version
- Initial working version

@@ -325,3 +325,3 @@ // Generated by CoffeeScript 1.4.0

if (!__hasProp.call(_ref, childRelativePath)) continue;
this.closeChild(childRelativePath, type);
this.closeChild(childRelativePath, reason);
}

@@ -328,0 +328,0 @@ if (this.method === 'watchFile') {

{
"name": "watchr",
"version": "2.3.0",
"version": "2.3.1",
"description": "Better file system watching for Node.js",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/bevry/watchr",

@@ -10,3 +10,3 @@ ## Watchr: better file system watching for Node.js

- `listener` a single change listener to fire when a change occurs
- `listeners` an array of listeners to fire when a change occurs, overloaded to also accept
- `listeners` an array of listeners to fire when a change occurs, overloaded to accept the following values:
- `changeListener` a single change listener

@@ -13,0 +13,0 @@ - `[changeListener]` an array of change listeners

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