Socket
Socket
Sign inDemoInstall

gaze

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gaze - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

4

lib/gaze.js

@@ -20,2 +20,3 @@ /*

var platform = require('./platform');
var isAbsolute = require('absolute-path');

@@ -221,3 +222,4 @@ // keep track of instances to call multiple times for backwards compatibility

try {
platform(path.join(self.options.cwd, file), self._trigger.bind(self));
var filepath = (!isAbsolute(file)) ? path.join(self.options.cwd, file) : file;
platform(filepath, self._trigger.bind(self));
} catch (err) {

@@ -224,0 +226,0 @@ self.emit('error', err);

{
"name": "gaze",
"description": "A globbing fs.watch wrapper built from the best parts of other fine watch libs.",
"version": "0.6.0",
"version": "0.6.1",
"homepage": "https://github.com/shama/gaze",

@@ -35,3 +35,4 @@ "author": {

"bindings": "~1.2.0",
"nan": "~0.8.0"
"nan": "~0.8.0",
"absolute-path": "0.0.0"
},

@@ -38,0 +39,0 @@ "devDependencies": {

@@ -189,2 +189,3 @@ # gaze [![Build Status](http://img.shields.io/travis/shama/gaze.svg)](https://travis-ci.org/shama/gaze) [![gittip.com/shama](http://img.shields.io/gittip/shama.svg)](https://www.gittip.com/shama)

## Release History
* 0.6.1 - Fix for absolute paths.
* 0.6.0 - Uses native OS events (fork of pathwatcher) but can fall back to stat polling. Everything is async to avoid blocking, including `relative()` and `watched()`. Better error handling. Update to globule@0.2.0. No longer watches `cwd` by default. Added `mode` option. Better `EMFILE` message. Avoids `ENOENT` errors with symlinks. All constructor arguments are optional.

@@ -191,0 +192,0 @@ * 0.5.1 - Use setImmediate (process.nextTick for node v0.8) to defer ready/nomatch events (@amasad).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc