@saulx/utils
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -8,3 +8,3 @@ import { Writable } from 'stream'; | ||
buffers.push(c.slice(0, maxCunkSize)); | ||
const chunkP = c.slice(maxCunkSize); | ||
const chunkP = c.slice(maxCunkSize, c.byteLength); | ||
if (chunkP.byteLength > maxCunkSize) { | ||
@@ -21,2 +21,3 @@ if (throttle) { | ||
else { | ||
buffers.push(chunkP); | ||
if (throttle) { | ||
@@ -23,0 +24,0 @@ setTimeout(() => { |
{ | ||
"name": "@saulx/utils", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"repository": "https://github.com/atelier-saulx/utils", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
88244
1285