Skip to content

Upgrading chokidar 2 to 3

Breaking2.1.8 → 3.6.0Breaking1Security1New3Changed9Fixed18Other7

BreakingUpgrade verdict

1 breaking change and a security fix.

  • Dotfiles are no longer filtered out by default.
  • "Update" glob-parent dependency from ~5.1.0 to ~5.1.2 to silence "vulnerability" warnings.
2 items need code or config changes

Requires Node.js >= 8.10.0 from 3.2.3 (none stated before).

Drops async-each, inherits, path-is-absolute, upath.

Installs 14 packages in all (was 126).

Breaking1
Dotfiles are no longer filtered out by default.
ignored
Security1
"Update" glob-parent dependency from ~5.1.0 to ~5.1.2 to silence "vulnerability" warnings.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: index WatchedPaths[directory: string]: string[]
  • removed: interface WatchedPaths
  • changed: function watch(paths: string | string[], options?: WatchOptions): FSWatcher → function watch(paths: string | ReadonlyArray<string>, options?: WatchOptions): FSWatcher
  • changed: method FSWatcher.add(paths: string | string[]): void → method FSWatcher.add(paths: string | ReadonlyArray<string>): this
  • changed: method FSWatcher.close(): void → method FSWatcher.close(): Promise<void>
  • changed: method FSWatcher.getWatched(): WatchedPaths → method FSWatcher.getWatched(): { [directory: string]: string[] }
  • changed: method FSWatcher.unwatch(paths: string | string[]): void → method FSWatcher.unwatch(paths: string | ReadonlyArray<string>): this
  • changed: property WatchOptions.ignored?: any → property WatchOptions.ignored?: Matcher
  • added: method FSWatcher.ref(): this
  • added: method FSWatcher.unref(): this
  • added: property FSWatcher.options: WatchOptions