Comparing version 5.0.2 to 6.0.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11840
+ Addedmultiformats@13.3.1(transitive)
+ Addeduint8arraylist@2.4.8(transitive)
+ Addeduint8arrays@5.1.0(transitive)
- Removedmultiformats@9.9.0(transitive)
- Removeduint8arraylist@1.6.0(transitive)
- Removeduint8arrays@3.1.1(transitive)
Updateduint8arraylist@^2.0.0