+4
-2
@@ -335,3 +335,3 @@ const FIFO = require('fast-fifo') | ||
| async function write(fd, data, offset = 0, len, pos = -1, cb) { | ||
| async function write(fd, data, offset, len, pos = -1, cb) { | ||
| if (typeof data === 'string') { | ||
@@ -373,2 +373,3 @@ let encoding = len | ||
| if (typeof offset !== 'number') offset = 0 | ||
| if (typeof len !== 'number') len = data.byteLength - offset | ||
@@ -392,3 +393,3 @@ if (typeof pos !== 'number') pos = -1 | ||
| function writeSync(fd, data, offset = 0, len, pos = -1) { | ||
| function writeSync(fd, data, offset, len, pos = -1) { | ||
| if (typeof data === 'string') { | ||
@@ -408,2 +409,3 @@ let encoding = len | ||
| if (typeof offset !== 'number') offset = 0 | ||
| if (typeof len !== 'number') len = data.byteLength - offset | ||
@@ -410,0 +412,0 @@ if (typeof pos !== 'number') pos = -1 |
+1
-1
| { | ||
| "name": "bare-fs", | ||
| "version": "4.5.3", | ||
| "version": "4.5.4", | ||
| "description": "Native file system operations for Javascript", | ||
@@ -5,0 +5,0 @@ "exports": { |
1059842
0.01%3094
0.06%