Comparing version
@@ -16,3 +16,3 @@ import { Uint8ArrayList } from 'uint8arraylist'; | ||
while (bl.length >= bytes) { | ||
const data = bl.subarray(0, bytes); | ||
const data = bl.sublist(0, bytes); | ||
bl.consume(bytes); | ||
@@ -19,0 +19,0 @@ bytes = yield data; |
{ | ||
"name": "it-reader", | ||
"version": "5.0.2", | ||
"version": "6.0.0", | ||
"description": "Read an exact number of bytes from a binary (async) iterable", | ||
@@ -150,3 +150,3 @@ "author": "Alan Shaw", | ||
"it-stream-types": "^1.0.4", | ||
"uint8arraylist": "^1.2.0" | ||
"uint8arraylist": "^2.0.0" | ||
}, | ||
@@ -153,0 +153,0 @@ "devDependencies": { |
@@ -25,3 +25,3 @@ import { Uint8ArrayList } from 'uint8arraylist' | ||
while (bl.length >= bytes) { | ||
const data = bl.subarray(0, bytes) | ||
const data = bl.sublist(0, bytes) | ||
bl.consume(bytes) | ||
@@ -28,0 +28,0 @@ bytes = yield data |
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
11840
-0.02%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated