frida-fs 5.0.0 → 5.0.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.
- package/index.js +3 -4
- package/package.json +2 -5
package/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {Buffer} from 'buffer';
|
|
2
2
|
import process from 'process';
|
|
3
|
-
import
|
|
4
|
-
import {Writable} from 'readable-stream/lib/writable.js';
|
|
3
|
+
import stream from 'stream';
|
|
5
4
|
|
|
6
5
|
const {platform, pointerSize} = Process;
|
|
7
6
|
|
|
@@ -90,7 +89,7 @@ const SEEK_END = 2;
|
|
|
90
89
|
|
|
91
90
|
const EINTR = 4;
|
|
92
91
|
|
|
93
|
-
class ReadStream extends Readable {
|
|
92
|
+
class ReadStream extends stream.Readable {
|
|
94
93
|
constructor(path) {
|
|
95
94
|
super({
|
|
96
95
|
highWaterMark: 4 * 1024 * 1024
|
|
@@ -145,7 +144,7 @@ class ReadStream extends Readable {
|
|
|
145
144
|
}
|
|
146
145
|
}
|
|
147
146
|
|
|
148
|
-
class WriteStream extends Writable {
|
|
147
|
+
class WriteStream extends stream.Writable {
|
|
149
148
|
constructor(path) {
|
|
150
149
|
super({
|
|
151
150
|
highWaterMark: 4 * 1024 * 1024
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frida-fs",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Create a stream from a filesystem resource",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,8 +15,5 @@
|
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/nowsecure/frida-fs/issues"
|
|
17
17
|
},
|
|
18
|
-
"homepage": "https://github.com/nowsecure/frida-fs#readme"
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"readable-stream": "^4.0.0"
|
|
21
|
-
}
|
|
18
|
+
"homepage": "https://github.com/nowsecure/frida-fs#readme"
|
|
22
19
|
}
|