@zenfs/core 1.6.0 → 1.6.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.
@@ -1,14 +1,14 @@
1
- import type * as Node from 'node:fs';
1
+ import type * as fs from 'node:fs';
2
2
  import { Readable, Writable } from 'readable-stream';
3
3
  import type { Callback } from '../utils.js';
4
- export declare class ReadStream extends Readable implements Node.ReadStream {
4
+ export declare class ReadStream extends Readable implements fs.ReadStream {
5
5
  close(callback?: Callback<[void], null>): void;
6
6
  wrap(oldStream: NodeJS.ReadableStream): this;
7
7
  bytesRead: number;
8
8
  path: string | Buffer;
9
9
  pending: boolean;
10
10
  }
11
- export declare class WriteStream extends Writable implements Node.WriteStream {
11
+ export declare class WriteStream extends Writable implements fs.WriteStream {
12
12
  close(callback?: Callback<[void], null>): void;
13
13
  bytesWritten: number;
14
14
  path: string | Buffer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenfs/core",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "A filesystem, anywhere",
5
5
  "funding": {
6
6
  "type": "individual",
@@ -59,7 +59,7 @@
59
59
  "build:docs": "typedoc",
60
60
  "dev": "npm run build -- --watch",
61
61
  "prepublishOnly": "npm run build",
62
- "postinstall": "patch-package"
62
+ "install": "patch-package"
63
63
  },
64
64
  "lint-staged": {
65
65
  "*": [