Compare Versions - chokidar
npm / chokidar / Compare Versions
- Make the package ESM-only. Reduces on-disk package size from ~150kb to ~80kb
- Increase minimum node.js version to v20.19. The versions starting from it support loading esm files from cjs
- fix: Make types more precise https://github.com/paulmillr/chokidar/pull/1424
- perf: re-use double slash regex https://github.com/paulmillr/chokidar/pull/1435
- Update readdirp to ESM-only v5
- Lots of minor improvements in tests
- Increase security of NPM releases. Switch to token-less Trusted Publishing, with help of jsbt
- Switch compilation mode to isolatedDeclaration-based typescript for simplified auto-generated docs
New Contributors
- @mhkeller made their first contribution in https://github.com/paulmillr/chokidar/pull/1426
- @btea made their first contribution in https://github.com/paulmillr/chokidar/pull/1432
Full Changelog: https://github.com/paulmillr/chokidar/compare/4.0.3...5.0.0
What's Changed
- Fix typescript type of emitted args by @43081j in https://github.com/paulmillr/chokidar/pull/1397
Full Changelog: https://github.com/paulmillr/chokidar/compare/4.0.2...4.0.3
What's Changed
- Fix test "should detect safe-edit" on FreeBSD by @tagattie in https://github.com/paulmillr/chokidar/pull/1375
- Remove references to .map files by @bluwy in https://github.com/paulmillr/chokidar/pull/1383
- feat: strongly type event emitter methods by @43081j in https://github.com/paulmillr/chokidar/pull/1381
New Contributors
- @bxt made their first contribution in https://github.com/paulmillr/chokidar/pull/1365
- @tagattie made their first contribution in https://github.com/paulmillr/chokidar/pull/1375
- @bluwy made their first contribution in https://github.com/paulmillr/chokidar/pull/1383
Full Changelog: https://github.com/paulmillr/chokidar/compare/4.0.1...4.0.2
- Various fixes and improvements of typescript types
New Contributors
- @benmccann made their first contribution in https://github.com/paulmillr/chokidar/pull/1349
- @talentlessguy made their first contribution in https://github.com/paulmillr/chokidar/pull/1356
Full Changelog: https://github.com/paulmillr/chokidar/compare/4.0.0...4.0.1
- Remove glob support
- Remove bundled fsevents
- Decrease dependency count from 13 to 1
- Rewrite in typescript. Makes emitted types more precise
- The package became hybrid common.js / ESM
- Bump minimum node.js requirement to v14+
Special thanks to @43081j for improvements and help.
Full Changelog: https://github.com/paulmillr/chokidar/compare/3.6.0...4.0.0
What's Changed
- fix readyCount logic by @JLHwung in https://github.com/paulmillr/chokidar/pull/1288
- handle MustScanSubDirs by @MarcCelani-at in https://github.com/paulmillr/chokidar/pull/1197
- update fs.FSWatcher types to satisfy nodejs versions >= 16; fixes #1299 by @ben-polinsky in https://github.com/paulmillr/chokidar/pull/1300
New Contributors
- @Mutahhar made their first contribution in https://github.com/paulmillr/chokidar/pull/1226
- @zqianem made their first contribution in https://github.com/paulmillr/chokidar/pull/1242
- @JLHwung made their first contribution in https://github.com/paulmillr/chokidar/pull/1288
- @MarcCelani-at made their first contribution in https://github.com/paulmillr/chokidar/pull/1197
- @ben-polinsky made their first contribution in https://github.com/paulmillr/chokidar/pull/1300
Full Changelog: https://github.com/paulmillr/chokidar/compare/3.5.3...3.6.0
What's Changed
- types: use correct type def for ignored option by @iheyunfei in https://github.com/paulmillr/chokidar/pull/1140
- Update chokidar-cli link in README.md by @mcecode in https://github.com/paulmillr/chokidar/pull/1142
- handle promise rejection when a symlink's target does not exist. Fixe… by @nicks in https://github.com/paulmillr/chokidar/pull/1010
- fix: improve
addandunwatchTypeScript definitions by @alan-agius4 in https://github.com/paulmillr/chokidar/pull/1157 - Enable dtslinting by @alan-agius4 in https://github.com/paulmillr/chokidar/pull/1158
- style: delete yarn.lock by @alan-agius4 in https://github.com/paulmillr/chokidar/pull/1159
New Contributors
- @iheyunfei made their first contribution in https://github.com/paulmillr/chokidar/pull/1140
- @mcecode made their first contribution in https://github.com/paulmillr/chokidar/pull/1142
- @nicks made their first contribution in https://github.com/paulmillr/chokidar/pull/1010
- @alan-agius4 made their first contribution in https://github.com/paulmillr/chokidar/pull/1157
Full Changelog: https://github.com/paulmillr/chokidar/compare/3.5.2...3.5.3
"Update" glob-parent dependency from ~5.1.0 to ~5.1.2 to silence "vulnerability" warnings
- Symlink fixes
- Support for ARM Macs with Apple Silicon.
- Fixed missing removal of symlinks when the target path was deleted (#1042)
Fixes an ability to watch network drives on windows.
- Support for directory-based symlinks.
- Fix a case on macos when replacing a file with a dir of the same name emitted invalid events.
- Fix error swallowing inside .on() event handlers
- Known issue: followSymlinks: false on macos still follows symlinked directories
FSWatcher#close() method became async. This ensures IO operations are finished properly and fixes a few segfaulty crashes.
Improve Linux RAM usage by 50%. Stability optimizations. Race condition fixes. Windows glob fixes.
Fixes "Expected pattern to be a non-empty string" (#871)
Dotfiles are no longer filtered out by default. Use ignored option if needed.
Improve Linux performance by 50%.
- Brings
bigintsupport tostatoutputs on windows. - Fixes
readyevent emission for symlink directories.
- Fixes "Assertion failed" errors when a watcher is closed
- General optimizations
Massive CPU & RAM consumption improvements. 17x package & deps size reduction. Node 8+-only