memfs 4.11.0 → 4.11.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.
@@ -99,6 +99,15 @@ export interface IFSWatcher extends EventEmitter {
99
99
  start(path: PathLike, persistent?: boolean, recursive?: boolean, encoding?: BufferEncoding): void;
100
100
  close(): void;
101
101
  }
102
+ /**
103
+ * Declare ReadableStream in case dom.d.ts is not added to the tsconfig lib causing
104
+ * ReadableStream interface is not defined. For developers with dom.d.ts added,
105
+ * the ReadableStream interface will be merged correctly.
106
+ */
107
+ declare global {
108
+ export interface ReadableStream {
109
+ }
110
+ }
102
111
  export interface IFileHandle {
103
112
  fd: number;
104
113
  appendFile(data: TData, options?: IAppendFileOptions | string): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memfs",
3
- "version": "4.11.0",
3
+ "version": "4.11.1",
4
4
  "description": "In-memory file-system with Node's fs API.",
5
5
  "keywords": [
6
6
  "fs",