bare-fs 4.4.9 → 4.4.10

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/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1943,10 +1943,10 @@ class FileReadStream extends Readable {
1943
1943
 
1944
1944
  if (this._missing < len) len = this._missing
1945
1945
 
1946
- this.push(data.subarray(0, len))
1947
-
1948
1946
  this._missing -= len
1949
1947
  this._offset += len
1948
+
1949
+ this.push(data.subarray(0, len))
1950
1950
  }
1951
1951
 
1952
1952
  async _destroy(err, cb) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-fs",
3
- "version": "4.4.9",
3
+ "version": "4.4.10",
4
4
  "description": "Native file system operations for Javascript",
5
5
  "exports": {
6
6
  "./package": "./package.json",