fsevents 2.2.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
- ## Engine compatibility
67
+ ## Changelog
68
68
 
69
- - v2 supports node 8.16+
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fsevents",
3
- "version": "2.2.0",
3
+ "version": "2.3.1",
4
4
  "description": "Native Access to MacOS FSEvents",
5
5
  "main": "fsevents.js",
6
6
  "types": "fsevents.d.ts",