Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
8
node_modules/axios/lib/helpers/readBlob.js
generated
vendored
8
node_modules/axios/lib/helpers/readBlob.js
generated
vendored
@@ -1,15 +1,15 @@
|
||||
const {asyncIterator} = Symbol;
|
||||
const { asyncIterator } = Symbol;
|
||||
|
||||
const readBlob = async function* (blob) {
|
||||
if (blob.stream) {
|
||||
yield* blob.stream()
|
||||
yield* blob.stream();
|
||||
} else if (blob.arrayBuffer) {
|
||||
yield await blob.arrayBuffer()
|
||||
yield await blob.arrayBuffer();
|
||||
} else if (blob[asyncIterator]) {
|
||||
yield* blob[asyncIterator]();
|
||||
} else {
|
||||
yield blob;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default readBlob;
|
||||
|
||||
Reference in New Issue
Block a user