Socket
Socket
Sign inDemoInstall

chokidar

Package Overview
Dependencies
14
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.5.3 to 3.6.0

2

index.js

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

if (!this._readyCount) this._readyCount = paths.length;
if (this.options.persistent) this._readyCount *= 2;
if (this.options.persistent) this._readyCount += paths.length;
paths.forEach((path) => this._fsEventsHandler._addToFsEvents(path));

@@ -447,0 +447,0 @@ } else {

@@ -27,2 +27,3 @@ 'use strict';

exports.FSEVENT_UNKNOWN = 'unknown';
exports.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
exports.FSEVENT_TYPE_FILE = 'file';

@@ -29,0 +30,0 @@ exports.FSEVENT_TYPE_DIRECTORY = 'directory';

@@ -40,2 +40,3 @@ 'use strict';

FSEVENT_UNKNOWN,
FSEVENT_FLAG_MUST_SCAN_SUBDIRS,
FSEVENT_TYPE_FILE,

@@ -152,2 +153,3 @@ FSEVENT_TYPE_DIRECTORY,

if (!cont.listeners.size) return;
if (flags & FSEVENT_FLAG_MUST_SCAN_SUBDIRS) return;
const info = fsevents.getInfo(fullPath, flags);

@@ -154,0 +156,0 @@ cont.listeners.forEach(list => {

{
"name": "chokidar",
"description": "Minimal and efficient cross-platform file watching library",
"version": "3.5.3",
"version": "3.6.0",
"homepage": "https://github.com/paulmillr/chokidar",

@@ -15,2 +15,3 @@ "author": "Paul Miller (https://paulmillr.com)",

"main": "index.js",
"types": "./types/index.d.ts",
"dependencies": {

@@ -34,7 +35,6 @@ "anymatch": "~3.1.2",

"mocha": "^7.0.0",
"nyc": "^15.0.0",
"rimraf": "^3.0.0",
"sinon": "^9.0.1",
"sinon-chai": "^3.3.0",
"typescript": "~4.4.3",
"typescript": "^4.4.3",
"upath": "^1.2.0"

@@ -58,2 +58,3 @@ },

"lint": "eslint --report-unused-disable-directives --ignore-path .gitignore .",
"build": "npm ls",
"mocha": "mocha --exit --timeout 90000",

@@ -71,19 +72,3 @@ "test": "npm run lint && npm run mocha"

],
"types": "./types/index.d.ts",
"nyc": {
"include": [
"index.js",
"lib/*.js"
],
"reporter": [
"html",
"text"
]
},
"funding": [
{
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
]
"funding": "https://paulmillr.com/funding/"
}

@@ -304,3 +304,3 @@ # Chokidar [![Weekly downloads](https://img.shields.io/npm/dw/chokidar.svg)](https://github.com/paulmillr/chokidar) [![Yearly downloads](https://img.shields.io/npm/dy/chokidar.svg)](https://github.com/paulmillr/chokidar)

>Chowkidar is a transliteration of a Hindi word meaning 'watchman, gatekeeper', चौकीदार. This ultimately comes from Sanskrit _ चतुष्क_ (crossway, quadrangle, consisting-of-four).
>Chowkidar is a transliteration of a Hindi word meaning 'watchman, gatekeeper', चौकीदार. This ultimately comes from Sanskrit _ चतुष्क_ (crossway, quadrangle, consisting-of-four). This word is also used in other languages like Urdu as (چوکیدار) which is widely used in Pakistan and India.

@@ -307,0 +307,0 @@ ## License

@@ -66,2 +66,6 @@ // TypeScript Version: 3.0

on(event: string, listener: (...args: any[]) => void): this;
ref(): this;
unref(): this;
}

@@ -68,0 +72,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc