New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

changing

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

changing - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

History.md
1.0.1 / 2015-06-17
==================
* fix: file become exists, emit change event
1.0.0 / 2015-06-17

@@ -3,0 +8,0 @@ ==================

@@ -51,2 +51,3 @@ /**!

stat: null,
errorMessage: null
};

@@ -76,4 +77,19 @@ this._checkPath(fullpath);

if (err) {
if (info.errorMessage === err.message) {
// ignore this error
return;
}
info.errorMessage = err.message;
return that.emit('stat-error', err);
}
if (info.errorMessage) {
// error gone, need to emit change
info.errorMessage = null;
info.stat = stat;
info.event = 'change';
that.emit('change', info);
return;
}
if (!info.stat) {

@@ -80,0 +96,0 @@ info.stat = stat;

2

package.json
{
"name": "changing",
"version": "1.0.0",
"version": "1.0.1",
"description": "Watching `file`, `dir` or `link` changing, using interval timer.",

@@ -5,0 +5,0 @@ "main": "index.js",

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