fsevents 2.2.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -3
- package/fsevents.d.ts +1 -1
- package/fsevents.node +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -52,7 +52,7 @@ The `FsEventsInfo` has the following shape:
|
|
52
52
|
*/
|
53
53
|
{
|
54
54
|
"event": "created", // {FsEventsEvent}
|
55
|
-
"path": "file.txt",
|
55
|
+
"path": "file.txt",
|
56
56
|
"type": "file", // {FsEventsType}
|
57
57
|
"changes": {
|
58
58
|
"inode": true, // Had iNode Meta-Information changed
|
@@ -64,9 +64,10 @@ The `FsEventsInfo` has the following shape:
|
|
64
64
|
}
|
65
65
|
```
|
66
66
|
|
67
|
-
##
|
67
|
+
## Changelog
|
68
68
|
|
69
|
-
- v2 supports
|
69
|
+
- v2.3 supports Apple Silicon ARM CPUs
|
70
|
+
- v2 supports node 8.16+ and reduces package size massively
|
70
71
|
- v1.2.8 supports node 6+
|
71
72
|
- v1.2.7 supports node 4+
|
72
73
|
|
package/fsevents.d.ts
CHANGED
@@ -15,7 +15,7 @@ declare type Info = {
|
|
15
15
|
};
|
16
16
|
declare type WatchHandler = (path: string, flags: number, id: string) => void;
|
17
17
|
export declare function watch(path: string, handler: WatchHandler): () => Promise<void>;
|
18
|
-
export declare function watch(path: string, since: number, handler: WatchHandler)
|
18
|
+
export declare function watch(path: string, since: number, handler: WatchHandler): () => Promise<void>;
|
19
19
|
export declare function getInfo(path: string, flags: number): Info;
|
20
20
|
export declare const constants: {
|
21
21
|
None: 0x00000000;
|
package/fsevents.node
CHANGED
Binary file
|