Comparing version 2.1.3 to 2.1.4
@@ -0,1 +1,4 @@ | ||
# Chokidar 2.1.4 (Mar 22, 2019) | ||
* Improve TypeScript type definitions for `on` method. | ||
# Chokidar 2.1.3 (Mar 22, 2019) | ||
@@ -2,0 +5,0 @@ * Improve atomic writes handling |
{ | ||
"name": "chokidar", | ||
"description": "A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "fs", |
@@ -46,2 +46,25 @@ // TypeScript Version: 3.0 | ||
close(): void; | ||
on(event: 'add'|'addDir'|'change', listener: (path: string, stats?: fs.Stats) => void): this; | ||
on(event: 'all', listener: (eventName: 'add'|'addDir'|'change'|'unlink'|'unlinkDir', path: string, stats?: fs.Stats) => void): this; | ||
/** | ||
* Error occured | ||
*/ | ||
on(event: 'error', listener: (error: Error) => void): this; | ||
/** | ||
* Exposes the native Node `fs.FSWatcher events` | ||
*/ | ||
on(event: 'raw', listener: (eventName: string, path: string, details: any) => void): this; | ||
/** | ||
* Fires when the initial scan is complete | ||
*/ | ||
on(event: 'ready', listener: () => void): this; | ||
on(event: 'unlink'|'unlinkDir', listener: (path: string) => void): this; | ||
on(event: string, listener: (...args: any[]) => void): this; | ||
} | ||
@@ -48,0 +71,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86840
1586