Skip to content

Commit b8b3639

Browse files
committed
Release 3.5.0.
1 parent 0d367dd commit b8b3639

File tree

4 files changed

+63
-58
lines changed

4 files changed

+63
-58
lines changed

.eslintrc

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"extends": "eslint:recommended",
3+
"parserOptions": {
4+
"ecmaVersion": 9,
5+
"sourceType": "script"
6+
},
7+
"env": {
8+
"node": true,
9+
"es6": true
10+
},
11+
"rules": {
12+
"array-callback-return": "error",
13+
"no-empty": [
14+
"error",
15+
{
16+
"allowEmptyCatch": true
17+
}
18+
],
19+
"no-lonely-if": "error",
20+
"no-var": "error",
21+
"object-shorthand": "error",
22+
"prefer-arrow-callback": [
23+
"error",
24+
{
25+
"allowNamedFunctions": true
26+
}
27+
],
28+
"prefer-const": [
29+
"error",
30+
{
31+
"ignoreReadBeforeAssign": true
32+
}
33+
],
34+
"prefer-destructuring": [
35+
"error",
36+
{
37+
"object": true,
38+
"array": false
39+
}
40+
],
41+
"prefer-spread": "error",
42+
"prefer-template": "error",
43+
"radix": "error",
44+
"strict": "error",
45+
"quotes": [
46+
"error",
47+
"single"
48+
]
49+
}
50+
}

.github/full_changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### Chokidar 3.5.0 (Jan 6, 2021)
2+
- Support for ARM Macs with Apple Silicon.
3+
- Fixed missing removal of symlinks when the target path was deleted (#1042)
4+
15
### Chokidar 3.4.3 (Oct 13, 2020)
26
* Circular symlinks that point to some parent directory are no longer watched.
37
This prevents infinite loops.

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# 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)
22

3-
> A neat wrapper around Node.js fs.watch / fs.watchFile / FSEvents.
3+
> Minimal and efficient cross-platform file watching library
44
55
[![NPM](https://nodei.co/npm/chokidar.png)](https://www.npmjs.com/package/chokidar)
66

7-
Version 3 is out! Check out our blog post about it: [Chokidar 3: How to save 32TB of traffic every week](https://paulmillr.com/posts/chokidar-3-save-32tb-of-traffic/)
8-
97
## Why?
108

119
Node.js `fs.watch`:
@@ -35,6 +33,8 @@ Initially made for **[Brunch](https://brunch.io/)** (an ultra-swift web app buil
3533
and [many others](https://www.npmjs.com/browse/depended/chokidar).
3634
It has proven itself in production environments.
3735

36+
Version 3 is out! Check out our blog post about it: [Chokidar 3: How to save 32TB of traffic every week](https://paulmillr.com/posts/chokidar-3-save-32tb-of-traffic/)
37+
3838
## How?
3939

4040
Chokidar does still rely on the Node.js core `fs` module, but when using
@@ -74,7 +74,7 @@ chokidar.watch('.').on('all', (event, path) => {
7474
## API
7575

7676
```javascript
77-
// Example of a more typical implementation structure:
77+
// Example of a more typical implementation structure
7878

7979
// Initialize watcher.
8080
const watcher = chokidar.watch('file, dir, glob, or array', {
@@ -286,7 +286,8 @@ execute a command on each change, or get a stdio stream of change events.
286286
## Changelog
287287

288288
For more detailed changelog, see [`full_changelog.md`](.github/full_changelog.md).
289-
- **v3.4 (Apr 26, 2020):** Support for directory-based symlinks. Macos file replacement fixes.
289+
- **v3.5 (Jan 6, 2021):** Support for ARM Macs with Apple Silicon. Fixes for deleted symlinks.
290+
- **v3.4 (Apr 26, 2020):** Support for directory-based symlinks. Fixes for macos file replacement.
290291
- **v3.3 (Nov 2, 2019):** `FSWatcher#close()` method became async. That fixes IO race conditions related to close method.
291292
- **v3.2 (Oct 1, 2019):** Improve Linux RAM usage by 50%. Race condition fixes. Windows glob fixes. Improve stability by using tight range of dependency versions.
292293
- **v3.1 (Sep 16, 2019):** dotfiles are no longer filtered out by default. Use `ignored` option if needed. Improve initial Linux scan time by 50%.

package.json

Lines changed: 3 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "chokidar",
3-
"description": "A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.",
4-
"version": "3.4.4",
3+
"description": "Minimal and efficient cross-platform file watching library",
4+
"version": "3.5.0",
55
"homepage": "https://github.com/paulmillr/chokidar",
66
"author": "Paul Miller (https://paulmillr.com)",
77
"contributors": [
@@ -22,7 +22,7 @@
2222
"readdirp": "~3.5.0"
2323
},
2424
"optionalDependencies": {
25-
"fsevents": "~2.2.0"
25+
"fsevents": "~2.3.1"
2626
},
2727
"devDependencies": {
2828
"@types/node": "^14",
@@ -65,56 +65,6 @@
6565
"fsevents"
6666
],
6767
"types": "./types/index.d.ts",
68-
"eslintConfig": {
69-
"extends": "eslint:recommended",
70-
"parserOptions": {
71-
"ecmaVersion": 9,
72-
"sourceType": "script"
73-
},
74-
"env": {
75-
"node": true,
76-
"es6": true
77-
},
78-
"rules": {
79-
"array-callback-return": "error",
80-
"no-empty": [
81-
"error",
82-
{
83-
"allowEmptyCatch": true
84-
}
85-
],
86-
"no-lonely-if": "error",
87-
"no-var": "error",
88-
"object-shorthand": "error",
89-
"prefer-arrow-callback": [
90-
"error",
91-
{
92-
"allowNamedFunctions": true
93-
}
94-
],
95-
"prefer-const": [
96-
"error",
97-
{
98-
"ignoreReadBeforeAssign": true
99-
}
100-
],
101-
"prefer-destructuring": [
102-
"error",
103-
{
104-
"object": true,
105-
"array": false
106-
}
107-
],
108-
"prefer-spread": "error",
109-
"prefer-template": "error",
110-
"radix": "error",
111-
"strict": "error",
112-
"quotes": [
113-
"error",
114-
"single"
115-
]
116-
}
117-
},
11868
"nyc": {
11969
"include": [
12070
"index.js",

0 commit comments

Comments
 (0)