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

egg-watcher

Package Overview
Dependencies
Maintainers
7
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-watcher - npm Package Compare versions

Comparing version 2.1.3 to 2.2.0

5

History.md
2.2.0 / 2017-09-08
==================
* feat: add event source event logs (#9)
2.1.3 / 2017-06-04

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

8

lib/watcher.js

@@ -24,5 +24,5 @@ 'use strict';

.on('fuzzy-change', this._onFuzzyChange.bind(this))
.on('info', msg => this.emit('info', msg))
.on('warn', msg => this.emit('warn', msg))
.on('error', err => this.emit('error', err));
.on('info', (...args) => this.emit('info', ...args))
.on('warn', (...args) => this.emit('warn', ...args))
.on('error', (...args) => this.emit('error', ...args));

@@ -72,2 +72,3 @@ this._eventSource.ready(() => this.ready(true));

_onChange(info) {
this.emit('info', 'Recieved a change event from eventSource: %j', info);
const path = info.path;

@@ -84,2 +85,3 @@

_onFuzzyChange(info) {
this.emit('info', 'Recieved a fuzzy-change event from eventSource: %j', info);
const path = info.path;

@@ -86,0 +88,0 @@

{
"name": "egg-watcher",
"version": "2.1.3",
"version": "2.2.0",
"description": "file watcher plugin for egg",

@@ -53,4 +53,4 @@ "eggPlugin": {

"ci": {
"version": "6, 7"
"version": "6, 7, 8"
}
}
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