frida-fs 5.2.3 → 5.2.4

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -20,10 +20,10 @@ declare class WriteStream extends stream.Writable {
20
20
  _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
21
21
  }
22
22
  declare function writeFileSync(path: string, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): void;
23
- declare type ReadFileOptions = BufferEncoding | {
23
+ type ReadFileOptions = BufferEncoding | {
24
24
  encoding?: BufferEncoding;
25
25
  };
26
- declare type WriteFileOptions = BufferEncoding | {
26
+ type WriteFileOptions = BufferEncoding | {
27
27
  encoding?: BufferEncoding;
28
28
  };
29
29
  declare const readFileSync: (path: string, options?: ReadFileOptions) => string | Buffer, readlinkSync: (path: string) => string, rmdirSync: (path: string) => void, unlinkSync: (path: string) => void, statSync: (path: string) => Stats, lstatSync: (path: string) => Stats;
@@ -65,7 +65,7 @@ declare class Stats {
65
65
  isSymbolicLink(): boolean;
66
66
  isSocket(): boolean;
67
67
  }
68
- declare type AsyncCallback<T> = (error: Error | null, result?: T) => void;
68
+ type AsyncCallback<T> = (error: Error | null, result?: T) => void;
69
69
  export declare function createReadStream(path: string): ReadStream;
70
70
  export declare function createWriteStream(path: string): WriteStream;
71
71
  export declare const readdir: (args_0: string, args_1: AsyncCallback<string[]>) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frida-fs",
3
- "version": "5.2.3",
3
+ "version": "5.2.4",
4
4
  "description": "Create a stream from a filesystem resource",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "homepage": "https://github.com/nowsecure/frida-fs#readme",
25
25
  "devDependencies": {
26
- "@types/frida-gum": "^18.0.0",
27
- "@types/node": "^18.0.0",
28
- "typescript": "^4.7.4"
26
+ "@types/frida-gum": "^18.3.2",
27
+ "@types/node": "^20.3.1",
28
+ "typescript": "^5.1.3"
29
29
  }
30
30
  }