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.1.1 to 0.1.2

5

lib/gaze.js

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

// globals
var nodeVersion = process.versions.node.substring(0, 3);
var delay = 10;

@@ -274,3 +273,5 @@

fs.watchFile(file, opts, function(curr, prev) {
done(null, file);
if (curr.mtime.getTime() !== prev.mtime.getTime()) {
done(null, file);
}
});

@@ -277,0 +278,0 @@ } catch (err) {

2

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

@@ -6,0 +6,0 @@ "author": {

@@ -141,2 +141,3 @@ # gaze [![Build Status](https://secure.travis-ci.org/shama/gaze.png?branch=master)](http://travis-ci.org/shama/gaze)

## Release History
* 0.1.2 - Read triggering changed event fix
* 0.1.1 - Minor fixes

@@ -143,0 +144,0 @@ * 0.1.0 - Initial release

@@ -77,3 +77,3 @@ 'use strict';

this.on('added', function(filepath) {
test.equal(path.relative(process.cwd(), filepath), 'sub/tmp.js');
test.equal(path.relative(process.cwd(), filepath), path.join('sub', 'tmp.js'));
});

@@ -80,0 +80,0 @@ fs.writeFileSync(path.resolve(__dirname, 'fixtures', 'sub', 'tmp'), 'Dont add me!');

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