Remove deprecated scripts for adding head-matter to wt_config.xml, including Python and Bash implementations, to streamline configuration management.
This commit is contained in:
15
client/node_modules/axios/lib/helpers/readBlob.js
generated
vendored
Normal file
15
client/node_modules/axios/lib/helpers/readBlob.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user