Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cumberbatch

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cumberbatch - npm Package Compare versions

Comparing version 0.1.16 to 0.1.17

12

lib/Watcher.js

@@ -25,2 +25,3 @@ var chokidar = require('./chokidar');

this._sortedPaths = [];
this._pathsAreSorted = false;

@@ -36,2 +37,6 @@ this._isReady = false;

Watcher.prototype.find = function (glob) {
if (!this._pathsAreSorted) {
this._generateSortedPaths();
}
var globPaths = {};

@@ -100,2 +105,3 @@ var globParts = glob.split(/\*|\{/);

this._sortedPaths.sort();
this._pathsAreSorted = true;
};

@@ -152,3 +158,3 @@

self._isReady = true;
self._generateSortedPaths();
self._pathsAreSorted = false;
self._onReady.resolve(true);

@@ -184,3 +190,3 @@ }

if (this._isReady) {
this._generateSortedPaths();
this._pathsAreSorted = false;

@@ -213,3 +219,3 @@ var event = {};

if (this._isReady) {
this._generateSortedPaths();
this._pathsAreSorted = false;

@@ -216,0 +222,0 @@ this.trigger(deleted);

{
"name": "cumberbatch",
"description": "crazy watcher stuff",
"version": "0.1.16",
"version": "0.1.17",
"homepage": "https://github.com/azulus/cumberbatch",

@@ -6,0 +6,0 @@ "authors": [

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