bare-fs 4.5.1 → 4.5.2
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/index.d.ts +3 -3
- package/index.js +2 -2
- package/package.json +1 -1
- package/prebuilds/android-arm/bare-fs.bare +0 -0
- package/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/prebuilds/android-x64/bare-fs.bare +0 -0
- package/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/prebuilds/win32-x64/bare-fs.bare +0 -0
package/index.d.ts
CHANGED
|
@@ -38,8 +38,7 @@ interface Callback<A extends unknown[] = []> {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export interface Dir<T extends string | Buffer = string | Buffer>
|
|
41
|
-
extends Iterable<Dirent>,
|
|
42
|
-
AsyncIterable<Dirent> {
|
|
41
|
+
extends Iterable<Dirent>, AsyncIterable<Dirent> {
|
|
43
42
|
readonly path: string
|
|
44
43
|
|
|
45
44
|
read(): Promise<Dirent<T> | null>
|
|
@@ -172,7 +171,8 @@ export interface WatcherEvents<T extends string | Buffer = string | Buffer> exte
|
|
|
172
171
|
}
|
|
173
172
|
|
|
174
173
|
export interface Watcher<T extends string | Buffer = string | Buffer>
|
|
175
|
-
extends
|
|
174
|
+
extends
|
|
175
|
+
EventEmitter<WatcherEvents<T>>,
|
|
176
176
|
AsyncIterable<{ eventType: WatcherEventType; filename: T }> {
|
|
177
177
|
close(): void
|
|
178
178
|
ref(): void
|
package/index.js
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|