frida-fs 5.2.3 → 5.2.5
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/dist/index.d.ts +6 -6
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
3
3
|
/// <reference types="frida-gum" />
|
|
4
|
-
/// <reference types="node" />
|
|
4
|
+
/// <reference types="node" resolution-mode="require"/>
|
|
5
5
|
import { Buffer } from "buffer";
|
|
6
6
|
import stream from "stream";
|
|
7
7
|
declare const constants: {
|
|
@@ -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
|
-
|
|
23
|
+
type ReadFileOptions = BufferEncoding | {
|
|
24
24
|
encoding?: BufferEncoding;
|
|
25
25
|
};
|
|
26
|
-
|
|
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
|
-
|
|
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
|
+
"version": "5.2.5",
|
|
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.
|
|
27
|
-
"@types/node": "^
|
|
28
|
-
"typescript": "^
|
|
26
|
+
"@types/frida-gum": "^18.3.2",
|
|
27
|
+
"@types/node": "^20.3.1",
|
|
28
|
+
"typescript": "^5.1.3"
|
|
29
29
|
}
|
|
30
30
|
}
|