Jelajahi Sumber

Update node.js

Lutz Roeder 4 minggu lalu
induk
melakukan
01f6b82e62
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      source/node.js

+ 1 - 1
source/node.js

@@ -43,7 +43,7 @@ node.FileStream = class {
 
     peek(length) {
         length = length === undefined ? this._length - this._position : length;
-        if (length < 0x1000000) {
+        if (length < 0x10000000) {
             const position = this._fill(length);
             this._position -= length;
             return this._buffer.subarray(position, position + length);