File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11export { TextEncoder , TextDecoder , ReadableStream } from "./package.js"
2- import { Blob as NodeBlob } from "./blob.node.js"
2+ // import { Blob as NodeBlob } from "./blob.node.js"
33import { Blob as WebBlob } from "./blob.js"
44
55/** @type {typeof globalThis.Blob } */
66// Our first choise is to use global `Blob` because it may be available e.g. in
77// electron renderrer process. If not available fall back to node native
88// implementation, if also not available use our implementation.
9- export const Blob = globalThis . Blob || NodeBlob || WebBlob
9+ export const Blob =
10+ globalThis . Blob ||
11+ // Disable node native blob until impractical perf issue is fixed
12+ // @see https://github.com/nodejs/node/issues/42108
13+ // NodeBlob ||
14+ WebBlob
You can’t perform that action at this time.
0 commit comments