@zenfs/core 0.9.1 → 0.9.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.
@@ -17,9 +17,6 @@ import { Dir, Dirent } from './dir.js';
17
17
  import type { PathLike } from './shared.js';
18
18
  import { ReadStream, WriteStream } from './streams.js';
19
19
  export * as constants from './constants.js';
20
- declare global {
21
- const ReadableStream: typeof TReadableStream;
22
- }
23
20
  export declare class FileHandle implements promises.FileHandle {
24
21
  /**
25
22
  * Gets the file descriptor for this file handle.
@@ -152,7 +152,7 @@ export class FileHandle {
152
152
  error(e);
153
153
  }
154
154
  };
155
- return new ReadableStream({ start, type: options.type });
155
+ return new globalThis.ReadableStream({ start, type: options.type });
156
156
  }
157
157
  readLines(options) {
158
158
  throw ApiError.With('ENOSYS', this.file.path, 'FileHandle.readLines');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenfs/core",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "A filesystem in your browser",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist",