From 6b796258d413f00e498ce7f80f73a9f6c061f29c Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 30 Mar 2024 23:40:33 +0100 Subject: Updated 5 files, added 2 files, deleted 495 files and renamed 7 files (automated) --- .../signal/node_modules/axios/lib/helpers/readBlob.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 includes/external/signal/node_modules/axios/lib/helpers/readBlob.js (limited to 'includes/external/signal/node_modules/axios/lib/helpers/readBlob.js') diff --git a/includes/external/signal/node_modules/axios/lib/helpers/readBlob.js b/includes/external/signal/node_modules/axios/lib/helpers/readBlob.js deleted file mode 100644 index 6de748e..0000000 --- a/includes/external/signal/node_modules/axios/lib/helpers/readBlob.js +++ /dev/null @@ -1,15 +0,0 @@ -const {asyncIterator} = Symbol; - -const readBlob = async function* (blob) { - if (blob.stream) { - yield* blob.stream() - } else if (blob.arrayBuffer) { - yield await blob.arrayBuffer() - } else if (blob[asyncIterator]) { - yield* blob[asyncIterator](); - } else { - yield blob; - } -} - -export default readBlob; -- cgit