()
| 75663 | if (isNode) { |
| 75664 | return Object.assign(Object.assign({}, unimplementedMethods), { type: (_a5 = options.type) !== null && _a5 !== void 0 ? _a5 : "", lastModified: (_b2 = options.lastModified) !== null && _b2 !== void 0 ? _b2 : (/* @__PURE__ */ new Date()).getTime(), webkitRelativePath: (_c2 = options.webkitRelativePath) !== null && _c2 !== void 0 ? _c2 : "", size: content.byteLength, name, arrayBuffer: async () => content.buffer, stream: () => new Blob([content]).stream(), [rawContent]: () => content }); |
| 75665 | } else { |
| 75666 | return new File([content], name, options); |
| 75667 | } |
| 75668 | } |
| 75669 | |
| 75670 | // node_modules/@azure/core-rest-pipeline/dist/esm/util/concat.js |
| 75671 | function streamAsyncIterator() { |
| 75672 | return __asyncGenerator(this, arguments, function* streamAsyncIterator_1() { |
| 75673 | const reader = this.getReader(); |
| 75674 | try { |
| 75675 | while (true) { |
| 75676 | const { done, value } = yield __await(reader.read()); |
| 75677 | if (done) { |
| 75678 | return yield __await(void 0); |
| 75679 | } |
| 75680 | yield yield __await(value); |
| 75681 | } |
| 75682 | } finally { |
| 75683 | reader.releaseLock(); |
nothing calls this directly
no test coverage detected
searching dependent graphs…